decocms 4.47.1 → 4.49.0
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--PMydaMf.js → AlertCircle-k25R3-Si.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-CHUxtDdY.js → ArrowUpRight-goUbSV_t.js} +1 -1
- package/dist/client/assets/{Check-CcPvoApF.js → Check-tfEbDiSO.js} +1 -1
- package/dist/client/assets/{CheckCircle-NFzW7Z8m.js → CheckCircle-B-AysnVj.js} +1 -1
- package/dist/client/assets/{ChevronDown-MeZzOPHz.js → ChevronDown-DDh3Hhw_.js} +1 -1
- package/dist/client/assets/{ChevronRight-BqFhSMvB.js → ChevronRight-3DlxSDpa.js} +1 -1
- package/dist/client/assets/{ChevronUp-D8KUZA8M.js → ChevronUp-CGRHCTkf.js} +1 -1
- package/dist/client/assets/{Circle-Dm7VhFWf.js → Circle-9NU9F6cw.js} +1 -1
- package/dist/client/assets/{Copy01-2gpXomsV.js → Copy01-v70-83R3.js} +1 -1
- package/dist/client/assets/{DotsVertical-C_fD3ZcJ.js → DotsVertical-CJNxrPQc.js} +1 -1
- package/dist/client/assets/{Eye-Bzm1u24u.js → Eye-BQAd-UWR.js} +1 -1
- package/dist/client/assets/{FilterLines-Da3dOd8v.js → FilterLines-WY77jC6d.js} +1 -1
- package/dist/client/assets/{Globe01-COxjYhlh.js → Globe01-BJm_6L1K.js} +1 -1
- package/dist/client/assets/{Globe04-B0ubdawf.js → Globe04-Bvx5rGM6.js} +1 -1
- package/dist/client/assets/{HardDrive-BRNvA1nE.js → HardDrive-DqhFpjyW.js} +1 -1
- package/dist/client/assets/{Key01-DUxOOddM.js → Key01-Ca3H4Guz.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BpojMms7.js → LayoutLeft-LgchNodn.js} +1 -1
- package/dist/client/assets/{LinkExternal01-CATg__lS.js → LinkExternal01-4WLYi2mX.js} +1 -1
- package/dist/client/assets/{List-CeaMH-i5.js → List-CP5qu-Ed.js} +1 -1
- package/dist/client/assets/{Loading02-X8510u6H.js → Loading02-EeaKovpr.js} +1 -1
- package/dist/client/assets/{Monitor01-DhstX6U9.js → Monitor01-B7DuF8uL.js} +1 -1
- package/dist/client/assets/{Palette-CYERjjFT.js → Palette-BDkRrX1I.js} +1 -1
- package/dist/client/assets/{Play-CbAyRzAa.js → Play-DSAmPT6o.js} +1 -1
- package/dist/client/assets/{Plus-9k6C1K7r.js → Plus-C1-9U7xY.js} +1 -1
- package/dist/client/assets/{SearchLg-B4sr2aMr.js → SearchLg-CvEhHQsI.js} +1 -1
- package/dist/client/assets/{SearchMd-CXqAy2cI.js → SearchMd-DiN4RXkm.js} +1 -1
- package/dist/client/assets/{Settings02-BGxjna3X.js → Settings02-C31aohuM.js} +1 -1
- package/dist/client/assets/{Shield01-PEbOAjUy.js → Shield01-CszvfMrq.js} +1 -1
- package/dist/client/assets/{Star01-mhJMEmGH.js → Star01-DGbt_SIN.js} +1 -1
- package/dist/client/assets/{Stars01-D8XIMgZy.js → Stars01-BKEHGK4f.js} +1 -1
- package/dist/client/assets/{Stars02-D-p5T4lR.js → Stars02-KrIAmQsB.js} +1 -1
- package/dist/client/assets/{Sun-Bf3WFaco.js → Sun-BdOFeDi1.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-C3PoW6Vi.js → SwitchHorizontal01-C6ZclJC7.js} +1 -1
- package/dist/client/assets/{Tool01-DC8t7xtz.js → Tool01-MLrVuoSu.js} +1 -1
- package/dist/client/assets/{Trash01-Dzp-R3fm.js → Trash01-DggFSL1b.js} +1 -1
- package/dist/client/assets/{Upload01-BevEZjBr.js → Upload01-Cxs1z0Jh.js} +1 -1
- package/dist/client/assets/{User01-CQWB41oo.js → User01-L5odKA9U.js} +1 -1
- package/dist/client/assets/{Users01-DGibI-5D.js → Users01-0hD-3O0B.js} +1 -1
- package/dist/client/assets/{Users03-CmaOzqyy.js → Users03-OwsRMjku.js} +1 -1
- package/dist/client/assets/{X-CiSMe5JO.js → X-BSHZ0M6H.js} +1 -1
- package/dist/client/assets/{XCircle-jytnjIgV.js → XCircle-Ce3AP-z1.js} +1 -1
- package/dist/client/assets/{XClose-DrA7-ZGN.js → XClose-Dha2rZyS.js} +1 -1
- package/dist/client/assets/{Zap-CAZTxdA-.js → Zap-MjamIo9C.js} +1 -1
- package/dist/client/assets/{ZapSquare-DyZXhYqe.js → ZapSquare-2TYVPpzw.js} +1 -1
- package/dist/client/assets/{ZoomOut-CbxeOPzX.js → ZoomOut-DOMq8Qks.js} +1 -1
- package/dist/client/assets/{access-gate-PnLsk-y1.js → access-gate-B7i8fTcq.js} +1 -1
- package/dist/client/assets/{add-section-modal-Bz1v8sFq.js → add-section-modal-BFa2vink.js} +1 -1
- package/dist/client/assets/{agent-capabilities-C8bKCZch.js → agent-capabilities-CcfbqOca.js} +1 -1
- package/dist/client/assets/{agent-icon-C4_o5ydZ.js → agent-icon-BxlAfYtU.js} +1 -1
- package/dist/client/assets/{agents-list-DI9Ka_hv.js → agents-list-Dpg0mQ5j.js} +1 -1
- package/dist/client/assets/{ai-providers-2uEIewDQ.js → ai-providers-hukOcDkN.js} +1 -1
- package/dist/client/assets/{alert-DA_x-YN7.js → alert-CPrpIdPz.js} +1 -1
- package/dist/client/assets/{alert-dialog-DgKHNMhK.js → alert-dialog-9kOsUrrA.js} +3 -3
- package/dist/client/assets/{app-editor-B9M3wvcv.js → app-editor-BznZUTpm.js} +1 -1
- package/dist/client/assets/{auth-BLiJRnll.js → auth-DEpjtwun.js} +1 -1
- package/dist/client/assets/{auth-catchall-DSeK9N8v.js → auth-catchall-D_RkydrM.js} +1 -1
- package/dist/client/assets/{auth-entry-C250ySSC.js → auth-entry-jFqYAMuT.js} +1 -1
- package/dist/client/assets/{auth-split-layout-CFoAVRJo.js → auth-split-layout-7N_nwEWR.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-hxu7iFWm.js → authenticate-and-persist-oauth-Z5iZl3NY.js} +1 -1
- package/dist/client/assets/{automation-list-row-4kiuR9J_.js → automation-list-row-DoFEAvgQ.js} +1 -1
- package/dist/client/assets/{automation-runs-CrtNxd_6.js → automation-runs-DbWyk7jb.js} +2 -2
- package/dist/client/assets/{automations-DlVuktpC.js → automations-CABzNKUu.js} +1 -1
- package/dist/client/assets/{autosend-BXcStNUF.js → autosend-hYfyQlKa.js} +1 -1
- package/dist/client/assets/{avatar-Dgo42BbU.js → avatar-B5g154Et.js} +1 -1
- package/dist/client/assets/{badge-rNQMuow0.js → badge-qy7vzuZ8.js} +1 -1
- package/dist/client/assets/{block-document-DlcRmDHA.js → block-document-DNsS2KRT.js} +1 -1
- package/dist/client/assets/{brand-context-BiDefRyQ.js → brand-context-D7jkbFUV.js} +1 -1
- package/dist/client/assets/{breadcrumb-De7Be85Q.js → breadcrumb-COfYELC8.js} +1 -1
- package/dist/client/assets/{buckets-Buk05CsB.js → buckets-CB-PCLi2.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-BI3MZYMf.js → bulk-category-panel-EPnEykuu.js} +1 -1
- package/dist/client/assets/{calendar-JI7Xh89V.js → calendar-CqrMvOtO.js} +1 -1
- package/dist/client/assets/{capability-load-error-D4RkEk-O.js → capability-load-error-DcdUflTi.js} +1 -1
- package/dist/client/assets/{card-DuUbrzIb.js → card-BhI7Np_f.js} +1 -1
- package/dist/client/assets/{category-editor-CLZCQkkW.js → category-editor-BiFT8zOt.js} +1 -1
- package/dist/client/assets/{chat-context-lAG-2O7A.js → chat-context-DbtHJFUr.js} +6 -6
- package/dist/client/assets/{checkbox-BZMCKetk.js → checkbox-C9d1lIYX.js} +1 -1
- package/dist/client/assets/{cli-auth-success-BHQDrlaZ.js → cli-auth-success-Bv1VcbtV.js} +1 -1
- package/dist/client/assets/collection-detail-CRVut8n4.js +1 -0
- package/dist/client/assets/{collection-display-button-B2tojwRB.js → collection-display-button-Cruq60_Q.js} +1 -1
- package/dist/client/assets/{collection-search-CnoysHcj.js → collection-search-CwUbH4qH.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BmCjAZ1c.js → collection-table-wrapper-BjYwYC4q.js} +1 -1
- package/dist/client/assets/{collection-tabs-DOfHnd33.js → collection-tabs-ClxY84rJ.js} +1 -1
- package/dist/client/assets/{command-16AY86Vw.js → command-B3cu0Aev.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-BO7-Xp0k.js → commerce-onboarding-BYoRokdz.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-bReMSxS9.js → connect-desktop-dialog-CsHMUYFP.js} +1 -1
- package/dist/client/assets/{connection-card-CzdaeWN4.js → connection-card-CDb2GmfN.js} +1 -1
- package/dist/client/assets/{connection-detail-82bHj_8q.js → connection-detail-DaB9Caux.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DLOFQER_.js → connection-form-helpers-DwHnDZGX.js} +1 -1
- package/dist/client/assets/{connections-DFDqtBTU.js → connections-C5LmG-ha.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-CWI8vp1u.js → decopilot-sse-pool-Xn1jBQQZ.js} +1 -1
- package/dist/client/assets/{dialog-BQb1F_85.js → dialog-Doo4cf6x.js} +1 -1
- package/dist/client/assets/{domain-settings-QIRolNIU.js → domain-settings-DY3jmP1m.js} +1 -1
- package/dist/client/assets/{drawer-BYJ09BC-.js → drawer-CzFCT3PH.js} +1 -1
- package/dist/client/assets/{dropdown-menu-D06pT_Yl.js → dropdown-menu-Zn5Qzoi0.js} +1 -1
- package/dist/client/assets/{empty-state-Cfn7POgZ.js → empty-state-B5ZXJOuz.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Dxh3JQlf.js → extract-connection-data-CAN-85EW.js} +1 -1
- package/dist/client/assets/{file-explorer-CFiphPxx.js → file-explorer-37Ixz2H8.js} +2 -2
- package/dist/client/assets/{file-type-icon-Aoe0Y-I8.js → file-type-icon-CpecjgQb.js} +1 -1
- package/dist/client/assets/{files-m_tWSsLw.js → files-7KwaVvpP.js} +1 -1
- package/dist/client/assets/{form-BSRNY-2F.js → form-DGt94nWL.js} +1 -1
- package/dist/client/assets/{general-XDdId9Dc.js → general-DpPTR2IV.js} +1 -1
- package/dist/client/assets/{github-repo-picker-DNeOClWO.js → github-repo-picker-DFQ47NAm.js} +1 -1
- package/dist/client/assets/{hooks-B0s8dW-3.js → hooks-CVWEOPPl.js} +1 -1
- package/dist/client/assets/{index-4UOHYQbA.js → index-8tv7d0Ve.js} +3 -3
- package/dist/client/assets/{index-C7dVST1p.js → index-B-lL4Bof.js} +27 -27
- package/dist/client/assets/{index-Q4KXBLX0.js → index-B46tvY2S.js} +1 -1
- package/dist/client/assets/{index-EueGwkJB.js → index-B9mjAGk9.js} +1 -1
- package/dist/client/assets/{index-Dk2mkKkS.js → index-BHFkoj3g.js} +1 -1
- package/dist/client/assets/{index-C9IgC0D3.js → index-BiBP_IJ-.js} +6 -6
- package/dist/client/assets/{index-LI53xUuK.js → index-CDfGnUft.js} +1 -1
- package/dist/client/assets/index-CJ8_7qzi.css +1 -0
- package/dist/client/assets/{index-yPn5PqoV.js → index-CO1L2k6F.js} +14 -14
- package/dist/client/assets/{index-DHWnBXSe.js → index-CeaSA5WZ.js} +1 -1
- package/dist/client/assets/{index-DoQLCw0M.js → index-CiXX-fWm.js} +1 -1
- package/dist/client/assets/{index-Bs6zhRbM.js → index-DH2YDD3V.js} +1 -1
- package/dist/client/assets/{index-C0Kp8K39.js → index-DRHqcbla.js} +1 -1
- package/dist/client/assets/{index-QRtZTGEf.js → index-dIqwxqlw.js} +1 -1
- package/dist/client/assets/{index-B5SU7-WQ.js → index-rTzepySe.js} +1 -1
- package/dist/client/assets/{index-redirect-Bm5zv1wl.js → index-redirect-SiI_MmOn.js} +1 -1
- package/dist/client/assets/{input-BhVbIOL5.js → input-COW4go5N.js} +1 -1
- package/dist/client/assets/{integration-icon-B-TdxWW9.js → integration-icon-BnLf1D5y.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-bg2ZlW-t.js → invite-member-dialog-D-VduUaY.js} +1 -1
- package/dist/client/assets/{label-Df6E5Yzm.js → label-D-dsSZO9.js} +1 -1
- package/dist/client/assets/{login-D0nS7e53.js → login-BBExhs0i.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Dlf9RXM8.js → mcp-oauth-BkvwEKNk.js} +1 -1
- package/dist/client/assets/{members-CPSIo3Om.js → members-BsA618Ds.js} +1 -1
- package/dist/client/assets/{monaco-editor-svsb9wLn.js → monaco-editor-RTekDV_G.js} +2 -2
- package/dist/client/assets/{monitoring-stats-row-jUDwELiW.js → monitoring-stats-row-DXsXFCSg.js} +1 -1
- package/dist/client/assets/{oauth-callback-BR7dQRnn.js → oauth-callback-CqjNzHWn.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-B8HLviLB.js → oauth-callback-ai-provider-C_RrwpQT.js} +1 -1
- package/dist/client/assets/{onboarding-CHcummJN.js → onboarding-BWDDHwD0.js} +1 -1
- package/dist/client/assets/{org-install-CGIspst6.js → org-install-Bey3pM-s.js} +1 -1
- package/dist/client/assets/{org-layout-CIAEGqMj.js → org-layout-CBrTiXLW.js} +1 -1
- package/dist/client/assets/{organization-choice-D4ThMlWS.js → organization-choice-BcTXS06q.js} +1 -1
- package/dist/client/assets/page-seo-sheet-C9KcJIyh.js +1 -0
- package/dist/client/assets/{popover-D9luRMTF.js → popover-COxSNUI9.js} +1 -1
- package/dist/client/assets/{post-editor-BiIKWvRD.js → post-editor-Dg36btgx.js} +1 -1
- package/dist/client/assets/{primitives-CwQuE9-S.js → primitives-ySArMO8A.js} +1 -1
- package/dist/client/assets/{profile-Cafm0dMc.js → profile-CHW3d_C3.js} +1 -1
- package/dist/client/assets/project-app-view-DSJYwYNP.js +1 -0
- package/dist/client/assets/record-editor-BKk1cGnm.js +1 -0
- package/dist/client/assets/registry-jF11637A.js +2 -0
- package/dist/client/assets/{registry-layout-DMA7NPvF.js → registry-layout-DM6iRP4R.js} +1 -1
- package/dist/client/assets/{require-capability-CA4Vvvzm.js → require-capability-C0bowvl-.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CUA4eOib.js → required-auth-layout-CANoL34o.js} +1 -1
- package/dist/client/assets/{reset-password-1rg2t_Oy.js → reset-password-Bu-RIMAl.js} +1 -1
- package/dist/client/assets/{roles-CT_nb_it.js → roles-CEWWPS9R.js} +1 -1
- package/dist/client/assets/{search-input-DwVIDzVV.js → search-input-B51XuoAi.js} +1 -1
- package/dist/client/assets/{secrets-CIwQS1pf.js → secrets-D3WG23GX.js} +1 -1
- package/dist/client/assets/{sections-editor-DxCWTtab.js → sections-editor-BmLUDELp.js} +2 -2
- package/dist/client/assets/{select-B3ImeVih.js → select-B1glqaL5.js} +1 -1
- package/dist/client/assets/{select-model-B3J8ChGk.js → select-model-CTRtCpyq.js} +1 -1
- package/dist/client/assets/seo-editor-BiVjKNYD.js +1 -0
- package/dist/client/assets/seo-save-Di9kBsWL.js +1 -0
- package/dist/client/assets/{settings-layout-BMWwGQPK.js → settings-layout-DWTWQdbp.js} +1 -1
- package/dist/client/assets/{settings-section-Dn0FaZWV.js → settings-section-BJ5Z9sbk.js} +1 -1
- package/dist/client/assets/{shell-controls-D3jzR3Ax.js → shell-controls-C_t0yT4o.js} +1 -1
- package/dist/client/assets/{shell-layout-C2YAi9TW.js → shell-layout-BtQe-dI_.js} +1 -1
- package/dist/client/assets/{sidebar-BlLPPE8C.js → sidebar-xOgqyAzw.js} +1 -1
- package/dist/client/assets/{skeleton-DtLWrbVs.js → skeleton-Y0aYZIGv.js} +1 -1
- package/dist/client/assets/{sso-gkyRaG6u.js → sso-p-GWEiH_.js} +1 -1
- package/dist/client/assets/{store-U-EiC82M.js → store-DG4R5TyA.js} +1 -1
- package/dist/client/assets/store-registry-D_uqHVBf.js +2 -0
- package/dist/client/assets/{studio-tools-ByyNXCPF.js → studio-tools-CkzkLbeK.js} +1 -1
- package/dist/client/assets/{switch-CVbA3ht3.js → switch-BeCDglKS.js} +1 -1
- package/dist/client/assets/tab-id-bb-jjgGv.js +1 -0
- package/dist/client/assets/{table-CKG30Nix.js → table-CK7f3A2A.js} +1 -1
- package/dist/client/assets/{tabs-Bv-WJvNE.js → tabs-CJJv0rqZ.js} +1 -1
- package/dist/client/assets/{textarea-CT8dn5pf.js → textarea-BoXzEDCS.js} +1 -1
- package/dist/client/assets/{toggle-group-CZMM7UjO.js → toggle-group-D8suAen9.js} +1 -1
- package/dist/client/assets/{toolbar-D6LdG-Wm.js → toolbar-L2J1s5cv.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-fYFDcbbC.js → toolbar-icon-button-D8lNvCwb.js} +1 -1
- package/dist/client/assets/{tools-list-C5yuBpVG.js → tools-list-B9fSZWYy.js} +1 -1
- package/dist/client/assets/{tooltip-DoSMjatf.js → tooltip-B8UTXuYj.js} +1 -1
- package/dist/client/assets/{types-BlhLUGUD.js → types-CI4ZpBJG.js} +3 -3
- package/dist/client/assets/{use-ai-providers-QleU1RA8.js → use-ai-providers-CakVoxd1.js} +1 -1
- package/dist/client/assets/{use-automations-B2KuzDhy.js → use-automations-DeM5roCe.js} +1 -1
- package/dist/client/assets/{use-capability-ctzy7Iuu.js → use-capability-B9S8HhSs.js} +1 -1
- package/dist/client/assets/{use-clock-tick-D0h5ReC7.js → use-clock-tick-JSYy3xwe.js} +1 -1
- package/dist/client/assets/{use-collections--gHw8px3.js → use-collections-DwtBugWF.js} +1 -1
- package/dist/client/assets/{use-connection-lE_kTfxb.js → use-connection-BDpHVnM9.js} +1 -1
- package/dist/client/assets/{use-copy-DGXn0Z4W.js → use-copy-CVEWQijj.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-D6QmvZ92.js → use-create-virtual-mcp-CyHPTRnR.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-BS01VbNB.js → use-debounced-autosave-C-WNNWm4.js} +1 -1
- package/dist/client/assets/{use-debounced-value-GvjnoJVI.js → use-debounced-value-bUjKN4su.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CRic-okR.js → use-decopilot-events-vQdREpgW.js} +1 -1
- package/dist/client/assets/{use-delete-connection-C5F-uS8w.js → use-delete-connection-CHv507Hm.js} +1 -1
- package/dist/client/assets/{use-file-configs-BvDMyjf1.js → use-file-configs-D4DkA1o5.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DpZtuK8y.js → use-infinite-scroll-C76DIcY8.js} +1 -1
- package/dist/client/assets/{use-join-requests-BShqjq0S.js → use-join-requests-D6ap2Uj2.js} +1 -1
- package/dist/client/assets/{use-mcp-client-BEgrgguJ.js → use-mcp-client-DwetKDRa.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-BNStIsi5.js → use-mcp-prompts-Dd5bB4_b.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BnSMIqU7.js → use-mcp-tools-BUiL0JOE.js} +1 -1
- package/dist/client/assets/{use-members-Bd_hF5UP.js → use-members-BH7s_bbV.js} +1 -1
- package/dist/client/assets/{use-mobile-C1yeTQSe.js → use-mobile-BK99wTJG.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-IMVSenmx.js → use-navigate-to-agent-C6bEo5XD.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-CgWD2bKQ.js → use-org-auth-client-C_ymtLDP.js} +1 -1
- package/dist/client/assets/{use-org-sso-BW6hGbNM.js → use-org-sso-C-2oQsVK.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DQSC_UDE.js → use-organization-roles-BlEJ6Gvi.js} +1 -1
- package/dist/client/assets/{use-organization-settings-pkK3XqXh.js → use-organization-settings-DDeNqP-7.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CatFBB-Z.js → use-registry-connections-D-CxCgyF.js} +1 -1
- package/dist/client/assets/{use-secrets-ifTIyvqr.js → use-secrets-Bh4ndTN4.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BKsYX6dZ.js → use-status-sounds-BcOUu7LR.js} +1 -1
- package/dist/client/assets/{use-view-mode-DF8cAvvC.js → use-view-mode-SybAG8SK.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CP1UlAVj.js → use-virtual-mcp-KIabF-QC.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-BauhQX45.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-DJ9BuAY-.js +1 -0
- package/dist/client/assets/{variant-calendar-BuIPdvPG.js → variant-calendar-DlZJbhfj.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-BZ8sio9i.js → view-mode-toggle-C3x6LuYl.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +444 -444
- package/dist/server/server.js +295 -295
- package/package.json +1 -1
- package/dist/client/assets/collection-detail-OZ5fARAO.js +0 -1
- package/dist/client/assets/index-DhHJ9QL9.css +0 -1
- package/dist/client/assets/page-seo-form-BHUTyc0t.js +0 -1
- package/dist/client/assets/page-seo-sheet-Ba0SACAp.js +0 -1
- package/dist/client/assets/project-app-view-BXhho-Rx.js +0 -1
- package/dist/client/assets/record-editor-DY4HRJDO.js +0 -1
- package/dist/client/assets/registry-CO7NYWko.js +0 -2
- package/dist/client/assets/seo-editor-CCP-vpNs.js +0 -1
- package/dist/client/assets/store-registry-Cw6JGvo6.js +0 -2
- package/dist/client/assets/tab-id-DAJ8K7VA.js +0 -1
- package/dist/client/assets/useInfiniteQuery-sZ0Htvr0.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-edxJatNv.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as O,j as t,B as F,i as X,G as Ge,H as te,P as Pe,r as $,$ as re,J as Qe,u as Xe,a6 as K,t as Ye,l as je,e as le,aW as ke}from"./index-yPn5PqoV.js";import{E as Ae}from"./empty-state-Cfn7POgZ.js";import{u as Ze,a as Ee}from"./use-collections--gHw8px3.js";import{u as ae}from"./use-mcp-client-BEgrgguJ.js";import{F as se,a as et,b as ce,d as de}from"./form-BSRNY-2F.js";import{I as me}from"./input-BhVbIOL5.js";import{T as ie}from"./textarea-CT8dn5pf.js";import{a as tt,b as st,V as ue,O as nt,M as ot}from"./index-EueGwkJB.js";import{ar as it,M as rt,am as lt,x as at,ad as ct,as as dt,X as be}from"./agent-icon-C4_o5ydZ.js";import{g as mt,M as ut,a as Ne}from"./types-BlhLUGUD.js";import{A as xt,a as pt,b as ft}from"./alert-DA_x-YN7.js";import{a as ve,c as Se,d as ye,S as we,b as ne}from"./select-B3ImeVih.js";import{c as ht,T as Ce,a as Ie,b as $e}from"./tooltip-DoSMjatf.js";import{i as gt}from"./AlertCircle--PMydaMf.js";import{s as jt}from"./Stars02-D-p5T4lR.js";import{a as bt}from"./Copy01-2gpXomsV.js";import{i as Nt}from"./Play-CbAyRzAa.js";import{a as Oe,b as Re,B as V,c as G,d as Q,e as _e}from"./breadcrumb-De7Be85Q.js";import{g as vt}from"./connection-slug-eyAPH6o3.js";import{u as St,T as yt}from"./tools-list-C5yuBpVG.js";import{a as Me,u as De}from"./use-connection-lE_kTfxb.js";import{a as wt}from"./use-mcp-tools-BnSMIqU7.js";import{M as Ct,c as It}from"./monaco-editor-svsb9wLn.js";import{I as Te}from"./integration-icon-B-TdxWW9.js";import{g as $t,l as Tt}from"./chat-context-lAG-2O7A.js";import{u as Pt}from"./shell-layout-C2YAi9TW.js";import{n as kt}from"./XCircle-jytnjIgV.js";import"./constants-B72Xmt_K.js";import"./auth-BLiJRnll.js";import"./label-Df6E5Yzm.js";import"./index-DHWnBXSe.js";import"./sidebar-BlLPPE8C.js";import"./LayoutLeft-BpojMms7.js";import"./use-mobile-C1yeTQSe.js";import"./X-CiSMe5JO.js";import"./ZoomOut-CbxeOPzX.js";import"./Key01-DUxOOddM.js";import"./extract-connection-data-Dxh3JQlf.js";import"./use-registry-connections-CatFBB-Z.js";import"./use-organization-settings-pkK3XqXh.js";import"./studio-tools-ByyNXCPF.js";import"./Plus-9k6C1K7r.js";import"./index-B5SU7-WQ.js";import"./index-LI53xUuK.js";import"./index-DoQLCw0M.js";import"./popover-D9luRMTF.js";import"./use-virtual-mcp-CP1UlAVj.js";import"./Check-CcPvoApF.js";import"./SearchMd-CXqAy2cI.js";import"./Users03-CmaOzqyy.js";import"./use-create-virtual-mcp-D6QmvZ92.js";import"./use-navigate-to-agent-IMVSenmx.js";import"./hooks-B0s8dW-3.js";import"./decopilot-sse-pool-CWI8vp1u.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./Tool01-DC8t7xtz.js";import"./SwitchHorizontal01-C3PoW6Vi.js";import"./Settings02-BGxjna3X.js";import"./ArrowUpRight-CHUxtDdY.js";import"./ZapSquare-DyZXhYqe.js";import"./Loading02-X8510u6H.js";import"./CheckCircle-NFzW7Z8m.js";import"./ChevronDown-MeZzOPHz.js";import"./ChevronRight-BqFhSMvB.js";import"./ChevronUp-D8KUZA8M.js";import"./Circle-Dm7VhFWf.js";import"./DotsVertical-C_fD3ZcJ.js";import"./Globe01-COxjYhlh.js";import"./Eye-Bzm1u24u.js";import"./FilterLines-Da3dOd8v.js";import"./Star01-mhJMEmGH.js";import"./Globe04-B0ubdawf.js";import"./HardDrive-BRNvA1nE.js";import"./LinkExternal01-CATg__lS.js";import"./List-CeaMH-i5.js";import"./Monitor01-DhstX6U9.js";import"./Sun-Bf3WFaco.js";import"./Palette-CYERjjFT.js";import"./SearchLg-B4sr2aMr.js";import"./Shield01-PEbOAjUy.js";import"./Stars01-D8XIMgZy.js";import"./Trash01-Dzp-R3fm.js";import"./Upload01-BevEZjBr.js";import"./User01-CQWB41oo.js";import"./Users01-DGibI-5D.js";import"./XClose-DrA7-ZGN.js";import"./Zap-CAZTxdA-.js";import"./mcp-oauth-Dlf9RXM8.js";import"./badge-rNQMuow0.js";import"./index-4UOHYQbA.js";import"./autosend-BXcStNUF.js";import"./use-ai-providers-QleU1RA8.js";import"./use-decopilot-events-CRic-okR.js";import"./tab-id-DAJ8K7VA.js";import"./avatar-Dgo42BbU.js";import"./dialog-BQb1F_85.js";import"./alert-dialog-DgKHNMhK.js";import"./required-auth-layout-CUA4eOib.js";import"./use-org-sso-BW6hGbNM.js";function At(s){const e=O.c(15),{onSave:r,onUndo:o,isDirty:l,isSaving:i,saveLabel:c,undoLabel:d}=s,n=c===void 0?"Save":c,u=d===void 0?"Undo":d;if(!l)return null;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(it,{size:14}),e[0]=x):x=e[0];let m;e[1]!==i||e[2]!==o||e[3]!==u?(m=t.jsxs(F,{variant:"outline",size:"sm",onClick:o,disabled:i,"aria-label":u,children:[x,u]}),e[1]=i,e[2]=o,e[3]=u,e[4]=m):m=e[4];let p;e[5]!==i?(p=i?t.jsx(X,{size:14,className:"animate-spin"}):t.jsx(rt,{size:14}),e[5]=i,e[6]=p):p=e[6];let f;e[7]!==i||e[8]!==r||e[9]!==n||e[10]!==p?(f=t.jsxs(F,{variant:"default",size:"sm",onClick:r,disabled:i,"aria-label":n,children:[p,n]}),e[7]=i,e[8]=r,e[9]=n,e[10]=p,e[11]=f):f=e[11];let g;return e[12]!==m||e[13]!==f?(g=t.jsxs(t.Fragment,{children:[m,f]}),e[12]=m,e[13]=f,e[14]=g):g=e[14],g}Ge({title:te().min(1),description:te().nullable(),body:te()});function oe(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function Et(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(o=>o==="mcps"),r=e>=0?s[e+1]:void 0;return r?decodeURIComponent(r):void 0}function Ot(s){const e=O.c(13),{form:r}=s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Details"}),e[0]=o):o=e[0];let l;e[1]!==r.control?(l=t.jsxs("div",{className:"flex flex-col gap-4",children:[o,t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsx(se,{control:r.control,name:"title",render:Mt}),t.jsx(se,{control:r.control,name:"description",render:_t})]})]}),e[1]=r.control,e[2]=l):l=e[2];let i,c;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Message"}),c=t.jsx("div",{className:"text-xs text-muted-foreground",children:"This becomes the user message in the prompt."}),e[3]=i,e[4]=c):(i=e[3],c=e[4]);let d;e[5]!==r.control?(d=t.jsxs("div",{className:"flex flex-col gap-2",children:[i,c,t.jsx(se,{control:r.control,name:"body",render:Rt})]}),e[5]=r.control,e[6]=d):d=e[6];let n;e[7]!==l||e[8]!==d?(n=t.jsxs("div",{className:"h-full py-6 flex flex-col max-w-3xl mx-auto w-full min-w-0 gap-8 overflow-y-auto px-4",children:[l,d]}),e[7]=l,e[8]=d,e[9]=n):n=e[9];let u;return e[10]!==r||e[11]!==n?(u=t.jsx(et,{...r,children:n}),e[10]=r,e[11]=n,e[12]=u):u=e[12],u}function Rt(s){const{field:e}=s;return t.jsx(ce,{children:t.jsx(de,{children:t.jsx(ie,{...e,value:e.value??"",placeholder:"Write the prompt message…",className:"min-h-[240px] resize-none text-base leading-relaxed font-normal rounded-xl border border-border bg-muted/20 px-4 py-3 shadow-none focus-visible:ring-0"})})})}function _t(s){const{field:e}=s;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Description"}),t.jsx(de,{children:t.jsx(me,{...e,value:e.value??"",placeholder:"Add a description…",className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})}function Mt(s){const{field:e}=s;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Title"}),t.jsx(de,{children:t.jsx(me,{...e,placeholder:"Untitled prompt",className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})}function Dt(s){const e=O.c(36),{providerId:r,promptId:o}=s,{org:l}=re(),i=r||null;let c;e[0]!==l.id||e[1]!==l.slug||e[2]!==i?(c={connectionId:i,orgId:l.id,orgSlug:l.slug},e[0]=l.id,e[1]=l.slug,e[2]=i,e[3]=c):c=e[3];const d=ae(c),n=Ze(r,"PROMPT",o,d),u=Ee(r,"PROMPT",d),x=u.update.isPending;let m;e[4]!==n?(m=n?{title:n.title,description:n.description??null,body:oe(n)}:void 0,e[4]=n,e[5]=m):m=e[5];let p;e[6]!==m?(p={values:m},e[6]=m,e[7]=p):p=e[7];const f=Qe(p);let g;e[8]!==f||e[9]!==n?(g=()=>{n&&f.reset({title:n.title,description:n.description??null,body:oe(n)})},e[8]=f,e[9]=n,e[10]=g):g=e[10];const S=g;let C;e[11]!==u.update||e[12]!==f||e[13]!==o?(C=f.handleSubmit(async N=>{const A=await u.update.mutateAsync({id:o,data:{title:N.title,description:N.description,arguments:[],icons:[],messages:[{role:"user",content:{type:"text",text:N.body}}]}});f.reset({title:A.title,description:A.description??null,body:oe(A)})}),e[11]=u.update,e[12]=f,e[13]=o,e[14]=C):C=e[14];const R=C;if(!n){let N;return e[15]===Symbol.for("react.memo_cache_sentinel")?(N=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ae,{title:"Prompt not found",description:"This prompt may have been deleted or you may not have access to it."})}),e[15]=N):N=e[15],N}let I;e[16]!==n.title?(I=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:n.title}),e[16]=n.title,e[17]=I):I=e[17];let k;e[18]!==n.description?(k=n.description?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-xs text-muted-foreground font-normal",children:"•"}),t.jsx("span",{className:"text-xs text-muted-foreground font-normal truncate min-w-0 max-w-[20ch]",children:n.description})]}):null,e[18]=n.description,e[19]=k):k=e[19];let T;e[20]!==I||e[21]!==k?(T=t.jsx(st,{children:t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[I,k]})}),e[20]=I,e[21]=k,e[22]=T):T=e[22];let b;e[23]!==R?(b=()=>{R()},e[23]=R,e[24]=b):b=e[24];let y;e[25]!==f.formState.isDirty||e[26]!==x||e[27]!==S||e[28]!==b?(y=t.jsx(tt,{children:t.jsx(At,{onSave:b,onUndo:S,isDirty:f.formState.isDirty,isSaving:x})}),e[25]=f.formState.isDirty,e[26]=x,e[27]=S,e[28]=b,e[29]=y):y=e[29];let w;e[30]!==f?(w=t.jsx("div",{className:"h-full",children:t.jsx(Ot,{form:f})}),e[30]=f,e[31]=w):w=e[31];let P;return e[32]!==y||e[33]!==w||e[34]!==T?(P=t.jsxs(ue,{children:[T,y,w]}),e[32]=y,e[33]=w,e[34]=T,e[35]=P):P=e[35],P}function zt(s){const e=O.c(4),{itemId:r}=s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=Et(),e[0]=o):o=e[0];const l=o;if(!l){let c;return e[1]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ae,{title:"Prompt not found",description:"Missing connection information in the current route."})}),e[1]=c):c=e[1],c}let i;return e[2]!==r?(i=t.jsx(Pe,{children:t.jsx($.Suspense,{fallback:null,children:t.jsx(Dt,{providerId:l,promptId:r})})}),e[2]=r,e[3]=i):i=e[3],i}const Lt=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function Ut(s){const e=O.c(11),{toolName:r,connectionId:o,siblings:l,onSelectInstance:i,onBack:c}=s;let d;e[0]!==o?(d={connectionId:o},e[0]=o,e[1]=d):d=e[1];const n=St(d);if(!n.isAuthenticated){let m;return e[2]!==n.supportsOAuth||e[3]!==c?(m=t.jsx("div",{className:"flex h-full items-center justify-center",children:n.supportsOAuth?t.jsx(nt,{onAuthenticate:()=>c(),buttonText:"Go back to authenticate"}):t.jsx(ot,{hasReadme:!1})}),e[2]=n.supportsOAuth,e[3]=c,e[4]=m):m=e[4],m}const u=`${o}:${r}`;let x;return e[5]!==o||e[6]!==i||e[7]!==l||e[8]!==u||e[9]!==r?(x=t.jsx(Bt,{toolName:r,connectionId:o,siblings:l,onSelectInstance:i},u),e[5]=o,e[6]=i,e[7]=l,e[8]=u,e[9]=r,e[10]=x):x=e[10],x}function Bt({toolName:s,connectionId:e,siblings:r,onSelectInstance:o}){const{replayId:l}=Xe({strict:!1}),i=(()=>{if(!l)return null;const a=`replay-${l}`,h=sessionStorage.getItem(a);if(!h)return null;sessionStorage.removeItem(a);try{return JSON.parse(h)}catch{return null}})(),c=(()=>{if(!i)return null;const a={};for(const[h,v]of Object.entries(i))v!==null&&typeof v=="object"?a[h]=JSON.stringify(v,null,2):a[h]=v;return a})(),[d,n]=$.useState(c??{}),[u,x]=$.useState(i?JSON.stringify(i,null,2):"{}"),[m,p]=$.useState(null),[f,g]=$.useState(null),[S,C]=$.useState(null),[R,I]=$.useState(null),[k,T]=$.useState(!1),[b,y]=$.useState(null),{org:w}=re(),P=Me(e),N=$t(),A=Tt(),{setChatOpen:U}=Pt(),z=`${e}:${s}`,_=ae({connectionId:e,orgId:w.id,orgSlug:w.slug}),L=wt({client:_}),j=L.data?.tools?.find(a=>a.name===s),E=mt(j?._meta),J=a=>{if(!N)return;const h=It(a.content);h.content.length>0&&(U(!0),N.sendMessage({tiptapDoc:h}))},[M,Y]=$.useState("json"),[ze,Le]=$.useState(!1);E&&!ze&&(Y("ui"),Le(!0));const xe=j?.inputSchema?.properties,pe=xe?Object.keys(xe):[],q=pe.length>0,H={};if(q&&j?.inputSchema?.properties)for(const a of pe)H[a]=j.inputSchema.required?.includes(a)?"":void 0;const Z=a=>Object.prototype.hasOwnProperty.call(d,a),Ue=async()=>{T(!0),I(null),p(null),g(null),C(null),y(null);const a=performance.now();try{if(!_)throw new Error("MCP client is not available");const h=q?{...H,...d}:(()=>{const D=u.trim();if(!D)return{};const B=JSON.parse(D);if(B&&typeof B=="object")return B;throw new Error("Raw JSON input must be an object.")})();q&&j?.inputSchema?.properties&&Object.entries(j.inputSchema.properties).forEach(([D,B])=>{if((B.type==="object"||B.type==="array")&&typeof h[D]=="string")try{h[D]=JSON.parse(h[D])}catch{}else if((B.type==="number"||B.type==="integer")&&typeof h[D]=="string"&&h[D]!==""){const ge=Number(h[D]);Number.isNaN(ge)||(h[D]=ge)}});const v=await _.callTool({name:s,arguments:h}),W=v.structuredContent??v,He=performance.now(),We=Math.round(He-a);p(W),g(v),C(h);const Ke=JSON.stringify(W),he=new TextEncoder().encode(Ke).length;y({duration:`${We}ms`,bytes:`${he} bytes`,tokens:`~${Math.ceil(he/4)} tokens`,cost:"$0.0000"})}catch(h){const v=h instanceof Error?h.message:String(h);I(v||"Unknown error occurred");const W=performance.now();y({duration:`${Math.round(W-a)}ms`})}finally{T(!1)}},ee=(a,h)=>{n(v=>({...v,[a]:h}))},Be=()=>{p(null),g(null),C(null),I(null),y(null)},Fe=j?.name??Lt(s),Je=t.jsx(Oe,{children:t.jsxs(Re,{children:[t.jsx(V,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections",params:{org:w.slug},children:"Connections"})})}),t.jsx(Q,{}),P&&t.jsxs(t.Fragment,{children:[t.jsx(V,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections/$appSlug",params:{org:w.slug,appSlug:vt(P)},search:{tab:"tools"},children:P.title})})}),t.jsx(Q,{})]}),t.jsx(V,{children:t.jsx(_e,{children:Fe})})]})}),fe=r.length>1&&t.jsxs(ve,{value:e,onValueChange:o,children:[t.jsx(Se,{className:"h-8 w-auto min-w-[200px]",children:t.jsx(ye,{})}),t.jsx(we,{children:r.map(a=>t.jsx(ne,{value:a.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Te,{icon:a.icon,name:a.title,size:"xs",className:"shrink-0"}),a.title]})},a.id))})]}),Ve=t.jsxs("div",{className:"flex flex-col p-6 gap-4 overflow-auto",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("h2",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:"Parameters"}),j?.inputSchema?.required&&j.inputSchema.required.length>0&&t.jsxs("span",{className:"text-xs text-muted-foreground",children:[t.jsx("span",{className:"text-red-500",children:"*"})," Required"]})]}),t.jsx("div",{className:"space-y-4",children:q&&j?.inputSchema?.properties?Object.entries(j.inputSchema.properties).map(([a,h])=>t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("label",{className:"text-sm font-medium leading-none flex items-center gap-1.5",children:[a,j.inputSchema?.required?.includes(a)&&t.jsx("span",{className:"text-red-500 text-xs",children:"*"})]}),t.jsx("span",{className:"text-xs text-muted-foreground font-mono",children:h.type})]}),h.description&&t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:h.description}),h.type==="object"||h.type==="array"?t.jsx(ie,{className:"font-mono text-xs",value:Z(a)?d[a]??"":H[a]??"",onChange:v=>ee(a,v.target.value),placeholder:`Enter ${a} as JSON...`,rows:3}):h.type==="boolean"?t.jsxs(ve,{value:Z(a)?String(d[a]??""):"",onValueChange:v=>ee(a,v==="true"),children:[t.jsx(Se,{children:t.jsx(ye,{placeholder:"Select true or false..."})}),t.jsxs(we,{children:[t.jsx(ne,{value:"true",children:"true"}),t.jsx(ne,{value:"false",children:"false"})]})]}):t.jsx(me,{value:Z(a)?d[a]??"":H[a]??"",onChange:v=>ee(a,v.target.value),placeholder:`Enter ${a}...`})]},a)):j?.inputSchema&&!q?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:"Raw JSON Input"}),t.jsx(ie,{className:"font-mono text-xs min-h-[120px]",value:u,onChange:a=>x(a.target.value),placeholder:'e.g. { "foo": "bar" }'})]}):t.jsx("div",{className:"flex items-center justify-center p-8 bg-muted/30 rounded-lg border border-dashed border-border",children:t.jsx("p",{className:"text-sm text-muted-foreground",children:"No parameters required"})})}),t.jsx("div",{className:"flex items-center gap-2 pt-2",children:k?t.jsxs(F,{size:"sm",variant:"destructive",className:"h-8 gap-2",onClick:Be,children:[t.jsx(lt,{className:"h-3.5 w-3.5"}),"Cancel"]}):t.jsxs(F,{size:"sm",variant:"default",className:"h-8 gap-2",onClick:Ue,children:[t.jsx(Nt,{className:"h-3.5 w-3.5 fill-current"}),"Execute Tool"]})})]}),qe=t.jsxs("div",{className:"flex flex-col @3xl:h-full @3xl:overflow-hidden",children:[t.jsxs("div",{className:"flex items-center justify-between px-4 h-14 border-b border-border bg-background",children:[t.jsx("h2",{className:"text-sm font-medium text-foreground uppercase tracking-wide",children:"Result"}),t.jsxs("div",{className:"flex items-center gap-3",children:[b&&t.jsxs("div",{className:"flex items-center gap-3 text-xs",children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(jt,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.duration})]}),b.tokens&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(at,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.tokens})]}),b.bytes&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(ct,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.bytes})]}),b.cost&&t.jsx("div",{className:"flex items-center gap-1.5",children:t.jsx("span",{className:"font-mono text-foreground",children:b.cost})})]}),E&&t.jsx(ht,{children:t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsxs(Ce,{children:[t.jsx(Ie,{asChild:!0,children:t.jsx(F,{size:"icon",variant:M==="ui"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>Y("ui"),children:t.jsx(dt,{size:14})})}),t.jsx($e,{children:"Interactive view"})]}),t.jsxs(Ce,{children:[t.jsx(Ie,{asChild:!0,children:t.jsx(F,{size:"icon",variant:M==="json"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>Y("json"),children:t.jsx(be,{size:14})})}),t.jsx($e,{children:"JSON view"})]})]})})]})]}),R&&t.jsx("div",{className:"px-6 py-4 bg-background",children:t.jsx(xt,{variant:"destructive",children:t.jsxs("div",{className:"flex flex-col gap-2",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(gt,{className:"h-4 w-4"}),t.jsx(pt,{className:"mb-0",children:"Execution Failed"})]}),t.jsx(ft,{className:"text-xs text-destructive",children:R})]})})}),t.jsx("div",{className:"relative flex-1 min-h-[400px] @3xl:min-h-0 @3xl:overflow-auto bg-muted/50",children:E&&M==="ui"&&_?t.jsx($.Suspense,{fallback:t.jsx("div",{className:"flex items-center justify-center h-48",children:t.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t.jsx("div",{className:"size-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),t.jsx("span",{className:"text-sm",children:"Loading app..."})]})}),children:t.jsx(ut,{resourceURI:E,toolInfo:j?{tool:j}:void 0,toolInput:S??void 0,toolResult:f??void 0,displayMode:"fullscreen",minHeight:Ne.view.minHeight,maxHeight:Ne.view.maxHeight,client:_,onMessage:J,onUpdateModelContext:a=>A?.setAppContext(z,a),onTeardown:()=>A?.clearAppContext(z),className:"h-full"})}):m?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{code:JSON.stringify(m,null,2),language:"json",height:"100%",readOnly:!0}),t.jsx(F,{size:"icon",variant:"ghost",className:"absolute top-4 right-4 h-8 w-8 bg-background/80 hover:bg-background border border-border shadow-sm",onClick:()=>{navigator.clipboard.writeText(JSON.stringify(m,null,2)),Ye.success("Copied to clipboard")},children:t.jsx(bt,{className:"h-3.5 w-3.5"})})]}):t.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-muted-foreground",children:[t.jsx(be,{className:"h-12 w-12 mb-3 opacity-40"}),t.jsx("p",{className:"text-sm",children:"Run the tool to see results"})]})})]});return t.jsx(ue,{breadcrumb:Je,children:t.jsxs("div",{className:"flex flex-col h-full overflow-hidden @container",children:[t.jsxs("div",{className:"flex flex-col gap-3 py-7 px-8 bg-background border-b border-border shrink-0",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx(Te,{icon:P?.icon||null,name:P?.title||s,size:"xl",className:"shrink-0"}),t.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground leading-none truncate",children:s}),t.jsxs("div",{className:"flex items-center gap-2 px-2.5 py-1 bg-muted/50 rounded-md h-fit shrink-0",children:[L.isSuccess?t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-green-500 animate-pulse shrink-0"}):L.isLoading?t.jsx(X,{size:10,className:"animate-spin text-yellow-500 shrink-0"}):t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-red-500 shrink-0"}),t.jsx("span",{className:"font-mono text-xs capitalize text-muted-foreground leading-none",children:L.isSuccess?"ready":L.isLoading?"connecting":"error"})]}),t.jsx(yt,{annotations:j?.annotations,_meta:j?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:fe})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:j?.description||"No description available"})]}),r.length>1&&t.jsxs("div",{className:"flex @3xl:hidden items-center gap-3 px-8 py-3 border-b border-border",children:[t.jsx("span",{className:"text-xs font-medium text-muted-foreground shrink-0",children:"Instance"}),fe]}),t.jsx("div",{className:"flex-1 overflow-auto @3xl:overflow-hidden",children:t.jsxs("div",{className:"grid grid-cols-1 @3xl:grid-cols-[minmax(0,2fr)_minmax(0,5fr)] @3xl:h-full @3xl:grid-rows-1",children:[t.jsx("div",{className:"@3xl:border-r border-border @3xl:overflow-auto",children:Ve}),qe]})})]})})}function Ft(s){const e=O.c(10),{itemId:r,siblings:o,onBack:l}=s,[i,c]=$.useState(o[0]?.id??"");let d;e[0]!==i||e[1]!==o?(d=o.find(p=>p.id===i)?.id??o[0]?.id??"",e[0]=i,e[1]=o,e[2]=d):d=e[2];const n=d;if(!Me(n||void 0)||!n){let p;return e[3]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[t.jsx("h3",{className:"text-lg font-semibold",children:"Connection not found"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"This connection may have been deleted or you may not have access."})]})}),e[3]=p):p=e[3],p}let x;e[4]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(X,{size:32,className:"animate-spin text-muted-foreground"})}),e[4]=x):x=e[4];let m;return e[5]!==n||e[6]!==l||e[7]!==o||e[8]!==r?(m=t.jsx($.Suspense,{fallback:x,children:t.jsx(Ut,{toolName:r,connectionId:n,siblings:o,onSelectInstance:c,onBack:l})}),e[5]=n,e[6]=l,e[7]=o,e[8]=r,e[9]=m):m=e[9],m}function Jt(s){const e=O.c(21),{icon:r,illustration:o,title:l,description:i,buttonProps:c,buttonComponent:d,className:n,children:u}=s;let x;e[0]!==n?(x=je("flex flex-col items-center justify-center py-16 text-center",n),e[0]=n,e[1]=x):x=e[1];let m;e[2]!==r||e[3]!==o?(m=o?t.jsx("div",{className:"mb-4 text-muted-foreground/50",children:o}):r?t.jsx("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-xl bg-muted/50 text-muted-foreground",children:r}):null,e[2]=r,e[3]=o,e[4]=m):m=e[4];let p;e[5]!==l?(p=t.jsx("h3",{className:"text-sm font-semibold text-foreground",children:l}),e[5]=l,e[6]=p):p=e[6];let f;e[7]!==i?(f=i&&t.jsx("div",{className:"text-sm text-muted-foreground",children:i}),e[7]=i,e[8]=f):f=e[8];let g;e[9]!==p||e[10]!==f?(g=t.jsxs("div",{className:"flex flex-col items-center gap-1 max-w-sm",children:[p,f]}),e[9]=p,e[10]=f,e[11]=g):g=e[11];let S;e[12]!==d||e[13]!==c?(S=(d??c)&&t.jsx("div",{className:"mt-4",children:d??(c&&t.jsx(F,{size:"sm",className:je(c?.className),...c}))}),e[12]=d,e[13]=c,e[14]=S):S=e[14];let C;return e[15]!==u||e[16]!==x||e[17]!==m||e[18]!==g||e[19]!==S?(C=t.jsxs("div",{className:x,children:[m,g,S,u]}),e[15]=u,e[16]=x,e[17]=m,e[18]=g,e[19]=S,e[20]=C):C=e[20],C}const Vt={prompt:zt};function qt(){const s=O.c(9),e=ke();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=le(r),l=decodeURIComponent(o.itemId);let i;s[1]!==o.appSlug?(i={slug:o.appSlug},s[1]=o.appSlug,s[2]=i):i=s[2];const c=De(i);let d;s[3]!==e.history?(d=()=>{e.history.back()},s[3]=e.history,s[4]=d):d=s[4];const n=d,u=Ht;let x;return s[5]!==n||s[6]!==l||s[7]!==c?(x=t.jsx(Ft,{itemId:l,siblings:c,onBack:n,onUpdate:u}),s[5]=n,s[6]=l,s[7]=c,s[8]=x):x=s[8],x}async function Ht(s){return Promise.resolve()}function Wt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function Kt(){const s=O.c(41),e=ke();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=le(r),l=decodeURIComponent(o.collectionName),i=decodeURIComponent(o.itemId);let c;s[1]!==e.history?(c=()=>{e.history.back()},s[1]=e.history,s[2]=c):c=s[2];const d=c,{org:n}=re();let u;s[3]!==o.appSlug?(u={slug:o.appSlug},s[3]=o.appSlug,s[4]=u):u=s[4];const m=De(u)[0]??null,p=m?.id??"",f=p||"no-connection",g=p??null;let S;s[5]!==n.id||s[6]!==n.slug||s[7]!==g?(S={connectionId:g,orgId:n.id,orgSlug:n.slug},s[5]=n.id,s[6]=n.slug,s[7]=g,s[8]=S):S=s[8];const C=ae(S),R=Ee(f,l,C);let I;s[9]!==R||s[10]!==i?(I=async M=>{i&&await R.update.mutateAsync({id:i,data:M})},s[9]=R,s[10]=i,s[11]=I):I=s[11];const k=I;let T;s[12]!==l?(T=l?.toLowerCase(),s[12]=l,s[13]=T):T=s[13];const b=T,y=b&&Vt[b];let w;s[14]!==l?(w=Wt(l),s[14]=l,s[15]=w):w=s[15];const P=w;let N;s[16]!==n.slug?(N=t.jsx(V,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections",params:{org:n.slug},children:"Connections"})})}),s[16]=n.slug,s[17]=N):N=s[17];let A;s[18]===Symbol.for("react.memo_cache_sentinel")?(A=t.jsx(Q,{}),s[18]=A):A=s[18];let U;s[19]!==l||s[20]!==m||s[21]!==n.slug||s[22]!==o.appSlug?(U=m&&t.jsxs(t.Fragment,{children:[t.jsx(V,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections/$appSlug",params:{org:n.slug,appSlug:o.appSlug},search:{tab:l},children:m.title})})}),t.jsx(Q,{})]}),s[19]=l,s[20]=m,s[21]=n.slug,s[22]=o.appSlug,s[23]=U):U=s[23];let z;s[24]!==P?(z=t.jsx(V,{children:t.jsx(_e,{children:P})}),s[24]=P,s[25]=z):z=s[25];let _;s[26]!==U||s[27]!==z||s[28]!==N?(_=t.jsx(Oe,{children:t.jsxs(Re,{children:[N,A,U,z]})}),s[26]=U,s[27]=z,s[28]=N,s[29]=_):_=s[29];const L=_;if(y){let M;return s[30]!==y||s[31]!==d||s[32]!==k||s[33]!==i?(M=t.jsx(y,{itemId:i,onBack:d,onUpdate:k}),s[30]=y,s[31]=d,s[32]=k,s[33]=i,s[34]=M):M=s[34],M}let j;s[35]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(kt,{size:36,className:"text-muted-foreground"}),s[35]=j):j=s[35];let E;s[36]!==d?(E=t.jsx(Jt,{icon:j,title:"No component defined",description:"No component for this collection was defined",buttonProps:{onClick:d,children:"Go back"}}),s[36]=d,s[37]=E):E=s[37];let J;return s[38]!==L||s[39]!==E?(J=t.jsx(ue,{breadcrumb:L,children:E}),s[38]=L,s[39]=E,s[40]=J):J=s[40],J}function Gt(){const s=O.c(3);let e;s[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=e):e=s[0];const r=le(e);if(decodeURIComponent(r.collectionName)==="tools"){let c;return s[1]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx(qt,{}),s[1]=c):c=s[1],c}let i;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(Kt,{}),s[2]=i):i=s[2],i}function Vn(){const s=O.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Pe,{children:t.jsx($.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(X,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Gt,{})})}),s[0]=e):e=s[0],e}export{Vn as default};
|