decocms 4.22.3 → 4.23.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-CS_9RDbg.js → AlertCircle-CLapFvcx.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-DvbKSlUB.js → ArrowUpRight-DYI4ZFTv.js} +1 -1
- package/dist/client/assets/{Check-CUUu6fuS.js → Check-CWR2GX_4.js} +1 -1
- package/dist/client/assets/{CheckCircle-2nPR7mAJ.js → CheckCircle-BJr7jKsb.js} +1 -1
- package/dist/client/assets/{ChevronDown-SbVNxwJa.js → ChevronDown-BOnFs3ZP.js} +1 -1
- package/dist/client/assets/{ChevronRight-CcT_Yai8.js → ChevronRight--Sw9cfbS.js} +1 -1
- package/dist/client/assets/{ChevronUp-DvAb8S9K.js → ChevronUp-CkMhjJB_.js} +1 -1
- package/dist/client/assets/{Circle-Bk2OeGHv.js → Circle-CSNCa0Ai.js} +1 -1
- package/dist/client/assets/{Copy01-DvnmgpBw.js → Copy01-C_vDrK62.js} +1 -1
- package/dist/client/assets/{DotsVertical-BdQp-tpJ.js → DotsVertical-CVxu5D2B.js} +1 -1
- package/dist/client/assets/{Eye-_b_nmYda.js → Eye-DCiEQJIv.js} +1 -1
- package/dist/client/assets/{FilterLines-Dgm9Ju0X.js → FilterLines-YtMlMBJN.js} +1 -1
- package/dist/client/assets/{Globe01-BWEVPBr8.js → Globe01-pYyw4zjF.js} +1 -1
- package/dist/client/assets/{Globe04-wcXsSWcH.js → Globe04-B5LRDZX0.js} +1 -1
- package/dist/client/assets/{HardDrive-CCq9xvHa.js → HardDrive-Bt_8Ilkp.js} +1 -1
- package/dist/client/assets/{Key01-BXrc6Emy.js → Key01-BGm5x2_7.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BStzo30s.js → LayoutLeft-WEbo8J87.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BuzymGhb.js → LinkExternal01-C9wAno25.js} +1 -1
- package/dist/client/assets/{List-BFtSkA22.js → List-wZrVQa3Y.js} +1 -1
- package/dist/client/assets/{Loading02-Cc_XPeVS.js → Loading02-BY5Z_ytL.js} +1 -1
- package/dist/client/assets/{Monitor01-BJSW7YEH.js → Monitor01-CjaozmNA.js} +1 -1
- package/dist/client/assets/{Palette-BudWH9og.js → Palette-DX20ptpQ.js} +1 -1
- package/dist/client/assets/{Play-tpQoZZ7-.js → Play-DrXY2oRx.js} +1 -1
- package/dist/client/assets/{Plus-6nUvzb_a.js → Plus-j1oUcvSs.js} +1 -1
- package/dist/client/assets/{SearchLg-uOXEhZpb.js → SearchLg-Dt-H4O3z.js} +1 -1
- package/dist/client/assets/{SearchMd-CxCfJ-k7.js → SearchMd-Cmh57xGa.js} +1 -1
- package/dist/client/assets/{Settings02-C4te5XIh.js → Settings02-CtgBTtnW.js} +1 -1
- package/dist/client/assets/{Shield01-DL0nLXwm.js → Shield01-BsAF4snY.js} +1 -1
- package/dist/client/assets/{Star01-BMo746nc.js → Star01-DgFqZM1H.js} +1 -1
- package/dist/client/assets/{Stars01-CeLaUJek.js → Stars01-Ch3VikRv.js} +1 -1
- package/dist/client/assets/{Stars02-CbNiaecd.js → Stars02-C0LkLtPv.js} +1 -1
- package/dist/client/assets/{Sun-DdZgJrCs.js → Sun-D-D5LZ02.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-BmduH4aR.js → SwitchHorizontal01-DAV6AujY.js} +1 -1
- package/dist/client/assets/{Tool01-TTGB3OaR.js → Tool01-Csfd8Wry.js} +1 -1
- package/dist/client/assets/{Trash01-D7DoI-Sm.js → Trash01-Bf3SN1nH.js} +1 -1
- package/dist/client/assets/{Upload01-DK0nNkQH.js → Upload01-BYEqY1Ay.js} +1 -1
- package/dist/client/assets/{User01-zyFcbX02.js → User01-C7pBq15o.js} +1 -1
- package/dist/client/assets/{Users01-DD6y7ZFy.js → Users01-9SoD8uT4.js} +1 -1
- package/dist/client/assets/{Users03-CbmB3ag4.js → Users03-kFy3UJPi.js} +1 -1
- package/dist/client/assets/{X-qcmmBu7s.js → X-C0ZgGoQb.js} +1 -1
- package/dist/client/assets/{XCircle-Bn7fkWKh.js → XCircle-DRgrnFcC.js} +1 -1
- package/dist/client/assets/{XClose-aB151tNh.js → XClose-CmJ8_Kxi.js} +1 -1
- package/dist/client/assets/{Zap-CKOdamGS.js → Zap-CjHl9Hth.js} +1 -1
- package/dist/client/assets/{ZapSquare-BWJNUjCu.js → ZapSquare-BtUSi6w5.js} +1 -1
- package/dist/client/assets/{ZoomOut-TFjut-PL.js → ZoomOut-B4weRH-H.js} +1 -1
- package/dist/client/assets/{access-gate-BrC4x4bH.js → access-gate-DPOW1JQt.js} +1 -1
- package/dist/client/assets/{add-section-modal-CMgGjfQy.js → add-section-modal-2t6y9pJq.js} +1 -1
- package/dist/client/assets/{agent-capabilities-B_99zpHP.js → agent-capabilities-UH4_NDRB.js} +1 -1
- package/dist/client/assets/{agent-icon-CPQk4YwJ.js → agent-icon-CRPqtjX6.js} +1 -1
- package/dist/client/assets/{agents-list-nbmqgS_E.js → agents-list-C3JbHbWL.js} +1 -1
- package/dist/client/assets/{ai-providers-D0wJFLuS.js → ai-providers-KhClLvY9.js} +1 -1
- package/dist/client/assets/{alert-CIXXRGUS.js → alert-BSFVY_ft.js} +1 -1
- package/dist/client/assets/{alert-dialog-DmHjxQGj.js → alert-dialog-DseQ_eoR.js} +1 -1
- package/dist/client/assets/{app-editor-BsolX872.js → app-editor-C9SM21Xh.js} +1 -1
- package/dist/client/assets/{auth-D0kIsFu2.js → auth-YT0L3u0f.js} +1 -1
- package/dist/client/assets/{auth-catchall-DqYoQiw7.js → auth-catchall-Ch0KjyC5.js} +1 -1
- package/dist/client/assets/{auth-entry-D3jHJu3A.js → auth-entry-BpZO7T6i.js} +1 -1
- package/dist/client/assets/{auth-split-layout-CX7sxZli.js → auth-split-layout-C37u8WlO.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-DkNbTtTB.js → authenticate-and-persist-oauth-D8TojuXv.js} +1 -1
- package/dist/client/assets/{automation-list-row-F_XkFIpJ.js → automation-list-row-d7ebkZcP.js} +1 -1
- package/dist/client/assets/{automation-runs-fA1ChIGW.js → automation-runs-Bo90h8_b.js} +1 -1
- package/dist/client/assets/{automations-mTaCH83G.js → automations-COxs7MJo.js} +1 -1
- package/dist/client/assets/{avatar-B8x-LJ3L.js → avatar-DN0SQ2YP.js} +1 -1
- package/dist/client/assets/{badge-Du0UNTzb.js → badge-CYqiGv_0.js} +1 -1
- package/dist/client/assets/{block-document-iNfCDN2P.js → block-document-Tux1C7cf.js} +1 -1
- package/dist/client/assets/{brand-context-E2Z3Pmiz.js → brand-context-DYaR7ozG.js} +1 -1
- package/dist/client/assets/{breadcrumb-BShjlVDr.js → breadcrumb-Ca0mTftR.js} +1 -1
- package/dist/client/assets/{buckets-BT1sWv9w.js → buckets-DwYOYKjz.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-CXG1IXf-.js → bulk-category-panel-IzdJ5QQ_.js} +1 -1
- package/dist/client/assets/{capability-load-error-DsHvqjTt.js → capability-load-error-DIVlJMVm.js} +1 -1
- package/dist/client/assets/{card-CYX_RwBA.js → card-D9G2yXrJ.js} +1 -1
- package/dist/client/assets/{category-editor-DjMzIFH_.js → category-editor-9mLUM1gN.js} +1 -1
- package/dist/client/assets/{chat-context-Cemyx-UZ.js → chat-context-DIUSa9Jr.js} +1 -1
- package/dist/client/assets/{checkbox-DZJkrzus.js → checkbox-DCa6681A.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DOW9HsKN.js → cli-auth-success-Dlh4FD0T.js} +1 -1
- package/dist/client/assets/collection-detail-BqYrcVNr.js +1 -0
- package/dist/client/assets/{collection-display-button-BuAgDHrw.js → collection-display-button-C5acvrDe.js} +1 -1
- package/dist/client/assets/{collection-search-DfgQYgyj.js → collection-search-DT12aqMT.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-hkqvebTU.js → collection-table-wrapper-DroBY1GW.js} +1 -1
- package/dist/client/assets/{collection-tabs-D3XeP_yy.js → collection-tabs-2clxo3lG.js} +1 -1
- package/dist/client/assets/{command-DN00KTSb.js → command-qHaitSxv.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-yWSM0PQD.js → commerce-onboarding-zByXwUoa.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-DnC2R2Wo.js → connect-desktop-dialog-RWUM4LPN.js} +1 -1
- package/dist/client/assets/{connection-card-BoKNDsqu.js → connection-card-COE4b4Kl.js} +1 -1
- package/dist/client/assets/{connection-detail-C_252exw.js → connection-detail-B4q53uMa.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DgmmJwTY.js → connection-form-helpers-D9d9jQ9S.js} +1 -1
- package/dist/client/assets/{connections-BMIC4hHM.js → connections--zriX-8H.js} +1 -1
- package/dist/client/assets/{decopilot-CETHa21a.js → decopilot-BmUbIKrs.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-C82Ujbm_.js → decopilot-sse-pool-Ct1_UW6D.js} +1 -1
- package/dist/client/assets/{dialog-CEOLT1ZZ.js → dialog-fRprLEhn.js} +1 -1
- package/dist/client/assets/{domain-settings-BSIbwctC.js → domain-settings-z8x2a3yI.js} +1 -1
- package/dist/client/assets/{drawer-B-rufaJn.js → drawer-BK13Nuy8.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CeNfEKAu.js → dropdown-menu-sPU_Xw0y.js} +1 -1
- package/dist/client/assets/{empty-state-BXO7rHQu.js → empty-state-D4vz7sAz.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Db76guDM.js → extract-connection-data-UsNBmqW8.js} +1 -1
- package/dist/client/assets/{file-explorer-CLuX6xBf.js → file-explorer-Bd_22RPw.js} +1 -1
- package/dist/client/assets/{file-type-icon-CxAOgcI2.js → file-type-icon-QdIQBEjI.js} +1 -1
- package/dist/client/assets/{files-BjIbXeVM.js → files-BkGmR0AO.js} +1 -1
- package/dist/client/assets/{form-DtFQ7vfL.js → form-Cciq6tIX.js} +1 -1
- package/dist/client/assets/{general-DHyqePel.js → general-DcAHMO7L.js} +1 -1
- package/dist/client/assets/{github-repo-picker-DXC0Oul4.js → github-repo-picker-Bo3EK1uO.js} +1 -1
- package/dist/client/assets/{hooks-DLOVOtDp.js → hooks-G0kJppE-.js} +1 -1
- package/dist/client/assets/{index-Ds2zXC-C.js → index-5tWfdRb-.js} +1 -1
- package/dist/client/assets/{index-Blor2-rz.js → index-B1h3Rb7u.js} +1 -1
- package/dist/client/assets/{index-D5RT2LDt.js → index-B4ybF-Jh.js} +1 -1
- package/dist/client/assets/{index-g1gbVRQq.js → index-BJ4F5Cgi.js} +1 -1
- package/dist/client/assets/{index-Cwr5cOYK.js → index-BOeQzDmj.js} +1 -1
- package/dist/client/assets/{index-Um2y51Zg.js → index-BURNjU1u.js} +1 -1
- package/dist/client/assets/{index-wvMNjAV0.js → index-BUtSNxMV.js} +3 -3
- package/dist/client/assets/{index-914V2fcS.js → index-BzYmCclH.js} +1 -1
- package/dist/client/assets/{index-B1FK7wQH.js → index-C8pUNf9d.js} +1 -1
- package/dist/client/assets/{index-BNz3lima.js → index-CG-jn-0q.js} +1 -1
- package/dist/client/assets/index-CLM-5yf3.js +513 -0
- package/dist/client/assets/{index-yCHQGXJ7.js → index-CMw-30pH.js} +1 -1
- package/dist/client/assets/{index-9ntojBLk.js → index-D8DZXmXW.js} +1 -1
- package/dist/client/assets/{index-BlyuLoWx.js → index-SinsnlPg.js} +1 -1
- package/dist/client/assets/{index-redirect-D63CT2D1.js → index-redirect-CnIqCBs5.js} +1 -1
- package/dist/client/assets/{input-CtNQHwPy.js → input-CVpmA2Kz.js} +1 -1
- package/dist/client/assets/{integration-icon-DvFXK2MU.js → integration-icon-DN2_9kxR.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-CrMqsXT4.js → invite-member-dialog-DoItRcGW.js} +1 -1
- package/dist/client/assets/{label-B8KM3R_q.js → label-CHYsX_t_.js} +1 -1
- package/dist/client/assets/{library-tab-DFX3AeS3.js → library-tab-Bsgpjy35.js} +1 -1
- package/dist/client/assets/{login-DxUhmOqI.js → login-eX2LrEPi.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DzrEuQr5.js → mcp-oauth-SYbSLgYN.js} +1 -1
- package/dist/client/assets/{members-CPkTTkE0.js → members-DdtN3bGm.js} +1 -1
- package/dist/client/assets/{monaco-editor-BgI79QTg.js → monaco-editor-DdObp8MJ.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CUczTxeX.js → monitoring-stats-row-CLTH09T0.js} +1 -1
- package/dist/client/assets/{oauth-callback-DIyFvghE.js → oauth-callback-CTAFn26d.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-IS3SsI0k.js → oauth-callback-ai-provider-Ba2WeI6r.js} +1 -1
- package/dist/client/assets/{onboarding-KfqNRkYy.js → onboarding-DlHZ-Su3.js} +1 -1
- package/dist/client/assets/{org-install-CxT0tsIO.js → org-install-DI0N3Yqx.js} +1 -1
- package/dist/client/assets/{org-layout-BQzjU6XX.js → org-layout-CsvIFjMG.js} +1 -1
- package/dist/client/assets/{organization-choice-BI1DZkDU.js → organization-choice-uMvBpR1W.js} +1 -1
- package/dist/client/assets/{page-seo-form-D7JF4DTh.js → page-seo-form-DkJGxvT4.js} +1 -1
- package/dist/client/assets/page-seo-sheet-e5hks3lZ.js +1 -0
- package/dist/client/assets/{popover-Cvv98a2C.js → popover-leYVnzzq.js} +1 -1
- package/dist/client/assets/{post-editor-6_kkiUtL.js → post-editor-BbMPNeY8.js} +1 -1
- package/dist/client/assets/{primitives-Bxk9aYw4.js → primitives-BMqbH9T1.js} +1 -1
- package/dist/client/assets/{profile-CZas9jg2.js → profile-DJtsX_gg.js} +1 -1
- package/dist/client/assets/project-app-view-4fI2e2P9.js +1 -0
- package/dist/client/assets/record-editor-DuRqUeJW.js +1 -0
- package/dist/client/assets/registry-BOBWp4Rn.js +2 -0
- package/dist/client/assets/{registry-layout-8sIvvJ4I.js → registry-layout-DUqvgFRD.js} +1 -1
- package/dist/client/assets/{require-capability-CSyEuadx.js → require-capability-B4WZYZM4.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CH2SPOr0.js → required-auth-layout-BGUbgKtE.js} +1 -1
- package/dist/client/assets/{reset-password-CftvJ30J.js → reset-password-BmozYPOY.js} +1 -1
- package/dist/client/assets/{roles-b4IJFdUQ.js → roles-DaQkY_HN.js} +1 -1
- package/dist/client/assets/{scroll-area-CbuKwozG.js → scroll-area-dCf_ML-5.js} +1 -1
- package/dist/client/assets/{search-input-BJJrtkoD.js → search-input-CgRadFHi.js} +1 -1
- package/dist/client/assets/{secrets-xEL3iU0h.js → secrets-BK3hZvS4.js} +1 -1
- package/dist/client/assets/{sections-editor-I7PrxFXt.js → sections-editor-CRAmv7O4.js} +1 -1
- package/dist/client/assets/{select-DF6YoK_r.js → select-CRwP8DNI.js} +1 -1
- package/dist/client/assets/{select-model-nui66-pH.js → select-model-vYsEfmhg.js} +1 -1
- package/dist/client/assets/{seo-editor-BJAI05hX.js → seo-editor-sG5N6UB0.js} +1 -1
- package/dist/client/assets/{settings-layout-urJbxzRN.js → settings-layout-CkBMH0P4.js} +1 -1
- package/dist/client/assets/{settings-section-CngINngb.js → settings-section-uwWu-APP.js} +1 -1
- package/dist/client/assets/{sheet-DMc7DeSX.js → sheet-DtNuWaQa.js} +1 -1
- package/dist/client/assets/{shell-controls-Bkd5dBPA.js → shell-controls-BF0ZsNdF.js} +1 -1
- package/dist/client/assets/{shell-layout-CoG2R-A7.js → shell-layout-CFR90kZQ.js} +1 -1
- package/dist/client/assets/{sidebar-yJWB-4vB.js → sidebar-IpepvLp_.js} +1 -1
- package/dist/client/assets/{skeleton-CEKyj6Ku.js → skeleton-Dp2Vqkiu.js} +1 -1
- package/dist/client/assets/{sso-C_CoNDtw.js → sso-DVCuwIPw.js} +1 -1
- package/dist/client/assets/{store-B3cr8RRQ.js → store-DdDejNZs.js} +1 -1
- package/dist/client/assets/store-registry-BcIIOkiT.js +2 -0
- package/dist/client/assets/{studio-tools-CEhEjTYq.js → studio-tools-BBJKqBLb.js} +1 -1
- package/dist/client/assets/{switch-CDv7wzZp.js → switch-CGRWKftH.js} +1 -1
- package/dist/client/assets/{table-_yINUqfn.js → table-CES495US.js} +1 -1
- package/dist/client/assets/{tabs-Cf3RVJ3Q.js → tabs-CF8uQ85g.js} +1 -1
- package/dist/client/assets/{task-row-BVs0CmAg.js → task-row-Bh0ziHfN.js} +1 -1
- package/dist/client/assets/{task-status-VysJG0vN.js → task-status-BgxqbUD3.js} +1 -1
- package/dist/client/assets/{textarea-CDy5MusJ.js → textarea-DXtj6szK.js} +1 -1
- package/dist/client/assets/{toggle-group-Dtf2CWD1.js → toggle-group-D2VkNZ7z.js} +1 -1
- package/dist/client/assets/{toolbar-DeO3vJmm.js → toolbar-BL6j7wlL.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-C4_ADEJH.js → toolbar-icon-button-zRIr6s4s.js} +1 -1
- package/dist/client/assets/{tools-list-Cn_EK2iQ.js → tools-list-XTSk446L.js} +1 -1
- package/dist/client/assets/{tooltip-DlUY886I.js → tooltip-PSiaLaWJ.js} +1 -1
- package/dist/client/assets/{types-CvzpcJR1.js → types-dxyE9Hx8.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BJKmj4My.js → use-ai-providers-BfSwDb4T.js} +1 -1
- package/dist/client/assets/{use-automations-BFGNyCFk.js → use-automations-b_vrwPQ_.js} +1 -1
- package/dist/client/assets/{use-capability-DgzJJHkU.js → use-capability-BrY7n9pF.js} +1 -1
- package/dist/client/assets/{use-clock-tick-BEBincp5.js → use-clock-tick-DCObx26s.js} +1 -1
- package/dist/client/assets/{use-collections-CjkVI8cV.js → use-collections-BkB7fOzG.js} +1 -1
- package/dist/client/assets/{use-connection-ChjsmWTh.js → use-connection-BTrFuX_N.js} +1 -1
- package/dist/client/assets/{use-copy-I4FalMZb.js → use-copy-CUt0RcPi.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-BmL59nAp.js → use-create-virtual-mcp-FIJSHCtF.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DhGwNW9j.js → use-debounced-autosave-DT9RTx36.js} +1 -1
- package/dist/client/assets/{use-debounced-value-CLg8LNax.js → use-debounced-value-tBjolHlG.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-uhlm9ZSC.js → use-decopilot-events-CB_ilHxh.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CZmgFI8O.js → use-delete-connection-DRxNkjYZ.js} +1 -1
- package/dist/client/assets/{use-file-configs-aZ5m3Qj2.js → use-file-configs-B_Y4Bta1.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DI0qAEco.js → use-infinite-scroll-ziAI3qTA.js} +1 -1
- package/dist/client/assets/{use-join-requests-CIrAIT4T.js → use-join-requests-Cw33iAqx.js} +1 -1
- package/dist/client/assets/{use-mcp-client-dBNHEL6c.js → use-mcp-client-ytX3rIBe.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-D2VFS_7Z.js → use-mcp-prompts-DGlgK9Vf.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DX5g41Xz.js → use-mcp-tools-Pie2rBqX.js} +1 -1
- package/dist/client/assets/{use-members-BeAV3T2H.js → use-members-BFNAbzwS.js} +1 -1
- package/dist/client/assets/{use-mobile-7niVKoti.js → use-mobile-dwrFF7Ga.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-C1tFWD13.js → use-navigate-to-agent-3AMa0O2a.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-CwSEkcA-.js → use-org-auth-client-BUcY_yRN.js} +1 -1
- package/dist/client/assets/{use-org-sso-CXSE3hAV.js → use-org-sso--qDPTafN.js} +1 -1
- package/dist/client/assets/{use-organization-roles-C8hy4d4V.js → use-organization-roles-DDZE7ylp.js} +1 -1
- package/dist/client/assets/{use-organization-settings-OjpRHnBI.js → use-organization-settings-DLQ_RcCc.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BiMSB_yO.js → use-registry-connections-CE2j8i_H.js} +1 -1
- package/dist/client/assets/{use-secrets-sNifGUNT.js → use-secrets-BcayTN5e.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BjM7PTwu.js → use-status-sounds-DqsU9cpf.js} +1 -1
- package/dist/client/assets/{use-view-mode-C6xNmVYR.js → use-view-mode-DaspnYvg.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Cy-jA6Qm.js → use-virtual-mcp-DoBqiTt8.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DX_yJgCV.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-COveRdn6.js +1 -0
- package/dist/client/assets/{useSuspenseQueries-Dg30S2DW.js → useSuspenseQueries-BeEuUcyy.js} +1 -1
- package/dist/client/assets/{variant-calendar-DoCnqvSc.js → variant-calendar-Czyjsj57.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-BMDNQ_Ex.js → view-mode-toggle-Bl026rsL.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +12 -17
- package/dist/server/server.js +2 -2
- package/package.json +1 -1
- package/dist/client/assets/collection-detail-BMZKhngT.js +0 -1
- package/dist/client/assets/index-Cs6NaxUB.js +0 -513
- package/dist/client/assets/page-seo-sheet-BzOt7DdS.js +0 -1
- package/dist/client/assets/project-app-view-xDz9FH-v.js +0 -1
- package/dist/client/assets/record-editor-C33gYIwT.js +0 -1
- package/dist/client/assets/registry-D8itHQYS.js +0 -2
- package/dist/client/assets/store-registry-0mo75fzc.js +0 -2
- package/dist/client/assets/useInfiniteQuery-CcA0p7if.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DXVqJ8aq.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as O,j as t,B as F,i as Y,o as Ge,s as te,E as Pe,r as $,D as re,p as Qe,u as Ye,T as K,t as Xe,l as je,e as le,aW as ke}from"./index-wvMNjAV0.js";import{E as Ee}from"./empty-state-BXO7rHQu.js";import{u as Ze,a as Ae}from"./use-collections-CjkVI8cV.js";import{u as ae}from"./use-mcp-client-dBNHEL6c.js";import{F as se,a as et,b as ce,d as de}from"./form-DtFQ7vfL.js";import{I as me}from"./input-CtNQHwPy.js";import{T as ie}from"./textarea-CDy5MusJ.js";import{a as tt,b as st,V as ue,O as nt,M as ot}from"./index-Ds2zXC-C.js";import{an as it,C as rt,ac as lt,ao as at,a0 as ct,ap as dt,L as be}from"./agent-icon-CPQk4YwJ.js";import{g as mt,M as ut,a as Ne}from"./types-CvzpcJR1.js";import{A as xt,a as pt,b as ft}from"./alert-CIXXRGUS.js";import{d as ve,S as Se,a as ye,b as we,c as ne}from"./select-DF6YoK_r.js";import{c as ht,T as Ce,a as Ie,b as $e}from"./tooltip-DlUY886I.js";import{i as gt}from"./AlertCircle-CS_9RDbg.js";import{s as jt}from"./Stars02-CbNiaecd.js";import{a as bt}from"./Copy01-DvnmgpBw.js";import{i as Nt}from"./Play-tpQoZZ7-.js";import{a as Oe,b as Re,B as J,c as G,d as Q,e as _e}from"./breadcrumb-BShjlVDr.js";import{g as vt}from"./connection-slug-eyAPH6o3.js";import{u as St,T as yt}from"./tools-list-Cn_EK2iQ.js";import{a as De,u as Me}from"./use-connection-ChjsmWTh.js";import{a as wt}from"./use-mcp-tools-DX5g41Xz.js";import{c as Ct}from"./content-blocks-o63cs2vh.js";import{I as Te}from"./integration-icon-DvFXK2MU.js";import{j as It,m as $t}from"./chat-context-Cemyx-UZ.js";import{b as Tt}from"./shell-layout-CoG2R-A7.js";import{M as Pt}from"./monaco-editor-BgI79QTg.js";import{n as kt}from"./XCircle-Bn7fkWKh.js";import"./constants-C8_Swa4x.js";import"./auth-D0kIsFu2.js";import"./label-B8KM3R_q.js";import"./index-D5RT2LDt.js";import"./sidebar-yJWB-4vB.js";import"./LayoutLeft-BStzo30s.js";import"./use-mobile-7niVKoti.js";import"./sheet-DMc7DeSX.js";import"./X-qcmmBu7s.js";import"./ZoomOut-TFjut-PL.js";import"./Key01-BXrc6Emy.js";import"./extract-connection-data-Db76guDM.js";import"./use-registry-connections-BiMSB_yO.js";import"./use-organization-settings-OjpRHnBI.js";import"./studio-tools-CEhEjTYq.js";import"./Plus-6nUvzb_a.js";import"./index-B1FK7wQH.js";import"./index-9ntojBLk.js";import"./index-g1gbVRQq.js";import"./popover-Cvv98a2C.js";import"./use-virtual-mcp-Cy-jA6Qm.js";import"./Check-CUUu6fuS.js";import"./SearchMd-CxCfJ-k7.js";import"./Users03-CbmB3ag4.js";import"./use-create-virtual-mcp-BmL59nAp.js";import"./use-navigate-to-agent-C1tFWD13.js";import"./Tool01-TTGB3OaR.js";import"./SwitchHorizontal01-BmduH4aR.js";import"./Settings02-C4te5XIh.js";import"./ArrowUpRight-DvbKSlUB.js";import"./ZapSquare-BWJNUjCu.js";import"./CheckCircle-2nPR7mAJ.js";import"./ChevronDown-SbVNxwJa.js";import"./ChevronRight-CcT_Yai8.js";import"./ChevronUp-DvAb8S9K.js";import"./Circle-Bk2OeGHv.js";import"./Loading02-Cc_XPeVS.js";import"./DotsVertical-BdQp-tpJ.js";import"./Globe01-BWEVPBr8.js";import"./Eye-_b_nmYda.js";import"./FilterLines-Dgm9Ju0X.js";import"./Star01-BMo746nc.js";import"./Globe04-wcXsSWcH.js";import"./HardDrive-CCq9xvHa.js";import"./LinkExternal01-BuzymGhb.js";import"./List-BFtSkA22.js";import"./Monitor01-BJSW7YEH.js";import"./Sun-DdZgJrCs.js";import"./Palette-BudWH9og.js";import"./SearchLg-uOXEhZpb.js";import"./Shield01-DL0nLXwm.js";import"./Stars01-CeLaUJek.js";import"./Trash01-D7DoI-Sm.js";import"./Upload01-DK0nNkQH.js";import"./User01-zyFcbX02.js";import"./Users01-DD6y7ZFy.js";import"./XClose-aB151tNh.js";import"./Zap-CKOdamGS.js";import"./mcp-oauth-DzrEuQr5.js";import"./badge-Du0UNTzb.js";import"./hooks-DLOVOtDp.js";import"./decopilot-sse-pool-C82Ujbm_.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-ai-providers-BJKmj4My.js";import"./use-decopilot-events-uhlm9ZSC.js";import"./tab-id-CLpu897Q.js";import"./avatar-B8x-LJ3L.js";import"./dialog-CEOLT1ZZ.js";import"./alert-dialog-DmHjxQGj.js";import"./required-auth-layout-CH2SPOr0.js";import"./use-org-sso-CXSE3hAV.js";import"./index-Cwr5cOYK.js";function Et(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(Y,{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 At(){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:Dt}),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 Dt(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 Mt(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=Ae(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 E=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:E.title,description:E.description??null,body:oe(E)})}),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(Ee,{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(Et,{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=At(),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(Ee,{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(Mt,{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}=Ye({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=De(e),N=It(),E=$t(),{setChatOpen:U}=Tt(),z=`${e}:${s}`,_=ae({connectionId:e,orgId:w.id,orgSlug:w.slug}),L=wt({client:_}),j=L.data?.tools?.find(a=>a.name===s),A=mt(j?._meta),V=a=>{if(!N)return;const h=Ct(a.content);h.content.length>0&&(U(!0),N.sendMessage({tiptapDoc:h}))},[D,X]=$.useState("json"),[ze,Le]=$.useState(!1);A&&!ze&&(X("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 M=u.trim();if(!M)return{};const B=JSON.parse(M);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(([M,B])=>{if((B.type==="object"||B.type==="array")&&typeof h[M]=="string")try{h[M]=JSON.parse(h[M])}catch{}else if((B.type==="number"||B.type==="integer")&&typeof h[M]=="string"&&h[M]!==""){const ge=Number(h[M]);Number.isNaN(ge)||(h[M]=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),Ve=t.jsx(Oe,{children:t.jsxs(Re,{children:[t.jsx(J,{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(J,{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(J,{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))})]}),Je=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})})]}),A&&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:D==="ui"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>X("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:D==="json"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>X("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:A&&D==="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:A,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:V,onUpdateModelContext:a=>E?.setAppContext(z,a),onTeardown:()=>E?.clearAppContext(z),className:"h-full"})}):m?t.jsxs(t.Fragment,{children:[t.jsx(Pt,{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)),Xe.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:Ve,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(Y,{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:Je}),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(!De(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(Y,{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 Vt(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 Jt={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=Me(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=Me(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=Ae(f,l,C);let I;s[9]!==R||s[10]!==i?(I=async D=>{i&&await R.update.mutateAsync({id:i,data:D})},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&&Jt[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(J,{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 E;s[18]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsx(Q,{}),s[18]=E):E=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(J,{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(J,{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,E,U,z]})}),s[26]=U,s[27]=z,s[28]=N,s[29]=_):_=s[29];const L=_;if(y){let D;return s[30]!==y||s[31]!==d||s[32]!==k||s[33]!==i?(D=t.jsx(y,{itemId:i,onBack:d,onUpdate:k}),s[30]=y,s[31]=d,s[32]=k,s[33]=i,s[34]=D):D=s[34],D}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 A;s[36]!==d?(A=t.jsx(Vt,{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]=A):A=s[37];let V;return s[38]!==L||s[39]!==A?(V=t.jsx(ue,{breadcrumb:L,children:A}),s[38]=L,s[39]=A,s[40]=V):V=s[40],V}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 Jn(){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(Y,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Gt,{})})}),s[0]=e):e=s[0],e}export{Jn as default};
|