decocms 4.594.0 → 4.596.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-kHXzu73r.js → AlertCircle-AllCHsc-.js} +1 -1
- package/dist/client/assets/{AreaChart-CJxx8aiG.js → AreaChart-C6w_b9ET.js} +1 -1
- package/dist/client/assets/{ArrowLeft-DcKid1bz.js → ArrowLeft-CRw3W_qh.js} +1 -1
- package/dist/client/assets/{ArrowRight-ajc9j6D-.js → ArrowRight-DSFHA030.js} +1 -1
- package/dist/client/assets/{ArrowUp-CjAvmMLL.js → ArrowUp-D_GhkPcm.js} +1 -1
- package/dist/client/assets/{BookOpen01-CdH9hkvz.js → BookOpen01-lNQqqERm.js} +1 -1
- package/dist/client/assets/{CartesianChart-BRKqG5iH.js → CartesianChart-DPVXkgL4.js} +1 -1
- package/dist/client/assets/{CategoricalChart-DW_7VziR.js → CategoricalChart-DRsmm3_a.js} +1 -1
- package/dist/client/assets/{CheckCircle-DG9pUM8a.js → CheckCircle-D_eJlHYl.js} +1 -1
- package/dist/client/assets/{ChevronDown-CWnE_Wmz.js → ChevronDown-C0tAiNqc.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-ByCpNum0.js → ChevronSelectorVertical-oMR2kCqB.js} +1 -1
- package/dist/client/assets/{ChevronUp-C_rAiuf1.js → ChevronUp-CLxsyktD.js} +1 -1
- package/dist/client/assets/{CreditCard01-C6eDo3p0.js → CreditCard01-DfogeJXR.js} +1 -1
- package/dist/client/assets/{Eye-DFeDq2Hx.js → Eye-IB81hGdK.js} +1 -1
- package/dist/client/assets/{File02-R0RW2VCN.js → File02-C5RfRHg9.js} +1 -1
- package/dist/client/assets/{Fingerprint04-D-EFj_6a.js → Fingerprint04-d20CepTC.js} +1 -1
- package/dist/client/assets/{Globe04-DudUQgTy.js → Globe04-Cffx8Biv.js} +1 -1
- package/dist/client/assets/{Image01-Dfaw0Ysf.js → Image01-C3Wojgfs.js} +1 -1
- package/dist/client/assets/{Key01-9JQCF719.js → Key01-UGh5N-kc.js} +1 -1
- package/dist/client/assets/{LayoutLeft-B-cVGLzN.js → LayoutLeft-DtDmaSrQ.js} +1 -1
- package/dist/client/assets/{LinkBroken01-CpDM6pG5.js → LinkBroken01-CG6bLE37.js} +1 -1
- package/dist/client/assets/{MessageCircle01-44De_8cO.js → MessageCircle01-MLX2eDnv.js} +1 -1
- package/dist/client/assets/{Minus-09UkIbMe.js → Minus-DUjfsLQY.js} +1 -1
- package/dist/client/assets/{Monitor01-BPQw3JGv.js → Monitor01-DKJLays1.js} +1 -1
- package/dist/client/assets/{Play-BRDYCYl7.js → Play-BkcMWNbk.js} +1 -1
- package/dist/client/assets/{Plus-BJfG2DpW.js → Plus-D84NDH53.js} +1 -1
- package/dist/client/assets/{ReferenceLine-KUFosDOj.js → ReferenceLine-qG6ZRY0w.js} +1 -1
- package/dist/client/assets/{SearchMd-DioGBYbO.js → SearchMd-lt6LFgc6.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-CdQhBv_H.js → ShoppingBag01-BswoJp3c.js} +1 -1
- package/dist/client/assets/{Sun-U7FHkItb.js → Sun-C0_F0NYL.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-sPBj-OL8.js → SwitchHorizontal01-DX564T5r.js} +1 -1
- package/dist/client/assets/{Tool01-BEo5XKkS.js → Tool01-C5c4fHOY.js} +1 -1
- package/dist/client/assets/{Tooltip-2A3BALIx.js → Tooltip-C4Wh1SAv.js} +1 -1
- package/dist/client/assets/{Trash01-l4iOtEBN.js → Trash01-CFKOdFdJ.js} +1 -1
- package/dist/client/assets/{TrendUp01-aviiZW6M.js → TrendUp01-Me2ucQTV.js} +1 -1
- package/dist/client/assets/{Upload01-BhvyPM8u.js → Upload01-A4xsFQc7.js} +1 -1
- package/dist/client/assets/{UserCheck01-B1rJ65So.js → UserCheck01-CLDfWEEJ.js} +1 -1
- package/dist/client/assets/{UserSquare-D44lppb_.js → UserSquare-bg0CCGVi.js} +1 -1
- package/dist/client/assets/{Users01-CxQycal6.js → Users01-CCleMxbO.js} +1 -1
- package/dist/client/assets/{XClose-BwokcWjs.js → XClose-DNnGTtOa.js} +1 -1
- package/dist/client/assets/{Zap-DoXbwvKP.js → Zap-DS2xaVCg.js} +1 -1
- package/dist/client/assets/{access-gate-Cb6wrWbo.js → access-gate-52qvSzpx.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-AJ93ohYz.js → add-connection-dialog-D3rS-xq2.js} +1 -1
- package/dist/client/assets/agent-app-CEj8SI4b.js +1 -0
- package/dist/client/assets/{agent-assets-BjERacII.js → agent-assets-CLgcJh-a.js} +1 -1
- package/dist/client/assets/{agent-automation-lPIiQ1-S.js → agent-automation-Asj6Mdk8.js} +1 -1
- package/dist/client/assets/{agent-automations-DChAwthU.js → agent-automations-DpoiR-xj.js} +1 -1
- package/dist/client/assets/agent-blog-D5adgi1l.js +2 -0
- package/dist/client/assets/agent-blog-post-DD7TPgaA.js +2 -0
- package/dist/client/assets/{agent-calendar-DVTbFVx4.js → agent-calendar-p4pBUNRv.js} +1 -1
- package/dist/client/assets/{agent-capabilities-CJLhsDjp.js → agent-capabilities-DX42M_HX.js} +1 -1
- package/dist/client/assets/{agent-connect-sources-BUkRDeee.js → agent-connect-sources-BuuNPgeS.js} +1 -1
- package/dist/client/assets/agent-deck-Dtfd3CpA.js +1 -0
- package/dist/client/assets/{agent-e2e-DBAmX-ay.js → agent-e2e-CrXJS3S8.js} +1 -1
- package/dist/client/assets/agent-experiments-BdbuSony.js +1 -0
- package/dist/client/assets/agent-file-DyBlPMUW.js +1 -0
- package/dist/client/assets/{agent-hosting-KJs4AVma.js → agent-hosting-DJ4qshnA.js} +1 -1
- package/dist/client/assets/{agent-icon-BS6RPQ_A.js → agent-icon-m6DF-jGw.js} +1 -1
- package/dist/client/assets/agent-library-CfpThBWc.js +1 -0
- package/dist/client/assets/agent-library-file-CUOBgwAH.js +1 -0
- package/dist/client/assets/agent-overview-D-zPptb2.js +1 -0
- package/dist/client/assets/{agent-releases-BwIrRp2G.js → agent-releases-C0fErCE1.js} +1 -1
- package/dist/client/assets/agent-settings-CdKoAPBN.js +1 -0
- package/dist/client/assets/{agent-site-editor-CyUzqfPD.js → agent-site-editor-B4mZ_3uO.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-l_JomA6X.js +2 -0
- package/dist/client/assets/agent-site-editor-content-349ebUkh.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-86h2RYbj.js +1 -0
- package/dist/client/assets/agent-view-BNcVDHOV.js +1 -0
- package/dist/client/assets/{agent-view-guard-dXJW4cSq.js → agent-view-guard-1CRBHJVM.js} +1 -1
- package/dist/client/assets/{ai-providers-CoJXv_AA.js → ai-providers-DxMPTF-k.js} +1 -1
- package/dist/client/assets/{alert-hKxZXEZZ.js → alert-Dt-QBVYu.js} +1 -1
- package/dist/client/assets/{analytics-sections-D8qsQ7bM.js → analytics-sections-CULzJT-Z.js} +1 -1
- package/dist/client/assets/api-keys-D9RiubWH.js +1 -0
- package/dist/client/assets/{api-keys-BpcBSUmB.js → api-keys-DRuBz837.js} +1 -1
- package/dist/client/assets/app-editor-hPksTJHj.js +1 -0
- package/dist/client/assets/{asset-utils-CdU3Ttfs.js → asset-utils-Wh7PCoXS.js} +1 -1
- package/dist/client/assets/{auth-C3yWOKhG.js → auth-DTCWUZG7.js} +1 -1
- package/dist/client/assets/{auth-catchall-DheSxLuf.js → auth-catchall-DpL2hlxq.js} +1 -1
- package/dist/client/assets/{auth-entry-C5exDM0H.js → auth-entry-Df1KBDSc.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Hg6hlPX8.js → auth-split-layout-CY_uRTFl.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-CIyQIb0N.js → authenticate-and-persist-oauth-CxIxVe3C.js} +1 -1
- package/dist/client/assets/{automation-list-row-BYtaYJm7.js → automation-list-row-CtlM_d9l.js} +1 -1
- package/dist/client/assets/{automation-runs-DvuKFaor.js → automation-runs-CUFatpqX.js} +1 -1
- package/dist/client/assets/{automations-D70iF6cO.js → automations-DJcRHo1X.js} +1 -1
- package/dist/client/assets/{badge-wWozseh3.js → badge-BMdL2EZN.js} +1 -1
- package/dist/client/assets/{block-document-CQOXOWIP.js → block-document-xUve5SNT.js} +3 -3
- package/dist/client/assets/{blocks-preview-workspace-context-BmhSK0mg.js → blocks-preview-workspace-context-DF85bSj9.js} +1 -1
- package/dist/client/assets/{blocks-tab-states-CDYT4Ypi.js → blocks-tab-states-Cw0RWK3h.js} +1 -1
- package/dist/client/assets/blog-preview-url-Cxts0MFJ.js +1 -0
- package/dist/client/assets/blog-schema-7GeVkqmc.js +1 -0
- package/dist/client/assets/blog-source-gate-DHJ3KgAL.js +1 -0
- package/dist/client/assets/{blog-view-gate-WETs9z4-.js → blog-view-gate-D2wthXO5.js} +1 -1
- package/dist/client/assets/{buckets-BcxYNwzK.js → buckets-Budfl0cb.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-BpGLSKmi.js → build-improve-prompt-doc-CvGA95vT.js} +1 -1
- package/dist/client/assets/{calendar-Sr3cNZGh.js → calendar-CWY9RcGt.js} +1 -1
- package/dist/client/assets/{capability-load-error-Cwe4uK-x.js → capability-load-error-Cpo9EAh2.js} +1 -1
- package/dist/client/assets/category-editor-Djma6ffb.js +1 -0
- package/dist/client/assets/category-tree-CwYyvh-H.js +18 -0
- package/dist/client/assets/{chart-D0It11Pz.js → chart-J7juGn_W.js} +1 -1
- package/dist/client/assets/{chat-context-B6UvvRRf.js → chat-context-BW-slB_k.js} +1 -1
- package/dist/client/assets/{chat-draft-D0WJnhz_.js → chat-draft-D3TYZAMx.js} +1 -1
- package/dist/client/assets/{checkbox-Cs2Li62P.js → checkbox-DyPy5TYa.js} +1 -1
- package/dist/client/assets/{choose-editor-Cwvr5cPX.js → choose-editor-Bxibi_V8.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DjQMGZUD.js → cli-auth-success-BZdMcx2v.js} +1 -1
- package/dist/client/assets/cms-settings-editor-CEMWX5NG.js +1 -0
- package/dist/client/assets/{cms-store-drafts-DDk2L1_s.js → cms-store-drafts-D_M6m3uA.js} +1 -1
- package/dist/client/assets/{collapsible-D4n-ssmc.js → collapsible-RVJX7MiV.js} +1 -1
- package/dist/client/assets/{collection-detail-CWZme-FJ.js → collection-detail-Du67mRiO.js} +1 -1
- package/dist/client/assets/{collection-display-button--oxelZ8R.js → collection-display-button-BNBHMUXK.js} +1 -1
- package/dist/client/assets/{collection-search-CDDauqCr.js → collection-search-0Y7SoOe-.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-B8osPBIm.js → collection-table-wrapper-Cuy0AVX7.js} +1 -1
- package/dist/client/assets/{collection-tabs-B1EmRyNS.js → collection-tabs-CaUB-XIg.js} +1 -1
- package/dist/client/assets/{combobox-LL4GsRoi.js → combobox-BU7hsWmk.js} +1 -1
- package/dist/client/assets/{command-DQwD4jPt.js → command-D0_H05ec.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-aZ0yAV9m.js → companion-mcps-section-BzJEcjRJ.js} +1 -1
- package/dist/client/assets/{config-zmlExYow.js → config-XJHmvtsd.js} +1 -1
- package/dist/client/assets/{connect-C2FkNxOj.js → connect-CC6AcPLN.js} +1 -1
- package/dist/client/assets/{connect-key-MUQgzDUZ.js → connect-key-BpMVre0r.js} +1 -1
- package/dist/client/assets/{connect-layout-C10vBM31.js → connect-layout-BNX1pnZc.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-DZFw66w3.js → connect-source-dialog-BhW7w8Tz.js} +1 -1
- package/dist/client/assets/{connection-card-DqrVYaVF.js → connection-card-h1GpQqz7.js} +1 -1
- package/dist/client/assets/{connection-detail-BhmikSW0.js → connection-detail-w5Ybk1Ow.js} +1 -1
- package/dist/client/assets/{connection-B7vXPxEB.js → connection-e0YK2xiz.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CipIPASt.js → connection-form-helpers-ee1lsDjo.js} +1 -1
- package/dist/client/assets/{connection-slug-DgGnB6qk.js → connection-slug-pVnJQqDL.js} +1 -1
- package/dist/client/assets/{connections-BH6dclGQ.js → connections-ClU5q4ro.js} +1 -1
- package/dist/client/assets/{content-tab-CMouaD3S.js → content-tab-BbCE8gow.js} +4 -4
- package/dist/client/assets/{context-BXIwVeKt.js → context-BE0varMc.js} +1 -1
- package/dist/client/assets/{context-menu-BTcjoIYF.js → context-menu-sx0q9-17.js} +1 -1
- package/dist/client/assets/{context-shell-Bh2U1zxs.js → context-shell-D7PccH2n.js} +3 -3
- package/dist/client/assets/{create-organization-dialog-Dbp2Y7NH.js → create-organization-dialog-BcfxwKOk.js} +1 -1
- package/dist/client/assets/{daily-pulse-BiRUE30R.js → daily-pulse-BQDk63PY.js} +1 -1
- package/dist/client/assets/{delete-copy-BH5xrx9H.js → delete-copy-UCaGT3P5.js} +2 -2
- package/dist/client/assets/{device-hint-CMC1mr9e.js → device-hint-Dzp4aTKL.js} +1 -1
- package/dist/client/assets/{discover-DN_s50Be.js → discover-BulaXBT4.js} +1 -1
- package/dist/client/assets/{domain-settings-DBexbsXu.js → domain-settings-k3Y2Q4CL.js} +1 -1
- package/dist/client/assets/{drawer-BMY0wk6r.js → drawer-cDJNr0UL.js} +1 -1
- package/dist/client/assets/{editor-C6mSxTrt.js → editor-D_TP8Zgm.js} +1 -1
- package/dist/client/assets/{editor-classes-BygI_Lvg.js → editor-classes-0NCpfosP.js} +1 -1
- package/dist/client/assets/{empty-state-hp9a4BQn.js → empty-state-BQLWtNQT.js} +1 -1
- package/dist/client/assets/{empty-state-C4vGG4yC.js → empty-state-Oh19ZuqH.js} +1 -1
- package/dist/client/assets/{experiments-tab-choice-a808JseX.js → experiments-tab-choice-Bo6k5V9E.js} +1 -1
- package/dist/client/assets/{extract-connection-data-B_eUCQ7e.js → extract-connection-data-Dcybc2XD.js} +1 -1
- package/dist/client/assets/{feature-gate-DtqeHOu4.js → feature-gate-VZsia_Hs.js} +1 -1
- package/dist/client/assets/{feature-paywall-BGOy9Z00.js → feature-paywall-DR7Clo4c.js} +1 -1
- package/dist/client/assets/{file-explorer-q1C_0Dfl.js → file-explorer-81aDQUj9.js} +1 -1
- package/dist/client/assets/{file-preview-Cid_-Y34.js → file-preview-X_NFkOVD.js} +1 -1
- package/dist/client/assets/{file-share-button-eK3lxbyf.js → file-share-button-DOAhwfe0.js} +1 -1
- package/dist/client/assets/{file-type-icon-DOJ02s9h.js → file-type-icon-DR-V5GzT.js} +1 -1
- package/dist/client/assets/{folder-icon-4Pb3O8qn.js → folder-icon-BEMnD9Mo.js} +1 -1
- package/dist/client/assets/{form-BZ2nSi_9.js → form-C_3vsTjd.js} +1 -1
- package/dist/client/assets/{frame-navigation-C3j5rPCM.js → frame-navigation-B6xzv3L_.js} +1 -1
- package/dist/client/assets/{gateway-client-8UpI_Rdq.js → gateway-client-CwKPU6S4.js} +1 -1
- package/dist/client/assets/{general-bkCbo1TA.js → general-BfGOnQz-.js} +1 -1
- package/dist/client/assets/{github-icon-C-V2EETw.js → github-icon-mqy7WjXH.js} +1 -1
- package/dist/client/assets/{held-block-view-xCVzC3Lr.js → held-block-view-8Ktr6QKV.js} +1 -1
- package/dist/client/assets/{home-Dgh1Wb3u.js → home-CoqulptE.js} +1 -1
- package/dist/client/assets/{home-overview-CzbNLHJq.js → home-overview-Cqkq8Gda.js} +1 -1
- package/dist/client/assets/{hosted-reconcile-DS6ZmO5s.js → hosted-reconcile-BfDZiVDB.js} +1 -1
- package/dist/client/assets/{icon-button-CFamiizZ.js → icon-button-BZNuDXN_.js} +1 -1
- package/dist/client/assets/{index-BVZH8mqe.js → index-6k36ehsW.js} +9 -9
- package/dist/client/assets/{index-cjnTxfp5.js → index-BNMtwLGo.js} +1 -1
- package/dist/client/assets/{index-B-PIhH8l.js → index-BOcJIVCK.js} +1 -1
- package/dist/client/assets/{index-B9tCllzH.js → index-BZvJPANC.js} +1 -1
- package/dist/client/assets/{index-B4YS6GMo.js → index-C4RiD3F4.js} +1 -1
- package/dist/client/assets/{index-GMDFirHC.js → index-CGp5e78v.js} +1 -1
- package/dist/client/assets/{index-6V91lP75.js → index-CHcZo0sN.js} +1 -1
- package/dist/client/assets/{index-BFjuxezw.js → index-CbxeeWwk.js} +1 -1
- package/dist/client/assets/{index-D9WtqDmJ.js → index-Ccjzy_Yg.js} +1 -1
- package/dist/client/assets/{index-CJQHYkKb.js → index-DYr4DM-_.js} +1 -1
- package/dist/client/assets/{index--r4E_gW7.js → index-DbcKAUw4.js} +1 -1
- package/dist/client/assets/index-NYmpejop.js +5 -0
- package/dist/client/assets/{index-BesTmknq.js → index-Pt2Dg3Hd.js} +1 -1
- package/dist/client/assets/{index-BYQu9U5P.js → index-WlTKCESy.js} +1 -1
- package/dist/client/assets/{index-BeSn1lKu.js → index-_N6kCtM_.js} +1 -1
- package/dist/client/assets/{index-D_u7RJfU.js → index-gxh0eyFF.js} +1 -1
- package/dist/client/assets/{index-redirect-BMGe_utm.js → index-redirect-BKO9Og1V.js} +1 -1
- package/dist/client/assets/{index-CqlRRF6p.js → index-unMd35fT.js} +1 -1
- package/dist/client/assets/index-yFD0_BNc.css +1 -0
- package/dist/client/assets/{infiniteQueryObserver-f5kG4cIT.js → infiniteQueryObserver-BU4GB00s.js} +1 -1
- package/dist/client/assets/{infra-billing-DaAfhBWg.js → infra-billing-Dp0t1IaK.js} +1 -1
- package/dist/client/assets/{input-o0eNZBV4.js → input-CH4Gjy3Z.js} +3 -3
- package/dist/client/assets/{input-A20A_mwu.js → input-DAb55cm0.js} +1 -1
- package/dist/client/assets/{integration-icon-CcV5frEs.js → integration-icon-CThPNDLT.js} +1 -1
- package/dist/client/assets/item-actions-Cd5OpKeM.js +1 -0
- package/dist/client/assets/{jira-icon-DlgPbK3F.js → jira-icon-C-P_hNAy.js} +1 -1
- package/dist/client/assets/{label-Dc_tSb6f.js → label-B05fQV9w.js} +1 -1
- package/dist/client/assets/{layout-514nGx9I.js → layout-D62GW4Xy.js} +1 -1
- package/dist/client/assets/{legacy-admin-welcome-dialog-DtYrilLw.js → legacy-admin-welcome-dialog-BOk_1MDr.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-DS7wnjib.js → legacy-agents-deep-CwnshL_u.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-BQ-dfJNU.js → legacy-main-redirect-B9wSse7w.js} +1 -1
- package/dist/client/assets/library-CE-7zswq.js +1 -0
- package/dist/client/assets/{library-tab-CZB0EHNl.js → library-tab-6C3BHzqG.js} +1 -1
- package/dist/client/assets/{login-BVGV6SaO.js → login-De-omavu.js} +1 -1
- package/dist/client/assets/{markdown-DvUyMKlV.js → markdown-B2-eb-Eh.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-CRu4PbUr.js → mcp-app-renderer-Bj6Yqj6W.js} +1 -1
- package/dist/client/assets/{mcp-oauth-NdGb5Zj9.js → mcp-oauth-CBgv_I8z.js} +1 -1
- package/dist/client/assets/{mcp-oauth-CIY9YLWi.js → mcp-oauth-DsdWz5k5.js} +1 -1
- package/dist/client/assets/{members-CgoGmOSR.js → members-ai18MRiF.js} +1 -1
- package/dist/client/assets/{memory-BfzundeZ.js → memory-lLPqtjY5.js} +1 -1
- package/dist/client/assets/{mock-board-D8DOoo_p.js → mock-board-DUqjanpY.js} +3 -3
- package/dist/client/assets/{monaco-editor-C3D0iT4a.js → monaco-editor-C4oSGu0z.js} +1 -1
- package/dist/client/assets/monitoring-DHvjzxYU.js +2 -0
- package/dist/client/assets/{monitoring-stats-row-By2SXcyl.js → monitoring-stats-row-C3be9geZ.js} +1 -1
- package/dist/client/assets/{multi-select-Dak9eW6K.js → multi-select-UQ5zKqaL.js} +1 -1
- package/dist/client/assets/{mustache-CMgVEDUc.js → mustache-zZXkHC_L.js} +1 -1
- package/dist/client/assets/{named-rule-step-BnN-hlGb.js → named-rule-step-CrcD_duq.js} +1 -1
- package/dist/client/assets/{named-rule-view-hUwolemN.js → named-rule-view--duBjHJb.js} +1 -1
- package/dist/client/assets/{new-project-dialog-BeD2i_Hm.js → new-project-dialog-C8GsS3yA.js} +1 -1
- package/dist/client/assets/{new-project-store-BfrY24D-.js → new-project-store-DIzzNFh1.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-0KF_xg3k.js → oauth-callback-ai-provider-B-5nafY2.js} +1 -1
- package/dist/client/assets/{oauth-callback-CNqxDLu3.js → oauth-callback-oqd3bXUP.js} +1 -1
- package/dist/client/assets/{oauth-consent-li4JOhlZ.js → oauth-consent-K2APicmR.js} +1 -1
- package/dist/client/assets/{onboarding-CzP4oXTn.js → onboarding-o9kHZxKA.js} +1 -1
- package/dist/client/assets/{openai-conversation-BMsTp1zg.js → openai-conversation-BZLoClec.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-C29BxST1.js → optimistic-project-sidebar-views-pk8rg5oK.js} +1 -1
- package/dist/client/assets/order-monitor-day-wSsYm9_l.js +1 -0
- package/dist/client/assets/{organization-choice-BhMXPFKX.js → organization-choice-BUBhZfiC.js} +1 -1
- package/dist/client/assets/{orgs-ZZqk-o74.js → orgs-DB1GWwYI.js} +1 -1
- package/dist/client/assets/{own-accounts-section-4_Hp7fJv.js → own-accounts-section-DPjhNkN7.js} +1 -1
- package/dist/client/assets/{pair-C4tumP78.js → pair-D_71JV_h.js} +1 -1
- package/dist/client/assets/{parse-sections-B5REiM5j.js → parse-sections-Ck3UjwM8.js} +3 -3
- package/dist/client/assets/{plan-vUNQzJtH.js → plan-ClnTFbh5.js} +1 -1
- package/dist/client/assets/{plan-ladder-BlcJL4hV.js → plan-ladder-C-nHzfvE.js} +1 -1
- package/dist/client/assets/{plan-usage-card-DW3wLLQF.js → plan-usage-card-DX0TEH1I.js} +1 -1
- package/dist/client/assets/{popover-9q-VKuQx.js → popover-CH9oXjqN.js} +1 -1
- package/dist/client/assets/post-calendar-Nt_O_Z94.js +1 -0
- package/dist/client/assets/{post-editor-BUxXB6Uz.js → post-editor-TZTGdKmL.js} +2 -2
- package/dist/client/assets/{preview-content-aN9ghsH_.js → preview-content-C_30wxn1.js} +1 -1
- package/dist/client/assets/{preview-dialog-DqNYRBay.js → preview-dialog-C2Vuh1sp.js} +1 -1
- package/dist/client/assets/{preview-panel-DV1FaRUZ.js → preview-panel-S5oFn61k.js} +1 -1
- package/dist/client/assets/preview-tab-ClSpAkmV.js +557 -0
- package/dist/client/assets/primitives-CrCuT0LR.js +1 -0
- package/dist/client/assets/{product-picker-dialog-DVs_Kuee.js → product-picker-dialog-mmy97YMY.js} +1 -1
- package/dist/client/assets/{profile-DbdvfkDI.js → profile-dIGLO0tj.js} +1 -1
- package/dist/client/assets/{project-app-view-Cfrp6muY.js → project-app-view-CL2brGAW.js} +1 -1
- package/dist/client/assets/{project-apps-z0dBtbP_.js → project-apps-BPLYxsdb.js} +1 -1
- package/dist/client/assets/{project-icon-C8Sq9Uyo.js → project-icon-BwoqBozX.js} +1 -1
- package/dist/client/assets/{project-index-BOyydKXT.js → project-index-Cb0knzOx.js} +1 -1
- package/dist/client/assets/project-reports-Es3eodEf.js +1 -0
- package/dist/client/assets/project-tasks-BObhyp-g.js +1 -0
- package/dist/client/assets/{projects-B5BvS56N.js → projects-AVd6wnYc.js} +1 -1
- package/dist/client/assets/{projects-empty-state-CDTj5tcd.js → projects-empty-state-C7JwlwFZ.js} +1 -1
- package/dist/client/assets/{prompts-DfS9pOYH.js → prompts-CYDVxedF.js} +1 -1
- package/dist/client/assets/record-editor-C24399Kq.js +1 -0
- package/dist/client/assets/redirect-editor-Buclfl6T.js +1 -0
- package/dist/client/assets/{reports-C624VFLj.js → reports-D5WruuUL.js} +1 -1
- package/dist/client/assets/reports-DwRlsCV2.js +1 -0
- package/dist/client/assets/{reports-onboarding-_pxt1WkF.js → reports-onboarding-CFJe1Yh6.js} +1 -1
- package/dist/client/assets/{reports-tab-BBmHq9vJ.js → reports-tab-BEIeHpqv.js} +2 -2
- package/dist/client/assets/repositories-BCW1MaJF.js +1 -0
- package/dist/client/assets/{repositories-B7d9yCxo.js → repositories-DWThiX2p.js} +1 -1
- package/dist/client/assets/{repository-binding-BIfwJXBl.js → repository-binding--4TzKXBA.js} +1 -1
- package/dist/client/assets/{repository-picker-vN0XhyKR.js → repository-picker-v7iVCEUT.js} +1 -1
- package/dist/client/assets/{require-capability-B6_v4BKo.js → require-capability-CAcEc9hc.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BXbkUsYd.js → required-auth-layout-B8y_MNr7.js} +1 -1
- package/dist/client/assets/{reset-password-DPvgQ5Qd.js → reset-password-ClGMHHI7.js} +1 -1
- package/dist/client/assets/{resizable-AytQ6SyX.js → resizable-COGor2Ly.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-BzV0wsYq.js → resolve-tab-icon-kXOqF-K7.js} +1 -1
- package/dist/client/assets/{review-settings-BTg5QElS.js → review-settings-BvN5yP9q.js} +1 -1
- package/dist/client/assets/{role-color-CNGxunw8.js → role-color-BqI6S_sH.js} +1 -1
- package/dist/client/assets/roles-DiINUuVU.js +1 -0
- package/dist/client/assets/{route-BX1VK4D8.js → route-BZ58rj3h.js} +1 -1
- package/dist/client/assets/{route-IYkPM4iL.js → route-Do9iV-Fa.js} +1 -1
- package/dist/client/assets/route-DvsPl2dV.js +1 -0
- package/dist/client/assets/{route-page-header-DnxbH76I.js → route-page-header-ZxjL9WRx.js} +1 -1
- package/dist/client/assets/{sandbox-git-api-CvJPOlyv.js → sandbox-git-api-BySMpBzA.js} +1 -1
- package/dist/client/assets/{sandbox-lifecycle-context-CO9pd80k.js → sandbox-lifecycle-context-D7Mo6SMT.js} +1 -1
- package/dist/client/assets/{save-status-eUv6TQpr.js → save-status-DUiju85M.js} +1 -1
- package/dist/client/assets/{schema-C2ft4i4u.js → schema-DcMtzh-L.js} +1 -1
- package/dist/client/assets/{schema-CATZG76m.js → schema-DzB5MtLQ.js} +1 -1
- package/dist/client/assets/{scroll-area-w9_Bvwmf.js → scroll-area-CT5pMPAI.js} +1 -1
- package/dist/client/assets/{search-input-D3b0Dc5Y.js → search-input-B5JIa11y.js} +1 -1
- package/dist/client/assets/{search-toggle-DBEAkZhz.js → search-toggle-B8OLzvCM.js} +1 -1
- package/dist/client/assets/{secret-picker-CVfi84wZ.js → secret-picker-DQnzetrk.js} +1 -1
- package/dist/client/assets/{secrets-Bxh8ZQN1.js → secrets-CohVPhQA.js} +1 -1
- package/dist/client/assets/section-array-field-BmxRdqC1.js +1 -0
- package/dist/client/assets/{sections-BS4WKjIk.js → sections-4E-Bc25K.js} +1 -1
- package/dist/client/assets/sections-editor-DdYFn1-8.js +1 -0
- package/dist/client/assets/{select-BJ7g3jt1.js → select-BzOd4QV1.js} +1 -1
- package/dist/client/assets/{select-model-CIoiyBbQ.js → select-model-9pBB2Ftb.js} +1 -1
- package/dist/client/assets/seo-editor-D0KLiDO0.js +1 -0
- package/dist/client/assets/{separator-DUnD5wBI.js → separator-DpCH28os.js} +1 -1
- package/dist/client/assets/{session-runtime-CRv5j4jh.js → session-runtime-fnzDQ8ba.js} +1 -1
- package/dist/client/assets/settings-tab-C7l6cj8f.js +1 -0
- package/dist/client/assets/{sheet-B1zTFenO.js → sheet-D0InrjqO.js} +1 -1
- package/dist/client/assets/{shell-layout-BT6RZJ9X.js → shell-layout-D8-R0sqM.js} +1 -1
- package/dist/client/assets/{site-draft-actions-BhvNLFOt.js → site-draft-actions-tjwxcrrz.js} +1 -1
- package/dist/client/assets/{site-draft-view-D89p35uK.js → site-draft-view-DY3MROcG.js} +1 -1
- package/dist/client/assets/site-editor-TTvFFMn0.js +1 -0
- package/dist/client/assets/{site-editor-toast-vvVLBG6s.js → site-editor-toast-BfB5E3lf.js} +1 -1
- package/dist/client/assets/{skills-C22XOkU8.js → skills-BgqMrKh3.js} +1 -1
- package/dist/client/assets/{slider-46E0vJw8.js → slider-CiWmLveF.js} +1 -1
- package/dist/client/assets/{sortable.esm-BzU9NXcP.js → sortable.esm-BnSJzMhQ.js} +1 -1
- package/dist/client/assets/{sso-zNrVMXEh.js → sso-C44FERRz.js} +1 -1
- package/dist/client/assets/{suggestion-B9N6oqkG.js → suggestion-Bnw1hfqZ.js} +1 -1
- package/dist/client/assets/{super-agent-icon-AyK0wzxQ.js → super-agent-icon-C6LdYrGo.js} +1 -1
- package/dist/client/assets/{switch-BX8b8tB6.js → switch-C9KE8PCO.js} +1 -1
- package/dist/client/assets/{synced-repos-DS_Rsdst.js → synced-repos-CZPSEENY.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-DpR7ri7q.js → tab-icon-glyph-CWJ_EMCz.js} +1 -1
- package/dist/client/assets/{table-DNvSx4nT.js → table-BabWDHl3.js} +1 -1
- package/dist/client/assets/{tabs-ClkuSww4.js → tabs-CLDwlIBj.js} +1 -1
- package/dist/client/assets/{task-board-DLNmAHmR.js → task-board-D-EY7IDb.js} +1 -1
- package/dist/client/assets/{task-key-BjUMQvHV.js → task-key-Bf-5jxEO.js} +1 -1
- package/dist/client/assets/{task-route-B6gZ9LxC.js → task-route-C5TECNuR.js} +1 -1
- package/dist/client/assets/{task-status-CvKutQFi.js → task-status-GtZc7DUE.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-BgegxTfw.js → taskboard-analytics-Bgm_SXDy.js} +1 -1
- package/dist/client/assets/tasks-C_2YCqC5.js +1 -0
- package/dist/client/assets/{tasks-VtqJyf5J.js → tasks-fCd-XF0B.js} +1 -1
- package/dist/client/assets/{textarea-BnYcD_gb.js → textarea-zXJwvg1C.js} +1 -1
- package/dist/client/assets/{thread-analytics-CHgBpfHv.js → thread-analytics-CToiKm9y.js} +1 -1
- package/dist/client/assets/{thread-button-Cra7mRSW.js → thread-button-D0_qm01C.js} +1 -1
- package/dist/client/assets/{thread-intent-CYNXEfHP.js → thread-intent-HcaWskQl.js} +1 -1
- package/dist/client/assets/{thread-route-muzc431X.js → thread-route-DISRw9NA.js} +1 -1
- package/dist/client/assets/{thread-route-D00Shirq.js → thread-route-DkHlrR6F.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-B4d3KSH7.js → thread-sheet-body-BwoNg8G-.js} +1 -1
- package/dist/client/assets/{time-range-picker-BzLGuV9Q.js → time-range-picker-BJLph571.js} +1 -1
- package/dist/client/assets/{toggle-group-Cu3LE1oL.js → toggle-group--KiJldtG.js} +1 -1
- package/dist/client/assets/{tool-set-selector-DpIP2fev.js → tool-set-selector-DigSDBNa.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-Bo8OSaqx.js → toolbar-icon-button-Cl7Yg4qZ.js} +1 -1
- package/dist/client/assets/{tooltip-CfeBMv8z.js → tooltip-CpNT29Lg.js} +1 -1
- package/dist/client/assets/{tooltipContext-BMU8k-Rs.js → tooltipContext-HwIIkoOx.js} +1 -1
- package/dist/client/assets/{track-DWmwuKVj.js → track-CnwyZ_-v.js} +1 -1
- package/dist/client/assets/{types-D_vNw-3-.js → types-U1xib9QI.js} +1 -1
- package/dist/client/assets/{url-slug-BOPVIawN.js → url-slug-o-5lOvNU.js} +1 -1
- package/dist/client/assets/{usage-stats-Dzci2XGy.js → usage-stats-BpSzWrpu.js} +1 -1
- package/dist/client/assets/{use-ai-providers-C30oeluP.js → use-ai-providers-CL55euJG.js} +1 -1
- package/dist/client/assets/{use-api-keys-CK1ZH-th.js → use-api-keys-DJl2frpX.js} +1 -1
- package/dist/client/assets/{use-apply-named-rule-DGYGOn-1.js → use-apply-named-rule-Sto1nxzx.js} +1 -1
- package/dist/client/assets/use-ask-in-chat-CT64oCbR.js +1 -0
- package/dist/client/assets/{use-automations-CtbjaE6m.js → use-automations-DC0esRjE.js} +1 -1
- package/dist/client/assets/{use-autosave-Bpr4B2YO.js → use-autosave-C-v37PG8.js} +1 -1
- package/dist/client/assets/use-blocks-v8-project-CHvN3d67.js +1 -0
- package/dist/client/assets/use-blog-view-CVo7QYbd.js +1 -0
- package/dist/client/assets/{use-chat-layout-state-DBVzfsNg.js → use-chat-layout-state-DuyGxNZ8.js} +1 -1
- package/dist/client/assets/{use-cms-publish-actions-CWkUAckV.js → use-cms-publish-actions-Cef_LTMV.js} +1 -1
- package/dist/client/assets/{use-connect-companion-iGJRty2G.js → use-connect-companion-BaxDHT_c.js} +1 -1
- package/dist/client/assets/{use-connection-C-m8b2Fk.js → use-connection-BrUoHInG.js} +1 -1
- package/dist/client/assets/{use-content-sync-BJ7PE3PC.js → use-content-sync-C-N3pUjd.js} +1 -1
- package/dist/client/assets/{use-copy-BHPkBnZF.js → use-copy-BosHh8hs.js} +1 -1
- package/dist/client/assets/{use-current-view-CHhVzMwk.js → use-current-view-CQkQuEPS.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-Cn791fqZ.js → use-date-fns-locale-CL5KHXt3.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-C6OCZte6.js → use-debounced-autosave-Dd0HvZCV.js} +1 -1
- package/dist/client/assets/{use-debounced-value-By7KggQt.js → use-debounced-value-D92V-nO1.js} +1 -1
- package/dist/client/assets/{use-deco-credits-19cW8oHb.js → use-deco-credits-BbacUwGD.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-BxfGa0_j.js → use-decopilot-events-CXr5p6cn.js} +1 -1
- package/dist/client/assets/{use-delete-block-3AD9rKWc.js → use-delete-block-CcnRhYow.js} +1 -1
- package/dist/client/assets/{use-delete-connection-Cma0d5Z7.js → use-delete-connection-C5CW1TMU.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-COmgwPUq.js → use-deployment-admin-CrPYh0iy.js} +1 -1
- package/dist/client/assets/{use-entitlements-B8D7pawV.js → use-entitlements-CtKDjSCc.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-BQhDGlp9.js → use-fast-preview-draft-url-oDvx6qNG.js} +1 -1
- package/dist/client/assets/{use-file-configs-CCo70YSN.js → use-file-configs-d8oveZti.js} +1 -1
- package/dist/client/assets/{use-id-selection-BOT74h8X.js → use-id-selection-YDCUJkW7.js} +1 -1
- package/dist/client/assets/{use-in-settings-qQ2sbeu5.js → use-in-settings-CSXNVGfX.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-CIBoyRh8.js → use-inbox-feed-BmDqTf6H.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-Ct_PbHT3.js → use-infinite-scroll-Bk9vcUF2.js} +1 -1
- package/dist/client/assets/{use-join-requests-CbaI0xCz.js → use-join-requests-C1GX0oi8.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-CPcNwsEn.js → use-main-panel-tabs-D6PrQKj_.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-BfHI4tpd.js → use-mcp-auth-status-BXEHX9A9.js} +1 -1
- package/dist/client/assets/{use-mcp-client-7NPwItGN.js → use-mcp-client-Dn7GJEfR.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-C7QHdaI_.js → use-mcp-prompts-BMSkxk3j.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DqnFukoV.js → use-mcp-tools-BNwnVHgE.js} +1 -1
- package/dist/client/assets/{use-mobile-5e0sSd3X.js → use-mobile-Bwg13Khk.js} +1 -1
- package/dist/client/assets/{use-move-blocks-Cqt9Q8CZ.js → use-move-blocks-sK7PvIYV.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CtsEyeFb.js → use-navigate-to-agent-CzSAlpxn.js} +1 -1
- package/dist/client/assets/{use-never-published-BK3TeRer.js → use-never-published-DAOoxMmV.js} +1 -1
- package/dist/client/assets/{use-org-fs-Cq9dcDh3.js → use-org-fs-ISEYfoeP.js} +1 -1
- package/dist/client/assets/{use-org-notice-Dvph2j3S.js → use-org-notice-BTIpWL_p.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-CCuZhNZU.js → use-org-repo-syncs-BPpDk25r.js} +1 -1
- package/dist/client/assets/{use-org-sso-BKXSOEb_.js → use-org-sso-BZklGZ0G.js} +1 -1
- package/dist/client/assets/{use-organization-settings-BoOQOwrg.js → use-organization-settings-CYN_vYgA.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-DPGDB1T1.js → use-panel-navigate-BAJB306G.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-SSp2DD_u.js → use-project-native-view-presence-D1vQT4ZH.js} +1 -1
- package/dist/client/assets/{use-project-scope-BIucgFKc.js → use-project-scope-DVgj2Lmp.js} +1 -1
- package/dist/client/assets/{use-recent-apps-4zSmjU-Q.js → use-recent-apps-DV9D4KSi.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-DWL8tyP6.js → use-reports-diagnostic-CxJVNJu1.js} +1 -1
- package/dist/client/assets/{use-sandbox-events-TxpzU2Iw.js → use-sandbox-events-BqtbFabs.js} +1 -1
- package/dist/client/assets/{use-secrets-CsCKmxLc.js → use-secrets-BZGVO7wb.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-BxFRvYUl.js → use-section-preview-base-_QoALJol.js} +1 -1
- package/dist/client/assets/{use-sidebar-collapsed-DHFFs76T.js → use-sidebar-collapsed-UNm7xHPV.js} +1 -1
- package/dist/client/assets/{use-tags-aDaEeB96.js → use-tags-DHI_FfeM.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-XXuDuH8s.js → use-task-board-analytics-BWCmk6Id.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-CLDgREI3.js → use-task-board-item-prs-CNeKRqLE.js} +1 -1
- package/dist/client/assets/{use-task-board-items-D4fdH47R.js → use-task-board-items-VCVSuTG_.js} +1 -1
- package/dist/client/assets/{use-task-board-prompts-DRYQb2DR.js → use-task-board-prompts-Cym2n16B.js} +1 -1
- package/dist/client/assets/{use-task-metadata-CSvrbSt0.js → use-task-metadata-DF5Dujx5.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-CrNLjxTt.js → use-thread-outputs-y7iH8wUp.js} +1 -1
- package/dist/client/assets/{use-view-draft-kind-BG3Ihm6n.js → use-view-draft-kind-CofWB4b8.js} +1 -1
- package/dist/client/assets/{use-voice-input-BspgCDOI.js → use-voice-input-DuTeTois.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-AR0nCC2r.js +1 -0
- package/dist/client/assets/{useQueries-DGhxO9Ry.js → useQueries-D5FTElAG.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CcdFZ__h.js +1 -0
- package/dist/client/assets/{users-CC1uXfIH.js → users-9DnwrQDD.js} +1 -1
- package/dist/client/assets/{utils-JVZxV40b.js → utils-B6aCtHUu.js} +1 -1
- package/dist/client/assets/{variant-calendar-COAsXla8.js → variant-calendar-BnXhZ8PW.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-Dm9kjKRy.js → variant-matcher-override-BH-xFtlD.js} +1 -1
- package/dist/client/assets/{view-header-d4Obd__T.js → view-header-mqw-cAVS.js} +1 -1
- package/dist/client/assets/{virtual-mcp-TQWeP4ry.js → virtual-mcp-sCTq7xTd.js} +1 -1
- package/dist/client/assets/watch-sse-pool-cOL-0uUN.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/migrate-dbos.js +2 -2
- package/dist/server/migrate.js +211 -211
- package/dist/server/server.js +841 -845
- package/package.json +1 -1
- package/dist/client/assets/agent-app-BwabK-EN.js +0 -1
- package/dist/client/assets/agent-blog-BAFEHC3F.js +0 -2
- package/dist/client/assets/agent-blog-post-BfZLJHCc.js +0 -2
- package/dist/client/assets/agent-deck-FkIcljPu.js +0 -1
- package/dist/client/assets/agent-experiments-DDePdz1s.js +0 -1
- package/dist/client/assets/agent-file-Dq7RwOoN.js +0 -1
- package/dist/client/assets/agent-library-C06De_Om.js +0 -1
- package/dist/client/assets/agent-library-file-DZtwB2bP.js +0 -1
- package/dist/client/assets/agent-overview-3kq8I1YX.js +0 -1
- package/dist/client/assets/agent-settings-CQxH-SU4.js +0 -1
- package/dist/client/assets/agent-site-editor-code-lMnnKFV4.js +0 -2
- package/dist/client/assets/agent-site-editor-content-BQ-pFVV_.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-Dipnwf9A.js +0 -1
- package/dist/client/assets/agent-view-D74Nsx4n.js +0 -1
- package/dist/client/assets/api-keys-B9w3P2co.js +0 -1
- package/dist/client/assets/app-editor-DLwnlaqE.js +0 -1
- package/dist/client/assets/blog-preview-url-D1Gi50Jy.js +0 -1
- package/dist/client/assets/blog-schema-G_pvuSAo.js +0 -1
- package/dist/client/assets/blog-source-gate-Z08IMogx.js +0 -1
- package/dist/client/assets/category-editor-DZLdQENU.js +0 -1
- package/dist/client/assets/category-tree-oBVfCVRR.js +0 -4
- package/dist/client/assets/cms-settings-editor-h4wDmiSv.js +0 -1
- package/dist/client/assets/empty-message-B3ykEghT.js +0 -15
- package/dist/client/assets/index-CFbcObvG.css +0 -1
- package/dist/client/assets/index-DwIomefI.js +0 -5
- package/dist/client/assets/item-actions-CZD9JeRy.js +0 -1
- package/dist/client/assets/library-Cy3CmAZa.js +0 -1
- package/dist/client/assets/monitoring-BvN0RJq0.js +0 -2
- package/dist/client/assets/order-monitor-day-D910WxJ3.js +0 -1
- package/dist/client/assets/post-calendar-Cw6GB31X.js +0 -1
- package/dist/client/assets/preview-tab-CNYeoSqY.js +0 -557
- package/dist/client/assets/project-reports-CN1JvK97.js +0 -1
- package/dist/client/assets/project-tasks-Cimkg6Js.js +0 -1
- package/dist/client/assets/record-editor-BC_pgxjj.js +0 -1
- package/dist/client/assets/redirect-editor-CJJivlqw.js +0 -1
- package/dist/client/assets/reports-BU9i6BvT.js +0 -1
- package/dist/client/assets/repositories-D-ngJeYU.js +0 -1
- package/dist/client/assets/roles-DrWSfOhb.js +0 -1
- package/dist/client/assets/route-DxNP7FKc.js +0 -1
- package/dist/client/assets/section-array-field-CkDPdYBe.js +0 -1
- package/dist/client/assets/sections-editor-CLaZ0j6X.js +0 -1
- package/dist/client/assets/seo-editor-C5CvtZIp.js +0 -1
- package/dist/client/assets/settings-tab-k_yzR7TC.js +0 -1
- package/dist/client/assets/site-editor-DO2-FIjd.js +0 -1
- package/dist/client/assets/tasks-BZlAEaTY.js +0 -1
- package/dist/client/assets/use-ask-in-chat-Cp6wJI2T.js +0 -1
- package/dist/client/assets/use-blocks-v8-project-DUe21BCo.js +0 -1
- package/dist/client/assets/use-blog-view-D_--u8j_.js +0 -1
- package/dist/client/assets/useInfiniteQuery-BJoJv4VQ.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BFQG7J82.js +0 -1
- package/dist/client/assets/watch-sse-pool-CWcYbOm5.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as E,j as t,B as K,h as Z,aH as Ye,aI as re,b as W,R as Ee,r as A,a6 as fe,dT as Ze,dU as Re,aG as et,n as Oe,I as pe,m as X,bZ as tt,au as st,u as ot,L as se,t as lt,f as he,cD as Fe}from"./index-BVZH8mqe.js";import{E as Me}from"./empty-state-hp9a4BQn.js";import{u as ge}from"./use-mcp-client-7NPwItGN.js";import{F as ae,a as nt,b as ce,d as de}from"./form-BZ2nSi_9.js";import{T as xe}from"./textarea-BnYcD_gb.js";import{D as je,O as it,M as rt}from"./index-CqlRRF6p.js";import{X as at,U as ct,bs as dt,aq as mt,az as ut,K as ye,e as pt}from"./agent-icon-BS6RPQ_A.js";import{M as xt}from"./mcp-app-renderer-CRu4PbUr.js";import{g as ft,M as we}from"./types-D_vNw-3-.js";import{A as ht,a as gt,b as jt}from"./alert-hKxZXEZZ.js";import{S as Ce,b as Ie,a as Te,d as $e,c as me}from"./select-BJ7g3jt1.js";import{b as bt,c as Pe,T as De,a as ke}from"./tooltip-CfeBMv8z.js";import{i as Nt}from"./AlertCircle-kHXzu73r.js";import{s as vt}from"./UserCheck01-B1rJ65So.js";import{s as St}from"./File02-R0RW2VCN.js";import{i as yt}from"./Play-BRDYCYl7.js";import{g as wt}from"./connection-slug-DgGnB6qk.js";import{u as Ct,T as It}from"./use-mcp-auth-status-BfHI4tpd.js";import{u as ze,b as Ue}from"./use-connection-C-m8b2Fk.js";import{u as Tt}from"./use-mcp-tools-DqnFukoV.js";import{c as $t}from"./content-blocks-o63cs2vh.js";import{I as Ae}from"./integration-icon-CcV5frEs.js";import{f as Pt,y as Dt}from"./chat-context-B6UvvRRf.js";import{u as kt}from"./shell-layout-BT6RZJ9X.js";import{MonacoCodeEditor as At}from"./monaco-editor-C3D0iT4a.js";import{E as Et}from"./empty-state-C4vGG4yC.js";import{n as Rt}from"./LinkBroken01-CpDM6pG5.js";import"./auth-C3yWOKhG.js";import"./label-Dc_tSb6f.js";import"./Key01-9JQCF719.js";import"./extract-connection-data-B_eUCQ7e.js";import"./metadata-D72DunRR.js";import"./connection-B7vXPxEB.js";import"./url-slug-BOPVIawN.js";import"./Plus-BJfG2DpW.js";import"./index-BYQu9U5P.js";import"./index-D9WtqDmJ.js";import"./index--r4E_gW7.js";import"./index-BdQq_4o_.js";import"./index-B-PIhH8l.js";import"./popover-9q-VKuQx.js";import"./repository-binding-BIfwJXBl.js";import"./SearchMd-DioGBYbO.js";import"./use-mobile-5e0sSd3X.js";import"./use-navigate-to-agent-CtsEyeFb.js";import"./thread-intent-CYNXEfHP.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-CWcYbOm5.js";import"./task-board-DLNmAHmR.js";import"./schema-C2ft4i4u.js";import"./session-runtime-CRv5j4jh.js";import"./schema-CATZG76m.js";import"./Tool01-BEo5XKkS.js";import"./ArrowUp-CjAvmMLL.js";import"./ArrowLeft-DcKid1bz.js";import"./ArrowRight-ajc9j6D-.js";import"./BookOpen01-CdH9hkvz.js";import"./Globe04-DudUQgTy.js";import"./CheckCircle-DG9pUM8a.js";import"./TrendUp01-aviiZW6M.js";import"./ChevronDown-CWnE_Wmz.js";import"./ChevronSelectorVertical-ByCpNum0.js";import"./ChevronUp-C_rAiuf1.js";import"./UserSquare-D44lppb_.js";import"./CreditCard01-C6eDo3p0.js";import"./MessageCircle01-44De_8cO.js";import"./SwitchHorizontal01-sPBj-OL8.js";import"./Eye-DFeDq2Hx.js";import"./Fingerprint04-D-EFj_6a.js";import"./Image01-Dfaw0Ysf.js";import"./LayoutLeft-B-cVGLzN.js";import"./Minus-09UkIbMe.js";import"./Monitor01-BPQw3JGv.js";import"./Sun-U7FHkItb.js";import"./ShoppingBag01-CdQhBv_H.js";import"./Trash01-l4iOtEBN.js";import"./Upload01-BhvyPM8u.js";import"./Users01-CxQycal6.js";import"./XClose-BwokcWjs.js";import"./Zap-DoXbwvKP.js";import"./index-BFjuxezw.js";import"./badge-wWozseh3.js";import"./mcp-oauth-NdGb5Zj9.js";import"./use-panel-navigate-DPGDB1T1.js";import"./thread-route-muzc431X.js";import"./use-project-scope-BIucgFKc.js";import"./use-view-draft-kind-BG3Ihm6n.js";import"./use-blog-view-D_--u8j_.js";import"./use-organization-settings-BoOQOwrg.js";import"./use-entitlements-B8D7pawV.js";import"./use-ai-providers-C30oeluP.js";import"./use-current-view-CHhVzMwk.js";import"./use-in-settings-qQ2sbeu5.js";import"./use-decopilot-events-BxfGa0_j.js";import"./use-deployment-admin-COmgwPUq.js";import"./admin-fetch-BhTJlAsX.js";import"./use-org-notice-Dvph2j3S.js";import"./command-DQwD4jPt.js";import"./project-icon-C8Sq9Uyo.js";import"./use-debounced-value-By7KggQt.js";import"./new-project-dialog-BeD2i_Hm.js";import"./repository-picker-vN0XhyKR.js";import"./github-icon-C-V2EETw.js";import"./useInfiniteQuery-BJoJv4VQ.js";import"./infiniteQueryObserver-f5kG4cIT.js";import"./collection-search-CDDauqCr.js";import"./new-project-store-BfrY24D-.js";import"./legacy-admin-welcome-dialog-DtYrilLw.js";import"./drawer-BMY0wk6r.js";import"./required-auth-layout-BXbkUsYd.js";import"./use-org-sso-BKXSOEb_.js";import"./editor-C6mSxTrt.js";function Ot(s){const e=E.c(15),{onSave:n,onUndo:o,isDirty:l,isSaving:i,saveLabel:a,undoLabel:c}=s,d=a===void 0?"Save":a,r=c===void 0?"Undo":c;if(!l)return null;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(at,{size:14}),e[0]=x):x=e[0];let h;e[1]!==i||e[2]!==o||e[3]!==r?(h=t.jsxs(K,{variant:"outline",size:"sm",onClick:o,disabled:i,"aria-label":r,children:[x,r]}),e[1]=i,e[2]=o,e[3]=r,e[4]=h):h=e[4];let u;e[5]!==i?(u=i?t.jsx(Z,{className:"size-3.5"}):t.jsx(ct,{size:14}),e[5]=i,e[6]=u):u=e[6];let g;e[7]!==i||e[8]!==n||e[9]!==d||e[10]!==u?(g=t.jsxs(K,{variant:"default",size:"sm",onClick:n,disabled:i,"aria-label":d,children:[u,d]}),e[7]=i,e[8]=n,e[9]=d,e[10]=u,e[11]=g):g=e[11];let p;return e[12]!==h||e[13]!==g?(p=t.jsxs(t.Fragment,{children:[h,g]}),e[12]=h,e[13]=g,e[14]=p):p=e[14],p}Ye({title:re().min(1),description:re().nullable(),body:re()});function ue(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function Ft(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(o=>o==="mcps"),n=e>=0?s[e+1]:void 0;return n?decodeURIComponent(n):void 0}function Mt(s){const e=E.c(43),{form:n}=s,o=W();let l;e[0]!==o?(l=o("details.prompt.details"),e[0]=o,e[1]=l):l=e[1];let i;e[2]!==l?(i=t.jsx("div",{className:"text-sm font-medium text-foreground",children:l}),e[2]=l,e[3]=i):i=e[3];let a;e[4]!==o?(a=C=>{const{field:b}=C;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:o("details.prompt.title")}),t.jsx(de,{children:t.jsx(pe,{...b,placeholder:o("details.prompt.titlePlaceholder"),className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})},e[4]=o,e[5]=a):a=e[5];let c;e[6]!==n.control||e[7]!==a?(c=t.jsx(ae,{control:n.control,name:"title",render:a}),e[6]=n.control,e[7]=a,e[8]=c):c=e[8];let d;e[9]!==o?(d=C=>{const{field:b}=C;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:o("details.prompt.description")}),t.jsx(de,{children:t.jsx(pe,{...b,value:b.value??"",placeholder:o("details.prompt.descriptionPlaceholder"),className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})},e[9]=o,e[10]=d):d=e[10];let r;e[11]!==n.control||e[12]!==d?(r=t.jsx(ae,{control:n.control,name:"description",render:d}),e[11]=n.control,e[12]=d,e[13]=r):r=e[13];let x;e[14]!==c||e[15]!==r?(x=t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[c,r]}),e[14]=c,e[15]=r,e[16]=x):x=e[16];let h;e[17]!==i||e[18]!==x?(h=t.jsxs("div",{className:"flex flex-col gap-4",children:[i,x]}),e[17]=i,e[18]=x,e[19]=h):h=e[19];let u;e[20]!==o?(u=o("details.prompt.message"),e[20]=o,e[21]=u):u=e[21];let g;e[22]!==u?(g=t.jsx("div",{className:"text-sm font-medium text-foreground",children:u}),e[22]=u,e[23]=g):g=e[23];let p;e[24]!==o?(p=o("details.prompt.messageDescription"),e[24]=o,e[25]=p):p=e[25];let j;e[26]!==p?(j=t.jsx("div",{className:"text-xs text-muted-foreground",children:p}),e[26]=p,e[27]=j):j=e[27];let N;e[28]!==o?(N=C=>{const{field:b}=C;return t.jsx(ce,{children:t.jsx(de,{children:t.jsx(xe,{...b,value:b.value??"",placeholder:o("details.prompt.bodyPlaceholder"),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"})})})},e[28]=o,e[29]=N):N=e[29];let v;e[30]!==n.control||e[31]!==N?(v=t.jsx(ae,{control:n.control,name:"body",render:N}),e[30]=n.control,e[31]=N,e[32]=v):v=e[32];let y;e[33]!==g||e[34]!==j||e[35]!==v?(y=t.jsxs("div",{className:"flex flex-col gap-2",children:[g,j,v]}),e[33]=g,e[34]=j,e[35]=v,e[36]=y):y=e[36];let w;e[37]!==y||e[38]!==h?(w=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:[h,y]}),e[37]=y,e[38]=h,e[39]=w):w=e[39];let P;return e[40]!==n||e[41]!==w?(P=t.jsx(nt,{...n,children:w}),e[40]=n,e[41]=w,e[42]=P):P=e[42],P}function zt(s){const e=E.c(42),{providerId:n,promptId:o}=s,l=W(),{org:i}=fe(),a=n||null;let c;e[0]!==i.id||e[1]!==i.slug||e[2]!==a?(c={connectionId:a,orgId:i.id,orgSlug:i.slug},e[0]=i.id,e[1]=i.slug,e[2]=a,e[3]=c):c=e[3];const d=ge(c),r=Ze(n,"PROMPT",o,d),x=Re(n,"PROMPT",d),h=x.update.isPending;let u;e[4]!==r?(u=r?{title:r.title,description:r.description??null,body:ue(r)}:void 0,e[4]=r,e[5]=u):u=e[5];let g;e[6]!==u?(g={values:u},e[6]=u,e[7]=g):g=e[7];const p=et(g);let j;e[8]!==p||e[9]!==r?(j=()=>{r&&p.reset({title:r.title,description:r.description??null,body:ue(r)})},e[8]=p,e[9]=r,e[10]=j):j=e[10];const N=j;let v;e[11]!==x.update||e[12]!==p||e[13]!==o?(v=p.handleSubmit(async I=>{const T=await x.update.mutateAsync({id:o,data:{title:I.title,description:I.description,arguments:[],icons:[],messages:[{role:"user",content:{type:"text",text:I.body}}]}});p.reset({title:T.title,description:T.description??null,body:ue(T)})}),e[11]=x.update,e[12]=p,e[13]=o,e[14]=v):v=e[14];const y=v;if(!r){let I;e[15]!==l?(I=l("details.prompt.notFoundTitle"),e[15]=l,e[16]=I):I=e[16];let T;e[17]!==l?(T=l("details.prompt.notFoundDescription"),e[17]=l,e[18]=T):T=e[18];let O;return e[19]!==I||e[20]!==T?(O=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Me,{title:I,description:T})}),e[19]=I,e[20]=T,e[21]=O):O=e[21],O}let w;e[22]!==y?(w=()=>{y()},e[22]=y,e[23]=w):w=e[23];let P;e[24]!==p.formState.isDirty||e[25]!==h||e[26]!==N||e[27]!==w?(P=t.jsx(Ot,{onSave:w,onUndo:N,isDirty:p.formState.isDirty,isSaving:h}),e[24]=p.formState.isDirty,e[25]=h,e[26]=N,e[27]=w,e[28]=P):P=e[28];let C;e[29]!==r.title||e[30]!==P?(C=t.jsx(Oe.Title,{actions:P,children:r.title}),e[29]=r.title,e[30]=P,e[31]=C):C=e[31];let b;e[32]!==r.description?(b=r.description&&t.jsx("p",{className:"px-4 py-3 text-sm text-muted-foreground",children:r.description}),e[32]=r.description,e[33]=b):b=e[33];let D;e[34]!==b||e[35]!==C?(D=t.jsxs(t.Fragment,{children:[C,b]}),e[34]=b,e[35]=C,e[36]=D):D=e[36];let k;e[37]!==p?(k=t.jsx("div",{className:"h-full",children:t.jsx(Mt,{form:p})}),e[37]=p,e[38]=k):k=e[38];let R;return e[39]!==D||e[40]!==k?(R=t.jsxs(je,{children:[D,k]}),e[39]=D,e[40]=k,e[41]=R):R=e[41],R}function Ut(s){const e=E.c(10),{itemId:n}=s,o=W();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=Ft(),e[0]=l):l=e[0];const i=l;if(!i){let c;e[1]!==o?(c=o("details.prompt.notFoundTitle"),e[1]=o,e[2]=c):c=e[2];let d;e[3]!==o?(d=o("details.prompt.missingConnectionDescription"),e[3]=o,e[4]=d):d=e[4];let r;return e[5]!==c||e[6]!==d?(r=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Me,{title:c,description:d})}),e[5]=c,e[6]=d,e[7]=r):r=e[7],r}let a;return e[8]!==n?(a=t.jsx(Ee,{children:t.jsx(A.Suspense,{fallback:null,children:t.jsx(zt,{providerId:i,promptId:n})})}),e[8]=n,e[9]=a):a=e[9],a}function Be(s){const e=E.c(8);let n,o;e[0]!==s?({className:n,...o}=s,e[0]=s,e[1]=n,e[2]=o):(n=e[1],o=e[2]);let l;e[3]!==n?(l=X("min-w-0 overflow-hidden",n),e[3]=n,e[4]=l):l=e[4];let i;return e[5]!==o||e[6]!==l?(i=t.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:l,...o}),e[5]=o,e[6]=l,e[7]=i):i=e[7],i}function Le(s){const e=E.c(8);let n,o;e[0]!==s?({className:n,...o}=s,e[0]=s,e[1]=n,e[2]=o):(n=e[1],o=e[2]);let l;e[3]!==n?(l=X("flex items-center gap-1.5 text-sm sm:gap-2 overflow-hidden text-muted-foreground",n),e[3]=n,e[4]=l):l=e[4];let i;return e[5]!==o||e[6]!==l?(i=t.jsx("ol",{"data-slot":"breadcrumb-list",className:l,...o}),e[5]=o,e[6]=l,e[7]=i):i=e[7],i}function G(s){const e=E.c(8);let n,o;e[0]!==s?({className:n,...o}=s,e[0]=s,e[1]=n,e[2]=o):(n=e[1],o=e[2]);let l;e[3]!==n?(l=X("inline-flex items-center gap-1.5 min-w-0",n),e[3]=n,e[4]=l):l=e[4];let i;return e[5]!==o||e[6]!==l?(i=t.jsx("li",{"data-slot":"breadcrumb-item",className:l,...o}),e[5]=o,e[6]=l,e[7]=i):i=e[7],i}function oe(s){const e=E.c(10);let n,o,l;e[0]!==s?({asChild:n,className:o,...l}=s,e[0]=s,e[1]=n,e[2]=o,e[3]=l):(n=e[1],o=e[2],l=e[3]);const i=n?tt:"a";let a;e[4]!==o?(a=X("hover:text-foreground transition-colors truncate",o),e[4]=o,e[5]=a):a=e[5];let c;return e[6]!==i||e[7]!==l||e[8]!==a?(c=t.jsx(i,{"data-slot":"breadcrumb-link",className:a,...l}),e[6]=i,e[7]=l,e[8]=a,e[9]=c):c=e[9],c}function _e(s){const e=E.c(8);let n,o;e[0]!==s?({className:n,...o}=s,e[0]=s,e[1]=n,e[2]=o):(n=e[1],o=e[2]);let l;e[3]!==n?(l=X("text-foreground font-medium truncate",n),e[3]=n,e[4]=l):l=e[4];let i;return e[5]!==o||e[6]!==l?(i=t.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:l,...o}),e[5]=o,e[6]=l,e[7]=i):i=e[7],i}function le(s){const e=E.c(12);let n,o,l;e[0]!==s?({children:n,className:o,...l}=s,e[0]=s,e[1]=n,e[2]=o,e[3]=l):(n=e[1],o=e[2],l=e[3]);let i;e[4]!==o?(i=X("[&>svg]:size-3.5 text-muted-foreground opacity-50 list-none shrink-0",o),e[4]=o,e[5]=i):i=e[5];let a;e[6]!==n?(a=n??t.jsx(st,{}),e[6]=n,e[7]=a):a=e[7];let c;return e[8]!==l||e[9]!==i||e[10]!==a?(c=t.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:i,...l,children:a}),e[8]=l,e[9]=i,e[10]=a,e[11]=c):c=e[11],c}const Bt=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function Lt(s){const e=E.c(12),{toolName:n,connectionId:o,siblings:l,onSelectInstance:i,onBack:a}=s,c=W();let d;e[0]!==o?(d={connectionId:o},e[0]=o,e[1]=d):d=e[1];const r=Ct(d);if(!r.isAuthenticated){let u;return e[2]!==r.supportsOAuth||e[3]!==a||e[4]!==c?(u=t.jsx("div",{className:"flex h-full items-center justify-center",children:r.supportsOAuth?t.jsx(it,{onAuthenticate:()=>a(),buttonText:c("details.tool.goBackToAuthenticate")}):t.jsx(rt,{hasReadme:!1})}),e[2]=r.supportsOAuth,e[3]=a,e[4]=c,e[5]=u):u=e[5],u}const x=`${o}:${n}`;let h;return e[6]!==o||e[7]!==i||e[8]!==l||e[9]!==x||e[10]!==n?(h=t.jsx(_t,{toolName:n,connectionId:o,siblings:l,onSelectInstance:i},x),e[6]=o,e[7]=i,e[8]=l,e[9]=x,e[10]=n,e[11]=h):h=e[11],h}function _t({toolName:s,connectionId:e,siblings:n,onSelectInstance:o}){const l=W(),{replayId:i}=ot({strict:!1}),a=(()=>{if(!i)return null;const m=`replay-${i}`,f=sessionStorage.getItem(m);if(!f)return null;sessionStorage.removeItem(m);try{return JSON.parse(f)}catch{return null}})(),c=(()=>{if(!a)return null;const m={};for(const[f,$]of Object.entries(a))$!==null&&typeof $=="object"?m[f]=JSON.stringify($,null,2):m[f]=$;return m})(),[d,r]=A.useState(c??{}),[x,h]=A.useState(a?JSON.stringify(a,null,2):"{}"),[u,g]=A.useState(null),[p,j]=A.useState(null),[N,v]=A.useState(null),[y,w]=A.useState(null),[P,C]=A.useState(!1),[b,D]=A.useState(null),{org:k}=fe(),R=ze(e),I=Pt(),T=Dt(),{openSidePanel:O}=kt(),L=`${e}:${s}`,M=ge({connectionId:e,orgId:k.id,orgSlug:k.slug}),_=Tt({client:M}),S=_.data?.tools?.find(m=>m.name===s),F=ft(S?._meta),V=m=>{if(!I)return;const f=$t(m.content);f.content.length>0&&(O(),I.sendMessage({tiptapDoc:f}))},[z,U]=A.useState("json"),[q,Q]=A.useState(!1);F&&!q&&(U("ui"),Q(!0));const J=S?.inputSchema?.properties,be=J?Object.keys(J):[],Y=be.length>0,ee={};if(Y&&S?.inputSchema?.properties)for(const m of be)ee[m]=S.inputSchema.required?.includes(m)?"":void 0;const ne=m=>Object.prototype.hasOwnProperty.call(d,m),Je=async()=>{C(!0),w(null),g(null),j(null),v(null),D(null);const m=performance.now();try{if(!M)throw new Error("MCP client is not available");const f=Y?{...ee,...d}:(()=>{const B=x.trim();if(!B)return{};const H=JSON.parse(B);if(H&&typeof H=="object")return H;throw new Error("Raw JSON input must be an object.")})();Y&&S?.inputSchema?.properties&&Object.entries(S.inputSchema.properties).forEach(([B,H])=>{if((H.type==="object"||H.type==="array")&&typeof f[B]=="string")try{f[B]=JSON.parse(f[B])}catch{}else if((H.type==="number"||H.type==="integer")&&typeof f[B]=="string"&&f[B]!==""){const Se=Number(f[B]);Number.isNaN(Se)||(f[B]=Se)}});const $=await M.callTool({name:s,arguments:f}),te=$.structuredContent??$,Qe=performance.now(),Ge=Math.round(Qe-m);g(te),j($),v(f);const Xe=JSON.stringify(te),ve=new TextEncoder().encode(Xe).length;D({duration:`${Ge}ms`,bytes:`${ve} bytes`,tokens:`~${Math.ceil(ve/4)} tokens`,cost:"$0.0000"})}catch(f){const $=f instanceof Error?f.message:String(f);w($||"Unknown error occurred");const te=performance.now();D({duration:`${Math.round(te-m)}ms`})}finally{C(!1)}},ie=(m,f)=>{r($=>({...$,[m]:f}))},Ve=()=>{g(null),j(null),v(null),w(null),D(null)},qe=S?.name??Bt(s),He=t.jsx(Be,{children:t.jsxs(Le,{children:[t.jsx(G,{children:t.jsx(oe,{asChild:!0,children:t.jsx(se,{to:"/$org/settings/connections",params:{org:k.slug},children:l("details.tool.connections")})})}),t.jsx(le,{}),R&&t.jsxs(t.Fragment,{children:[t.jsx(G,{children:t.jsx(oe,{asChild:!0,children:t.jsx(se,{to:"/$org/settings/connections/$appSlug",params:{org:k.slug,appSlug:wt(R)},search:{tab:"tools"},children:R.title})})}),t.jsx(le,{})]}),t.jsx(G,{children:t.jsx(_e,{children:qe})})]})}),Ne=n.length>1&&t.jsxs(Ce,{value:e,onValueChange:o,children:[t.jsx(Ie,{size:"sm",className:"w-auto min-w-[200px]",children:t.jsx(Te,{})}),t.jsx($e,{children:n.map(m=>t.jsx(me,{value:m.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Ae,{icon:m.icon,name:m.title,size:"xs",className:"shrink-0"}),m.title]})},m.id))})]}),Ke=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",children:l("details.tool.parameters")}),S?.inputSchema?.required&&S.inputSchema.required.length>0&&t.jsxs("span",{className:"text-xs text-muted-foreground",children:[t.jsx("span",{className:"text-destructive",children:"*"})," ",l("details.tool.required")]})]}),t.jsx("div",{className:"space-y-4",children:Y&&S?.inputSchema?.properties?Object.entries(S.inputSchema.properties).map(([m,f])=>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:[m,S.inputSchema?.required?.includes(m)&&t.jsx("span",{className:"text-destructive text-xs",children:"*"})]}),t.jsx("span",{className:"text-xs text-muted-foreground font-mono",children:f.type})]}),f.description&&t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:f.description}),f.type==="object"||f.type==="array"?t.jsx(xe,{className:"font-mono text-xs",value:ne(m)?d[m]??"":ee[m]??"",onChange:$=>ie(m,$.target.value),placeholder:l("details.tool.enterAsJson",{key:m}),rows:3}):f.type==="boolean"?t.jsxs(Ce,{value:ne(m)?String(d[m]??""):"",onValueChange:$=>ie(m,$==="true"),children:[t.jsx(Ie,{children:t.jsx(Te,{placeholder:l("details.tool.selectTrueOrFalse")})}),t.jsxs($e,{children:[t.jsx(me,{value:"true",children:"true"}),t.jsx(me,{value:"false",children:"false"})]})]}):t.jsx(pe,{value:ne(m)?d[m]??"":ee[m]??"",onChange:$=>ie(m,$.target.value),placeholder:l("details.tool.enter",{key:m})})]},m)):S?.inputSchema&&!Y?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:l("details.tool.rawJsonInput")}),t.jsx(xe,{className:"font-mono text-xs min-h-[120px]",value:x,onChange:m=>h(m.target.value),placeholder:l("details.tool.rawJsonExample")})]}):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:l("details.tool.noParametersRequired")})})}),t.jsx("div",{className:"flex items-center gap-2 pt-2",children:P?t.jsxs(K,{variant:"destructive",className:"gap-2",onClick:Ve,children:[t.jsx(dt,{className:"h-3.5 w-3.5"}),l("details.tool.cancel")]}):t.jsxs(K,{variant:"default",className:"gap-2",onClick:Je,children:[t.jsx(yt,{className:"h-3.5 w-3.5 fill-current"}),l("details.tool.executeTool")]})})]}),We=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",children:l("details.tool.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(vt,{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(mt,{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(St,{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})})]}),F&&t.jsx(bt,{children:t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsxs(Pe,{children:[t.jsx(De,{asChild:!0,children:t.jsx(K,{size:"icon",variant:z==="ui"?"secondary":"ghost",onClick:()=>U("ui"),children:t.jsx(ut,{size:14})})}),t.jsx(ke,{children:l("details.tool.interactiveView")})]}),t.jsxs(Pe,{children:[t.jsx(De,{asChild:!0,children:t.jsx(K,{size:"icon",variant:z==="json"?"secondary":"ghost",onClick:()=>U("json"),children:t.jsx(ye,{size:14})})}),t.jsx(ke,{children:l("details.tool.jsonView")})]})]})})]})]}),y&&t.jsx("div",{className:"px-6 py-4 bg-background",children:t.jsx(ht,{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(Nt,{className:"h-4 w-4"}),t.jsx(gt,{className:"mb-0",children:l("details.tool.executionFailed")})]}),t.jsx(jt,{className:"text-xs text-destructive",children:y})]})})}),t.jsx("div",{className:"relative flex-1 min-h-[400px] @3xl:min-h-0 @3xl:overflow-auto bg-muted/50",children:F&&z==="ui"&&M?t.jsx(A.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(Z,{className:"size-4"}),t.jsx("span",{className:"text-sm",children:l("details.tool.loadingApp")})]})}),children:t.jsx(xt,{resourceURI:F,toolInfo:S?{tool:S}:void 0,toolInput:N??void 0,toolResult:p??void 0,displayMode:"fullscreen",minHeight:we.view.minHeight,maxHeight:we.view.maxHeight,client:M,onMessage:V,onUpdateModelContext:m=>T?.setAppContext(L,m),onTeardown:()=>T?.clearAppContext(L),className:"h-full"})}):u?t.jsxs(t.Fragment,{children:[t.jsx(At,{code:JSON.stringify(u,null,2),language:"json",height:"100%",readOnly:!0}),t.jsx(K,{size:"icon",variant:"outline",className:"absolute top-4 right-4",onClick:()=>{navigator.clipboard.writeText(JSON.stringify(u,null,2)),lt.success(l("details.tool.copiedToClipboard"))},children:t.jsx(pt,{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(ye,{className:"h-12 w-12 mb-3 opacity-40"}),t.jsx("p",{className:"text-sm",children:l("details.tool.runToolToSeeResults")})]})})]});return t.jsx(je,{leading:He,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(Ae,{icon:R?.icon||null,name:R?.title||s,size:"xl",className:"shrink-0"}),t.jsx(Oe.Title,{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:[_.isSuccess?t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-success animate-pulse shrink-0"}):_.isLoading?t.jsx(Z,{className:"size-[10px] text-warning 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:_.isSuccess?"ready":_.isLoading?"connecting":"error"})]}),t.jsx(It,{annotations:S?.annotations,_meta:S?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:Ne})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:S?.description||"No description available"})]}),n.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:l("details.tool.instance")}),Ne]}),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:Ke}),We]})})]})})}function Jt(s){const e=E.c(21),{itemId:n,siblings:o,onBack:l}=s,i=W(),[a,c]=A.useState(o[0]?.id??"");let d;e[0]!==a||e[1]!==o?(d=o.find(p=>p.id===a)?.id??o[0]?.id??"",e[0]=a,e[1]=o,e[2]=d):d=e[2];const r=d;if(!ze(r||void 0)||!r){let p;e[3]!==i?(p=i("details.tool.connectionNotFound"),e[3]=i,e[4]=p):p=e[4];let j;e[5]!==p?(j=t.jsx("h3",{className:"text-lg font-semibold",children:p}),e[5]=p,e[6]=j):j=e[6];let N;e[7]!==i?(N=i("details.tool.connectionNotFoundMessage"),e[7]=i,e[8]=N):N=e[8];let v;e[9]!==N?(v=t.jsx("p",{className:"text-sm text-muted-foreground",children:N}),e[9]=N,e[10]=v):v=e[10];let y;return e[11]!==j||e[12]!==v?(y=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:[j,v]})}),e[11]=j,e[12]=v,e[13]=y):y=e[13],y}let h;e[14]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Z,{className:"size-8 text-muted-foreground"})}),e[14]=h):h=e[14];let u;e[15]===Symbol.for("react.memo_cache_sentinel")?(u=p=>A.startTransition(()=>c(p)),e[15]=u):u=e[15];let g;return e[16]!==r||e[17]!==l||e[18]!==o||e[19]!==n?(g=t.jsx(A.Suspense,{fallback:h,children:t.jsx(Lt,{toolName:n,connectionId:r,siblings:o,onSelectInstance:u,onBack:l})}),e[16]=r,e[17]=l,e[18]=o,e[19]=n,e[20]=g):g=e[20],g}const Vt={prompt:Ut};function qt(){const s=E.c(9),e=Fe();let n;s[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=n):n=s[0];const o=he(n),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 a=Ue(i);let c;s[3]!==e.history?(c=()=>{e.history.back()},s[3]=e.history,s[4]=c):c=s[4];const d=c,r=Ht;let x;return s[5]!==d||s[6]!==l||s[7]!==a?(x=t.jsx(Jt,{itemId:l,siblings:a,onBack:d,onUpdate:r}),s[5]=d,s[6]=l,s[7]=a,s[8]=x):x=s[8],x}async function Ht(s){return Promise.resolve()}function Kt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function Wt(){const s=E.c(52),e=Fe();let n;s[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=n):n=s[0];const o=he(n),l=W(),i=decodeURIComponent(o.collectionName),a=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:r}=fe();let x;s[3]!==o.appSlug?(x={slug:o.appSlug},s[3]=o.appSlug,s[4]=x):x=s[4];const u=Ue(x)[0]??null,g=u?.id??"",p=g||"no-connection",j=g??null;let N;s[5]!==r.id||s[6]!==r.slug||s[7]!==j?(N={connectionId:j,orgId:r.id,orgSlug:r.slug},s[5]=r.id,s[6]=r.slug,s[7]=j,s[8]=N):N=s[8];const v=ge(N),y=Re(p,i,v);let w;s[9]!==y||s[10]!==a?(w=async J=>{a&&await y.update.mutateAsync({id:a,data:J})},s[9]=y,s[10]=a,s[11]=w):w=s[11];const P=w;let C;s[12]!==i?(C=i?.toLowerCase(),s[12]=i,s[13]=C):C=s[13];const b=C,D=b&&Vt[b];let k;s[14]!==i?(k=Kt(i),s[14]=i,s[15]=k):k=s[15];const R=k;let I;s[16]!==r.slug?(I=t.jsx(G,{children:t.jsx(oe,{asChild:!0,children:t.jsx(se,{to:"/$org/settings/connections",params:{org:r.slug},children:"Connections"})})}),s[16]=r.slug,s[17]=I):I=s[17];let T;s[18]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx(le,{}),s[18]=T):T=s[18];let O;s[19]!==i||s[20]!==u||s[21]!==r.slug||s[22]!==o.appSlug?(O=u&&t.jsxs(t.Fragment,{children:[t.jsx(G,{children:t.jsx(oe,{asChild:!0,children:t.jsx(se,{to:"/$org/settings/connections/$appSlug",params:{org:r.slug,appSlug:o.appSlug},search:{tab:i},children:u.title})})}),t.jsx(le,{})]}),s[19]=i,s[20]=u,s[21]=r.slug,s[22]=o.appSlug,s[23]=O):O=s[23];let L;s[24]!==R?(L=t.jsx(G,{children:t.jsx(_e,{children:R})}),s[24]=R,s[25]=L):L=s[25];let M;s[26]!==O||s[27]!==L||s[28]!==I?(M=t.jsx(Be,{children:t.jsxs(Le,{children:[I,T,O,L]})}),s[26]=O,s[27]=L,s[28]=I,s[29]=M):M=s[29];const _=M;if(D){let J;return s[30]!==D||s[31]!==d||s[32]!==P||s[33]!==a?(J=t.jsx(D,{itemId:a,onBack:d,onUpdate:P}),s[30]=D,s[31]=d,s[32]=P,s[33]=a,s[34]=J):J=s[34],J}let S;s[35]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(Rt,{size:36,className:"text-muted-foreground"}),s[35]=S):S=s[35];let F;s[36]!==l?(F=l("orgs.collectionDetail.noComponentDefinedTitle"),s[36]=l,s[37]=F):F=s[37];let V;s[38]!==l?(V=l("orgs.collectionDetail.noComponentDefinedDescription"),s[38]=l,s[39]=V):V=s[39];let z;s[40]!==l?(z=l("orgs.collectionDetail.goBackButton"),s[40]=l,s[41]=z):z=s[41];let U;s[42]!==d||s[43]!==z?(U={onClick:d,children:z},s[42]=d,s[43]=z,s[44]=U):U=s[44];let q;s[45]!==F||s[46]!==V||s[47]!==U?(q=t.jsx(Et,{icon:S,title:F,description:V,buttonProps:U}),s[45]=F,s[46]=V,s[47]=U,s[48]=q):q=s[48];let Q;return s[49]!==_||s[50]!==q?(Q=t.jsx(je,{leading:_,children:q}),s[49]=_,s[50]=q,s[51]=Q):Q=s[51],Q}function Qt(){const s=E.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 n=he(e);if(decodeURIComponent(n.collectionName)==="tools"){let a;return s[1]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(qt,{}),s[1]=a):a=s[1],a}let i;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(Wt,{}),s[2]=i):i=s[2],i}function sl(){const s=E.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Ee,{children:t.jsx(A.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Z,{className:"size-8 text-muted-foreground"})}),children:t.jsx(Qt,{})})}),s[0]=e):e=s[0],e}export{sl as default};
|
|
1
|
+
import{c as E,j as t,B as K,h as Z,aH as Ye,aI as re,b as W,R as Ee,r as A,a6 as fe,dT as Ze,dU as Re,aG as et,n as Oe,I as pe,m as X,bZ as tt,au as st,u as ot,L as se,t as lt,f as he,cD as Fe}from"./index-6k36ehsW.js";import{E as Me}from"./empty-state-BQLWtNQT.js";import{u as ge}from"./use-mcp-client-Dn7GJEfR.js";import{F as ae,a as nt,b as ce,d as de}from"./form-C_3vsTjd.js";import{T as xe}from"./textarea-zXJwvg1C.js";import{D as je,O as it,M as rt}from"./index-unMd35fT.js";import{X as at,U as ct,bs as dt,aq as mt,az as ut,K as ye,e as pt}from"./agent-icon-m6DF-jGw.js";import{M as xt}from"./mcp-app-renderer-Bj6Yqj6W.js";import{g as ft,M as we}from"./types-U1xib9QI.js";import{A as ht,a as gt,b as jt}from"./alert-Dt-QBVYu.js";import{S as Ce,b as Ie,a as Te,d as $e,c as me}from"./select-BzOd4QV1.js";import{b as bt,c as Pe,T as De,a as ke}from"./tooltip-CpNT29Lg.js";import{i as Nt}from"./AlertCircle-AllCHsc-.js";import{s as vt}from"./UserCheck01-CLDfWEEJ.js";import{s as St}from"./File02-C5RfRHg9.js";import{i as yt}from"./Play-BkcMWNbk.js";import{g as wt}from"./connection-slug-pVnJQqDL.js";import{u as Ct,T as It}from"./use-mcp-auth-status-BXEHX9A9.js";import{u as ze,b as Ue}from"./use-connection-BrUoHInG.js";import{u as Tt}from"./use-mcp-tools-BNwnVHgE.js";import{c as $t}from"./content-blocks-o63cs2vh.js";import{I as Ae}from"./integration-icon-CThPNDLT.js";import{f as Pt,y as Dt}from"./chat-context-BW-slB_k.js";import{u as kt}from"./shell-layout-D8-R0sqM.js";import{MonacoCodeEditor as At}from"./monaco-editor-C4oSGu0z.js";import{E as Et}from"./empty-state-Oh19ZuqH.js";import{n as Rt}from"./LinkBroken01-CG6bLE37.js";import"./auth-DTCWUZG7.js";import"./label-B05fQV9w.js";import"./Key01-UGh5N-kc.js";import"./extract-connection-data-Dcybc2XD.js";import"./metadata-D72DunRR.js";import"./connection-e0YK2xiz.js";import"./url-slug-o-5lOvNU.js";import"./Plus-D84NDH53.js";import"./index-WlTKCESy.js";import"./index-Ccjzy_Yg.js";import"./index-DbcKAUw4.js";import"./index-BdQq_4o_.js";import"./index-BOcJIVCK.js";import"./popover-CH9oXjqN.js";import"./repository-binding--4TzKXBA.js";import"./SearchMd-lt6LFgc6.js";import"./use-mobile-Bwg13Khk.js";import"./use-navigate-to-agent-CzSAlpxn.js";import"./thread-intent-HcaWskQl.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-cOL-0uUN.js";import"./task-board-D-EY7IDb.js";import"./schema-DcMtzh-L.js";import"./session-runtime-fnzDQ8ba.js";import"./schema-DzB5MtLQ.js";import"./Tool01-C5c4fHOY.js";import"./ArrowUp-D_GhkPcm.js";import"./ArrowLeft-CRw3W_qh.js";import"./ArrowRight-DSFHA030.js";import"./BookOpen01-lNQqqERm.js";import"./Globe04-Cffx8Biv.js";import"./CheckCircle-D_eJlHYl.js";import"./TrendUp01-Me2ucQTV.js";import"./ChevronDown-C0tAiNqc.js";import"./ChevronSelectorVertical-oMR2kCqB.js";import"./ChevronUp-CLxsyktD.js";import"./UserSquare-bg0CCGVi.js";import"./CreditCard01-DfogeJXR.js";import"./MessageCircle01-MLX2eDnv.js";import"./SwitchHorizontal01-DX564T5r.js";import"./Eye-IB81hGdK.js";import"./Fingerprint04-d20CepTC.js";import"./Image01-C3Wojgfs.js";import"./LayoutLeft-DtDmaSrQ.js";import"./Minus-DUjfsLQY.js";import"./Monitor01-DKJLays1.js";import"./Sun-C0_F0NYL.js";import"./ShoppingBag01-BswoJp3c.js";import"./Trash01-CFKOdFdJ.js";import"./Upload01-A4xsFQc7.js";import"./Users01-CCleMxbO.js";import"./XClose-DNnGTtOa.js";import"./Zap-DS2xaVCg.js";import"./index-CbxeeWwk.js";import"./badge-BMdL2EZN.js";import"./mcp-oauth-CBgv_I8z.js";import"./use-panel-navigate-BAJB306G.js";import"./thread-route-DISRw9NA.js";import"./use-project-scope-DVgj2Lmp.js";import"./use-view-draft-kind-CofWB4b8.js";import"./use-blog-view-CVo7QYbd.js";import"./use-organization-settings-CYN_vYgA.js";import"./use-entitlements-CtKDjSCc.js";import"./use-ai-providers-CL55euJG.js";import"./use-current-view-CQkQuEPS.js";import"./use-in-settings-CSXNVGfX.js";import"./use-decopilot-events-CXr5p6cn.js";import"./use-deployment-admin-CrPYh0iy.js";import"./admin-fetch-BhTJlAsX.js";import"./use-org-notice-BTIpWL_p.js";import"./command-D0_H05ec.js";import"./project-icon-BwoqBozX.js";import"./use-debounced-value-D92V-nO1.js";import"./new-project-dialog-C8GsS3yA.js";import"./repository-picker-v7iVCEUT.js";import"./github-icon-mqy7WjXH.js";import"./useInfiniteQuery-AR0nCC2r.js";import"./infiniteQueryObserver-BU4GB00s.js";import"./collection-search-0Y7SoOe-.js";import"./new-project-store-DIzzNFh1.js";import"./legacy-admin-welcome-dialog-BOk_1MDr.js";import"./drawer-cDJNr0UL.js";import"./required-auth-layout-B8y_MNr7.js";import"./use-org-sso-BZklGZ0G.js";import"./editor-D_TP8Zgm.js";function Ot(s){const e=E.c(15),{onSave:n,onUndo:o,isDirty:l,isSaving:i,saveLabel:a,undoLabel:c}=s,d=a===void 0?"Save":a,r=c===void 0?"Undo":c;if(!l)return null;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(at,{size:14}),e[0]=x):x=e[0];let h;e[1]!==i||e[2]!==o||e[3]!==r?(h=t.jsxs(K,{variant:"outline",size:"sm",onClick:o,disabled:i,"aria-label":r,children:[x,r]}),e[1]=i,e[2]=o,e[3]=r,e[4]=h):h=e[4];let u;e[5]!==i?(u=i?t.jsx(Z,{className:"size-3.5"}):t.jsx(ct,{size:14}),e[5]=i,e[6]=u):u=e[6];let g;e[7]!==i||e[8]!==n||e[9]!==d||e[10]!==u?(g=t.jsxs(K,{variant:"default",size:"sm",onClick:n,disabled:i,"aria-label":d,children:[u,d]}),e[7]=i,e[8]=n,e[9]=d,e[10]=u,e[11]=g):g=e[11];let p;return e[12]!==h||e[13]!==g?(p=t.jsxs(t.Fragment,{children:[h,g]}),e[12]=h,e[13]=g,e[14]=p):p=e[14],p}Ye({title:re().min(1),description:re().nullable(),body:re()});function ue(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function Ft(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(o=>o==="mcps"),n=e>=0?s[e+1]:void 0;return n?decodeURIComponent(n):void 0}function Mt(s){const e=E.c(43),{form:n}=s,o=W();let l;e[0]!==o?(l=o("details.prompt.details"),e[0]=o,e[1]=l):l=e[1];let i;e[2]!==l?(i=t.jsx("div",{className:"text-sm font-medium text-foreground",children:l}),e[2]=l,e[3]=i):i=e[3];let a;e[4]!==o?(a=C=>{const{field:b}=C;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:o("details.prompt.title")}),t.jsx(de,{children:t.jsx(pe,{...b,placeholder:o("details.prompt.titlePlaceholder"),className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})},e[4]=o,e[5]=a):a=e[5];let c;e[6]!==n.control||e[7]!==a?(c=t.jsx(ae,{control:n.control,name:"title",render:a}),e[6]=n.control,e[7]=a,e[8]=c):c=e[8];let d;e[9]!==o?(d=C=>{const{field:b}=C;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:o("details.prompt.description")}),t.jsx(de,{children:t.jsx(pe,{...b,value:b.value??"",placeholder:o("details.prompt.descriptionPlaceholder"),className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})},e[9]=o,e[10]=d):d=e[10];let r;e[11]!==n.control||e[12]!==d?(r=t.jsx(ae,{control:n.control,name:"description",render:d}),e[11]=n.control,e[12]=d,e[13]=r):r=e[13];let x;e[14]!==c||e[15]!==r?(x=t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[c,r]}),e[14]=c,e[15]=r,e[16]=x):x=e[16];let h;e[17]!==i||e[18]!==x?(h=t.jsxs("div",{className:"flex flex-col gap-4",children:[i,x]}),e[17]=i,e[18]=x,e[19]=h):h=e[19];let u;e[20]!==o?(u=o("details.prompt.message"),e[20]=o,e[21]=u):u=e[21];let g;e[22]!==u?(g=t.jsx("div",{className:"text-sm font-medium text-foreground",children:u}),e[22]=u,e[23]=g):g=e[23];let p;e[24]!==o?(p=o("details.prompt.messageDescription"),e[24]=o,e[25]=p):p=e[25];let j;e[26]!==p?(j=t.jsx("div",{className:"text-xs text-muted-foreground",children:p}),e[26]=p,e[27]=j):j=e[27];let N;e[28]!==o?(N=C=>{const{field:b}=C;return t.jsx(ce,{children:t.jsx(de,{children:t.jsx(xe,{...b,value:b.value??"",placeholder:o("details.prompt.bodyPlaceholder"),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"})})})},e[28]=o,e[29]=N):N=e[29];let v;e[30]!==n.control||e[31]!==N?(v=t.jsx(ae,{control:n.control,name:"body",render:N}),e[30]=n.control,e[31]=N,e[32]=v):v=e[32];let y;e[33]!==g||e[34]!==j||e[35]!==v?(y=t.jsxs("div",{className:"flex flex-col gap-2",children:[g,j,v]}),e[33]=g,e[34]=j,e[35]=v,e[36]=y):y=e[36];let w;e[37]!==y||e[38]!==h?(w=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:[h,y]}),e[37]=y,e[38]=h,e[39]=w):w=e[39];let P;return e[40]!==n||e[41]!==w?(P=t.jsx(nt,{...n,children:w}),e[40]=n,e[41]=w,e[42]=P):P=e[42],P}function zt(s){const e=E.c(42),{providerId:n,promptId:o}=s,l=W(),{org:i}=fe(),a=n||null;let c;e[0]!==i.id||e[1]!==i.slug||e[2]!==a?(c={connectionId:a,orgId:i.id,orgSlug:i.slug},e[0]=i.id,e[1]=i.slug,e[2]=a,e[3]=c):c=e[3];const d=ge(c),r=Ze(n,"PROMPT",o,d),x=Re(n,"PROMPT",d),h=x.update.isPending;let u;e[4]!==r?(u=r?{title:r.title,description:r.description??null,body:ue(r)}:void 0,e[4]=r,e[5]=u):u=e[5];let g;e[6]!==u?(g={values:u},e[6]=u,e[7]=g):g=e[7];const p=et(g);let j;e[8]!==p||e[9]!==r?(j=()=>{r&&p.reset({title:r.title,description:r.description??null,body:ue(r)})},e[8]=p,e[9]=r,e[10]=j):j=e[10];const N=j;let v;e[11]!==x.update||e[12]!==p||e[13]!==o?(v=p.handleSubmit(async I=>{const T=await x.update.mutateAsync({id:o,data:{title:I.title,description:I.description,arguments:[],icons:[],messages:[{role:"user",content:{type:"text",text:I.body}}]}});p.reset({title:T.title,description:T.description??null,body:ue(T)})}),e[11]=x.update,e[12]=p,e[13]=o,e[14]=v):v=e[14];const y=v;if(!r){let I;e[15]!==l?(I=l("details.prompt.notFoundTitle"),e[15]=l,e[16]=I):I=e[16];let T;e[17]!==l?(T=l("details.prompt.notFoundDescription"),e[17]=l,e[18]=T):T=e[18];let O;return e[19]!==I||e[20]!==T?(O=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Me,{title:I,description:T})}),e[19]=I,e[20]=T,e[21]=O):O=e[21],O}let w;e[22]!==y?(w=()=>{y()},e[22]=y,e[23]=w):w=e[23];let P;e[24]!==p.formState.isDirty||e[25]!==h||e[26]!==N||e[27]!==w?(P=t.jsx(Ot,{onSave:w,onUndo:N,isDirty:p.formState.isDirty,isSaving:h}),e[24]=p.formState.isDirty,e[25]=h,e[26]=N,e[27]=w,e[28]=P):P=e[28];let C;e[29]!==r.title||e[30]!==P?(C=t.jsx(Oe.Title,{actions:P,children:r.title}),e[29]=r.title,e[30]=P,e[31]=C):C=e[31];let b;e[32]!==r.description?(b=r.description&&t.jsx("p",{className:"px-4 py-3 text-sm text-muted-foreground",children:r.description}),e[32]=r.description,e[33]=b):b=e[33];let D;e[34]!==b||e[35]!==C?(D=t.jsxs(t.Fragment,{children:[C,b]}),e[34]=b,e[35]=C,e[36]=D):D=e[36];let k;e[37]!==p?(k=t.jsx("div",{className:"h-full",children:t.jsx(Mt,{form:p})}),e[37]=p,e[38]=k):k=e[38];let R;return e[39]!==D||e[40]!==k?(R=t.jsxs(je,{children:[D,k]}),e[39]=D,e[40]=k,e[41]=R):R=e[41],R}function Ut(s){const e=E.c(10),{itemId:n}=s,o=W();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=Ft(),e[0]=l):l=e[0];const i=l;if(!i){let c;e[1]!==o?(c=o("details.prompt.notFoundTitle"),e[1]=o,e[2]=c):c=e[2];let d;e[3]!==o?(d=o("details.prompt.missingConnectionDescription"),e[3]=o,e[4]=d):d=e[4];let r;return e[5]!==c||e[6]!==d?(r=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Me,{title:c,description:d})}),e[5]=c,e[6]=d,e[7]=r):r=e[7],r}let a;return e[8]!==n?(a=t.jsx(Ee,{children:t.jsx(A.Suspense,{fallback:null,children:t.jsx(zt,{providerId:i,promptId:n})})}),e[8]=n,e[9]=a):a=e[9],a}function Be(s){const e=E.c(8);let n,o;e[0]!==s?({className:n,...o}=s,e[0]=s,e[1]=n,e[2]=o):(n=e[1],o=e[2]);let l;e[3]!==n?(l=X("min-w-0 overflow-hidden",n),e[3]=n,e[4]=l):l=e[4];let i;return e[5]!==o||e[6]!==l?(i=t.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:l,...o}),e[5]=o,e[6]=l,e[7]=i):i=e[7],i}function Le(s){const e=E.c(8);let n,o;e[0]!==s?({className:n,...o}=s,e[0]=s,e[1]=n,e[2]=o):(n=e[1],o=e[2]);let l;e[3]!==n?(l=X("flex items-center gap-1.5 text-sm sm:gap-2 overflow-hidden text-muted-foreground",n),e[3]=n,e[4]=l):l=e[4];let i;return e[5]!==o||e[6]!==l?(i=t.jsx("ol",{"data-slot":"breadcrumb-list",className:l,...o}),e[5]=o,e[6]=l,e[7]=i):i=e[7],i}function G(s){const e=E.c(8);let n,o;e[0]!==s?({className:n,...o}=s,e[0]=s,e[1]=n,e[2]=o):(n=e[1],o=e[2]);let l;e[3]!==n?(l=X("inline-flex items-center gap-1.5 min-w-0",n),e[3]=n,e[4]=l):l=e[4];let i;return e[5]!==o||e[6]!==l?(i=t.jsx("li",{"data-slot":"breadcrumb-item",className:l,...o}),e[5]=o,e[6]=l,e[7]=i):i=e[7],i}function oe(s){const e=E.c(10);let n,o,l;e[0]!==s?({asChild:n,className:o,...l}=s,e[0]=s,e[1]=n,e[2]=o,e[3]=l):(n=e[1],o=e[2],l=e[3]);const i=n?tt:"a";let a;e[4]!==o?(a=X("hover:text-foreground transition-colors truncate",o),e[4]=o,e[5]=a):a=e[5];let c;return e[6]!==i||e[7]!==l||e[8]!==a?(c=t.jsx(i,{"data-slot":"breadcrumb-link",className:a,...l}),e[6]=i,e[7]=l,e[8]=a,e[9]=c):c=e[9],c}function _e(s){const e=E.c(8);let n,o;e[0]!==s?({className:n,...o}=s,e[0]=s,e[1]=n,e[2]=o):(n=e[1],o=e[2]);let l;e[3]!==n?(l=X("text-foreground font-medium truncate",n),e[3]=n,e[4]=l):l=e[4];let i;return e[5]!==o||e[6]!==l?(i=t.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:l,...o}),e[5]=o,e[6]=l,e[7]=i):i=e[7],i}function le(s){const e=E.c(12);let n,o,l;e[0]!==s?({children:n,className:o,...l}=s,e[0]=s,e[1]=n,e[2]=o,e[3]=l):(n=e[1],o=e[2],l=e[3]);let i;e[4]!==o?(i=X("[&>svg]:size-3.5 text-muted-foreground opacity-50 list-none shrink-0",o),e[4]=o,e[5]=i):i=e[5];let a;e[6]!==n?(a=n??t.jsx(st,{}),e[6]=n,e[7]=a):a=e[7];let c;return e[8]!==l||e[9]!==i||e[10]!==a?(c=t.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:i,...l,children:a}),e[8]=l,e[9]=i,e[10]=a,e[11]=c):c=e[11],c}const Bt=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function Lt(s){const e=E.c(12),{toolName:n,connectionId:o,siblings:l,onSelectInstance:i,onBack:a}=s,c=W();let d;e[0]!==o?(d={connectionId:o},e[0]=o,e[1]=d):d=e[1];const r=Ct(d);if(!r.isAuthenticated){let u;return e[2]!==r.supportsOAuth||e[3]!==a||e[4]!==c?(u=t.jsx("div",{className:"flex h-full items-center justify-center",children:r.supportsOAuth?t.jsx(it,{onAuthenticate:()=>a(),buttonText:c("details.tool.goBackToAuthenticate")}):t.jsx(rt,{hasReadme:!1})}),e[2]=r.supportsOAuth,e[3]=a,e[4]=c,e[5]=u):u=e[5],u}const x=`${o}:${n}`;let h;return e[6]!==o||e[7]!==i||e[8]!==l||e[9]!==x||e[10]!==n?(h=t.jsx(_t,{toolName:n,connectionId:o,siblings:l,onSelectInstance:i},x),e[6]=o,e[7]=i,e[8]=l,e[9]=x,e[10]=n,e[11]=h):h=e[11],h}function _t({toolName:s,connectionId:e,siblings:n,onSelectInstance:o}){const l=W(),{replayId:i}=ot({strict:!1}),a=(()=>{if(!i)return null;const m=`replay-${i}`,f=sessionStorage.getItem(m);if(!f)return null;sessionStorage.removeItem(m);try{return JSON.parse(f)}catch{return null}})(),c=(()=>{if(!a)return null;const m={};for(const[f,$]of Object.entries(a))$!==null&&typeof $=="object"?m[f]=JSON.stringify($,null,2):m[f]=$;return m})(),[d,r]=A.useState(c??{}),[x,h]=A.useState(a?JSON.stringify(a,null,2):"{}"),[u,g]=A.useState(null),[p,j]=A.useState(null),[N,v]=A.useState(null),[y,w]=A.useState(null),[P,C]=A.useState(!1),[b,D]=A.useState(null),{org:k}=fe(),R=ze(e),I=Pt(),T=Dt(),{openSidePanel:O}=kt(),L=`${e}:${s}`,M=ge({connectionId:e,orgId:k.id,orgSlug:k.slug}),_=Tt({client:M}),S=_.data?.tools?.find(m=>m.name===s),F=ft(S?._meta),V=m=>{if(!I)return;const f=$t(m.content);f.content.length>0&&(O(),I.sendMessage({tiptapDoc:f}))},[z,U]=A.useState("json"),[q,Q]=A.useState(!1);F&&!q&&(U("ui"),Q(!0));const J=S?.inputSchema?.properties,be=J?Object.keys(J):[],Y=be.length>0,ee={};if(Y&&S?.inputSchema?.properties)for(const m of be)ee[m]=S.inputSchema.required?.includes(m)?"":void 0;const ne=m=>Object.prototype.hasOwnProperty.call(d,m),Je=async()=>{C(!0),w(null),g(null),j(null),v(null),D(null);const m=performance.now();try{if(!M)throw new Error("MCP client is not available");const f=Y?{...ee,...d}:(()=>{const B=x.trim();if(!B)return{};const H=JSON.parse(B);if(H&&typeof H=="object")return H;throw new Error("Raw JSON input must be an object.")})();Y&&S?.inputSchema?.properties&&Object.entries(S.inputSchema.properties).forEach(([B,H])=>{if((H.type==="object"||H.type==="array")&&typeof f[B]=="string")try{f[B]=JSON.parse(f[B])}catch{}else if((H.type==="number"||H.type==="integer")&&typeof f[B]=="string"&&f[B]!==""){const Se=Number(f[B]);Number.isNaN(Se)||(f[B]=Se)}});const $=await M.callTool({name:s,arguments:f}),te=$.structuredContent??$,Qe=performance.now(),Ge=Math.round(Qe-m);g(te),j($),v(f);const Xe=JSON.stringify(te),ve=new TextEncoder().encode(Xe).length;D({duration:`${Ge}ms`,bytes:`${ve} bytes`,tokens:`~${Math.ceil(ve/4)} tokens`,cost:"$0.0000"})}catch(f){const $=f instanceof Error?f.message:String(f);w($||"Unknown error occurred");const te=performance.now();D({duration:`${Math.round(te-m)}ms`})}finally{C(!1)}},ie=(m,f)=>{r($=>({...$,[m]:f}))},Ve=()=>{g(null),j(null),v(null),w(null),D(null)},qe=S?.name??Bt(s),He=t.jsx(Be,{children:t.jsxs(Le,{children:[t.jsx(G,{children:t.jsx(oe,{asChild:!0,children:t.jsx(se,{to:"/$org/settings/connections",params:{org:k.slug},children:l("details.tool.connections")})})}),t.jsx(le,{}),R&&t.jsxs(t.Fragment,{children:[t.jsx(G,{children:t.jsx(oe,{asChild:!0,children:t.jsx(se,{to:"/$org/settings/connections/$appSlug",params:{org:k.slug,appSlug:wt(R)},search:{tab:"tools"},children:R.title})})}),t.jsx(le,{})]}),t.jsx(G,{children:t.jsx(_e,{children:qe})})]})}),Ne=n.length>1&&t.jsxs(Ce,{value:e,onValueChange:o,children:[t.jsx(Ie,{size:"sm",className:"w-auto min-w-[200px]",children:t.jsx(Te,{})}),t.jsx($e,{children:n.map(m=>t.jsx(me,{value:m.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Ae,{icon:m.icon,name:m.title,size:"xs",className:"shrink-0"}),m.title]})},m.id))})]}),Ke=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",children:l("details.tool.parameters")}),S?.inputSchema?.required&&S.inputSchema.required.length>0&&t.jsxs("span",{className:"text-xs text-muted-foreground",children:[t.jsx("span",{className:"text-destructive",children:"*"})," ",l("details.tool.required")]})]}),t.jsx("div",{className:"space-y-4",children:Y&&S?.inputSchema?.properties?Object.entries(S.inputSchema.properties).map(([m,f])=>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:[m,S.inputSchema?.required?.includes(m)&&t.jsx("span",{className:"text-destructive text-xs",children:"*"})]}),t.jsx("span",{className:"text-xs text-muted-foreground font-mono",children:f.type})]}),f.description&&t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:f.description}),f.type==="object"||f.type==="array"?t.jsx(xe,{className:"font-mono text-xs",value:ne(m)?d[m]??"":ee[m]??"",onChange:$=>ie(m,$.target.value),placeholder:l("details.tool.enterAsJson",{key:m}),rows:3}):f.type==="boolean"?t.jsxs(Ce,{value:ne(m)?String(d[m]??""):"",onValueChange:$=>ie(m,$==="true"),children:[t.jsx(Ie,{children:t.jsx(Te,{placeholder:l("details.tool.selectTrueOrFalse")})}),t.jsxs($e,{children:[t.jsx(me,{value:"true",children:"true"}),t.jsx(me,{value:"false",children:"false"})]})]}):t.jsx(pe,{value:ne(m)?d[m]??"":ee[m]??"",onChange:$=>ie(m,$.target.value),placeholder:l("details.tool.enter",{key:m})})]},m)):S?.inputSchema&&!Y?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:l("details.tool.rawJsonInput")}),t.jsx(xe,{className:"font-mono text-xs min-h-[120px]",value:x,onChange:m=>h(m.target.value),placeholder:l("details.tool.rawJsonExample")})]}):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:l("details.tool.noParametersRequired")})})}),t.jsx("div",{className:"flex items-center gap-2 pt-2",children:P?t.jsxs(K,{variant:"destructive",className:"gap-2",onClick:Ve,children:[t.jsx(dt,{className:"h-3.5 w-3.5"}),l("details.tool.cancel")]}):t.jsxs(K,{variant:"default",className:"gap-2",onClick:Je,children:[t.jsx(yt,{className:"h-3.5 w-3.5 fill-current"}),l("details.tool.executeTool")]})})]}),We=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",children:l("details.tool.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(vt,{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(mt,{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(St,{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})})]}),F&&t.jsx(bt,{children:t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsxs(Pe,{children:[t.jsx(De,{asChild:!0,children:t.jsx(K,{size:"icon",variant:z==="ui"?"secondary":"ghost",onClick:()=>U("ui"),children:t.jsx(ut,{size:14})})}),t.jsx(ke,{children:l("details.tool.interactiveView")})]}),t.jsxs(Pe,{children:[t.jsx(De,{asChild:!0,children:t.jsx(K,{size:"icon",variant:z==="json"?"secondary":"ghost",onClick:()=>U("json"),children:t.jsx(ye,{size:14})})}),t.jsx(ke,{children:l("details.tool.jsonView")})]})]})})]})]}),y&&t.jsx("div",{className:"px-6 py-4 bg-background",children:t.jsx(ht,{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(Nt,{className:"h-4 w-4"}),t.jsx(gt,{className:"mb-0",children:l("details.tool.executionFailed")})]}),t.jsx(jt,{className:"text-xs text-destructive",children:y})]})})}),t.jsx("div",{className:"relative flex-1 min-h-[400px] @3xl:min-h-0 @3xl:overflow-auto bg-muted/50",children:F&&z==="ui"&&M?t.jsx(A.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(Z,{className:"size-4"}),t.jsx("span",{className:"text-sm",children:l("details.tool.loadingApp")})]})}),children:t.jsx(xt,{resourceURI:F,toolInfo:S?{tool:S}:void 0,toolInput:N??void 0,toolResult:p??void 0,displayMode:"fullscreen",minHeight:we.view.minHeight,maxHeight:we.view.maxHeight,client:M,onMessage:V,onUpdateModelContext:m=>T?.setAppContext(L,m),onTeardown:()=>T?.clearAppContext(L),className:"h-full"})}):u?t.jsxs(t.Fragment,{children:[t.jsx(At,{code:JSON.stringify(u,null,2),language:"json",height:"100%",readOnly:!0}),t.jsx(K,{size:"icon",variant:"outline",className:"absolute top-4 right-4",onClick:()=>{navigator.clipboard.writeText(JSON.stringify(u,null,2)),lt.success(l("details.tool.copiedToClipboard"))},children:t.jsx(pt,{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(ye,{className:"h-12 w-12 mb-3 opacity-40"}),t.jsx("p",{className:"text-sm",children:l("details.tool.runToolToSeeResults")})]})})]});return t.jsx(je,{leading:He,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(Ae,{icon:R?.icon||null,name:R?.title||s,size:"xl",className:"shrink-0"}),t.jsx(Oe.Title,{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:[_.isSuccess?t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-success animate-pulse shrink-0"}):_.isLoading?t.jsx(Z,{className:"size-[10px] text-warning 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:_.isSuccess?"ready":_.isLoading?"connecting":"error"})]}),t.jsx(It,{annotations:S?.annotations,_meta:S?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:Ne})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:S?.description||"No description available"})]}),n.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:l("details.tool.instance")}),Ne]}),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:Ke}),We]})})]})})}function Jt(s){const e=E.c(21),{itemId:n,siblings:o,onBack:l}=s,i=W(),[a,c]=A.useState(o[0]?.id??"");let d;e[0]!==a||e[1]!==o?(d=o.find(p=>p.id===a)?.id??o[0]?.id??"",e[0]=a,e[1]=o,e[2]=d):d=e[2];const r=d;if(!ze(r||void 0)||!r){let p;e[3]!==i?(p=i("details.tool.connectionNotFound"),e[3]=i,e[4]=p):p=e[4];let j;e[5]!==p?(j=t.jsx("h3",{className:"text-lg font-semibold",children:p}),e[5]=p,e[6]=j):j=e[6];let N;e[7]!==i?(N=i("details.tool.connectionNotFoundMessage"),e[7]=i,e[8]=N):N=e[8];let v;e[9]!==N?(v=t.jsx("p",{className:"text-sm text-muted-foreground",children:N}),e[9]=N,e[10]=v):v=e[10];let y;return e[11]!==j||e[12]!==v?(y=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:[j,v]})}),e[11]=j,e[12]=v,e[13]=y):y=e[13],y}let h;e[14]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Z,{className:"size-8 text-muted-foreground"})}),e[14]=h):h=e[14];let u;e[15]===Symbol.for("react.memo_cache_sentinel")?(u=p=>A.startTransition(()=>c(p)),e[15]=u):u=e[15];let g;return e[16]!==r||e[17]!==l||e[18]!==o||e[19]!==n?(g=t.jsx(A.Suspense,{fallback:h,children:t.jsx(Lt,{toolName:n,connectionId:r,siblings:o,onSelectInstance:u,onBack:l})}),e[16]=r,e[17]=l,e[18]=o,e[19]=n,e[20]=g):g=e[20],g}const Vt={prompt:Ut};function qt(){const s=E.c(9),e=Fe();let n;s[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=n):n=s[0];const o=he(n),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 a=Ue(i);let c;s[3]!==e.history?(c=()=>{e.history.back()},s[3]=e.history,s[4]=c):c=s[4];const d=c,r=Ht;let x;return s[5]!==d||s[6]!==l||s[7]!==a?(x=t.jsx(Jt,{itemId:l,siblings:a,onBack:d,onUpdate:r}),s[5]=d,s[6]=l,s[7]=a,s[8]=x):x=s[8],x}async function Ht(s){return Promise.resolve()}function Kt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function Wt(){const s=E.c(52),e=Fe();let n;s[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=n):n=s[0];const o=he(n),l=W(),i=decodeURIComponent(o.collectionName),a=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:r}=fe();let x;s[3]!==o.appSlug?(x={slug:o.appSlug},s[3]=o.appSlug,s[4]=x):x=s[4];const u=Ue(x)[0]??null,g=u?.id??"",p=g||"no-connection",j=g??null;let N;s[5]!==r.id||s[6]!==r.slug||s[7]!==j?(N={connectionId:j,orgId:r.id,orgSlug:r.slug},s[5]=r.id,s[6]=r.slug,s[7]=j,s[8]=N):N=s[8];const v=ge(N),y=Re(p,i,v);let w;s[9]!==y||s[10]!==a?(w=async J=>{a&&await y.update.mutateAsync({id:a,data:J})},s[9]=y,s[10]=a,s[11]=w):w=s[11];const P=w;let C;s[12]!==i?(C=i?.toLowerCase(),s[12]=i,s[13]=C):C=s[13];const b=C,D=b&&Vt[b];let k;s[14]!==i?(k=Kt(i),s[14]=i,s[15]=k):k=s[15];const R=k;let I;s[16]!==r.slug?(I=t.jsx(G,{children:t.jsx(oe,{asChild:!0,children:t.jsx(se,{to:"/$org/settings/connections",params:{org:r.slug},children:"Connections"})})}),s[16]=r.slug,s[17]=I):I=s[17];let T;s[18]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx(le,{}),s[18]=T):T=s[18];let O;s[19]!==i||s[20]!==u||s[21]!==r.slug||s[22]!==o.appSlug?(O=u&&t.jsxs(t.Fragment,{children:[t.jsx(G,{children:t.jsx(oe,{asChild:!0,children:t.jsx(se,{to:"/$org/settings/connections/$appSlug",params:{org:r.slug,appSlug:o.appSlug},search:{tab:i},children:u.title})})}),t.jsx(le,{})]}),s[19]=i,s[20]=u,s[21]=r.slug,s[22]=o.appSlug,s[23]=O):O=s[23];let L;s[24]!==R?(L=t.jsx(G,{children:t.jsx(_e,{children:R})}),s[24]=R,s[25]=L):L=s[25];let M;s[26]!==O||s[27]!==L||s[28]!==I?(M=t.jsx(Be,{children:t.jsxs(Le,{children:[I,T,O,L]})}),s[26]=O,s[27]=L,s[28]=I,s[29]=M):M=s[29];const _=M;if(D){let J;return s[30]!==D||s[31]!==d||s[32]!==P||s[33]!==a?(J=t.jsx(D,{itemId:a,onBack:d,onUpdate:P}),s[30]=D,s[31]=d,s[32]=P,s[33]=a,s[34]=J):J=s[34],J}let S;s[35]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(Rt,{size:36,className:"text-muted-foreground"}),s[35]=S):S=s[35];let F;s[36]!==l?(F=l("orgs.collectionDetail.noComponentDefinedTitle"),s[36]=l,s[37]=F):F=s[37];let V;s[38]!==l?(V=l("orgs.collectionDetail.noComponentDefinedDescription"),s[38]=l,s[39]=V):V=s[39];let z;s[40]!==l?(z=l("orgs.collectionDetail.goBackButton"),s[40]=l,s[41]=z):z=s[41];let U;s[42]!==d||s[43]!==z?(U={onClick:d,children:z},s[42]=d,s[43]=z,s[44]=U):U=s[44];let q;s[45]!==F||s[46]!==V||s[47]!==U?(q=t.jsx(Et,{icon:S,title:F,description:V,buttonProps:U}),s[45]=F,s[46]=V,s[47]=U,s[48]=q):q=s[48];let Q;return s[49]!==_||s[50]!==q?(Q=t.jsx(je,{leading:_,children:q}),s[49]=_,s[50]=q,s[51]=Q):Q=s[51],Q}function Qt(){const s=E.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 n=he(e);if(decodeURIComponent(n.collectionName)==="tools"){let a;return s[1]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(qt,{}),s[1]=a):a=s[1],a}let i;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(Wt,{}),s[2]=i):i=s[2],i}function sl(){const s=E.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Ee,{children:t.jsx(A.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Z,{className:"size-8 text-muted-foreground"})}),children:t.jsx(Qt,{})})}),s[0]=e):e=s[0],e}export{sl as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as V,b as Y,j as s,Y as A,aY as R,m as S,X as _,B as $,Z as E,_ as F}from"./index-
|
|
1
|
+
import{c as V,b as Y,j as s,Y as A,aY as R,m as S,X as _,B as $,Z as E,_ as F}from"./index-6k36ehsW.js";import{i as G,n as I}from"./ArrowUp-D_GhkPcm.js";import{i as L,c as O,b as P}from"./SwitchHorizontal01-DX564T5r.js";import{T as K,a as X,b as Z,c as q}from"./tooltip-CpNT29Lg.js";import{T as H,a as z}from"./toggle-group--KiJldtG.js";import{B as J}from"./badge-BMdL2EZN.js";const M=[];function ae(t){const e=V.c(36),{viewMode:i,onViewModeChange:j,sortKey:B,sortDirection:g,onSort:b,sortOptions:D,filters:k}=t,v=D===void 0?M:D,o=k===void 0?M:k,l=Y();let N;e[0]!==o?(N=o.filter(U),e[0]=o,e[1]=N):N=e[1];const y=N.length;let r;e[2]!==l?(r=l("collections.collectionDisplayButton.displayAndFilters"),e[2]=l,e[3]=r):r=e[3];let w;e[4]===Symbol.for("react.memo_cache_sentinel")?(w=s.jsx(P,{size:16}),e[4]=w):w=e[4];let n;e[5]!==y?(n=y>0&&s.jsx(J,{variant:"default",size:"sm",className:"absolute -top-1.5 -right-1.5 min-w-4",children:y}),e[5]=y,e[6]=n):n=e[6];let c;e[7]!==r||e[8]!==n?(c=s.jsx(K,{asChild:!0,children:s.jsx(_,{asChild:!0,children:s.jsxs($,{variant:"outline",size:"icon",className:"relative","aria-label":r,children:[w,n]})})}),e[7]=r,e[8]=n,e[9]=c):c=e[9];let d;e[10]!==l?(d=l("collections.collectionDisplayButton.displayAndFilters"),e[10]=l,e[11]=d):d=e[11];let m;e[12]!==d?(m=s.jsx(X,{children:d}),e[12]=d,e[13]=m):m=e[13];let x;e[14]!==c||e[15]!==m?(x=s.jsx(Z,{children:s.jsxs(q,{children:[c,m]})}),e[14]=c,e[15]=m,e[16]=x):x=e[16];let p;e[17]!==j||e[18]!==l||e[19]!==i?(p=j&&i&&s.jsx("div",{className:"p-2 border-b border-border",children:s.jsxs(H,{type:"single",variant:"segmented",size:"sm",className:"w-full",value:i,onValueChange:a=>{(a==="table"||a==="cards")&&j(a)},children:[s.jsx(z,{value:"table",tooltip:l("collections.collectionDisplayButton.tableView"),className:"flex-1",children:s.jsx(L,{})}),s.jsx(z,{value:"cards",tooltip:l("collections.collectionDisplayButton.cardsView"),className:"flex-1",children:s.jsx(O,{})})]})}),e[17]=j,e[18]=l,e[19]=i,e[20]=p):p=e[20];let u;e[21]!==b||e[22]!==g||e[23]!==B||e[24]!==v||e[25]!==l?(u=v.length>0&&b&&s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border",children:[s.jsx("div",{className:"px-2 py-1.5 font-normal text-meta",children:l("collections.collectionDisplayButton.sortBy")}),v.map(a=>{const T=B===a.id;return s.jsx(A,{onClick:()=>b(a.id),className:S("h-8 px-2 py-0 cursor-pointer",T&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[T&&s.jsx(R,{size:16,className:"text-foreground shrink-0"}),!T&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:a.label}),T&&g&&(g==="asc"?s.jsx(G,{size:16,className:"text-foreground shrink-0"}):s.jsx(I,{size:16,className:"text-foreground shrink-0"}))]})},a.id)})]}),e[21]=b,e[22]=g,e[23]=B,e[24]=v,e[25]=l,e[26]=u):u=e[26];let f;e[27]!==o?(f=o.map(Q),e[27]=o,e[28]=f):f=e[28];let h;e[29]!==p||e[30]!==u||e[31]!==f?(h=s.jsxs(E,{align:"end",className:"w-[200px] p-0 gap-0",children:[p,u,f]}),e[29]=p,e[30]=u,e[31]=f,e[32]=h):h=e[32];let C;return e[33]!==x||e[34]!==h?(C=s.jsxs(F,{children:[x,h]}),e[33]=x,e[34]=h,e[35]=C):C=e[35],C}function Q(t){return s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border last:border-b-0",children:[s.jsx("div",{className:"px-2 py-1.5 font-normal text-meta",children:t.label}),t.options.map(e=>{const i=t.value===e.id;return s.jsx(A,{onClick:()=>t.onChange(e.id),className:S("h-8 px-2 py-0 cursor-pointer",i&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i&&s.jsx(R,{size:16,className:"text-foreground shrink-0"}),!i&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:e.label})]})},e.id)})]},t.label)}function U(t){return t.value!=="ALL"}export{ae as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as v,m as b,j as a,h as w}from"./index-
|
|
1
|
+
import{c as v,m as b,j as a,h as w}from"./index-6k36ehsW.js";import{i as C}from"./SearchMd-lt6LFgc6.js";function y(j){const e=v.c(21),{value:d,onChange:m,placeholder:g,onKeyDown:x,className:u,isSearching:f,disabled:i}=j,h=g===void 0?"Search...":g;let t;e[0]!==u?(t=b("shrink-0 w-full border-b border-border h-12",u),e[0]=u,e[1]=t):t=e[1];const p=i?"cursor-not-allowed opacity-50":"cursor-text";let s;e[2]!==p?(s=b("flex items-center gap-2.5 h-12 px-4",p),e[2]=p,e[3]=s):s=e[3];let r;e[4]!==f?(r=f?a.jsx(w,{className:"size-4 text-muted-foreground shrink-0"}):a.jsx(C,{size:16,className:"text-muted-foreground shrink-0"}),e[4]=f,e[5]=r):r=e[5];let l;e[6]!==m?(l=N=>m(N.target.value),e[6]=m,e[7]=l):l=e[7];let o;e[8]!==i||e[9]!==x||e[10]!==h||e[11]!==l||e[12]!==d?(o=a.jsx("input",{type:"text",value:d,onChange:l,onKeyDown:x,placeholder:h,disabled:i,className:"flex-1 min-w-0 bg-transparent text-sm text-foreground placeholder:text-muted-foreground/50 outline-none"}),e[8]=i,e[9]=x,e[10]=h,e[11]=l,e[12]=d,e[13]=o):o=e[13];let n;e[14]!==s||e[15]!==r||e[16]!==o?(n=a.jsxs("label",{className:s,children:[r,o]}),e[14]=s,e[15]=r,e[16]=o,e[17]=n):n=e[17];let c;return e[18]!==t||e[19]!==n?(c=a.jsx("div",{className:t,children:n}),e[18]=t,e[19]=n,e[20]=c):c=e[20],c}export{y as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as D,j as r,m as T,b as I}from"./index-
|
|
1
|
+
import{c as D,j as r,m as T,b as I}from"./index-6k36ehsW.js";import{T as E,a as H,b as R,c as K,d as W,e as z}from"./table-BabWDHl3.js";import{i as L,n as $}from"./ArrowUp-D_GhkPcm.js";function A(S){const e=D.c(33),{columns:a,data:b,sortKey:h,sortDirection:l,onSort:i,onRowClick:m,rowClassName:u,isRowClickable:x}=S;let v;e[0]!==l?(v=function(t,j){return r.jsx("div",{className:"w-4 flex items-center justify-center",children:j&&l&&(l==="asc"?r.jsx(L,{size:16,className:"text-muted-foreground transition-colors"}):r.jsx($,{size:16,className:"text-muted-foreground transition-colors"}))})},e[0]=l,e[1]=v):v=e[1];const p=v;let y;e[2]===Symbol.for("react.memo_cache_sentinel")?(y=function(t,j){let w="px-4 py-2 text-left font-normal text-meta h-9";return t===j-1&&(w="px-4 py-2 text-left font-normal text-meta h-9 w-8"),w},e[2]=y):y=e[2];const g=y;let c;if(e[3]!==a||e[4]!==i||e[5]!==p||e[6]!==l||e[7]!==h){let d;e[9]!==a.length||e[10]!==i||e[11]!==p||e[12]!==l||e[13]!==h?(d=(t,j)=>{const w=h===t.id,N=t.sortable&&i;return r.jsx(E,{className:T(g(j,a.length),"group transition-colors select-none",t.sortable&&"hover:bg-accent cursor-pointer",t.rowClassName,t.cellClassName),"aria-sort":w&&l?l==="asc"?"ascending":"descending":t.sortable?"none":void 0,role:N?"button":void 0,tabIndex:N?0:void 0,onClick:N?()=>i(t.id):void 0,onKeyDown:N?f=>{(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),i(t.id))}:void 0,children:r.jsxs("span",{className:"flex items-center gap-1",children:[t.header,t.sortable&&p(t.id,w)]})},t.id)},e[9]=a.length,e[10]=i,e[11]=p,e[12]=l,e[13]=h,e[14]=d):d=e[14],c=a.map(d),e[3]=a,e[4]=i,e[5]=p,e[6]=l,e[7]=h,e[8]=c}else c=e[8];let s;e[15]!==c?(s=r.jsx(H,{className:"border-b-0",children:r.jsx(R,{className:"h-9 hover:bg-transparent border-b border-border",children:c})}),e[15]=c,e[16]=s):s=e[16];let n;if(e[17]!==a||e[18]!==b||e[19]!==x||e[20]!==m||e[21]!==u){let d;e[23]!==a||e[24]!==x||e[25]!==m||e[26]!==u?(d=(t,j)=>{const w=u?.(t),N=x?.(t)??!0,f=m&&N?()=>m(t):void 0;return r.jsx(R,{"data-row-index":j,className:T("group/data-row transition-colors border-b-0",N&&"hover:bg-accent",f?"cursor-pointer":"",w),role:f?"button":void 0,tabIndex:f?0:void 0,onClick:f,onKeyDown:f?o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),f())}:void 0,children:a.map(o=>r.jsx(K,{className:T("px-5 py-4 h-16 align-middle text-sm text-foreground",o.cellClassName,o.wrap?"whitespace-normal wrap-break-word":""),children:r.jsx("div",{className:T(o.wrap?"w-full":"min-w-0",!o.wrap&&"-m-0.5 truncate overflow-hidden whitespace-nowrap p-0.5"),children:o.render?o.render(t):o.accessor?o.accessor(t):null})},o.id))},j)},e[23]=a,e[24]=x,e[25]=m,e[26]=u,e[27]=d):d=e[27],n=b.map(d),e[17]=a,e[18]=b,e[19]=x,e[20]=m,e[21]=u,e[22]=n}else n=e[22];let C;e[28]!==n?(C=r.jsx(W,{children:n}),e[28]=n,e[29]=C):C=e[29];let k;return e[30]!==s||e[31]!==C?(k=r.jsxs(z,{className:"w-full border-collapse",children:[s,C]}),e[30]=s,e[31]=C,e[32]=k):k=e[32],k}function G(S){const e=D.c(18),{columns:a,data:b,isLoading:h,sortKey:l,sortDirection:i,onSort:m,onRowClick:u,rowClassName:x,isRowClickable:v,emptyState:p}=S,y=h===void 0?!1:h,g=I();if(y){let s;e[0]!==g?(s=g("collections.collectionTableWrapper.loading"),e[0]=g,e[1]=s):s=e[1];let n;return e[2]!==s?(n=r.jsx("div",{className:"flex items-center justify-center h-full",children:r.jsx("div",{className:"text-muted-foreground",children:s})}),e[2]=s,e[3]=n):n=e[3],n}if(b.length===0){let s;e[4]!==p||e[5]!==g?(s=p||r.jsx("div",{className:"text-center py-12 text-muted-foreground",children:g("collections.collectionTableWrapper.noItemsFound")}),e[4]=p,e[5]=g,e[6]=s):s=e[6];let n;return e[7]!==s?(n=r.jsx("div",{className:"flex items-center justify-center h-full",children:s}),e[7]=s,e[8]=n):n=e[8],n}let c;return e[9]!==a||e[10]!==b||e[11]!==v||e[12]!==u||e[13]!==m||e[14]!==x||e[15]!==i||e[16]!==l?(c=r.jsx("div",{className:"flex-1",children:r.jsx(A,{columns:a,data:b,sortKey:l,sortDirection:i,onSort:m,onRowClick:u,rowClassName:x,isRowClickable:v})}),e[9]=a,e[10]=b,e[11]=v,e[12]=u,e[13]=m,e[14]=x,e[15]=i,e[16]=l,e[17]=c):c=e[17],c}export{G as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as b,j as r,n as p,P as j,m as h}from"./index-
|
|
1
|
+
import{c as b,j as r,n as p,P as j,m as h}from"./index-6k36ehsW.js";import{B as v}from"./badge-BMdL2EZN.js";function P(g){const e=b.c(13),{tabs:d,activeTab:o,onTabChange:s,className:m,placement:u}=g,f=u===void 0?"inline":u;let t;if(e[0]!==o||e[1]!==s||e[2]!==d){let c;e[4]!==o||e[5]!==s?(c=n=>{const x=o===n.id;return r.jsxs(p.Tab,{active:x,onClick:()=>s(n.id),children:[n.label,n.count!==void 0&&r.jsx(v,{variant:"secondary",className:h("h-5 min-w-5 px-1 rounded-full text-2xs font-mono inline-flex items-center justify-center",x?"bg-background text-foreground":"bg-muted-foreground/10 text-muted-foreground"),children:n.count})]},n.id)},e[4]=o,e[5]=s,e[6]=c):c=e[6],t=d.map(c),e[0]=o,e[1]=s,e[2]=d,e[3]=t}else t=e[3];let l;e[7]!==m||e[8]!==t?(l=r.jsx(p.Tabs,{className:m,children:t}),e[7]=m,e[8]=t,e[9]=l):l=e[9];const i=l;let a;return e[10]!==i||e[11]!==f?(a=f==="page"?r.jsx(j.Toolbar.Left.Portal,{fallback:i,children:i}):i,e[10]=i,e[11]=f,e[12]=a):a=e[12],a}export{P as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as Q,r as U,j as s,m as S,B as W,aY as X}from"./index-
|
|
1
|
+
import{c as Q,r as U,j as s,m as S,B as W,aY as X}from"./index-6k36ehsW.js";import{i as Z}from"./ChevronSelectorVertical-oMR2kCqB.js";import{a as _,C as ee,b as se,e as te,c as ae,f as le}from"./command-D0_H05ec.js";import{a as re,P as oe,b as ne}from"./popover-CH9oXjqN.js";function he(q){const e=Q.c(48),{options:C,value:a,onChange:j,placeholder:$,triggerClassName:A,contentClassName:w,width:F,renderTrigger:G,renderItem:o,emptyMessage:V,searchPlaceholder:Y,filter:P,renderSearchAction:E,onSearchChange:n,ariaLabel:z}=q,D=$===void 0?"Select...":$,H=F===void 0?"w-[200px]":F,O=V===void 0?"No results found.":V,T=Y===void 0?"Search...":Y;let g;e[0]!==a?(g=l=>l.value===a,e[0]=a,e[1]=g):g=e[1];const I=C.find(g),[B,J]=U.useState(!1);let b;e[2]!==n?(b=l=>{J(l),l||n?.("")},e[2]=n,e[3]=b):b=e[3];const t=b,L=oe,M=re,K=!0,R=G?s.jsx("div",{className:S("cursor-pointer",A),children:G(I)}):s.jsxs(W,{variant:"outline",role:"combobox","aria-label":z,className:S("justify-between rounded-[var(--studio-control-radius,var(--radius-lg))]",H,A),children:[I?I.label:D,s.jsx(Z,{className:"opacity-50"})]});let i;e[4]!==M||e[5]!==R?(i=s.jsx(M,{asChild:K,children:R}),e[4]=M,e[5]=R,e[6]=i):i=e[6];let c;e[7]!==w?(c=S("p-0",w),e[7]=w,e[8]=c):c=e[8];let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={width:"var(--radix-popover-trigger-width)"},e[9]=y):y=e[9];let d;e[10]!==E||e[11]!==t?(d=E?.(()=>t(!1)),e[10]=E,e[11]=t,e[12]=d):d=e[12];let m;e[13]!==n||e[14]!==T||e[15]!==d?(m=s.jsx(_,{placeholder:T,className:"h-9",onValueChange:n,action:d}),e[13]=n,e[14]=T,e[15]=d,e[16]=m):m=e[16];let h;e[17]!==O?(h=s.jsx(ee,{children:O}),e[17]=O,e[18]=h):h=e[18];let f;if(e[19]!==j||e[20]!==C||e[21]!==o||e[22]!==t||e[23]!==a){let l;e[25]!==j||e[26]!==o||e[27]!==t||e[28]!==a?(l=r=>{const k=a===r.value;return s.jsx(se,{value:r.label,onSelect:()=>{j(r.value===a?"":r.value),t(!1)},children:o?o(r,k):s.jsxs(s.Fragment,{children:[r.label,s.jsx(X,{className:S("ml-auto",k?"opacity-100":"opacity-0")})]})},r.value)},e[25]=j,e[26]=o,e[27]=t,e[28]=a,e[29]=l):l=e[29],f=C.map(l),e[19]=j,e[20]=C,e[21]=o,e[22]=t,e[23]=a,e[24]=f}else f=e[24];let p;e[30]!==f?(p=s.jsx(te,{children:f}),e[30]=f,e[31]=p):p=e[31];let u;e[32]!==h||e[33]!==p?(u=s.jsxs(ae,{children:[h,p]}),e[32]=h,e[33]=p,e[34]=u):u=e[34];let x;e[35]!==P||e[36]!==m||e[37]!==u?(x=s.jsxs(le,{filter:P,children:[m,u]}),e[35]=P,e[36]=m,e[37]=u,e[38]=x):x=e[38];let v;e[39]!==c||e[40]!==x?(v=s.jsx(ne,{className:c,style:y,children:x}),e[39]=c,e[40]=x,e[41]=v):v=e[41];let N;return e[42]!==L||e[43]!==B||e[44]!==t||e[45]!==v||e[46]!==i?(N=s.jsxs(L,{open:B,onOpenChange:t,children:[i,v]}),e[42]=L,e[43]=B,e[44]=t,e[45]=v,e[46]=i,e[47]=N):N=e[47],N}export{he as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as v,j as r,m as h,b_ as b,D as j,x as w,aU as y,w as C,v as z}from"./index-
|
|
1
|
+
import{c as v,j as r,m as h,b_ as b,D as j,x as w,aU as y,w as C,v as z}from"./index-6k36ehsW.js";import{_ as k}from"./index-BOcJIVCK.js";import{i as D}from"./SearchMd-lt6LFgc6.js";function $(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=h("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=r.jsx(k,{"data-slot":"command",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function L(a){const e=v.c(28);let t,s,o,l,n,_,u;e[0]!==a?({title:_,description:u,children:t,className:s,filter:o,shouldFilter:n,...l}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=o,e[4]=l,e[5]=n,e[6]=_,e[7]=u):(t=e[1],s=e[2],o=e[3],l=e[4],n=e[5],_=e[6],u=e[7]);const f=_===void 0?"Command Palette":_,x=u===void 0?"Search for a command to run...":u;let g;e[8]!==f?(g=r.jsx(w,{children:f}),e[8]=f,e[9]=g):g=e[9];let i;e[10]!==x?(i=r.jsx(y,{children:x}),e[10]=x,e[11]=i):i=e[11];let d;e[12]!==g||e[13]!==i?(d=r.jsxs(C,{className:"sr-only",children:[g,i]}),e[12]=g,e[13]=i,e[14]=d):d=e[14];let c;e[15]!==s?(c=h("overflow-hidden p-0",s),e[15]=s,e[16]=c):c=e[16];let m;e[17]!==t||e[18]!==o||e[19]!==n?(m=r.jsx($,{filter:o,shouldFilter:n,className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg:not([class*='size-'])]:h-5 [&_[cmdk-item]_svg:not([class*='size-'])]:w-5",children:t}),e[17]=t,e[18]=o,e[19]=n,e[20]=m):m=e[20];let p;e[21]!==c||e[22]!==m?(p=r.jsx(z,{className:c,closeButtonClassName:"hidden",children:m}),e[21]=c,e[22]=m,e[23]=p):p=e[23];let N;return e[24]!==l||e[25]!==d||e[26]!==p?(N=r.jsxs(j,{...l,children:[d,p]}),e[24]=l,e[25]=d,e[26]=p,e[27]=N):N=e[27],N}function R(a){const e=v.c(23);let t,s,o,l,n;e[0]!==a?({className:s,size:l,variant:n,action:t,...o}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=o,e[4]=l,e[5]=n):(t=e[1],s=e[2],o=e[3],l=e[4],n=e[5]);const _=l===void 0?"default":l,u=n===void 0?"underline":n,f=_==="sm"?"h-9":"h-10",x=u==="boxed",g=x?"rounded-xl border border-input bg-transparent focus-within-ring":"border-b";let i;e[6]!==f||e[7]!==g?(i=h("flex items-center gap-2 px-3",f,g),e[6]=f,e[7]=g,e[8]=i):i=e[8];let d;e[9]!==x?(d=!x&&r.jsx(D,{className:"size-4 shrink-0 text-muted-foreground"}),e[9]=x,e[10]=d):d=e[10];let c;e[11]!==s||e[12]!==f?(c=h("placeholder:text-muted-foreground flex w-full rounded-md bg-transparent text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",f,s),e[11]=s,e[12]=f,e[13]=c):c=e[13];let m;e[14]!==o||e[15]!==c?(m=r.jsx(k.Input,{"data-slot":"command-input",className:c,...o}),e[14]=o,e[15]=c,e[16]=m):m=e[16];let p;return e[17]!==t||e[18]!==i||e[19]!==d||e[20]!==m||e[21]!==u?(p=r.jsxs("div",{"data-slot":"command-input-wrapper","data-variant":u,className:i,children:[d,m,t]}),e[17]=t,e[18]=i,e[19]=d,e[20]=m,e[21]=u,e[22]=p):p=e[22],p}function V(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=h("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=r.jsx(k.List,{"data-slot":"command-list",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function B(a){const e=v.c(4);let t;e[0]!==a?({...t}=a,e[0]=a,e[1]=t):t=e[1];let s;return e[2]!==t?(s=r.jsx(k.Empty,{"data-slot":"command-empty",className:"text-muted-foreground px-4 py-4 text-center text-sm",...t}),e[2]=t,e[3]=s):s=e[3],s}function F(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=h("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=r.jsx(k.Group,{"data-slot":"command-group",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function H(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=h("bg-border -mx-1 h-px",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=r.jsx(k.Separator,{"data-slot":"command-separator",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}const I=b("[&_svg:not([class*='text-'])]:text-muted-foreground relative flex min-h-8 cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{highlight:{selected:"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground",hover:"w-full hover:bg-accent hover:text-accent-foreground"},size:{default:"",lg:"min-h-11 gap-3 rounded-lg px-2.5 py-2"}},defaultVariants:{highlight:"selected",size:"default"}});function P(a){const e=v.c(10);let t,s,o;e[0]!==a?({className:t,size:o,...s}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=o):(t=e[1],s=e[2],o=e[3]);let l;e[4]!==t||e[5]!==o?(l=h(I({size:o}),t),e[4]=t,e[5]=o,e[6]=l):l=e[6];let n;return e[7]!==s||e[8]!==l?(n=r.jsx(k.Item,{"data-slot":"command-item",className:l,...s}),e[7]=s,e[8]=l,e[9]=n):n=e[9],n}export{B as C,R as a,P as b,V as c,L as d,F as e,$ as f,I as g,H as h};
|
package/dist/client/assets/{companion-mcps-section-aZ0yAV9m.js → companion-mcps-section-BzJEcjRJ.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as _,r as U,m as Q,j as s,Q as Y,R as Z,b as z,a as ee,T as te,B as ne}from"./index-
|
|
1
|
+
import{c as _,r as U,m as Q,j as s,Q as Y,R as Z,b as z,a as ee,T as te,B as ne}from"./index-6k36ehsW.js";import{n as se}from"./site-url-en5df9c-.js";import{u as oe}from"./use-mcp-client-Dn7GJEfR.js";import{u as re,a as le,C as ie,b as ae}from"./use-connect-companion-BaxDHT_c.js";function ce(t){const e=_.c(14),{children:n,className:o,wrapperClassName:r}=t,[d,c]=U.useState(!0);let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=u=>{if(!u)return;const y=()=>{const j=u.scrollHeight-u.scrollTop-u.clientHeight<8;c(j)};y(),u.addEventListener("scroll",y,{passive:!0});const b=new ResizeObserver(y);b.observe(u);for(const j of Array.from(u.children))b.observe(j);return()=>{u.removeEventListener("scroll",y),b.disconnect()}},e[0]=f):f=e[0];const p=f;let l;e[1]!==r?(l=Q("relative",r),e[1]=r,e[2]=l):l=e[2];let i;e[3]!==n||e[4]!==o?(i=s.jsx("div",{ref:p,className:o,children:n}),e[3]=n,e[4]=o,e[5]=i):i=e[5];const a=d?"opacity-0":"opacity-100";let x;e[6]!==a?(x=Q("pointer-events-none absolute inset-x-0 -bottom-px h-[72px]","bg-gradient-to-t from-sidebar from-[6px] to-transparent","backdrop-blur-[1px] [mask-image:linear-gradient(to_top,black_6px,transparent)]","transition-opacity duration-200",a),e[6]=a,e[7]=x):x=e[7];let m;e[8]!==x?(m=s.jsx("div",{"aria-hidden":!0,className:x}),e[8]=x,e[9]=m):m=e[9];let g;return e[10]!==l||e[11]!==i||e[12]!==m?(g=s.jsxs("div",{className:l,children:[i,m]}),e[10]=l,e[11]=i,e[12]=m,e[13]=g):g=e[13],g}const H="flex min-h-0 flex-1 flex-col gap-6 md:grid md:flex-none md:gap-6";function q(){const t=_.c(4),e=z();let n;t[0]!==e?(n=e("routes.reportsOnboarding.companionSection.title"),t[0]=e,t[1]=n):n=t[1];let o;return t[2]!==n?(o=s.jsx("h1",{className:"text-lg font-medium leading-6 text-foreground lg:text-xl lg:leading-7",children:n}),t[2]=n,t[3]=o):o=t[3],o}function de(){const t=_.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"flex flex-col gap-4",children:[0,1,2,3].map(me)}),t[0]=e):e=t[0],e}function me(t){return s.jsx(ae,{},t)}function fe(){const t=_.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsxs("div",{className:H,children:[s.jsx(q,{}),s.jsx(de,{})]}),t[0]=e):e=t[0],e}function ue(t){const e=_.c(18),{onRetry:n}=t,o=z();let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(q,{}),e[0]=r):r=e[0];let d;e[1]!==o?(d=o("routes.reportsOnboarding.companionSection.loadError"),e[1]=o,e[2]=d):d=e[2];let c;e[3]!==d?(c=s.jsx("p",{className:"text-sm text-foreground",children:d}),e[3]=d,e[4]=c):c=e[4];let f;e[5]!==o?(f=o("routes.reportsOnboarding.companionSection.loadErrorDescription"),e[5]=o,e[6]=f):f=e[6];let p;e[7]!==f?(p=s.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:f}),e[7]=f,e[8]=p):p=e[8];let l;e[9]!==o?(l=o("routes.reportsOnboarding.companionSection.retry"),e[9]=o,e[10]=l):l=e[10];let i;e[11]!==n||e[12]!==l?(i=s.jsx(ne,{type:"button",variant:"outline",size:"sm",className:"mt-3",onClick:n,children:l}),e[11]=n,e[12]=l,e[13]=i):i=e[13];let a;return e[14]!==c||e[15]!==p||e[16]!==i?(a=s.jsxs("div",{className:H,children:[r,s.jsxs("div",{role:"alert",className:"surface p-4",children:[c,p,i]})]}),e[14]=c,e[15]=p,e[16]=i,e[17]=a):a=e[17],a}function ve(t){const e=_.c(2);let n;return e[0]!==t?(n=s.jsx(Y,{children:o=>{const{reset:r}=o;return s.jsx(Z,{fallback:d=>{const{resetError:c}=d;return s.jsx(ue,{onRetry:()=>{r(),c()}})},children:s.jsx(U.Suspense,{fallback:s.jsx(fe,{}),children:s.jsx(pe,{...t})})})}}),e[0]=t,e[1]=n):n=e[1],n}function pe(t){const e=_.c(60),{org:n,cdConnectionId:o,siteUrl:r,onReadinessChange:d}=t,c=z(),{data:f}=ee.useSession(),p=f?.user?.id??"";let l;if(e[0]!==r){const $=r?se(r):null;if($?.ok)try{l=new URL($.value).hostname}catch{l=void 0}e[0]=r,e[1]=l}else l=e[1];let i;e[2]!==n.id||e[3]!==n.slug?(i={connectionId:te,orgId:n.id,orgSlug:n.slug},e[2]=n.id,e[3]=n.slug,e[4]=i):i=e[4];const a=oe(i);let x;e[5]!==o||e[6]!==n||e[7]!==a||e[8]!==r?(x={selfClient:a,org:n,cdConnectionId:o,siteUrl:r},e[5]=o,e[6]=n,e[7]=a,e[8]=r,e[9]=x):x=e[9];const{cards:m,saStatusUnavailable:g}=re(x);let u;e[10]!==o||e[11]!==n||e[12]!==a||e[13]!==l||e[14]!==r||e[15]!==p?(u={selfClient:a,org:n,userId:p,cdConnectionId:o,domain:l,siteUrl:r},e[10]=o,e[11]=n,e[12]=a,e[13]=l,e[14]=r,e[15]=p,e[16]=u):u=e[16];const{connect:y,connectingFieldKey:b,disconnect:j,disconnectingFieldKey:L,error:N}=le(u),[T,D]=U.useState(null),P=he;let E,R,C,k,K,O,I,w,S,v;if(e[17]!==T||e[18]!==m||e[19]!==y||e[20]!==N||e[21]!==b||e[22]!==j||e[23]!==L||e[24]!==d||e[25]!==n||e[26]!==g||e[27]!==a||e[28]!==r||e[29]!==c){k=Symbol.for("react.early_return_sentinel");e:{const $=m.filter(ge),G=m.filter(xe),J=g||($.length>0?$.every(P):m.length===0||m.some(P));if(d?.(J),m.length===0){k=null;break e}const V=b!==null||L!==null,W=h=>{const X=async()=>{await y(h)&&D(h.fieldKey)};return s.jsx(ie,{card:h,connecting:b===h.fieldKey,disconnecting:L===h.fieldKey,disabled:V&&b!==h.fieldKey&&L!==h.fieldKey,org:n,selfClient:a,siteUrl:r,autoOpenConfigFieldKey:T,onAutoOpenConfigHandled:()=>D(F=>F===h.fieldKey?null:F),onConnect:()=>{X()},onDisconnect:()=>{j(h)}},h.fieldKey)};R=H,e[40]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx(q,{}),e[40]=C):C=e[40],E=ce,I="flex min-h-0 flex-1 flex-col md:block",w="-mx-1 min-h-0 flex-1 overflow-y-auto px-1 md:max-h-[min(60vh,calc(100dvh-330px))] md:flex-none",e[41]!==N?(S=N&&s.jsx("p",{role:"alert",className:"mb-3 text-sm text-destructive",children:N}),e[41]=N,e[42]=S):S=e[42],e[43]!==g||e[44]!==c?(v=g&&s.jsx("p",{role:"status",className:"mb-3 rounded-lg border border-warning/40 bg-warning/10 p-3 text-sm text-foreground",children:c("routes.reportsOnboarding.companionSection.statusUnavailable")}),e[43]=g,e[44]=c,e[45]=v):v=e[45],K="flex flex-col gap-4 pt-3",O=[...$,...G].map(W)}e[17]=T,e[18]=m,e[19]=y,e[20]=N,e[21]=b,e[22]=j,e[23]=L,e[24]=d,e[25]=n,e[26]=g,e[27]=a,e[28]=r,e[29]=c,e[30]=E,e[31]=R,e[32]=C,e[33]=k,e[34]=K,e[35]=O,e[36]=I,e[37]=w,e[38]=S,e[39]=v}else E=e[30],R=e[31],C=e[32],k=e[33],K=e[34],O=e[35],I=e[36],w=e[37],S=e[38],v=e[39];if(k!==Symbol.for("react.early_return_sentinel"))return k;let A;e[46]!==K||e[47]!==O?(A=s.jsx("div",{className:K,children:O}),e[46]=K,e[47]=O,e[48]=A):A=e[48];let B;e[49]!==E||e[50]!==A||e[51]!==I||e[52]!==w||e[53]!==S||e[54]!==v?(B=s.jsxs(E,{wrapperClassName:I,className:w,children:[S,v,A]}),e[49]=E,e[50]=A,e[51]=I,e[52]=w,e[53]=S,e[54]=v,e[55]=B):B=e[55];let M;return e[56]!==R||e[57]!==C||e[58]!==B?(M=s.jsxs("div",{className:R,children:[C,B]}),e[56]=R,e[57]=C,e[58]=B,e[59]=M):M=e[59],M}function xe(t){return!t.required}function ge(t){return t.required}function he(t){return t.satisfied&&t.configured}export{fe as C,ce as S,ve as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as b,k}from"./task-key-
|
|
1
|
+
import{p as b,k}from"./task-key-Bf-5jxEO.js";import{i as _}from"./AlertCircle-AllCHsc-.js";import{t as v,m as K,p as B,h as w,i as A,l as S,a as I,o as L,e as O,g as T,j as m,f as D}from"./UserCheck01-CLDfWEEJ.js";import{fl as E,aV as R,dM as y,aa as M}from"./index-6k36ehsW.js";import{i as P}from"./CheckCircle-D_eJlHYl.js";import{s as $}from"./Eye-IB81hGdK.js";import{D as F,C as f}from"./task-board-D-EY7IDb.js";const U=E("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),j=["ended_after_delivery","superseded"];function H(e){return!!e&&j.includes(e)}function se(e){return!(e.action==="status_changed"&&typeof e.data?.retry=="number")}function oe(e){return e.failureKind!=="superseded"}function p(e){return e.threads.some(t=>t.status==="requires_action")}function ie(e){return e.status==="in_review"&&!e.assigneeId}function ce(e){return p(e)}function d(e){return e.status==="done"||e.status==="archived"?!1:e.priority==="urgent"||e.type==="security"||p(e)||V(e)==="failed"}const C="critical:";function W(e){return e!=="done"&&e!=="archived"}function le({overId:e,itemOf:t,fromStatus:n,toStatus:a,dragged:s=[]}){if(e===void 0||!W(a))return null;const r=String(e);if(r.startsWith(C))return"critical";if(s.includes(r)){const i=t(s[0]);return i&&d(i)?"critical":n===a?"improvements":null}if(n!==a)return null;if(r.startsWith(x))return"improvements";const o=t(r);return o?d(o)?"critical":"improvements":null}function ue(e,t){const n=d(e);return t==="critical"?n?null:"urgent":n?d({...e,priority:"high"})?null:"high":null}function de(e){return e.status==="in_progress"&&p(e)?"text-warning animate-pulse":N(e.status).iconClassName}function V(e){return e.threads.some(n=>n.status==="in_progress")?"running":e.threads.some(n=>n.status==="failed"&&!H(n.failureKind))?"failed":null}function fe(e,t,n){const a=e.findIndex(c=>c.id===n),s=t===n?e[a+1]?.id??null:t,r=e.filter(c=>c.id!==n),o=s?r.findIndex(c=>c.id===s):-1,i=o===-1?r.length:o,l=r[i-1],u=r[i];return l&&u?(l.sortOrder+u.sortOrder)/2:l?l.sortOrder+1:u?u.sortOrder-1:0}function pe(e,t){return Array.from({length:t},(n,a)=>e-(t-1-a)*1e-4)}const q=["archived"],h={triage:{labelKey:"taskBoard.config.statusBacklog",icon:_,iconClassName:"text-muted-foreground"},todo:{labelKey:"taskBoard.config.statusTodo",icon:y,iconClassName:"text-muted-foreground"},in_progress:{labelKey:"taskBoard.config.statusInProgress",icon:A,iconClassName:"text-primary"},in_review:{labelKey:"taskBoard.config.statusInReview",icon:$,iconClassName:"text-warning"},qa:{labelKey:"taskBoard.config.statusQa",icon:w,iconClassName:"text-warning"},customer_approval:{labelKey:"taskBoard.config.statusCustomerApproval",icon:B,iconClassName:"text-warning"},ready_for_deployment:{labelKey:"taskBoard.config.statusReadyForDeployment",icon:K,iconClassName:"text-success"},post_deploy_validation:{labelKey:"taskBoard.config.statusPostDeployValidation",icon:v,iconClassName:"text-warning"},done:{labelKey:"taskBoard.config.statusDone",icon:P,iconClassName:"text-success"},archived:{labelKey:"taskBoard.config.statusArchived",icon:R,iconClassName:"text-muted-foreground"}},G={icon:y,iconClassName:"text-muted-foreground"},Y=h;function N(e){return Y[e]??G}function me(e,t){const n=h[e];return{label:n?t(n.labelKey):e,visual:N(e)}}const ge=["bug","feature","chore","spike","security"],ye={bug:{labelKey:"taskBoard.config.typeBug",icon:U,iconClassName:"text-destructive"},feature:{labelKey:"taskBoard.config.typeFeature",icon:L,iconClassName:"text-success"},chore:{labelKey:"taskBoard.config.typeChore",icon:I,iconClassName:"text-muted-foreground"},spike:{labelKey:"taskBoard.config.typeSpike",icon:S,iconClassName:"text-brand-yellow"},security:{labelKey:"taskBoard.config.typeSecurity",icon:M,iconClassName:"text-project-purple"}};function g(e,t){return t[e]??!q.includes(e)}function Ce(e){return{lanes:f.filter(t=>g(t,e)),hidden:f.filter(t=>!g(t,e))}}const z=44;function he({lanes:e,collapsed:t,hasHiddenTail:n}){const a=e.map(s=>t.includes(s)?`${z}px`:"minmax(280px, 1fr)");return n&&a.push("280px"),a.join(" ")}const x="lane:",Ne=e=>{const t=b(e);if(t.length>0)return t;const n=e.pointerCoordinates,a=n?e.droppableContainers.filter(s=>{const r=e.droppableRects.get(s.id);return r!==void 0&&n.x>=r.left&&n.x<=r.right}):[];return k(a.length>0?{...e,droppableContainers:a}:e)};function X(e){return f.includes(e)}function xe({overId:e,statusOf:t}){if(e===void 0)return null;const n=String(e),a=[x,C].find(r=>n.startsWith(r)),s=a?n.slice(a.length):t(n);return s!==void 0&&X(s)?s:null}function be(e,t){return Math.max(0,Math.floor((t-Date.parse(e))/864e5))}const ke=["none","low","medium","high","urgent"],_e={none:{labelKey:"taskBoard.config.priorityNone",flagClassName:"text-muted-foreground",dotClassName:"border border-muted-foreground/50",icon:m,iconClassName:"text-muted-foreground/40"},low:{labelKey:"taskBoard.config.priorityLow",flagClassName:"text-muted-foreground",dotClassName:"bg-muted-foreground/40",icon:D,iconClassName:"text-muted-foreground"},medium:{labelKey:"taskBoard.config.priorityMedium",flagClassName:"text-project-blue",dotClassName:"bg-project-blue",icon:m,iconClassName:"text-project-blue"},high:{labelKey:"taskBoard.config.priorityHigh",flagClassName:"text-warning",dotClassName:"bg-warning",icon:T,iconClassName:"text-warning"},urgent:{labelKey:"taskBoard.config.priorityUrgent",flagClassName:"text-destructive",dotClassName:"bg-destructive",icon:O,iconClassName:"text-destructive"}};function ve(e,t=Date.now()){const n=new Date(e).getTime();return Number.isNaN(n)?null:n<t?"overdue":n-t<=Q*864e5?"soon":null}const Q=3;function Ke(e){return`color-mix(in oklab, ${e??F} var(--user-color-strength), transparent)`}export{C,q as H,x as L,_e as P,h as S,ye as T,V as a,ie as b,d as c,N as d,oe as e,ge as f,ke as g,se as h,p as i,H as j,g as k,me as l,he as m,Ne as n,ce as o,ue as p,fe as q,pe as r,de as s,Ke as t,Ce as u,W as v,xe as w,le as x,ve as y,be as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as k,j as s,b as _,r as X,m as Ce,aY as pe,i4 as be,a6 as Ne,as as ve,a7 as ke,B as le,t as ue,gG as fe,gV as we,au as Se}from"./index-
|
|
1
|
+
import{c as k,j as s,b as _,r as X,m as Ce,aY as pe,i4 as be,a6 as Ne,as as ve,a7 as ke,B as le,t as ue,gG as fe,gV as we,au as Se}from"./index-6k36ehsW.js";import{A as $e,b as _e}from"./alert-Dt-QBVYu.js";import{B as Ke}from"./badge-BMdL2EZN.js";import{a as Ie,b as Ae,c as de,d as ze,S as Te}from"./select-BzOd4QV1.js";import{c as se,T as oe,a as xe,b as re}from"./tabs-CLDwlIBj.js";import{u as ge}from"./use-copy-BosHh8hs.js";import{e as he,aE as Ee}from"./agent-icon-m6DF-jGw.js";import{i as Oe}from"./Key01-UGh5N-kc.js";import{C as Le,a as De,b as Me,c as Be}from"./connect-key-BpMVre0r.js";import{a as He,u as Pe}from"./use-api-keys-DJl2frpX.js";import{R as Ge}from"./require-capability-CAcEc9hc.js";import{A as Re}from"./api-keys-DRuBz837.js";import"./index-BdQq_4o_.js";import"./index-CbxeeWwk.js";import"./ChevronDown-C0tAiNqc.js";import"./ChevronUp-CLxsyktD.js";import"./active-indicator-CCMhAsc_.js";import"./AlertCircle-AllCHsc-.js";import"./UserCheck01-CLDfWEEJ.js";import"./Tool01-C5c4fHOY.js";import"./ArrowUp-D_GhkPcm.js";import"./ArrowLeft-CRw3W_qh.js";import"./ArrowRight-DSFHA030.js";import"./BookOpen01-lNQqqERm.js";import"./Globe04-Cffx8Biv.js";import"./CheckCircle-D_eJlHYl.js";import"./TrendUp01-Me2ucQTV.js";import"./ChevronSelectorVertical-oMR2kCqB.js";import"./UserSquare-bg0CCGVi.js";import"./LinkBroken01-CG6bLE37.js";import"./CreditCard01-DfogeJXR.js";import"./File02-C5RfRHg9.js";import"./MessageCircle01-MLX2eDnv.js";import"./SwitchHorizontal01-DX564T5r.js";import"./Eye-IB81hGdK.js";import"./Fingerprint04-d20CepTC.js";import"./Image01-C3Wojgfs.js";import"./LayoutLeft-DtDmaSrQ.js";import"./Minus-DUjfsLQY.js";import"./Monitor01-DKJLays1.js";import"./Sun-C0_F0NYL.js";import"./Play-BkcMWNbk.js";import"./Plus-D84NDH53.js";import"./SearchMd-lt6LFgc6.js";import"./ShoppingBag01-BswoJp3c.js";import"./Trash01-CFKOdFdJ.js";import"./Upload01-A4xsFQc7.js";import"./Users01-CCleMxbO.js";import"./XClose-DNnGTtOa.js";import"./Zap-DS2xaVCg.js";import"./use-mcp-client-Dn7GJEfR.js";import"./auth-DTCWUZG7.js";import"./access-gate-52qvSzpx.js";import"./capability-load-error-Cpo9EAh2.js";import"./empty-state-Oh19ZuqH.js";import"./label-B05fQV9w.js";import"./index-Ccjzy_Yg.js";import"./use-mcp-tools-BNwnVHgE.js";import"./checkbox-DyPy5TYa.js";import"./search-input-B5JIa11y.js";import"./integration-icon-CThPNDLT.js";import"./tool-set-selector-DigSDBNa.js";import"./use-infinite-scroll-Bk9vcUF2.js";import"./useSuspenseInfiniteQuery-CcdFZ__h.js";import"./infiniteQueryObserver-BU4GB00s.js";import"./collection-search-0Y7SoOe-.js";import"./connection-e0YK2xiz.js";import"./url-slug-o-5lOvNU.js";import"./use-connection-BrUoHInG.js";function Ve(){return(typeof window>"u"?"":window.location.hostname||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"studio"}function Fe(t){return`${typeof window>"u"?"http://localhost:3000":window.location.origin}/api/${t}/mcp/self`}function Ue({client:t,mode:e,url:l,apiKey:o}){const n=o??"<paste-your-api-key>",c=Ve();if(t==="claude-code")return e==="oauth"?{language:"bash",code:`claude mcp add --transport http --scope user ${c} ${l}`}:{language:"bash",code:`claude mcp add --transport http --scope user ${c} ${l} \\
|
|
2
2
|
--header "Authorization: Bearer ${n}"`};if(t==="cursor"){const i={url:l};return e==="api-key"&&(i.headers={Authorization:`Bearer ${n}`}),{language:"json",pathHint:"~/.cursor/mcp.json",code:JSON.stringify({mcpServers:{[c]:i}},null,2)}}if(t==="codex"){const i=[`[mcp_servers.${c}]`,`url = "${l}"`];return e==="api-key"&&i.push(`http_headers = { "Authorization" = "Bearer ${n}" }`),{language:"toml",pathHint:"~/.codex/config.toml",code:i.join(`
|
|
3
3
|
`)}}return e==="oauth"?{language:"text",code:`${l}
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as l,j as c}from"./index-
|
|
1
|
+
import{c as l,j as c}from"./index-6k36ehsW.js";function a(i){const e=l.c(3),{size:n}=i,t=n===void 0?16:n;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=c.jsx("path",{d:"M13 12L18.5 5M7.63965 3L12.5 12L13.6865 3M4.48381 6.71679L11.9872 12M3 12L11.9872 12.473M12.2244 13.177L7 20M4.84194 16.8682L11.2824 12.9758M11.5 21L12.665 13.177M21 14L13.1846 12.668M21 10.5788L13 12.3223M16.779 19.646L12.8876 13.3772M19.3566 18.207L13.313 12.9893"}),e[0]=o):o=e[0];let s;return e[1]!==t?(s=c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o}),e[1]=t,e[2]=s):s=e[2],s}function d(i){const e=l.c(3),{size:n}=i,t=n===void 0?16:n;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=c.jsx("path",{clipRule:"evenodd",d:"M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"}),e[0]=o):o=e[0];let s;return e[1]!==t?(s=c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,fill:"currentColor",fillRule:"evenodd","aria-hidden":"true",children:o}),e[1]=t,e[2]=s):s=e[2],s}function h(i){const e=l.c(3),{size:n}=i,t=n===void 0?16:n;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=c.jsx("path",{d:"M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"}),e[0]=o):o=e[0];let s;return e[1]!==t?(s=c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,fill:"currentColor","aria-hidden":"true",children:o}),e[1]=t,e[2]=s):s=e[2],s}const u="Connect: ";export{a as C,h as a,d as b,u as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as v,b as N,j as s,ah as w,b5 as k,au as y,B as z}from"./index-
|
|
1
|
+
import{c as v,b as N,j as s,ah as w,b5 as k,au as y,B as z}from"./index-6k36ehsW.js";import{aL as _,a4 as C}from"./agent-icon-m6DF-jGw.js";const S="https://decoims.com/image?src=decocms%2F06b54678-5335-4671-b63a-e13d9e541155%2Fagataesteves.png&quality=original&fit=cover&width=160&height=160";function $(){const t=v.c(13),e=N();let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx("img",{src:"/logos/summit/monte-carlo.svg",alt:"Monte Carlo",className:"h-14 w-[112px] shrink-0 self-start object-contain object-left brightness-0 invert"}),t[0]=l):l=t[0];let n;t[1]!==e?(n=e("routes.reportsOnboarding.connectModal.quote"),t[1]=e,t[2]=n):n=t[2];let o;t[3]!==n?(o=s.jsxs("blockquote",{className:"text-lg font-medium leading-[1.45] lg:text-xl",children:["“",n,"”"]}),t[3]=n,t[4]=o):o=t[4];let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx("img",{src:S,alt:"",className:"size-10 shrink-0 rounded-full object-cover",loading:"lazy"}),t[5]=c):c=t[5];let r;t[6]!==e?(r=e("routes.reportsOnboarding.connectModal.quoteAuthor"),t[6]=e,t[7]=r):r=t[7];let i;t[8]!==r?(i=s.jsxs("figcaption",{className:"flex items-center gap-2.5",children:[c,s.jsx("span",{className:"text-base font-medium",children:r})]}),t[8]=r,t[9]=i):i=t[9];let a;return t[10]!==o||t[11]!==i?(a=s.jsxs("div",{className:"relative flex flex-col gap-8 text-white",children:[l,o,i]}),t[10]=o,t[11]=i,t[12]=a):a=t[12],a}function M(){const t=v.c(19),e=N();let l;t[0]!==e?(l=e("routes.reportsOnboarding.connectModal.trustRevoke"),t[0]=e,t[1]=l):l=t[1];let n;t[2]!==l?(n={Icon:_,label:l},t[2]=l,t[3]=n):n=t[3];let o;t[4]!==e?(o=e("routes.reportsOnboarding.connectModal.trustEncrypted"),t[4]=e,t[5]=o):o=t[5];let c;t[6]!==o?(c={Icon:w,label:o},t[6]=o,t[7]=c):c=t[7];let r;t[8]!==e?(r=e("routes.reportsOnboarding.connectModal.trustNeverSold"),t[8]=e,t[9]=r):r=t[9];let i;t[10]!==r?(i={Icon:C,label:r},t[10]=r,t[11]=i):i=t[11];let a;t[12]!==n||t[13]!==c||t[14]!==i?(a=[n,c,i],t[12]=n,t[13]=c,t[14]=i,t[15]=a):a=t[15];const m=a;let f;t[16]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx("div",{className:"h-px w-full bg-white/15"}),t[16]=f):f=t[16];let d;return t[17]!==m?(d=s.jsxs("div",{className:"relative flex flex-col gap-2.5 text-white",children:[f,s.jsx("ul",{className:"mt-1 flex flex-col gap-2.5",children:m.map(q)})]}),t[17]=m,t[18]=d):d=t[18],d}function q(t){const{Icon:e,label:l}=t;return s.jsxs("li",{className:"flex items-center gap-2.5 text-sm leading-tight text-white/70",children:[s.jsx(e,{className:"size-4 shrink-0 opacity-85"}),l]},l)}function R(t){const e=v.c(22),{siteHost:l,footer:n,onClose:o,children:c}=t,r=N(),i=l?`https://www.google.com/s2/favicons?domain=${l}&sz=128`:null;let a;e[0]!==o||e[1]!==r?(a=o&&s.jsx("button",{type:"button",onClick:o,"aria-label":r("routes.reportsOnboarding.connectModal.close"),className:"absolute right-3 top-3 z-10 flex size-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-black/10 hover:text-foreground lg:text-white/80 lg:hover:bg-white/15 lg:hover:text-white",children:s.jsx(k,{size:18})}),e[0]=o,e[1]=r,e[2]=a):a=e[2];let m,f;e[3]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("img",{src:"/logos/deco logo.svg",alt:"Deco",className:"size-7 shrink-0 dark:hidden"}),f=s.jsx("img",{src:"/logos/deco logo negative.svg",alt:"Deco",className:"hidden size-7 shrink-0 dark:block"}),e[3]=m,e[4]=f):(m=e[3],f=e[4]);let d;e[5]!==i||e[6]!==l?(d=l&&s.jsxs(s.Fragment,{children:[s.jsx(y,{size:16,className:"shrink-0 text-foreground/25"}),i&&s.jsx("span",{className:"flex size-4 shrink-0 items-center justify-center overflow-hidden rounded bg-white",children:s.jsx("img",{src:i,alt:"",className:"size-full"})}),s.jsx("span",{className:"truncate text-base leading-tight text-muted-foreground",children:l})]}),e[5]=i,e[6]=l,e[7]=d):d=e[7];let x;e[8]!==d?(x=s.jsxs("div",{className:"flex items-center gap-2",children:[m,f,d]}),e[8]=d,e[9]=x):x=e[9];let g;e[10]!==n?(g=s.jsx("div",{className:"flex shrink-0 flex-col gap-3",children:n}),e[10]=n,e[11]=g):g=e[11];let h;e[12]!==c||e[13]!==x||e[14]!==g?(h=s.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-8 bg-background p-6 lg:p-8",children:[x,c,g]}),e[12]=c,e[13]=x,e[14]=g,e[15]=h):h=e[15];let u,b;e[16]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx("img",{src:"https://decoims.com/image?src=decocms%2F8191643a-1947-4c30-afb4-36b8073c90fb%2Fbg-quote.png&quality=original&fit=cover&width=880",alt:"",className:"absolute inset-0 size-full object-cover"}),b=s.jsx("div",{className:"absolute inset-0 bg-black/20"}),e[16]=u,e[17]=b):(u=e[16],b=e[17]);let p;e[18]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsxs("aside",{className:"relative hidden shrink-0 overflow-hidden lg:flex lg:w-[440px] lg:flex-col lg:p-14",children:[u,b,s.jsxs("div",{className:"relative z-10 flex h-full flex-col",children:[s.jsx("div",{className:"flex-1"}),s.jsx($,{}),s.jsx("div",{className:"flex-1"}),s.jsx(M,{})]})]}),e[18]=p):p=e[18];let j;return e[19]!==a||e[20]!==h?(j=s.jsxs("div",{className:"relative flex min-h-0 flex-1 flex-col lg:flex-row",children:[a,h,p]}),e[19]=a,e[20]=h,e[21]=j):j=e[21],j}function A(t){const e=v.c(5),{ready:l,pending:n,label:o,onClick:c,children:r}=t,i=n||!l,a=l&&!n?r:null;let m;return e[0]!==o||e[1]!==c||e[2]!==i||e[3]!==a?(m=s.jsxs(z,{type:"button",size:"lg",className:"h-auto min-h-12 w-full whitespace-normal py-3 text-center text-base font-medium leading-tight",onClick:c,disabled:i,children:[o,a]}),e[0]=o,e[1]=c,e[2]=i,e[3]=a,e[4]=m):m=e[4],m}export{R as C,A as a};
|
package/dist/client/assets/{connect-source-dialog-DZFw66w3.js → connect-source-dialog-BhW7w8Tz.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as y,b as w,j as n,r as M,R as L,a6 as V,W,T as Y,a as q,x as K,B as G,w as U,v as z,D as A,h as J}from"./index-
|
|
1
|
+
import{c as y,b as w,j as n,r as M,R as L,a6 as V,W,T as Y,a as q,x as K,B as G,w as U,v as z,D as A,h as J}from"./index-6k36ehsW.js";import{s as Q}from"./site-url-en5df9c-.js";import{u as X}from"./use-mcp-client-Dn7GJEfR.js";import{I as Z}from"./integration-icon-CThPNDLT.js";import{c as ee,u as te,a as se,P as ne,d as le,S as ie}from"./use-connect-companion-BaxDHT_c.js";function k(b){const e=y.c(12),{onClose:l,children:s}=b,r=w();let t;e[0]!==l?(t=g=>!g&&l(),e[0]=l,e[1]=t):t=e[1];let d;e[2]!==r?(d=r("reportsOnboarding.connectSourceDialog.title"),e[2]=r,e[3]=d):d=e[3];let o;e[4]!==d?(o=n.jsx(U,{children:n.jsx(K,{children:d})}),e[4]=d,e[5]=o):o=e[5];let x;e[6]!==s||e[7]!==o?(x=n.jsxs(z,{"aria-describedby":void 0,className:"sm:max-w-lg",children:[o,s]}),e[6]=s,e[7]=o,e[8]=x):x=e[8];let i;return e[9]!==t||e[10]!==x?(i=n.jsx(A,{open:!0,onOpenChange:t,children:x}),e[9]=t,e[10]=x,e[11]=i):i=e[11],i}function $(b){const e=y.c(3),{label:l}=b;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=n.jsx(J,{className:"size-4"}),e[0]=s):s=e[0];let r;return e[1]!==l?(r=n.jsxs("div",{className:"flex items-center gap-2 py-2 text-sm text-muted-foreground",children:[s,n.jsx("span",{children:l})]}),e[1]=l,e[2]=r):r=e[2],r}function xe(b){const e=y.c(19),{field:l,onClose:s}=b,r=w();let t;e[0]!==s||e[1]!==r?(t=()=>n.jsx(k,{onClose:s,children:n.jsx("p",{className:"text-sm text-muted-foreground",children:r("routes.reportsOnboarding.connectModal.loadError")})}),e[0]=s,e[1]=r,e[2]=t):t=e[2];let d;e[3]!==r?(d=r("reportsOnboarding.connectSourceDialog.loading"),e[3]=r,e[4]=d):d=e[4];let o;e[5]!==d?(o=n.jsx($,{label:d}),e[5]=d,e[6]=o):o=e[6];let x;e[7]!==s||e[8]!==o?(x=n.jsx(k,{onClose:s,children:o}),e[7]=s,e[8]=o,e[9]=x):x=e[9];let i;e[10]!==l||e[11]!==s?(i=n.jsx(oe,{field:l,onClose:s}),e[10]=l,e[11]=s,e[12]=i):i=e[12];let g;e[13]!==x||e[14]!==i?(g=n.jsx(M.Suspense,{fallback:x,children:i}),e[13]=x,e[14]=i,e[15]=g):g=e[15];let p;return e[16]!==t||e[17]!==g?(p=n.jsx(L,{fallback:t,children:g}),e[16]=t,e[17]=g,e[18]=p):p=e[18],p}function oe(b){const e=y.c(75),{field:l,onClose:s}=b,r=w(),{org:t}=V();let d;e[0]!==t.id?(d=W.REPORTS(t.id),e[0]=t.id,e[1]=d):d=e[1];const o=d;let x;e[2]!==t.id||e[3]!==t.slug?(x={connectionId:Y,orgId:t.id,orgSlug:t.slug},e[2]=t.id,e[3]=t.slug,e[4]=x):x=e[4];const i=X(x),{data:g}=q.useSession(),p=g?.user?.id??"";let j;e[5]!==o||e[6]!==t||e[7]!==i?(j={selfClient:i,org:t,cdConnectionId:o},e[5]=o,e[6]=t,e[7]=i,e[8]=j):j=e[8];const f=ee(j);let h;e[9]!==o||e[10]!==t||e[11]!==i||e[12]!==f?(h={selfClient:i,org:t,cdConnectionId:o,siteUrl:f},e[9]=o,e[10]=t,e[11]=i,e[12]=f,e[13]=h):h=e[13];const{cards:S}=te(h);let C;e[14]!==f?(C=Q(f)??void 0,e[14]=f,e[15]=C):C=e[15];let I;e[16]!==o||e[17]!==t||e[18]!==i||e[19]!==f||e[20]!==C||e[21]!==p?(I={selfClient:i,org:t,userId:p,cdConnectionId:o,domain:C,siteUrl:f},e[16]=o,e[17]=t,e[18]=i,e[19]=f,e[20]=C,e[21]=p,e[22]=I):I=e[22];const{connect:O,connectingFieldKey:F,error:T}=se(I);let E;if(e[23]!==S||e[24]!==l){let c;e[26]!==l?(c=u=>u.fieldKey===l,e[26]=l,e[27]=c):c=e[27],E=S.find(c),e[23]=S,e[24]=l,e[25]=E}else E=e[25];const a=E;if(!a){let c;e[28]!==r?(c=r("routes.reportsOnboarding.connectModal.loadError"),e[28]=r,e[29]=c):c=e[29];let u;e[30]!==c?(u=n.jsx("p",{className:"text-sm text-muted-foreground",children:c}),e[30]=c,e[31]=u):u=e[31];let m;return e[32]!==s||e[33]!==u?(m=n.jsx(k,{onClose:s,children:u}),e[32]=s,e[33]=u,e[34]=m):m=e[34],m}const R=ne[a.bindingType];if(R&&a.boundVia!=="oauth"){let c;e[35]!==s?(c=D=>!D&&s(),e[35]=s,e[36]=c):c=e[36];let u;e[37]!==a||e[38]!==O?(u=a.satisfied?void 0:()=>{O(a)},e[37]=a,e[38]=O,e[39]=u):u=e[39];let m;return e[40]!==a||e[41]!==t||e[42]!==R||e[43]!==i||e[44]!==f||e[45]!==c||e[46]!==u?(m=n.jsx(ie,{card:a,provider:R,org:t,selfClient:i,siteUrl:f,open:!0,onOpenChange:c,onOAuthInstead:u}),e[40]=a,e[41]=t,e[42]=R,e[43]=i,e[44]=f,e[45]=c,e[46]=u,e[47]=m):m=e[47],m}if(a.satisfied&&a.linkedConnectionId){let c;e[48]!==r?(c=r("reportsOnboarding.connectSourceDialog.loading"),e[48]=r,e[49]=c):c=e[49];let u;e[50]!==c?(u=n.jsx($,{label:c}),e[50]=c,e[51]=u):u=e[51];let m;e[52]!==s||e[53]!==u?(m=n.jsx(k,{onClose:s,children:u}),e[52]=s,e[53]=u,e[54]=m):m=e[54];let D;e[55]!==s?(D=H=>!H&&s(),e[55]=s,e[56]=D):D=e[56];let v;e[57]!==a||e[58]!==t||e[59]!==i||e[60]!==f||e[61]!==D?(v=n.jsx(le,{card:a,org:t,selfClient:i,connectionId:a.linkedConnectionId,contextSiteUrl:f,open:!0,onOpenChange:D}),e[57]=a,e[58]=t,e[59]=i,e[60]=f,e[61]=D,e[62]=v):v=e[62];let _;return e[63]!==m||e[64]!==v?(_=n.jsx(M.Suspense,{fallback:m,children:v}),e[63]=m,e[64]=v,e[65]=_):_=e[65],_}const B=F===a.fieldKey;let N;e[66]!==a||e[67]!==O?(N=()=>{O(a)},e[66]=a,e[67]=O,e[68]=N):N=e[68];let P;return e[69]!==a||e[70]!==T||e[71]!==s||e[72]!==B||e[73]!==N?(P=n.jsx(re,{card:a,connecting:B,error:T,onConnect:N,onClose:s}),e[69]=a,e[70]=T,e[71]=s,e[72]=B,e[73]=N,e[74]=P):P=e[74],P}function re(b){const e=y.c(22),{card:l,connecting:s,error:r,onConnect:t,onClose:d}=b,o=w(),[x,i]=M.useState(!1);x||(i(!0),queueMicrotask(t));let g;e[0]!==s||e[1]!==d?(g=I=>{!I&&s||I||d()},e[0]=s,e[1]=d,e[2]=g):g=e[2];let p;e[3]!==l.icon||e[4]!==l.title?(p=n.jsx(Z,{icon:l.icon,name:l.title,size:"sm",fit:"contain",className:"p-1"}),e[3]=l.icon,e[4]=l.title,e[5]=p):p=e[5];let j;e[6]!==l.title?(j=n.jsx(K,{className:"min-w-0 flex-1",children:l.title}),e[6]=l.title,e[7]=j):j=e[7];let f;e[8]!==p||e[9]!==j?(f=n.jsxs(U,{className:"flex-row items-center gap-3 space-y-0 text-left",children:[p,j]}),e[8]=p,e[9]=j,e[10]=f):f=e[10];let h;e[11]!==l.title||e[12]!==r||e[13]!==t||e[14]!==o?(h=r?n.jsxs("div",{className:"flex flex-col gap-3",children:[n.jsx("p",{role:"alert",className:"text-sm text-destructive",children:r}),n.jsx(G,{type:"button",variant:"outline",size:"sm",className:"self-start",onClick:t,children:o("routes.reportsOnboarding.companionSection.retry")})]}):n.jsx($,{label:o("reportsOnboarding.connectSourceDialog.connecting",{title:l.title})}),e[11]=l.title,e[12]=r,e[13]=t,e[14]=o,e[15]=h):h=e[15];let S;e[16]!==f||e[17]!==h?(S=n.jsxs(z,{"aria-describedby":void 0,className:"sm:max-w-lg",children:[f,h]}),e[16]=f,e[17]=h,e[18]=S):S=e[18];let C;return e[19]!==g||e[20]!==S?(C=n.jsx(A,{open:!0,onOpenChange:g,children:S}),e[19]=g,e[20]=S,e[21]=C):C=e[21],C}export{xe as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as M,a6 as S,am as $,K as F,cJ as R,b as K,m as A,j as c,gG as q}from"./index-
|
|
1
|
+
import{c as M,a6 as S,am as $,K as F,cJ as R,b as K,m as A,j as c,gG as q}from"./index-6k36ehsW.js";import{u as O}from"./useInfiniteQuery-AR0nCC2r.js";import{g as D}from"./connection-slug-pVnJQqDL.js";import{I as z}from"./integration-icon-CThPNDLT.js";function X(t){const e=M.c(21),{org:s}=S(),o=$();let l;e[0]!==t?(l=t?.trim().split(/\s+/).filter(Boolean)??[],e[0]=t,e[1]=l):l=e[1];const r=l;let n;e[2]!==s.id||e[3]!==t?(n=F.storeDiscovery(s.id,`deco-json:${t??""}`),e[2]=s.id,e[3]=t,e[4]=n):n=e[4];let a;e[5]!==o||e[6]!==r?(a=I=>{const{pageParam:_}=I;return o.call("COLLECTION_REGISTRY_APP_LIST",{limit:24,cursor:_,where:r.length?{operator:"or",conditions:r.flatMap(Y)}:void 0})},e[5]=o,e[6]=r,e[7]=a):a=e[7];let u;e[8]!==n||e[9]!==a?(u={queryKey:n,queryFn:a,initialPageParam:void 0,getNextPageParam:V,staleTime:3e5,placeholderData:R,throwOnError:!0},e[8]=n,e[9]=a,e[10]=u):u=e[10];const i=O(u);let p;e[11]!==i.data?.pages?(p=i.data?.pages.flatMap(G)??[],e[11]=i.data?.pages,e[12]=p):p=e[12];const m=p;let f;e[13]!==i?(f=()=>{i.hasNextPage&&!i.isFetchingNextPage&&i.fetchNextPage()},e[13]=i,e[14]=f):f=e[14];let d;return e[15]!==m||e[16]!==i.hasNextPage||e[17]!==i.isFetchingNextPage||e[18]!==i.isLoading||e[19]!==f?(d={items:m,hasMore:i.hasNextPage,isLoadingMore:i.isFetchingNextPage,isInitialLoading:i.isLoading,loadMore:f},e[15]=m,e[16]=i.hasNextPage,e[17]=i.isFetchingNextPage,e[18]=i.isLoading,e[19]=f,e[20]=d):d=e[20],d}function G(t){return t.items}function V(t){return t.nextCursor}function Y(t){return[["title"],["description"],["id"],["server","name"]].map(e=>({field:e,operator:"contains",value:t}))}function Z(t){const e=new Map;for(const l of t){const r=D(l),n=e.get(r);n?n.push(l):e.set(r,[l])}const s=[],o=new Set;for(const l of t){const r=D(l);if(o.has(r))continue;o.add(r);const n=e.get(r),a=n[0];n.length===1?s.push({type:"single",connection:a}):s.push({type:"group",key:r,icon:a.icon,title:a.app_name?a.title.replace(/\s*\(\d+\)\s*$/,""):a.title,connections:n})}return s}function ee(t){const e=M.c(43),{connection:s,onClick:o,headerActions:l,headerActionsAlwaysVisible:r,footer:n,className:a,fallbackIcon:u,selected:i}=t,p=r===void 0?!1:r,m=K(),f=o&&"cursor-pointer hover:bg-accent";let d;e[0]!==a||e[1]!==f?(d=A("transition-colors group overflow-hidden flex flex-col h-full",f,a),e[0]=a,e[1]=f,e[2]=d):d=e[2];const I=o?"button":void 0,_=o?0:void 0,T=o&&i!==void 0?i:void 0;let g;e[3]!==o?(g=o?L=>{L.target===L.currentTarget&&(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),o())}:void 0,e[3]=o,e[4]=g):g=e[4];let x;e[5]!==s.icon||e[6]!==s.title||e[7]!==u?(x=c.jsx(z,{icon:s.icon,name:s.title,size:"sm",className:"shrink-0 shadow-edge",fallbackIcon:u}),e[5]=s.icon,e[6]=s.title,e[7]=u,e[8]=x):x=e[8];let h;e[9]!==l||e[10]!==p?(h=l&&c.jsx("div",{className:A("transition-opacity",!p&&"sm:opacity-0 sm:group-hover:opacity-100 sm:group-focus-within:opacity-100"),onClick:J,children:l}),e[9]=l,e[10]=p,e[11]=h):h=e[11];let v;e[12]!==h?(v=c.jsx("div",{className:"relative",children:h}),e[12]=h,e[13]=v):v=e[13];let N;e[14]!==v||e[15]!==x?(N=c.jsxs("div",{className:"flex items-start justify-between",children:[x,v]}),e[14]=v,e[15]=x,e[16]=N):N=e[16];let y;e[17]!==s.title?(y=c.jsx("h3",{className:"text-sm font-medium text-foreground truncate",children:s.title}),e[17]=s.title,e[18]=y):y=e[18];let P;e[19]!==s.description||e[20]!==m?(P=s.description||m("connections.connectionCard.noDescription"),e[19]=s.description,e[20]=m,e[21]=P):P=e[21];let j;e[22]!==P?(j=c.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:P}),e[22]=P,e[23]=j):j=e[23];let C;e[24]!==y||e[25]!==j?(C=c.jsxs("div",{className:"flex flex-col gap-1",children:[y,j]}),e[24]=y,e[25]=j,e[26]=C):C=e[26];let b;e[27]!==N||e[28]!==C?(b=c.jsxs("div",{className:"flex flex-col gap-3 p-4.5",children:[N,C]}),e[27]=N,e[28]=C,e[29]=b):b=e[29];let k;e[30]!==n?(k=n&&c.jsx("div",{className:"border-t border-border mt-auto",children:c.jsx("div",{className:"h-14 flex items-center p-4.5",onClick:B,children:n})}),e[30]=n,e[31]=k):k=e[31];let w;e[32]!==b||e[33]!==k?(w=c.jsxs("div",{className:"flex flex-col flex-1",children:[b,k]}),e[32]=b,e[33]=k,e[34]=w):w=e[34];let E;return e[35]!==o||e[36]!==w||e[37]!==d||e[38]!==I||e[39]!==_||e[40]!==T||e[41]!==g?(E=c.jsx(q,{size:"flush",className:d,onClick:o,role:I,tabIndex:_,"aria-pressed":T,onKeyDown:g,children:w}),e[35]=o,e[36]=w,e[37]=d,e[38]=I,e[39]=_,e[40]=T,e[41]=g,e[42]=E):E=e[42],E}function B(t){return t.stopPropagation()}function J(t){return t.stopPropagation()}export{ee as C,Z as g,X as u};
|