decocms 4.76.13 → 4.76.15
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-BcbsaVd5.js → AlertCircle-DKS_b-_I.js} +1 -1
- package/dist/client/assets/{AreaChart-DTLxCevh.js → AreaChart-4pri4Z0r.js} +1 -1
- package/dist/client/assets/{ArrowUp-S1D8lMGk.js → ArrowUp-CyDWsW45.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-D517UjIz.js → ArrowUpRight-B2MDyrgT.js} +1 -1
- package/dist/client/assets/{Check-6DEiYvCy.js → Check-BA-2dwB3.js} +1 -1
- package/dist/client/assets/{CheckCircle-Bjcyyfll.js → CheckCircle-zsRQk_0I.js} +1 -1
- package/dist/client/assets/{ChevronDown-2tAmPoG0.js → ChevronDown-BlZY4yZn.js} +1 -1
- package/dist/client/assets/{ChevronRight-DPKjtSkw.js → ChevronRight-BDDhPJSK.js} +1 -1
- package/dist/client/assets/{ChevronUp-CnchAk1d.js → ChevronUp--25VaB9C.js} +1 -1
- package/dist/client/assets/{Circle-byAdFiAR.js → Circle-1wnpkGl3.js} +1 -1
- package/dist/client/assets/{Copy01-Ve93EDeg.js → Copy01-CyFQvvG1.js} +1 -1
- package/dist/client/assets/{DotsVertical-9e1Qdyt2.js → DotsVertical-DikFNmr8.js} +1 -1
- package/dist/client/assets/{Eye-uMgZQ-RX.js → Eye-DnZC4MoX.js} +1 -1
- package/dist/client/assets/{FilterLines-DAszJnE4.js → FilterLines-skf-zWOe.js} +1 -1
- package/dist/client/assets/{Flag01-NHpSEuea.js → Flag01-ClBDTkRQ.js} +1 -1
- package/dist/client/assets/{Globe01-BCv3n_Se.js → Globe01-BdWATmEI.js} +1 -1
- package/dist/client/assets/{Globe04-CooW2sx8.js → Globe04-D5tCucNt.js} +1 -1
- package/dist/client/assets/{HardDrive-C2vAkMra.js → HardDrive-BwZ5CYGZ.js} +1 -1
- package/dist/client/assets/{Key01-Cx6h-X3V.js → Key01-D7JD3DXY.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BNqoR9WR.js → LayoutLeft-CWeCCSL8.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DTiCLIRv.js → LinkExternal01-uNiOOgDU.js} +1 -1
- package/dist/client/assets/{List-DU1cT_ZN.js → List-D55__Vzj.js} +1 -1
- package/dist/client/assets/{Monitor01-BBuBltku.js → Monitor01-BGXesufO.js} +1 -1
- package/dist/client/assets/{Package-C3Te-MsB.js → Package-TyjGFgqL.js} +1 -1
- package/dist/client/assets/{Palette-rsdxLDpX.js → Palette-Dops6lGW.js} +1 -1
- package/dist/client/assets/{Play-BaYd_kO8.js → Play-DkVhZAee.js} +1 -1
- package/dist/client/assets/{Plus-Dphfu92x.js → Plus-B_ryQYAo.js} +1 -1
- package/dist/client/assets/{SearchLg-C3PbslTB.js → SearchLg-D6jr7yOL.js} +1 -1
- package/dist/client/assets/{SearchMd-BiPdCx3V.js → SearchMd-BI2Rqy5U.js} +1 -1
- package/dist/client/assets/{Settings02-QUgFldiC.js → Settings02-BTsjl67B.js} +1 -1
- package/dist/client/assets/{Shield01-CGxZiAFB.js → Shield01-B_zReeEj.js} +1 -1
- package/dist/client/assets/{Star01-BcDSZrHd.js → Star01-D4BGMb8b.js} +1 -1
- package/dist/client/assets/{Stars01-CMrCdNWc.js → Stars01-D99nRXau.js} +1 -1
- package/dist/client/assets/{Stars02-BhkcGNTa.js → Stars02-BpdV1oit.js} +1 -1
- package/dist/client/assets/{Sun-OlfWAZbI.js → Sun-CT8RU1x2.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-DnMgtwia.js → SwitchHorizontal01-BUJ52HyV.js} +1 -1
- package/dist/client/assets/{Tool01-CAGwEx4M.js → Tool01-CM_OLYbN.js} +1 -1
- package/dist/client/assets/{Tool02-CMNQfDn3.js → Tool02-CEn36Tic.js} +1 -1
- package/dist/client/assets/{Trash01-Dt_s6toL.js → Trash01-DdBhMAx7.js} +1 -1
- package/dist/client/assets/{TrendUp01-DwGc8BzO.js → TrendUp01-DU7EK3Ni.js} +1 -1
- package/dist/client/assets/{Upload01-BRMSg_qf.js → Upload01-zKd_MuO3.js} +1 -1
- package/dist/client/assets/{User01-CpUYCnN7.js → User01-4SQUVX7H.js} +1 -1
- package/dist/client/assets/{UserPlus01-Khymm-UP.js → UserPlus01-DdqE9Kk7.js} +1 -1
- package/dist/client/assets/{Users01-C3hAve-o.js → Users01-DohpR6uf.js} +1 -1
- package/dist/client/assets/{Users03-BFYtp_qo.js → Users03-5hx_jer_.js} +1 -1
- package/dist/client/assets/{X-BoiOJy6b.js → X-D4SO0uGC.js} +1 -1
- package/dist/client/assets/{XCircle-CCot7okt.js → XCircle-l7desJTe.js} +1 -1
- package/dist/client/assets/{XClose-Dm8draWY.js → XClose-6WaqdqxA.js} +1 -1
- package/dist/client/assets/{Zap-CNznLYG0.js → Zap-DaIGfOQF.js} +1 -1
- package/dist/client/assets/{ZapSquare-DTZt-y7s.js → ZapSquare-ikTqjPBH.js} +1 -1
- package/dist/client/assets/{ZoomOut-D7S8G18J.js → ZoomOut-13JPbWwc.js} +1 -1
- package/dist/client/assets/{access-gate-Btk9hZV3.js → access-gate-DOGjsuEA.js} +1 -1
- package/dist/client/assets/{add-section-modal-DeE6Qogr.js → add-section-modal-BFj7kZbc.js} +1 -1
- package/dist/client/assets/{agent-icon-Bff3aiv_.js → agent-icon-CPzx98Kv.js} +1 -1
- package/dist/client/assets/{agents-list-nB0ShW5K.js → agents-list-CH5kBgGs.js} +1 -1
- package/dist/client/assets/{ai-providers-CR5TCqQ9.js → ai-providers-DSXqEjEJ.js} +1 -1
- package/dist/client/assets/{alert-dialog-B_bF_Dku.js → alert-dialog-5JOmhegU.js} +1 -1
- package/dist/client/assets/{alert-DNqxh_cO.js → alert-kTuzdr52.js} +1 -1
- package/dist/client/assets/app-editor-D-BqyBuf.js +1 -0
- package/dist/client/assets/{auth-catchall-Din365D9.js → auth-catchall-DIVob3Qr.js} +1 -1
- package/dist/client/assets/{auth-entry-CWBjM8rV.js → auth-entry-B0v2uWp4.js} +1 -1
- package/dist/client/assets/{auth-ChJ4c6uK.js → auth-gmsckCmT.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Dg1_X6v3.js → auth-split-layout-Z3IFy-C5.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-JAfAysGn.js → authenticate-and-persist-oauth-Czi9yjnK.js} +1 -1
- package/dist/client/assets/{automation-list-row-gBxm3hvN.js → automation-list-row-DW4thLVr.js} +1 -1
- package/dist/client/assets/{automation-runs-D5T3DuNS.js → automation-runs-CNWu74KW.js} +1 -1
- package/dist/client/assets/automations-BrAl-iyy.js +1 -0
- package/dist/client/assets/{autosend-Cyr5cDQ8.js → autosend-LXveb4A-.js} +1 -1
- package/dist/client/assets/{avatar-Xm6Xp8Pi.js → avatar-Cv7z5yFc.js} +1 -1
- package/dist/client/assets/{badge-DqcumuMw.js → badge-HaB6IVyV.js} +1 -1
- package/dist/client/assets/{block-document-ByzlgSWg.js → block-document-Bwd5x9Lg.js} +1 -1
- package/dist/client/assets/{brand-context-DtYJzL-x.js → brand-context-tEHJXO89.js} +1 -1
- package/dist/client/assets/{buckets-T5r0jE94.js → buckets-BAtHLlW6.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-Bi5vZZzC.js → bulk-category-panel-B3nBGTFh.js} +1 -1
- package/dist/client/assets/{calendar-Ce-rwuoU.js → calendar-DW_r4ZY1.js} +1 -1
- package/dist/client/assets/{capability-load-error-BnK3y7Hy.js → capability-load-error-BUmsJo_P.js} +1 -1
- package/dist/client/assets/{card-Dfd21MhX.js → card-BDrQZytB.js} +1 -1
- package/dist/client/assets/{category-editor-B_qoz8fM.js → category-editor-Bjrbqz8o.js} +1 -1
- package/dist/client/assets/{chat-context-CWfn2uFK.js → chat-context-BqXfbx33.js} +1 -1
- package/dist/client/assets/{checkbox-CKyyKkYE.js → checkbox-BzUwL2Go.js} +1 -1
- package/dist/client/assets/{cli-auth-success-NN2qFS2P.js → cli-auth-success-yOYK7Cb5.js} +1 -1
- package/dist/client/assets/collection-detail-BvWgpYR4.js +1 -0
- package/dist/client/assets/{collection-display-button-3BU0sOR6.js → collection-display-button-zrEJ1YpB.js} +1 -1
- package/dist/client/assets/{collection-search-BAI5IHSp.js → collection-search-Bud9jUdo.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DsjXJ8yS.js → collection-table-wrapper-D_HcxZ3H.js} +1 -1
- package/dist/client/assets/{collection-tabs-2lFSFLPQ.js → collection-tabs-CmvNqWHJ.js} +1 -1
- package/dist/client/assets/{command-C6xr-tvA.js → command-CeNgWDnU.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-DBYrkNQ-.js → commerce-onboarding-hwyfrWG6.js} +1 -1
- package/dist/client/assets/{companions-core-GPAvfGJH.js → companions-core-BNHoTLKk.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-CjMzJZRN.js → connect-desktop-dialog-2abn8R75.js} +1 -1
- package/dist/client/assets/{connection-card-DrlcilGz.js → connection-card-MJJxwkyq.js} +1 -1
- package/dist/client/assets/{connection-detail-le4CLV9a.js → connection-detail-BDJ0xGwv.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-cuz2iNn4.js → connection-form-helpers-BVGidfN3.js} +1 -1
- package/dist/client/assets/{connections-sAR4brP_.js → connections-C258HhCw.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-mLCJX-OJ.js → decopilot-sse-pool-BIswad8x.js} +1 -1
- package/dist/client/assets/{dialog-JrtwPDO2.js → dialog-Dpn6TKES.js} +1 -1
- package/dist/client/assets/{domain-settings-DIH8Nrr0.js → domain-settings-B-JXFJWO.js} +1 -1
- package/dist/client/assets/{drawer-CE9ToyLE.js → drawer-B0Eprcy5.js} +1 -1
- package/dist/client/assets/{dropdown-menu-_VX0tZnw.js → dropdown-menu-B_ep9iH7.js} +1 -1
- package/dist/client/assets/{empty-state-BoX8NcdF.js → empty-state-DllvQ8eR.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BtI3i7KZ.js → extract-connection-data-PW22hGNc.js} +1 -1
- package/dist/client/assets/{file-explorer-1WSquw_D.js → file-explorer-C5inQoOI.js} +1 -1
- package/dist/client/assets/{file-type-icon-DgE6B1c-.js → file-type-icon-CdnYYFRi.js} +1 -1
- package/dist/client/assets/{files-DgIYsJv1.js → files-DylH6XJV.js} +1 -1
- package/dist/client/assets/{form-BrpNBy9s.js → form-blXERwyd.js} +1 -1
- package/dist/client/assets/{general-C4YP2hNV.js → general-C0tgX8qO.js} +1 -1
- package/dist/client/assets/{github-repo-picker-C0ZnfhZj.js → github-repo-picker-D9FpDroH.js} +1 -1
- package/dist/client/assets/{hooks-DHdD6niy.js → hooks-X5yXM3lz.js} +1 -1
- package/dist/client/assets/{index-Cq-f2598.js → index-B-x586cI.js} +6 -6
- package/dist/client/assets/{index-COLuNrig.js → index-B3IIVSbj.js} +1 -1
- package/dist/client/assets/{index-D6r3FUrN.js → index-BHt6lr2w.js} +1 -1
- package/dist/client/assets/{index-BQ_jZVy0.js → index-BfhAIBed.js} +1 -1
- package/dist/client/assets/{index-UGuEARIB.js → index-BnmK3ZNh.js} +1 -1
- package/dist/client/assets/index-BtuOi4YG.css +1 -0
- package/dist/client/assets/{index-R2jNtvaq.js → index-CPeYUFZy.js} +1 -1
- package/dist/client/assets/{index-CQQlZ3-R.js → index-CWoOESRB.js} +2 -2
- package/dist/client/assets/{index-BVbcC_sG.js → index-DGL7I6pm.js} +1 -1
- package/dist/client/assets/{index-N9cuV5iN.js → index-DadLYQvh.js} +3 -3
- package/dist/client/assets/{index-Cz4X5plc.js → index-Dqo1937g.js} +1 -1
- package/dist/client/assets/{index-CzIgPFTJ.js → index-DsOYEgP6.js} +1 -1
- package/dist/client/assets/{index-DYTDgYnh.js → index-_5lkB5Hh.js} +1 -1
- package/dist/client/assets/{index-IojHums1.js → index-lUC74ew7.js} +1 -1
- package/dist/client/assets/{index-Bt3jZ8W_.js → index-m5qyNZUC.js} +1 -1
- package/dist/client/assets/{index-redirect-DV8ZnKp2.js → index-redirect-CH-OCHU-.js} +1 -1
- package/dist/client/assets/{input-BkYQzhad.js → input-BFCWUHWV.js} +1 -1
- package/dist/client/assets/{integration-icon-BT9mK7G0.js → integration-icon-CTZ6GnXU.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-DqTy-tWr.js → invite-member-dialog-CcZxgbjf.js} +1 -1
- package/dist/client/assets/{label-CmqanDdO.js → label-BTS91UEj.js} +1 -1
- package/dist/client/assets/{layout-D_gFsNYV.js → layout-uEiOsoZB.js} +1 -1
- package/dist/client/assets/{login-BioTAoJY.js → login-TNWpcBzP.js} +1 -1
- package/dist/client/assets/{mcp-oauth-dJCmsT9J.js → mcp-oauth-DbWVjlNL.js} +1 -1
- package/dist/client/assets/{members-5lEhXOwl.js → members-CNVEpVRq.js} +1 -1
- package/dist/client/assets/{monaco-editor-DWh2DGhh.js → monaco-editor-D-xFD1Pg.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-lUOFwGu8.js → monitoring-stats-row-DaogMXz2.js} +1 -1
- package/dist/client/assets/{oauth-callback-D42X7Rv_.js → oauth-callback-DVlqwW60.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-CXer-z5R.js → oauth-callback-ai-provider-wA5rVQUt.js} +1 -1
- package/dist/client/assets/{onboarding-DdJRYjIL.js → onboarding-DZNwn63m.js} +1 -1
- package/dist/client/assets/{org-install-QHMe2SYk.js → org-install-e57SInUo.js} +1 -1
- package/dist/client/assets/{org-layout-h_xNlki2.js → org-layout-CGN-Mstr.js} +1 -1
- package/dist/client/assets/{organization-choice-BUTzyVQn.js → organization-choice-D6EEs1Jq.js} +1 -1
- package/dist/client/assets/{orgs-BfiyXm3o.js → orgs-B1Zb88Vb.js} +1 -1
- package/dist/client/assets/{page-seo-form-C84WCPYl.js → page-seo-form-DVNE_Y_i.js} +1 -1
- package/dist/client/assets/page-seo-sheet-Bdt3adC5.js +1 -0
- package/dist/client/assets/{popover-Iw5opa83.js → popover-DHWXBaoG.js} +1 -1
- package/dist/client/assets/{post-editor-BdNwbSLt.js → post-editor-DjCcEZ9w.js} +1 -1
- package/dist/client/assets/{primitives-RZ3IEBU_.js → primitives-D6wNTEPW.js} +1 -1
- package/dist/client/assets/{profile-DB8tziZq.js → profile-DDHQnNkQ.js} +1 -1
- package/dist/client/assets/project-app-view-Bvxs4_CX.js +1 -0
- package/dist/client/assets/record-editor-QZwam78d.js +1 -0
- package/dist/client/assets/redirect-editor-8kA-P3OZ.js +1 -0
- package/dist/client/assets/{registry-layout-DAnf-shK.js → registry-layout-JyTq_TIg.js} +2 -2
- package/dist/client/assets/registry-p6OLONHs.js +2 -0
- package/dist/client/assets/{reports-DTpiU-yp.js → reports-gjW97TV6.js} +1 -1
- package/dist/client/assets/{require-capability-ZU6_nq0f.js → require-capability-DhY1BZMf.js} +1 -1
- package/dist/client/assets/{required-auth-layout-Drp_1FdA.js → required-auth-layout-DttJkSFz.js} +1 -1
- package/dist/client/assets/{reset-password-CucBpR0t.js → reset-password-BgMW0oAH.js} +1 -1
- package/dist/client/assets/{roles-CZx-_Uo8.js → roles-DydwrrDi.js} +1 -1
- package/dist/client/assets/{search-input-BuvpjTf6.js → search-input-wBE_2eJW.js} +1 -1
- package/dist/client/assets/{secrets-DX1KVsfz.js → secrets-DnMWZUWU.js} +1 -1
- package/dist/client/assets/{sections-editor-BXh3LGKw.js → sections-editor-DqGXDFa-.js} +1 -1
- package/dist/client/assets/{select-CDnvduKb.js → select-BViJmtoz.js} +1 -1
- package/dist/client/assets/{select-model-lkQkHa0f.js → select-model-C9Ae0OCE.js} +1 -1
- package/dist/client/assets/{self-tool-result-CPvWZKc2.js → self-tool-result-ChGr038-.js} +1 -1
- package/dist/client/assets/{seo-editor-2U-t99ik.js → seo-editor-C-2fgDHd.js} +1 -1
- package/dist/client/assets/{settings-layout-DDcp83C9.js → settings-layout-JsQ9jb09.js} +1 -1
- package/dist/client/assets/{settings-section-B4mgiGn3.js → settings-section-BIflvaJf.js} +1 -1
- package/dist/client/assets/{shell-controls-IzGUW1xn.js → shell-controls-Ca1b4L7r.js} +1 -1
- package/dist/client/assets/{shell-layout-D6te6Mvt.js → shell-layout-CV9RxfJN.js} +1 -1
- package/dist/client/assets/{sidebar-NMMnPKZ7.js → sidebar-khOOT_bf.js} +1 -1
- package/dist/client/assets/{skeleton-BnPTVoMk.js → skeleton-mFv2Dvnp.js} +1 -1
- package/dist/client/assets/{sso-CilmM4Vq.js → sso-Ch5v7Qwn.js} +1 -1
- package/dist/client/assets/{store-DiDt87sl.js → store-DTJ_I-65.js} +1 -1
- package/dist/client/assets/store-registry-DkvsaGnG.js +2 -0
- package/dist/client/assets/{studio-tools-jmYSb-B1.js → studio-tools-8eKA3U_D.js} +1 -1
- package/dist/client/assets/{switch-B9fIcVDZ.js → switch-BcW8HtCQ.js} +1 -1
- package/dist/client/assets/{table-BL3Gk8jW.js → table-BQZZipMW.js} +1 -1
- package/dist/client/assets/{tabs-DUWtgJkN.js → tabs-DCYVG5Fa.js} +1 -1
- package/dist/client/assets/{textarea-Dak8KhN4.js → textarea-DdlYChOz.js} +1 -1
- package/dist/client/assets/{toggle-group-QThgt07Z.js → toggle-group-Dy1SJnlI.js} +1 -1
- package/dist/client/assets/{toolbar-DHeF0i4G.js → toolbar-BO_ZVhw-.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-BsRcHIib.js → toolbar-icon-button-gNAIqOaj.js} +1 -1
- package/dist/client/assets/{tools-list-6dvizmtj.js → tools-list-BoWmS2QZ.js} +1 -1
- package/dist/client/assets/{tooltip-_w_i9sWa.js → tooltip-DLWMTnY9.js} +1 -1
- package/dist/client/assets/{use-ai-providers-5asn_1KD.js → use-ai-providers-BSizKQJ-.js} +1 -1
- package/dist/client/assets/{use-automations-DVPk1Eqm.js → use-automations-CvyjD-eo.js} +1 -1
- package/dist/client/assets/{use-autosave-DrvXTQGo.js → use-autosave-CCfeKvcm.js} +1 -1
- package/dist/client/assets/{use-capability-5ATc7Yiw.js → use-capability-DiTdRI3F.js} +1 -1
- package/dist/client/assets/{use-clock-tick-YUclU_ne.js → use-clock-tick-Csh6rF5R.js} +1 -1
- package/dist/client/assets/{use-collections-B7v87njA.js → use-collections-B_3hvqRb.js} +1 -1
- package/dist/client/assets/{use-connection-CkB4Xz_x.js → use-connection-Bq8AvWK0.js} +1 -1
- package/dist/client/assets/{use-copy-sxs7vfQ_.js → use-copy-DBjOhq3T.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-D5biCbWp.js → use-create-virtual-mcp-DkwA1eai.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave--hHwY5Gm.js → use-debounced-autosave-D8c43ph5.js} +1 -1
- package/dist/client/assets/{use-debounced-value-NElksr3M.js → use-debounced-value-CzpBWgyQ.js} +1 -1
- package/dist/client/assets/{use-deco-credits-D6hR72vf.js → use-deco-credits-D3NrthBk.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-DZY7ye0V.js → use-decopilot-events-C_tAt0xa.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CQpElp4a.js → use-delete-connection-BFZ7TKnj.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-BYex68Ck.js → use-deployment-admin-DnA1OeGk.js} +1 -1
- package/dist/client/assets/{use-file-configs-nGQBNCMP.js → use-file-configs-C23-h3SF.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BJo_G2Pn.js → use-infinite-scroll-DNwbTUy_.js} +1 -1
- package/dist/client/assets/{use-join-requests-DLjMdYUh.js → use-join-requests-BsUJTXiP.js} +1 -1
- package/dist/client/assets/{use-mcp-client-B9j01x5j.js → use-mcp-client-fY241pcV.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CUy9ARaz.js → use-mcp-tools-nidNTqjE.js} +1 -1
- package/dist/client/assets/{use-members-BIQNBdr_.js → use-members-BCyTdUaQ.js} +1 -1
- package/dist/client/assets/{use-mobile-BCJRacMM.js → use-mobile-CCNmEHmX.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BwGtOm3r.js → use-navigate-to-agent-Cmy0YRYA.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-DCjgDeUV.js → use-org-auth-client-et-wzs0U.js} +1 -1
- package/dist/client/assets/{use-org-sso-7kwX6Y4o.js → use-org-sso-CTDJhxjI.js} +1 -1
- package/dist/client/assets/{use-organization-roles-COAQkOFV.js → use-organization-roles-Co_8C3GP.js} +1 -1
- package/dist/client/assets/{use-organization-settings-C86l1STo.js → use-organization-settings-BD1O70xb.js} +1 -1
- package/dist/client/assets/{use-registry-connections-D7JWs4CC.js → use-registry-connections-B19j57h3.js} +1 -1
- package/dist/client/assets/{use-secrets-C_3nmqly.js → use-secrets-DfWx3498.js} +1 -1
- package/dist/client/assets/{use-status-sounds-Bl70lUVj.js → use-status-sounds-BrusqO4p.js} +1 -1
- package/dist/client/assets/{use-view-mode-BEbOwv3J.js → use-view-mode-D1scSWAn.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-C6d4ZrkR.js → use-virtual-mcp-B6-iMdep.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-bRg-LZ7e.js +1 -0
- package/dist/client/assets/{useRouterState-D1aXWEM3.js → useRouterState-BPNDevKO.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BOQXVn4O.js +1 -0
- package/dist/client/assets/{users-BylAt1H9.js → users-ChTHjx4e.js} +1 -1
- package/dist/client/assets/{variant-calendar-B8OQcOL4.js → variant-calendar-CMkk3vYY.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-Dje1KZVB.js → view-mode-toggle-BI2GmZXe.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/app-editor-Ci4u6tNw.js +0 -1
- package/dist/client/assets/automations-GcWz1rjh.js +0 -1
- package/dist/client/assets/collection-detail-arUZxKCX.js +0 -1
- package/dist/client/assets/index-Diiljrkn.css +0 -1
- package/dist/client/assets/page-seo-sheet-BHrtsN7n.js +0 -1
- package/dist/client/assets/project-app-view-B4xzMfXF.js +0 -1
- package/dist/client/assets/record-editor-STSTr9fl.js +0 -1
- package/dist/client/assets/redirect-editor-DBkIlDEV.js +0 -1
- package/dist/client/assets/registry-CFQq1uP9.js +0 -2
- package/dist/client/assets/store-registry-B7DWObT0.js +0 -2
- package/dist/client/assets/useInfiniteQuery-BRXccZ2D.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BnANaZa5.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as gt,r as w,j as o,l as yt,t as ut,i as St}from"./index-N9cuV5iN.js";import{i as jt}from"./ChevronRight-DPKjtSkw.js";import{A as kt}from"./automation-runs-D5T3DuNS.js";import{A as _t}from"./add-section-modal-DeE6Qogr.js";import{n as Bt,h as wt,j as At,e as Nt,k as Rt,l as Ct,m as Et,o as Kt,S as Tt}from"./index-Cq-f2598.js";import"./select-CDnvduKb.js";import"./tooltip-_w_i9sWa.js";import"./Check-6DEiYvCy.js";import"./ChevronDown-2tAmPoG0.js";import"./ChevronUp-CnchAk1d.js";import"./useInfiniteQuery-BRXccZ2D.js";import"./use-infinite-scroll-BJo_G2Pn.js";import"./use-connection-CkB4Xz_x.js";import"./use-collections-B7v87njA.js";import"./use-mcp-client-B9j01x5j.js";import"./constants-D_FQAPnt.js";import"./auth-ChJ4c6uK.js";import"./use-virtual-mcp-C6d4ZrkR.js";import"./card-Dfd21MhX.js";import"./sidebar-NMMnPKZ7.js";import"./LayoutLeft-BNqoR9WR.js";import"./use-mobile-BCJRacMM.js";import"./X-BoiOJy6b.js";import"./table-BL3Gk8jW.js";import"./empty-state-BoX8NcdF.js";import"./use-members-BIQNBdr_.js";import"./use-org-auth-client-DCjgDeUV.js";import"./use-clock-tick-YUclU_ne.js";import"./AlertCircle-BcbsaVd5.js";import"./CheckCircle-Bjcyyfll.js";import"./Circle-byAdFiAR.js";import"./agent-icon-Bff3aiv_.js";import"./UserPlus01-Khymm-UP.js";import"./Tool01-CAGwEx4M.js";import"./ArrowUp-S1D8lMGk.js";import"./Settings02-QUgFldiC.js";import"./Tool02-CMNQfDn3.js";import"./XCircle-CCot7okt.js";import"./ArrowUpRight-D517UjIz.js";import"./TrendUp01-DwGc8BzO.js";import"./ZapSquare-DTZt-y7s.js";import"./Users03-BFYtp_qo.js";import"./Stars02-BhkcGNTa.js";import"./Copy01-Ve93EDeg.js";import"./ZoomOut-D7S8G18J.js";import"./DotsVertical-9e1Qdyt2.js";import"./Globe01-BCv3n_Se.js";import"./Eye-uMgZQ-RX.js";import"./FilterLines-DAszJnE4.js";import"./Flag01-NHpSEuea.js";import"./Star01-BcDSZrHd.js";import"./Globe04-CooW2sx8.js";import"./SwitchHorizontal01-DnMgtwia.js";import"./HardDrive-C2vAkMra.js";import"./Key01-Cx6h-X3V.js";import"./LinkExternal01-DTiCLIRv.js";import"./List-DU1cT_ZN.js";import"./Monitor01-BBuBltku.js";import"./Sun-OlfWAZbI.js";import"./Package-C3Te-MsB.js";import"./Palette-rsdxLDpX.js";import"./Play-BaYd_kO8.js";import"./Plus-Dphfu92x.js";import"./SearchLg-C3PbslTB.js";import"./SearchMd-BiPdCx3V.js";import"./Shield01-CGxZiAFB.js";import"./Stars01-CMrCdNWc.js";import"./Trash01-Dt_s6toL.js";import"./Upload01-BRMSg_qf.js";import"./User01-CpUYCnN7.js";import"./Users01-C3hAve-o.js";import"./XClose-Dm8draWY.js";import"./Zap-CNznLYG0.js";import"./use-automations-DVPk1Eqm.js";import"./studio-tools-jmYSb-B1.js";import"./useSuspenseInfiniteQuery-BnANaZa5.js";import"./badge-DqcumuMw.js";import"./checkbox-CKyyKkYE.js";import"./command-C6xr-tvA.js";import"./index-D6r3FUrN.js";import"./dialog-JrtwPDO2.js";import"./popover-Iw5opa83.js";import"./avatar-Xm6Xp8Pi.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-sxs7vfQ_.js";import"./file-type-icon-DgE6B1c-.js";import"./tab-id-BijBBRwE.js";import"./monaco-editor-DWh2DGhh.js";import"./index-DYTDgYnh.js";import"./chat-context-CWfn2uFK.js";import"./autosend-Cyr5cDQ8.js";import"./hooks-DHdD6niy.js";import"./decopilot-sse-pool-mLCJX-OJ.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-ai-providers-5asn_1KD.js";import"./use-decopilot-events-DZY7ye0V.js";import"./use-organization-settings-C86l1STo.js";import"./index-BVbcC_sG.js";import"./shell-layout-D6te6Mvt.js";import"./alert-dialog-B_bF_Dku.js";import"./required-auth-layout-Drp_1FdA.js";import"./use-org-sso-7kwX6Y4o.js";import"./integration-icon-BT9mK7G0.js";import"./use-navigate-to-agent-BwGtOm3r.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DTLxCevh.js";import"./form-BrpNBy9s.js";import"./label-CmqanDdO.js";import"./input-BkYQzhad.js";import"./drawer-CE9ToyLE.js";import"./collection-search-BAI5IHSp.js";import"./tabs-DUWtgJkN.js";import"./toggle-group-QThgt07Z.js";import"./use-deco-credits-D6hR72vf.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-DrlcilGz.js";import"./use-registry-connections-D7JWs4CC.js";import"./extract-connection-data-BtI3i7KZ.js";import"./collection-tabs-2lFSFLPQ.js";import"./textarea-Dak8KhN4.js";import"./connection-form-helpers-cuz2iNn4.js";import"./authenticate-and-persist-oauth-JAfAysGn.js";import"./mcp-oauth-dJCmsT9J.js";import"./connect-desktop-dialog-CjMzJZRN.js";import"./select-model-lkQkHa0f.js";import"./skeleton-BnPTVoMk.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-B4mgiGn3.js";import"./dropdown-menu-_VX0tZnw.js";import"./index-BQ_jZVy0.js";import"./toolbar-DHeF0i4G.js";import"./use-debounced-value-NElksr3M.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-Bl70lUVj.js";import"./use-mcp-tools-CUy9ARaz.js";import"./use-capability-5ATc7Yiw.js";import"./tools-list-6dvizmtj.js";import"./switch-B9fIcVDZ.js";import"./use-debounced-autosave--hHwY5Gm.js";import"./index-R2jNtvaq.js";import"./search-input-BuvpjTf6.js";import"./github-repo-picker-C0ZnfhZj.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-C_3nmqly.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-GPAvfGJH.js";import"./index-CQQlZ3-R.js";import"./get-initials-D-f_fDFw.js";import"./calendar-Ce-rwuoU.js";import"./toolbar-icon-button-BsRcHIib.js";import"./use-file-configs-nGQBNCMP.js";import"./automation-list-row-gBxm3hvN.js";function $t(l,t){const s=(l.title||l.resolveType.split("/").pop()||"").replace(/\.(tsx?|jsx?)$/,"").replace(/[^A-Za-z0-9_-]/g,""),f=/^[A-Za-z]/.test(s)&&s.length>0?s:"Section",n=Bt(t,f);return{blockKey:n,data:{__resolveType:l.resolveType,name:n}}}function Cr(l){const t=gt.c(77),{orgSlug:s,virtualMcpId:f,branch:n,blockKey:i,block:a,meta:m,decofile:c,title:D,excludeFields:H,schemaPending:nt,previewBaseUrl:at}=l,G=nt===void 0?!1:nt,u=at===void 0?null:at,x=typeof a?.__resolveType=="string"?a.__resolveType:"";let R;t[0]!==H||t[1]!==m||t[2]!==x?(R=wt(x,m,H),t[0]=H,t[1]=m,t[2]=x,t[3]=R):R=t[3];const h=R;let C;t[4]!==h?(C=!!h&&Object.keys(h.properties??{}).length>0,t[4]=h,t[5]=C):C=t[5];const J=C;let E;t[6]!==a||t[7]!==i||t[8]!==m||t[9]!==D?(E=D??(a?At(i,a,m):i),t[6]=a,t[7]=i,t[8]=m,t[9]=D,t[10]=E):E=t[10];const v=E;let K;t[11]!==n||t[12]!==s||t[13]!==f?(K={orgSlug:s,virtualMcpId:f,branch:n},t[11]=n,t[12]=s,t[13]=f,t[14]=K):K=t[14];const{save:b,flush:Q,isPending:W}=Nt(K);let T;t[15]!==n||t[16]!==s||t[17]!==f?(T={orgSlug:s,virtualMcpId:f,branch:n},t[15]=n,t[16]=s,t[17]=f,t[18]=T):T=t[18];const X=Rt(T);let $;t[19]!==b?($=Et((e,r)=>b(e,r)),t[19]=b,t[20]=$):$=t[20];const Y=$,[ht,xt]=w.useState(i),[tt,ct]=w.useState(null),[et,dt]=w.useState(0);let F;t[21]===Symbol.for("react.memo_cache_sentinel")?(F=[],t[21]=F):F=t[21];const[p,ft]=w.useState(F),[ot,rt]=w.useState(!1),P=w.useRef(null);ht!==i&&(xt(i),ct(null),dt(Pt),ft([]));let O;t[22]!==a?(O=a??{},t[22]=a,t[23]=O):O=t[23];const it=O;let g;t[24]!==tt?(g=tt??{},t[24]=tt,t[25]=g):g=t[25];let z;t[26]!==it||t[27]!==g?(z={...it,...g},t[26]=it,t[27]=g,t[28]=z):z=t[28];const mt=z;let L;t[29]!==i||t[30]!==x||t[31]!==b?(L=e=>{const r=e;ct(r),b(i,{...r,__resolveType:x})},t[29]=i,t[30]=x,t[31]=b,t[32]=L):L=t[32];const st=L;let V;t[33]===Symbol.for("react.memo_cache_sentinel")?(V=e=>{ft(e)},t[33]=V):V=t[33];const pt=V;let q;t[34]!==c||t[35]!==Q||t[36]!==X?(q=async(e,r)=>{try{const{blockKey:d,data:N}=$t(e,c);await X.mutateAsync({blockKey:d,data:N}),ut.success(`Created section "${d}"`),r({__resolveType:d}),Q()}catch(d){const N=d,bt=N instanceof Error?N.message:"Could not add section";throw ut.error(bt),N}},t[34]=c,t[35]=Q,t[36]=X,t[37]=q):q=t[37];const y=q;let I;t[38]===Symbol.for("react.memo_cache_sentinel")?(I=e=>{P.current=e.append,rt(!0)},t[38]=I):I=t[38];const vt=I;let U;t[39]!==y?(U=async e=>{const r=P.current;if(r)try{await y(e,d=>{r(d),rt(!1),P.current=null})}catch{}},t[39]=y,t[40]=U):U=t[40];const lt=U;let M;t[41]!==p||t[42]!==v?(M=p.length>0?[v,...p]:[],t[41]=p,t[42]=v,t[43]=M):M=t[43];const A=M;let S;t[44]!==p||t[45]!==A||t[46]!==v?(S=A.length>0?o.jsx("nav",{"aria-label":"Editing breadcrumb",className:"flex min-w-0 flex-1 items-center gap-1 overflow-hidden text-sm",children:A.map((e,r)=>{const d=r===A.length-1;return o.jsxs("span",{className:"flex min-w-0 items-center gap-1 overflow-hidden",children:[r>0&&o.jsx(jt,{className:"size-3 shrink-0 text-muted-foreground/60"}),o.jsx("button",{type:"button",onClick:()=>{pt(r===0?[]:Ct(p,r)),dt(Ft)},title:e,className:yt("min-w-0 truncate rounded-md px-1 py-0.5 text-left transition-colors",d?"font-medium text-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"),children:e})]},`${e}-${r}`)})}):o.jsx("span",{className:"text-sm font-medium",children:v}),t[44]=p,t[45]=A,t[46]=v,t[47]=S):S=t[47];let j;t[48]!==W?(j=o.jsx(Kt,{isPending:W,isError:!1}),t[48]=W,t[49]=j):j=t[49];let k;t[50]!==S||t[51]!==j?(k=o.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[S,j]}),t[50]=S,t[51]=j,t[52]=k):k=t[52];let _;t[53]!==i||t[54]!==p||t[55]!==c||t[56]!==mt||t[57]!==et||t[58]!==y||t[59]!==st||t[60]!==J||t[61]!==m||t[62]!==u||t[63]!==Y||t[64]!==h||t[65]!==G?(_=o.jsx(kt,{className:"min-h-0 min-w-0 flex-1 [&_[data-slot=scroll-area-viewport]>div]:!block",children:o.jsx("div",{className:"px-6 py-6",children:o.jsx("div",{className:"mx-auto max-w-xl",children:J?o.jsx(Tt,{schema:h,value:mt,onChange:st,basePath:"",breadcrumbPath:p,onBreadcrumbChange:pt,decofile:c,meta:m,onSaveReferencedBlock:Y,previewBaseUrl:u,onAddSectionItem:y,onRequestAddSection:vt},`${i}:${et}`):G?o.jsxs("div",{className:"flex flex-col items-center gap-2 py-6 text-center text-xs text-muted-foreground",children:[o.jsx(St,{size:16,className:"animate-spin"}),"Loading app schema…"]}):o.jsx("div",{className:"py-6 text-center text-xs text-muted-foreground",children:"No editable schema found for this app."})})})}),t[53]=i,t[54]=p,t[55]=c,t[56]=mt,t[57]=et,t[58]=y,t[59]=st,t[60]=J,t[61]=m,t[62]=u,t[63]=Y,t[64]=h,t[65]=G,t[66]=_):_=t[66];let B;t[67]!==ot||t[68]!==c||t[69]!==lt||t[70]!==m||t[71]!==u?(B=u&&o.jsx(_t,{open:ot,onOpenChange:e=>{rt(e),e||(P.current=null)},meta:m,decofile:c,previewBaseUrl:u,onSelect:e=>{lt(e)}}),t[67]=ot,t[68]=c,t[69]=lt,t[70]=m,t[71]=u,t[72]=B):B=t[72];let Z;return t[73]!==k||t[74]!==_||t[75]!==B?(Z=o.jsxs("div",{className:"flex h-full flex-col",children:[k,_,B]}),t[73]=k,t[74]=_,t[75]=B,t[76]=Z):Z=t[76],Z}function Ft(l){return l+1}function Pt(l){return l+1}export{Cr as AppEditor};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as B,j as o,C as L,b as T,r as $,B as M,p as N}from"./index-N9cuV5iN.js";import{s as q}from"./Plus-Dphfu92x.js";import{i as S}from"./Zap-CNznLYG0.js";import{S as D}from"./search-input-BuvpjTf6.js";import{P as l}from"./index-R2jNtvaq.js";import{E as b}from"./empty-state-BoX8NcdF.js";import{c as O}from"./use-automations-DVPk1Eqm.js";import{c as V}from"./use-navigate-to-agent-BwGtOm3r.js";import{A as F}from"./automation-list-row-gBxm3hvN.js";import{f as G}from"./constants-D_FQAPnt.js";import{u as H}from"./use-virtual-mcp-C6d4ZrkR.js";import{R as J}from"./require-capability-ZU6_nq0f.js";import"./SearchMd-BiPdCx3V.js";import"./sidebar-NMMnPKZ7.js";import"./LayoutLeft-BNqoR9WR.js";import"./use-mobile-BCJRacMM.js";import"./X-BoiOJy6b.js";import"./tooltip-_w_i9sWa.js";import"./use-mcp-client-B9j01x5j.js";import"./auth-ChJ4c6uK.js";import"./studio-tools-jmYSb-B1.js";import"./hooks-DHdD6niy.js";import"./decopilot-sse-pool-mLCJX-OJ.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./alert-dialog-B_bF_Dku.js";import"./dropdown-menu-_VX0tZnw.js";import"./Check-6DEiYvCy.js";import"./ChevronRight-DPKjtSkw.js";import"./Circle-byAdFiAR.js";import"./Stars02-BhkcGNTa.js";import"./DotsVertical-9e1Qdyt2.js";import"./Trash01-Dt_s6toL.js";import"./agent-icon-Bff3aiv_.js";import"./AlertCircle-BcbsaVd5.js";import"./UserPlus01-Khymm-UP.js";import"./Tool01-CAGwEx4M.js";import"./ArrowUp-S1D8lMGk.js";import"./Settings02-QUgFldiC.js";import"./Tool02-CMNQfDn3.js";import"./XCircle-CCot7okt.js";import"./ArrowUpRight-D517UjIz.js";import"./TrendUp01-DwGc8BzO.js";import"./ZapSquare-DTZt-y7s.js";import"./Users03-BFYtp_qo.js";import"./CheckCircle-Bjcyyfll.js";import"./ChevronDown-2tAmPoG0.js";import"./ChevronUp-CnchAk1d.js";import"./Copy01-Ve93EDeg.js";import"./ZoomOut-D7S8G18J.js";import"./Globe01-BCv3n_Se.js";import"./Eye-uMgZQ-RX.js";import"./FilterLines-DAszJnE4.js";import"./Flag01-NHpSEuea.js";import"./Star01-BcDSZrHd.js";import"./Globe04-CooW2sx8.js";import"./SwitchHorizontal01-DnMgtwia.js";import"./HardDrive-C2vAkMra.js";import"./Key01-Cx6h-X3V.js";import"./LinkExternal01-DTiCLIRv.js";import"./List-DU1cT_ZN.js";import"./Monitor01-BBuBltku.js";import"./Sun-OlfWAZbI.js";import"./Package-C3Te-MsB.js";import"./Palette-rsdxLDpX.js";import"./Play-BaYd_kO8.js";import"./SearchLg-C3PbslTB.js";import"./Shield01-CGxZiAFB.js";import"./Stars01-CMrCdNWc.js";import"./Upload01-BRMSg_qf.js";import"./User01-CpUYCnN7.js";import"./Users01-C3hAve-o.js";import"./XClose-Dm8draWY.js";import"./use-collections-B7v87njA.js";import"./use-capability-5ATc7Yiw.js";import"./access-gate-Btk9hZV3.js";import"./capability-load-error-BnK3y7Hy.js";function K(){const t=B.c(16),{org:i}=L(),{data:w}=O(void 0),u=w===void 0?[]:w,R=H(),k=V(),d=T(),[f,E]=$.useState(""),g=f.toLowerCase(),y=new Map(R.map(Q)),C=u.filter(e=>{if(!g||e.name.toLowerCase().includes(g))return!0;if(e.virtual_mcp_id){const a=y.get(e.virtual_mcp_id);if(a&&a.title.toLowerCase().includes(g))return!0}return!1}),P=(e,a)=>{const A=a&&y.has(a)?a:G(i.id);N("automations_list_row_clicked",{automation_id:e,agent_id:A,source:"settings_automations"}),k(A,{search:{main:"automation:"+e}})};let n;t[0]!==d||t[1]!==i.slug?(n=()=>{N("automations_empty_state_browse_agents_clicked"),d({to:"/$org/settings/agents",params:{org:i.slug}})},t[0]=d,t[1]=i.slug,t[2]=n):n=t[2];const z=n,x=l,h=l,j=l;let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p=o.jsx(l.Title,{children:"Automations"}),t[3]=p):p=t[3];const _=u.length>0&&o.jsx(D,{value:f,onChange:E,placeholder:"Search automations...",className:"w-full md:w-[375px]"});let r;t[4]!==_?(r=o.jsxs("div",{className:"flex flex-col gap-6",children:[p,_]}),t[4]=_,t[5]=r):r=t[5];const v=u.length===0?o.jsx("div",{className:"flex items-center justify-center py-20",children:o.jsx(b,{image:o.jsx(S,{size:48,className:"text-muted-foreground"}),title:"No automations yet",description:"Automations are created per agent. Open an agent and add one from its Automations tab.",actions:o.jsxs(M,{size:"sm",onClick:z,children:[o.jsx(q,{size:14}),"Browse agents"]})})}):C.length===0?o.jsx("div",{className:"flex items-center justify-center py-20",children:o.jsx(b,{image:o.jsx(S,{size:48,className:"text-muted-foreground"}),title:"No automations found",description:`No automations match "${f}"`})}):o.jsx("div",{className:"mt-6 rounded-xl border border-border overflow-hidden",children:C.map(e=>o.jsx(F,{automation:e,showAgent:!0,onClick:()=>P(e.id,e.virtual_mcp_id)},e.id))});let s;t[6]!==j.Body||t[7]!==r||t[8]!==v?(s=o.jsxs(j.Body,{children:[r,v]}),t[6]=j.Body,t[7]=r,t[8]=v,t[9]=s):s=t[9];let m;t[10]!==h.Content||t[11]!==s?(m=o.jsx(h.Content,{children:s}),t[10]=h.Content,t[11]=s,t[12]=m):m=t[12];let c;return t[13]!==x||t[14]!==m?(c=o.jsx(x,{children:m}),t[13]=x,t[14]=m,t[15]=c):c=t[15],c}function Q(t){return[t.id,t]}function _o(){const t=B.c(1);let i;return t[0]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx(J,{capability:"automations:manage",area:"automations",children:o.jsx(K,{})}),t[0]=i):i=t[0],i}export{_o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as y,j as t,B as F,i as Z,H as Qe,I as se,E as Pe,r as T,C as re,M as Ge,l as J,bd as Ye,u as Ze,L as Q,t as Xe,e as ae,aZ as ke}from"./index-N9cuV5iN.js";import{E as Ee}from"./empty-state-BoX8NcdF.js";import{u as et,a as Ae}from"./use-collections-B7v87njA.js";import{u as ce}from"./use-mcp-client-B9j01x5j.js";import{F as ne,a as tt,b as de,d as me}from"./form-BrpNBy9s.js";import{I as ue}from"./input-BkYQzhad.js";import{T as le}from"./textarea-Dak8KhN4.js";import{a as st,b as nt,V as pe,O as ot,M as it}from"./index-Cz4X5plc.js";import{am as lt,J as rt,ai as at,Q as ct,aa as dt,an as mt,U as be}from"./agent-icon-Bff3aiv_.js";import{g as ut,M as pt,a as Ne}from"./index-BVbcC_sG.js";import{A as xt,a as ft,b as ht}from"./alert-DNqxh_cO.js";import{S as ve,a as Se,b as ye,c as we,d as oe}from"./select-CDnvduKb.js";import{c as gt,b as Ce,T as Ie,a as $e}from"./tooltip-_w_i9sWa.js";import{i as jt}from"./AlertCircle-BcbsaVd5.js";import{s as bt}from"./Stars02-BhkcGNTa.js";import{a as Nt}from"./Copy01-Ve93EDeg.js";import{i as vt}from"./Play-BaYd_kO8.js";import{i as St}from"./ChevronRight-DPKjtSkw.js";import{g as yt}from"./connection-slug-eyAPH6o3.js";import{u as wt,T as Ct}from"./tools-list-6dvizmtj.js";import{a as Oe,u as Re}from"./use-connection-CkB4Xz_x.js";import{a as It}from"./use-mcp-tools-CUy9ARaz.js";import{M as $t,c as Tt}from"./monaco-editor-DWh2DGhh.js";import{I as Te}from"./integration-icon-BT9mK7G0.js";import{h as Pt,m as kt}from"./chat-context-CWfn2uFK.js";import{u as Et}from"./shell-layout-D6te6Mvt.js";import{n as At}from"./Tool02-CMNQfDn3.js";import"./constants-D_FQAPnt.js";import"./auth-ChJ4c6uK.js";import"./label-CmqanDdO.js";import"./index-R2jNtvaq.js";import"./sidebar-NMMnPKZ7.js";import"./LayoutLeft-BNqoR9WR.js";import"./use-mobile-BCJRacMM.js";import"./X-BoiOJy6b.js";import"./ZoomOut-D7S8G18J.js";import"./Key01-Cx6h-X3V.js";import"./extract-connection-data-BtI3i7KZ.js";import"./use-registry-connections-D7JWs4CC.js";import"./use-organization-settings-C86l1STo.js";import"./studio-tools-jmYSb-B1.js";import"./Plus-Dphfu92x.js";import"./index-UGuEARIB.js";import"./index-D6r3FUrN.js";import"./popover-Iw5opa83.js";import"./use-virtual-mcp-C6d4ZrkR.js";import"./Check-6DEiYvCy.js";import"./SearchMd-BiPdCx3V.js";import"./Users03-BFYtp_qo.js";import"./use-create-virtual-mcp-D5biCbWp.js";import"./use-navigate-to-agent-BwGtOm3r.js";import"./hooks-DHdD6niy.js";import"./decopilot-sse-pool-mLCJX-OJ.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./UserPlus01-Khymm-UP.js";import"./Tool01-CAGwEx4M.js";import"./ArrowUp-S1D8lMGk.js";import"./Settings02-QUgFldiC.js";import"./XCircle-CCot7okt.js";import"./ArrowUpRight-D517UjIz.js";import"./TrendUp01-DwGc8BzO.js";import"./ZapSquare-DTZt-y7s.js";import"./CheckCircle-Bjcyyfll.js";import"./ChevronDown-2tAmPoG0.js";import"./ChevronUp-CnchAk1d.js";import"./Circle-byAdFiAR.js";import"./DotsVertical-9e1Qdyt2.js";import"./Globe01-BCv3n_Se.js";import"./Eye-uMgZQ-RX.js";import"./FilterLines-DAszJnE4.js";import"./Flag01-NHpSEuea.js";import"./Star01-BcDSZrHd.js";import"./Globe04-CooW2sx8.js";import"./SwitchHorizontal01-DnMgtwia.js";import"./HardDrive-C2vAkMra.js";import"./LinkExternal01-DTiCLIRv.js";import"./List-DU1cT_ZN.js";import"./Monitor01-BBuBltku.js";import"./Sun-OlfWAZbI.js";import"./Package-C3Te-MsB.js";import"./Palette-rsdxLDpX.js";import"./SearchLg-C3PbslTB.js";import"./Shield01-CGxZiAFB.js";import"./Stars01-CMrCdNWc.js";import"./Trash01-Dt_s6toL.js";import"./Upload01-BRMSg_qf.js";import"./User01-CpUYCnN7.js";import"./Users01-C3hAve-o.js";import"./XClose-Dm8draWY.js";import"./Zap-CNznLYG0.js";import"./mcp-oauth-dJCmsT9J.js";import"./badge-DqcumuMw.js";import"./index-DYTDgYnh.js";import"./autosend-Cyr5cDQ8.js";import"./use-ai-providers-5asn_1KD.js";import"./use-decopilot-events-DZY7ye0V.js";import"./tab-id-BijBBRwE.js";import"./avatar-Xm6Xp8Pi.js";import"./dialog-JrtwPDO2.js";import"./alert-dialog-B_bF_Dku.js";import"./required-auth-layout-Drp_1FdA.js";import"./use-org-sso-7kwX6Y4o.js";function Ot(s){const e=y.c(15),{onSave:o,onUndo:n,isDirty:i,isSaving:l,saveLabel:a,undoLabel:c}=s,r=a===void 0?"Save":a,u=c===void 0?"Undo":c;if(!i)return null;let p;e[0]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx(lt,{size:14}),e[0]=p):p=e[0];let m;e[1]!==l||e[2]!==n||e[3]!==u?(m=t.jsxs(F,{variant:"outline",size:"sm",onClick:n,disabled:l,"aria-label":u,children:[p,u]}),e[1]=l,e[2]=n,e[3]=u,e[4]=m):m=e[4];let x;e[5]!==l?(x=l?t.jsx(Z,{size:14,className:"animate-spin"}):t.jsx(rt,{size:14}),e[5]=l,e[6]=x):x=e[6];let f;e[7]!==l||e[8]!==o||e[9]!==r||e[10]!==x?(f=t.jsxs(F,{variant:"default",size:"sm",onClick:o,disabled:l,"aria-label":r,children:[x,r]}),e[7]=l,e[8]=o,e[9]=r,e[10]=x,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}Qe({title:se().min(1),description:se().nullable(),body:se()});function ie(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function Rt(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(n=>n==="mcps"),o=e>=0?s[e+1]:void 0;return o?decodeURIComponent(o):void 0}function _t(s){const e=y.c(13),{form:o}=s;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Details"}),e[0]=n):n=e[0];let i;e[1]!==o.control?(i=t.jsxs("div",{className:"flex flex-col gap-4",children:[n,t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsx(ne,{control:o.control,name:"title",render:zt}),t.jsx(ne,{control:o.control,name:"description",render:Dt})]})]}),e[1]=o.control,e[2]=i):i=e[2];let l,a;e[3]===Symbol.for("react.memo_cache_sentinel")?(l=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Message"}),a=t.jsx("div",{className:"text-xs text-muted-foreground",children:"This becomes the user message in the prompt."}),e[3]=l,e[4]=a):(l=e[3],a=e[4]);let c;e[5]!==o.control?(c=t.jsxs("div",{className:"flex flex-col gap-2",children:[l,a,t.jsx(ne,{control:o.control,name:"body",render:Mt})]}),e[5]=o.control,e[6]=c):c=e[6];let r;e[7]!==i||e[8]!==c?(r=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:[i,c]}),e[7]=i,e[8]=c,e[9]=r):r=e[9];let u;return e[10]!==o||e[11]!==r?(u=t.jsx(tt,{...o,children:r}),e[10]=o,e[11]=r,e[12]=u):u=e[12],u}function Mt(s){const{field:e}=s;return t.jsx(de,{children:t.jsx(me,{children:t.jsx(le,{...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 Dt(s){const{field:e}=s;return t.jsxs(de,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Description"}),t.jsx(me,{children:t.jsx(ue,{...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 zt(s){const{field:e}=s;return t.jsxs(de,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Title"}),t.jsx(me,{children:t.jsx(ue,{...e,placeholder:"Untitled prompt",className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})}function Lt(s){const e=y.c(36),{providerId:o,promptId:n}=s,{org:i}=re(),l=o||null;let a;e[0]!==i.id||e[1]!==i.slug||e[2]!==l?(a={connectionId:l,orgId:i.id,orgSlug:i.slug},e[0]=i.id,e[1]=i.slug,e[2]=l,e[3]=a):a=e[3];const c=ce(a),r=et(o,"PROMPT",n,c),u=Ae(o,"PROMPT",c),p=u.update.isPending;let m;e[4]!==r?(m=r?{title:r.title,description:r.description??null,body:ie(r)}:void 0,e[4]=r,e[5]=m):m=e[5];let x;e[6]!==m?(x={values:m},e[6]=m,e[7]=x):x=e[7];const f=Ge(x);let g;e[8]!==f||e[9]!==r?(g=()=>{r&&f.reset({title:r.title,description:r.description??null,body:ie(r)})},e[8]=f,e[9]=r,e[10]=g):g=e[10];const S=g;let I;e[11]!==u.update||e[12]!==f||e[13]!==n?(I=f.handleSubmit(async N=>{const A=await u.update.mutateAsync({id:n,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:ie(A)})}),e[11]=u.update,e[12]=f,e[13]=n,e[14]=I):I=e[14];const R=I;if(!r){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 $;e[16]!==r.title?($=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:r.title}),e[16]=r.title,e[17]=$):$=e[17];let E;e[18]!==r.description?(E=r.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:r.description})]}):null,e[18]=r.description,e[19]=E):E=e[19];let P;e[20]!==$||e[21]!==E?(P=t.jsx(nt,{children:t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[$,E]})}),e[20]=$,e[21]=E,e[22]=P):P=e[22];let b;e[23]!==R?(b=()=>{R()},e[23]=R,e[24]=b):b=e[24];let w;e[25]!==f.formState.isDirty||e[26]!==p||e[27]!==S||e[28]!==b?(w=t.jsx(st,{children:t.jsx(Ot,{onSave:b,onUndo:S,isDirty:f.formState.isDirty,isSaving:p})}),e[25]=f.formState.isDirty,e[26]=p,e[27]=S,e[28]=b,e[29]=w):w=e[29];let C;e[30]!==f?(C=t.jsx("div",{className:"h-full",children:t.jsx(_t,{form:f})}),e[30]=f,e[31]=C):C=e[31];let k;return e[32]!==w||e[33]!==C||e[34]!==P?(k=t.jsxs(pe,{children:[P,w,C]}),e[32]=w,e[33]=C,e[34]=P,e[35]=k):k=e[35],k}function Ut(s){const e=y.c(4),{itemId:o}=s;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=Rt(),e[0]=n):n=e[0];const i=n;if(!i){let a;return e[1]===Symbol.for("react.memo_cache_sentinel")?(a=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]=a):a=e[1],a}let l;return e[2]!==o?(l=t.jsx(Pe,{children:t.jsx(T.Suspense,{fallback:null,children:t.jsx(Lt,{providerId:i,promptId:o})})}),e[2]=o,e[3]=l):l=e[3],l}function _e(s){const e=y.c(8);let o,n;e[0]!==s?({className:o,...n}=s,e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]);let i;e[3]!==o?(i=J("min-w-0 overflow-hidden",o),e[3]=o,e[4]=i):i=e[4];let l;return e[5]!==n||e[6]!==i?(l=t.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:i,...n}),e[5]=n,e[6]=i,e[7]=l):l=e[7],l}function Me(s){const e=y.c(8);let o,n;e[0]!==s?({className:o,...n}=s,e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]);let i;e[3]!==o?(i=J("flex items-center gap-1.5 text-sm sm:gap-2 overflow-hidden",o),e[3]=o,e[4]=i):i=e[4];let l;return e[5]!==n||e[6]!==i?(l=t.jsx("ol",{"data-slot":"breadcrumb-list",className:i,...n}),e[5]=n,e[6]=i,e[7]=l):l=e[7],l}function q(s){const e=y.c(8);let o,n;e[0]!==s?({className:o,...n}=s,e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]);let i;e[3]!==o?(i=J("inline-flex items-center gap-1.5 min-w-0",o),e[3]=o,e[4]=i):i=e[4];let l;return e[5]!==n||e[6]!==i?(l=t.jsx("li",{"data-slot":"breadcrumb-item",className:i,...n}),e[5]=n,e[6]=i,e[7]=l):l=e[7],l}function G(s){const e=y.c(10);let o,n,i;e[0]!==s?({asChild:o,className:n,...i}=s,e[0]=s,e[1]=o,e[2]=n,e[3]=i):(o=e[1],n=e[2],i=e[3]);const l=o?Ye:"a";let a;e[4]!==n?(a=J("hover:text-foreground transition-colors truncate",n),e[4]=n,e[5]=a):a=e[5];let c;return e[6]!==l||e[7]!==i||e[8]!==a?(c=t.jsx(l,{"data-slot":"breadcrumb-link",className:a,...i}),e[6]=l,e[7]=i,e[8]=a,e[9]=c):c=e[9],c}function De(s){const e=y.c(8);let o,n;e[0]!==s?({className:o,...n}=s,e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]);let i;e[3]!==o?(i=J("text-foreground font-medium truncate",o),e[3]=o,e[4]=i):i=e[4];let l;return e[5]!==n||e[6]!==i?(l=t.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:i,...n}),e[5]=n,e[6]=i,e[7]=l):l=e[7],l}function Y(s){const e=y.c(12);let o,n,i;e[0]!==s?({children:o,className:n,...i}=s,e[0]=s,e[1]=o,e[2]=n,e[3]=i):(o=e[1],n=e[2],i=e[3]);let l;e[4]!==n?(l=J("[&>svg]:size-3.5 text-muted-foreground opacity-50 list-none shrink-0",n),e[4]=n,e[5]=l):l=e[5];let a;e[6]!==o?(a=o??t.jsx(St,{}),e[6]=o,e[7]=a):a=e[7];let c;return e[8]!==i||e[9]!==l||e[10]!==a?(c=t.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:l,...i,children:a}),e[8]=i,e[9]=l,e[10]=a,e[11]=c):c=e[11],c}const Bt=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function Ft(s){const e=y.c(11),{toolName:o,connectionId:n,siblings:i,onSelectInstance:l,onBack:a}=s;let c;e[0]!==n?(c={connectionId:n},e[0]=n,e[1]=c):c=e[1];const r=wt(c);if(!r.isAuthenticated){let m;return e[2]!==r.supportsOAuth||e[3]!==a?(m=t.jsx("div",{className:"flex h-full items-center justify-center",children:r.supportsOAuth?t.jsx(ot,{onAuthenticate:()=>a(),buttonText:"Go back to authenticate"}):t.jsx(it,{hasReadme:!1})}),e[2]=r.supportsOAuth,e[3]=a,e[4]=m):m=e[4],m}const u=`${n}:${o}`;let p;return e[5]!==n||e[6]!==l||e[7]!==i||e[8]!==u||e[9]!==o?(p=t.jsx(Jt,{toolName:o,connectionId:n,siblings:i,onSelectInstance:l},u),e[5]=n,e[6]=l,e[7]=i,e[8]=u,e[9]=o,e[10]=p):p=e[10],p}function Jt({toolName:s,connectionId:e,siblings:o,onSelectInstance:n}){const{replayId:i}=Ze({strict:!1}),l=(()=>{if(!i)return null;const d=`replay-${i}`,h=sessionStorage.getItem(d);if(!h)return null;sessionStorage.removeItem(d);try{return JSON.parse(h)}catch{return null}})(),a=(()=>{if(!l)return null;const d={};for(const[h,v]of Object.entries(l))v!==null&&typeof v=="object"?d[h]=JSON.stringify(v,null,2):d[h]=v;return d})(),[c,r]=T.useState(a??{}),[u,p]=T.useState(l?JSON.stringify(l,null,2):"{}"),[m,x]=T.useState(null),[f,g]=T.useState(null),[S,I]=T.useState(null),[R,$]=T.useState(null),[E,P]=T.useState(!1),[b,w]=T.useState(null),{org:C}=re(),k=Oe(e),N=Pt(),A=kt(),{openSidePanel:U}=Et(),z=`${e}:${s}`,_=ce({connectionId:e,orgId:C.id,orgSlug:C.slug}),L=It({client:_}),j=L.data?.tools?.find(d=>d.name===s),O=ut(j?._meta),V=d=>{if(!N)return;const h=Tt(d.content);h.content.length>0&&(U("chat"),N.sendMessage({tiptapDoc:h}))},[M,X]=T.useState("json"),[ze,Le]=T.useState(!1);O&&!ze&&(X("ui"),Le(!0));const xe=j?.inputSchema?.properties,fe=xe?Object.keys(xe):[],H=fe.length>0,K={};if(H&&j?.inputSchema?.properties)for(const d of fe)K[d]=j.inputSchema.required?.includes(d)?"":void 0;const ee=d=>Object.prototype.hasOwnProperty.call(c,d),Ue=async()=>{P(!0),$(null),x(null),g(null),I(null),w(null);const d=performance.now();try{if(!_)throw new Error("MCP client is not available");const h=H?{...K,...c}:(()=>{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.")})();H&&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 je=Number(h[D]);Number.isNaN(je)||(h[D]=je)}});const v=await _.callTool({name:s,arguments:h}),W=v.structuredContent??v,He=performance.now(),Ke=Math.round(He-d);x(W),g(v),I(h);const We=JSON.stringify(W),ge=new TextEncoder().encode(We).length;w({duration:`${Ke}ms`,bytes:`${ge} bytes`,tokens:`~${Math.ceil(ge/4)} tokens`,cost:"$0.0000"})}catch(h){const v=h instanceof Error?h.message:String(h);$(v||"Unknown error occurred");const W=performance.now();w({duration:`${Math.round(W-d)}ms`})}finally{P(!1)}},te=(d,h)=>{r(v=>({...v,[d]:h}))},Be=()=>{x(null),g(null),I(null),$(null),w(null)},Fe=j?.name??Bt(s),Je=t.jsx(_e,{children:t.jsxs(Me,{children:[t.jsx(q,{children:t.jsx(G,{asChild:!0,children:t.jsx(Q,{to:"/$org/settings/connections",params:{org:C.slug},children:"Connections"})})}),t.jsx(Y,{}),k&&t.jsxs(t.Fragment,{children:[t.jsx(q,{children:t.jsx(G,{asChild:!0,children:t.jsx(Q,{to:"/$org/settings/connections/$appSlug",params:{org:C.slug,appSlug:yt(k)},search:{tab:"tools"},children:k.title})})}),t.jsx(Y,{})]}),t.jsx(q,{children:t.jsx(De,{children:Fe})})]})}),he=o.length>1&&t.jsxs(ve,{value:e,onValueChange:n,children:[t.jsx(Se,{className:"h-8 w-auto min-w-[200px]",children:t.jsx(ye,{})}),t.jsx(we,{children:o.map(d=>t.jsx(oe,{value:d.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Te,{icon:d.icon,name:d.title,size:"xs",className:"shrink-0"}),d.title]})},d.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:H&&j?.inputSchema?.properties?Object.entries(j.inputSchema.properties).map(([d,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:[d,j.inputSchema?.required?.includes(d)&&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(le,{className:"font-mono text-xs",value:ee(d)?c[d]??"":K[d]??"",onChange:v=>te(d,v.target.value),placeholder:`Enter ${d} as JSON...`,rows:3}):h.type==="boolean"?t.jsxs(ve,{value:ee(d)?String(c[d]??""):"",onValueChange:v=>te(d,v==="true"),children:[t.jsx(Se,{children:t.jsx(ye,{placeholder:"Select true or false..."})}),t.jsxs(we,{children:[t.jsx(oe,{value:"true",children:"true"}),t.jsx(oe,{value:"false",children:"false"})]})]}):t.jsx(ue,{value:ee(d)?c[d]??"":K[d]??"",onChange:v=>te(d,v.target.value),placeholder:`Enter ${d}...`})]},d)):j?.inputSchema&&!H?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:"Raw JSON Input"}),t.jsx(le,{className:"font-mono text-xs min-h-[120px]",value:u,onChange:d=>p(d.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:E?t.jsxs(F,{size:"sm",variant:"destructive",className:"h-8 gap-2",onClick:Be,children:[t.jsx(at,{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(vt,{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(bt,{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(ct,{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(dt,{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})})]}),O&&t.jsx(gt,{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:()=>X("ui"),children:t.jsx(mt,{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:()=>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(jt,{className:"h-4 w-4"}),t.jsx(ft,{className:"mb-0",children:"Execution Failed"})]}),t.jsx(ht,{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:O&&M==="ui"&&_?t.jsx(T.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(pt,{resourceURI:O,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:d=>A?.setAppContext(z,d),onTeardown:()=>A?.clearAppContext(z),className:"h-full"})}):m?t.jsxs(t.Fragment,{children:[t.jsx($t,{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(Nt,{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(pe,{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:k?.icon||null,name:k?.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-success animate-pulse shrink-0"}):L.isLoading?t.jsx(Z,{size:10,className:"animate-spin text-yellow-500 shrink-0"}):t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-destructive 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(Ct,{annotations:j?.annotations,_meta:j?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:he})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:j?.description||"No description available"})]}),o.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"}),he]}),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 Vt(s){const e=y.c(10),{itemId:o,siblings:n,onBack:i}=s,[l,a]=T.useState(n[0]?.id??"");let c;e[0]!==l||e[1]!==n?(c=n.find(x=>x.id===l)?.id??n[0]?.id??"",e[0]=l,e[1]=n,e[2]=c):c=e[2];const r=c;if(!Oe(r||void 0)||!r){let x;return e[3]===Symbol.for("react.memo_cache_sentinel")?(x=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]=x):x=e[3],x}let p;e[4]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Z,{size:32,className:"animate-spin text-muted-foreground"})}),e[4]=p):p=e[4];let m;return e[5]!==r||e[6]!==i||e[7]!==n||e[8]!==o?(m=t.jsx(T.Suspense,{fallback:p,children:t.jsx(Ft,{toolName:o,connectionId:r,siblings:n,onSelectInstance:a,onBack:i})}),e[5]=r,e[6]=i,e[7]=n,e[8]=o,e[9]=m):m=e[9],m}function qt(s){const e=y.c(21),{icon:o,illustration:n,title:i,description:l,buttonProps:a,buttonComponent:c,className:r,children:u}=s;let p;e[0]!==r?(p=J("flex flex-col items-center justify-center py-16 text-center",r),e[0]=r,e[1]=p):p=e[1];let m;e[2]!==o||e[3]!==n?(m=n?t.jsx("div",{className:"mb-4 text-muted-foreground/50",children:n}):o?t.jsx("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-xl bg-muted/50 text-muted-foreground",children:o}):null,e[2]=o,e[3]=n,e[4]=m):m=e[4];let x;e[5]!==i?(x=t.jsx("h3",{className:"text-sm font-semibold text-foreground",children:i}),e[5]=i,e[6]=x):x=e[6];let f;e[7]!==l?(f=l&&t.jsx("div",{className:"text-sm text-muted-foreground",children:l}),e[7]=l,e[8]=f):f=e[8];let g;e[9]!==x||e[10]!==f?(g=t.jsxs("div",{className:"flex flex-col items-center gap-1 max-w-sm",children:[x,f]}),e[9]=x,e[10]=f,e[11]=g):g=e[11];let S;e[12]!==c||e[13]!==a?(S=(c??a)&&t.jsx("div",{className:"mt-4",children:c??(a&&t.jsx(F,{size:"sm",className:J(a?.className),...a}))}),e[12]=c,e[13]=a,e[14]=S):S=e[14];let I;return e[15]!==u||e[16]!==p||e[17]!==m||e[18]!==g||e[19]!==S?(I=t.jsxs("div",{className:p,children:[m,g,S,u]}),e[15]=u,e[16]=p,e[17]=m,e[18]=g,e[19]=S,e[20]=I):I=e[20],I}const Ht={prompt:Ut};function Kt(){const s=y.c(9),e=ke();let o;s[0]===Symbol.for("react.memo_cache_sentinel")?(o={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=o):o=s[0];const n=ae(o),i=decodeURIComponent(n.itemId);let l;s[1]!==n.appSlug?(l={slug:n.appSlug},s[1]=n.appSlug,s[2]=l):l=s[2];const a=Re(l);let c;s[3]!==e.history?(c=()=>{e.history.back()},s[3]=e.history,s[4]=c):c=s[4];const r=c,u=Wt;let p;return s[5]!==r||s[6]!==i||s[7]!==a?(p=t.jsx(Vt,{itemId:i,siblings:a,onBack:r,onUpdate:u}),s[5]=r,s[6]=i,s[7]=a,s[8]=p):p=s[8],p}async function Wt(s){return Promise.resolve()}function Qt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function Gt(){const s=y.c(41),e=ke();let o;s[0]===Symbol.for("react.memo_cache_sentinel")?(o={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=o):o=s[0];const n=ae(o),i=decodeURIComponent(n.collectionName),l=decodeURIComponent(n.itemId);let a;s[1]!==e.history?(a=()=>{e.history.back()},s[1]=e.history,s[2]=a):a=s[2];const c=a,{org:r}=re();let u;s[3]!==n.appSlug?(u={slug:n.appSlug},s[3]=n.appSlug,s[4]=u):u=s[4];const m=Re(u)[0]??null,x=m?.id??"",f=x||"no-connection",g=x??null;let S;s[5]!==r.id||s[6]!==r.slug||s[7]!==g?(S={connectionId:g,orgId:r.id,orgSlug:r.slug},s[5]=r.id,s[6]=r.slug,s[7]=g,s[8]=S):S=s[8];const I=ce(S),R=Ae(f,i,I);let $;s[9]!==R||s[10]!==l?($=async M=>{l&&await R.update.mutateAsync({id:l,data:M})},s[9]=R,s[10]=l,s[11]=$):$=s[11];const E=$;let P;s[12]!==i?(P=i?.toLowerCase(),s[12]=i,s[13]=P):P=s[13];const b=P,w=b&&Ht[b];let C;s[14]!==i?(C=Qt(i),s[14]=i,s[15]=C):C=s[15];const k=C;let N;s[16]!==r.slug?(N=t.jsx(q,{children:t.jsx(G,{asChild:!0,children:t.jsx(Q,{to:"/$org/settings/connections",params:{org:r.slug},children:"Connections"})})}),s[16]=r.slug,s[17]=N):N=s[17];let A;s[18]===Symbol.for("react.memo_cache_sentinel")?(A=t.jsx(Y,{}),s[18]=A):A=s[18];let U;s[19]!==i||s[20]!==m||s[21]!==r.slug||s[22]!==n.appSlug?(U=m&&t.jsxs(t.Fragment,{children:[t.jsx(q,{children:t.jsx(G,{asChild:!0,children:t.jsx(Q,{to:"/$org/settings/connections/$appSlug",params:{org:r.slug,appSlug:n.appSlug},search:{tab:i},children:m.title})})}),t.jsx(Y,{})]}),s[19]=i,s[20]=m,s[21]=r.slug,s[22]=n.appSlug,s[23]=U):U=s[23];let z;s[24]!==k?(z=t.jsx(q,{children:t.jsx(De,{children:k})}),s[24]=k,s[25]=z):z=s[25];let _;s[26]!==U||s[27]!==z||s[28]!==N?(_=t.jsx(_e,{children:t.jsxs(Me,{children:[N,A,U,z]})}),s[26]=U,s[27]=z,s[28]=N,s[29]=_):_=s[29];const L=_;if(w){let M;return s[30]!==w||s[31]!==c||s[32]!==E||s[33]!==l?(M=t.jsx(w,{itemId:l,onBack:c,onUpdate:E}),s[30]=w,s[31]=c,s[32]=E,s[33]=l,s[34]=M):M=s[34],M}let j;s[35]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(At,{size:36,className:"text-muted-foreground"}),s[35]=j):j=s[35];let O;s[36]!==c?(O=t.jsx(qt,{icon:j,title:"No component defined",description:"No component for this collection was defined",buttonProps:{onClick:c,children:"Go back"}}),s[36]=c,s[37]=O):O=s[37];let V;return s[38]!==L||s[39]!==O?(V=t.jsx(pe,{breadcrumb:L,children:O}),s[38]=L,s[39]=O,s[40]=V):V=s[40],V}function Yt(){const s=y.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 o=ae(e);if(decodeURIComponent(o.collectionName)==="tools"){let a;return s[1]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(Kt,{}),s[1]=a):a=s[1],a}let l;return s[2]===Symbol.for("react.memo_cache_sentinel")?(l=t.jsx(Gt,{}),s[2]=l):l=s[2],l}function Qn(){const s=y.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Pe,{children:t.jsx(T.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Z,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Yt,{})})}),s[0]=e):e=s[0],e}export{Qn as default};
|