decocms 4.498.4 → 4.499.1
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/{ActiveShapeUtils-DvDnt80D.js → ActiveShapeUtils-CHBIzwi6.js} +1 -1
- package/dist/client/assets/{AlertCircle-Dlc4TAni.js → AlertCircle-CE6pCiQc.js} +1 -1
- package/dist/client/assets/{AreaChart-yw6N3660.js → AreaChart-CPbuKnXt.js} +1 -1
- package/dist/client/assets/{ArrowLeft-CDvPBm7p.js → ArrowLeft-4lqf3Kdn.js} +1 -1
- package/dist/client/assets/{ArrowUp-BwLxa8U7.js → ArrowUp-C_b9t5x0.js} +1 -1
- package/dist/client/assets/{BarChart-CPJ_N8zC.js → BarChart-1haqPWjo.js} +1 -1
- package/dist/client/assets/{Building02-CR5isnNx.js → Building02-Ds6hVRCF.js} +1 -1
- package/dist/client/assets/{CategoricalChart-C1cbAEIf.js → CategoricalChart-CdPoJbrm.js} +1 -1
- package/dist/client/assets/{CheckCircle-C6r2HC-Z.js → CheckCircle-BOTQdQaO.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-Bp4xRFxb.js → ChevronSelectorVertical-03BXFhEp.js} +1 -1
- package/dist/client/assets/{ChevronUp-D_THnL5s.js → ChevronUp-CD_eJpCe.js} +1 -1
- package/dist/client/assets/{Copy01-BgUme99A.js → Copy01-OYvJMGxr.js} +1 -1
- package/dist/client/assets/{CreditCard01-zjoJQKXP.js → CreditCard01-tC179GyU.js} +1 -1
- package/dist/client/assets/{DotsVertical-cl0_7TJQ.js → DotsVertical-BOIM0dgs.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-DX024i69.js → ErrorBarContext-CtWq8N_T.js} +1 -1
- package/dist/client/assets/{Globe04-CE10Q1IP.js → Globe04-D5OFSWcx.js} +1 -1
- package/dist/client/assets/{Image01-CRdP4rtw.js → Image01-0-ntfAHx.js} +1 -1
- package/dist/client/assets/{Key01-DZe6ClyY.js → Key01-h57bHZhJ.js} +1 -1
- package/dist/client/assets/{Link01-OFk1WR7A.js → Link01-GRiuG_WG.js} +1 -1
- package/dist/client/assets/{LinkBroken01-QWocyozH.js → LinkBroken01-CjzbHWQV.js} +1 -1
- package/dist/client/assets/{Monitor01-CbPw11a8.js → Monitor01-3zdZJDwe.js} +1 -1
- package/dist/client/assets/{Play-BCeqHm1l.js → Play-9dMqH2ED.js} +1 -1
- package/dist/client/assets/{Plus-C98eLxdY.js → Plus-WqPKsi_6.js} +1 -1
- package/dist/client/assets/{SearchMd-CxgIdVnP.js → SearchMd-BjD3HLjo.js} +1 -1
- package/dist/client/assets/{Sector-BaMllyTT.js → Sector-DxZoicsx.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-BnVz66h8.js → ShoppingBag01-B5tqdFer.js} +1 -1
- package/dist/client/assets/{Sun-CChCwIaO.js → Sun-ev92fR46.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-CzPKETS5.js → SwitchHorizontal01-Bk4uPvoX.js} +1 -1
- package/dist/client/assets/{Tool01-wA46vRus.js → Tool01-CJX8PnfG.js} +1 -1
- package/dist/client/assets/{Trash01-B-NKlbYg.js → Trash01-CJntmUMd.js} +1 -1
- package/dist/client/assets/{Upload01-5dq0ljk0.js → Upload01-DKOrS5hK.js} +1 -1
- package/dist/client/assets/{User01-CT29Ne_2.js → User01-DXCvVkl7.js} +1 -1
- package/dist/client/assets/{UserSquare-DAAb_r4V.js → UserSquare-Ajdv2bfW.js} +1 -1
- package/dist/client/assets/{Users01-BoSWrp-z.js → Users01-B1b-9JiN.js} +1 -1
- package/dist/client/assets/{XAxis-DVaBqwY8.js → XAxis-nxK1QgSE.js} +1 -1
- package/dist/client/assets/{XClose-CzyFIqLD.js → XClose-Cfszb14g.js} +1 -1
- package/dist/client/assets/{ZoomOut-DlauVCp0.js → ZoomOut-DRuw77bB.js} +1 -1
- package/dist/client/assets/{access-gate-9aQnA_7M.js → access-gate-B9Khrg11.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-DrnMwSMI.js → add-connection-dialog-B7r6SFEV.js} +1 -1
- package/dist/client/assets/{agent-analytics-DTv9cPLS.js → agent-analytics-BJWVKWLH.js} +1 -1
- package/dist/client/assets/agent-app-03mNfUd4.js +1 -0
- package/dist/client/assets/{agent-assets-BoWeotpy.js → agent-assets-Uaoacjc1.js} +1 -1
- package/dist/client/assets/{agent-automation-BIj8BM6h.js → agent-automation-B3upnUAr.js} +1 -1
- package/dist/client/assets/{agent-automations-CNagnuTO.js → agent-automations-CQhNnepL.js} +1 -1
- package/dist/client/assets/{agent-connect-sources-Bqc5NgpS.js → agent-connect-sources-vOh7qLqy.js} +1 -1
- package/dist/client/assets/agent-deck-BDe6GSP5.js +1 -0
- package/dist/client/assets/{agent-e2e-m91vdtPu.js → agent-e2e-DZiBWrGv.js} +1 -1
- package/dist/client/assets/{agent-experiments-BO7c0kwW.js → agent-experiments-BHArKUiZ.js} +1 -1
- package/dist/client/assets/{agent-file-CBYoiEET.js → agent-file-CVHYY7_D.js} +1 -1
- package/dist/client/assets/{agent-hosting-BGu5l2Z2.js → agent-hosting-DG8QK_1g.js} +1 -1
- package/dist/client/assets/{agent-icon-B4DYmgP1.js → agent-icon-BJU4FOH6.js} +1 -1
- package/dist/client/assets/agent-library-KkinG9IP.js +1 -0
- package/dist/client/assets/agent-library-file-CkizdM4d.js +1 -0
- package/dist/client/assets/{agent-monitor-DDOhtTSs.js → agent-monitor-CAE9GvRf.js} +1 -1
- package/dist/client/assets/{agent-overview-CPMlIf5b.js → agent-overview-BY_Ly5Qa.js} +1 -1
- package/dist/client/assets/agent-settings-DH9UAfqz.js +1 -0
- package/dist/client/assets/{agent-site-editor-BSwzRuum.js → agent-site-editor-Bm8spNGm.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-_i0yGDX3.js +2 -0
- package/dist/client/assets/{agent-site-editor-content-BStGh_5Z.js → agent-site-editor-content-U3SpFK8f.js} +3 -3
- package/dist/client/assets/{agent-site-editor-preview-CwJXL-58.js → agent-site-editor-preview-CQWF3XYA.js} +3 -3
- package/dist/client/assets/agent-view-byQEp306.js +1 -0
- package/dist/client/assets/{agent-view-guard-DCAabgSS.js → agent-view-guard-BZB1ml71.js} +1 -1
- package/dist/client/assets/{agents-list-CNzlXvQq.js → agents-list-jmslgeZG.js} +1 -1
- package/dist/client/assets/{ai-providers-BKh9tvrs.js → ai-providers-DDGDhdDB.js} +1 -1
- package/dist/client/assets/{alert-DgCp5wQs.js → alert-Bltykh1Y.js} +1 -1
- package/dist/client/assets/{alert-dialog-B9F5DKY-.js → alert-dialog-OqwJ8UIr.js} +1 -1
- package/dist/client/assets/{analytics-sections-D51PIxSL.js → analytics-sections-BT1_3GPE.js} +1 -1
- package/dist/client/assets/api-keys-D2LicSI4.js +1 -0
- package/dist/client/assets/{api-keys-BbgspQ33.js → api-keys-D3IrHJT7.js} +1 -1
- package/dist/client/assets/app-editor-BSsLjzTp.js +1 -0
- package/dist/client/assets/{asset-utils-DJKtYT4e.js → asset-utils-Bct01rNG.js} +1 -1
- package/dist/client/assets/{auth-B0nPj6bO.js → auth-DGfDa8F8.js} +1 -1
- package/dist/client/assets/{auth-catchall-DJoKPYHg.js → auth-catchall-C4Vs6OqH.js} +1 -1
- package/dist/client/assets/{auth-entry-BPoO9O8P.js → auth-entry-Dnt9RO4b.js} +1 -1
- package/dist/client/assets/{auth-split-layout-xL5EbqOU.js → auth-split-layout-BNvUbQcb.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-CQlZ3eZb.js → authenticate-and-persist-oauth-DCuQ7vhg.js} +1 -1
- package/dist/client/assets/{automation-list-row-DQWwQNF7.js → automation-list-row-DSfQz4kE.js} +1 -1
- package/dist/client/assets/{automation-runs-5zyjNSmx.js → automation-runs-B9vph-U3.js} +1 -1
- package/dist/client/assets/{automations-9aj7HpQB.js → automations-OSEZeb1I.js} +1 -1
- package/dist/client/assets/{autosend-BbVWxP-H.js → autosend-BGgheutd.js} +1 -1
- package/dist/client/assets/{avatar-DDLKm8YT.js → avatar-CH33aQPr.js} +1 -1
- package/dist/client/assets/{badge-bIRC2OO-.js → badge-Di6Txxfr.js} +1 -1
- package/dist/client/assets/{block-document-DsUVeq1q.js → block-document-B7il0Gl4.js} +1 -1
- package/dist/client/assets/{blocks-preview-workspace-context-KwxBfwR0.js → blocks-preview-workspace-context-C8f2qdgX.js} +1 -1
- package/dist/client/assets/{blog-schema-DvJvepVI.js → blog-schema--R_HfJEL.js} +1 -1
- package/dist/client/assets/{board-analytics-BcazWH83.js → board-analytics-DVCFGsP_.js} +1 -1
- package/dist/client/assets/{buckets-DvzdiLM3.js → buckets-DXJQM-OT.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-JetGJgiY.js → build-improve-prompt-doc-C0JDe2DD.js} +1 -1
- package/dist/client/assets/{calendar-Ck-OGqZW.js → calendar-CNULKijr.js} +1 -1
- package/dist/client/assets/{capability-load-error-iZ0826fu.js → capability-load-error-Xulnpo0l.js} +1 -1
- package/dist/client/assets/{category-editor-B3M7cDqv.js → category-editor-Dt7UAbmA.js} +1 -1
- package/dist/client/assets/{chart-BpaTxHcQ.js → chart-CoZcCiEP.js} +1 -1
- package/dist/client/assets/chat-context-B30DgEAY.js +39 -0
- package/dist/client/assets/{chat-draft-CYEKOHI4.js → chat-draft-DDbNa1oC.js} +1 -1
- package/dist/client/assets/{checkbox-DQ6m3Oyh.js → checkbox-BmgTf3WT.js} +1 -1
- package/dist/client/assets/{choose-editor-Coh9_-Eh.js → choose-editor-XFzWm9hw.js} +1 -1
- package/dist/client/assets/{claim-phase-copy-C7azKYkj.js → claim-phase-copy-DS0lydlu.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CVVHoqwv.js → cli-auth-success-ESp7_F3y.js} +1 -1
- package/dist/client/assets/{client-icons-Br11ylAf.js → client-icons-DC6nSJyK.js} +1 -1
- package/dist/client/assets/{collapsible-BPnQBVGa.js → collapsible-535i4TNV.js} +1 -1
- package/dist/client/assets/{collection-detail-BkVP0PSY.js → collection-detail-4sRZYBqR.js} +1 -1
- package/dist/client/assets/{collection-display-button-BxBBej77.js → collection-display-button-BLrRtIDO.js} +1 -1
- package/dist/client/assets/{collection-search-rIwiQou4.js → collection-search-L972GeBU.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BYfStt1n.js → collection-table-wrapper-yJ_MC4Ms.js} +1 -1
- package/dist/client/assets/{collection-tabs-D8Yzl__1.js → collection-tabs-CpiuAp62.js} +1 -1
- package/dist/client/assets/{column-rules-ByEHjgtF.js → column-rules-B141aXdH.js} +1 -1
- package/dist/client/assets/{combobox-vVSkxC6C.js → combobox-BlDWz7PN.js} +1 -1
- package/dist/client/assets/{command-BxEu7pvj.js → command-PQlQJQp1.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-BAoAXnfB.js → companion-mcps-section-u59BhIi7.js} +1 -1
- package/dist/client/assets/{config-DVayKjbP.js → config-DNY_4hur.js} +1 -1
- package/dist/client/assets/{connect-hhuaeBaR.js → connect-BzFaE838.js} +1 -1
- package/dist/client/assets/{connect-layout-CPGRhpnE.js → connect-layout-3SUAe7uK.js} +1 -1
- package/dist/client/assets/{connection-DY3hEgbh.js → connection-V6Zziidm.js} +1 -1
- package/dist/client/assets/{connection-card-B1xf0QXn.js → connection-card-DNOpqk85.js} +1 -1
- package/dist/client/assets/{connection-detail-DwarFMD7.js → connection-detail-C2kPIHbq.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-AZLHx77O.js → connection-form-helpers-XXuP9ZuZ.js} +1 -1
- package/dist/client/assets/{connections-f-KjEAub.js → connections-BPAmDMR6.js} +1 -1
- package/dist/client/assets/{context-B_buQAmU.js → context-CFJeKNXE.js} +1 -1
- package/dist/client/assets/{context-menu-BVP5fgz4.js → context-menu-i9f6bOET.js} +1 -1
- package/dist/client/assets/{core.esm-DVn3rbKw.js → core.esm-BK9OSZna.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-td5LVr0u.js → create-organization-dialog-Cgmfd-na.js} +1 -1
- package/dist/client/assets/{daily-pulse-BdhiyT4g.js → daily-pulse-BgMgyWeh.js} +1 -1
- package/dist/client/assets/{device-hint-DyVZjmEB.js → device-hint-DFfjegvX.js} +1 -1
- package/dist/client/assets/{discover-SM3gupQA.js → discover-CbANETnV.js} +1 -1
- package/dist/client/assets/{domain-settings-D_DyUwza.js → domain-settings-Bw0vrssl.js} +1 -1
- package/dist/client/assets/{drawer-Czv6sKYA.js → drawer-D6uLH6Bn.js} +1 -1
- package/dist/client/assets/{editor-Bf6PL4ub.js → editor-7jSDkRdE.js} +1 -1
- package/dist/client/assets/{empty-state-l0-UYN2l.js → empty-state-CEIiKzhd.js} +1 -1
- package/dist/client/assets/{empty-state-DBUlDaU7.js → empty-state-DF0Gunph.js} +1 -1
- package/dist/client/assets/{extract-connection-data-fTgIRuWW.js → extract-connection-data-O_LFT9B9.js} +1 -1
- package/dist/client/assets/{feature-gate-C2zVySnB.js → feature-gate-CtYSAZfN.js} +1 -1
- package/dist/client/assets/{feature-paywall-DbVAbAeS.js → feature-paywall-DQo6evSU.js} +1 -1
- package/dist/client/assets/{file-explorer-C87QDA10.js → file-explorer-B0yyBdAx.js} +1 -1
- package/dist/client/assets/{file-preview-BmxQ9ME-.js → file-preview-D71vTy7i.js} +1 -1
- package/dist/client/assets/{file-share-button-Dgb-l7Qf.js → file-share-button-qrs4efeP.js} +1 -1
- package/dist/client/assets/{file-type-icon-C3tGnF-n.js → file-type-icon-DRruVLT4.js} +1 -1
- package/dist/client/assets/flat-project-BBUzHr8-.js +1 -0
- package/dist/client/assets/{folder-icon-Cca9MhDR.js → folder-icon-Ac04rtco.js} +1 -1
- package/dist/client/assets/{form-DUIO9IEt.js → form-grV1uv_n.js} +1 -1
- package/dist/client/assets/{general-DkopyRye.js → general-B9-BLf_e.js} +1 -1
- package/dist/client/assets/{home-k_W6RDYZ.js → home-Czp7DHES.js} +1 -1
- package/dist/client/assets/{icon-button-BzP67FLk.js → icon-button-DRw5ZPFx.js} +1 -1
- package/dist/client/assets/{index-2_2xm6as.js → index-9IhS3n8y.js} +1 -1
- package/dist/client/assets/{index-C6rjX-UP.js → index-Bj7dhoMO.js} +1 -1
- package/dist/client/assets/{index-CkINuNpG.js → index-Bv2fwA5v.js} +3 -3
- package/dist/client/assets/{index-Cjt1X9AF.js → index-CvD0YoiM.js} +1 -1
- package/dist/client/assets/{index-Ucsyl0WT.js → index-CvQp8tpM.js} +1 -1
- package/dist/client/assets/{index-CRxvFyky.js → index-D3BU4CKS.js} +4 -4
- package/dist/client/assets/{index-oaLbB-Lw.js → index-DJdcwKhr.js} +1 -1
- package/dist/client/assets/{index-BLPk0slD.js → index-DOHdgwwJ.js} +1 -1
- package/dist/client/assets/{index-T2H2w6n9.js → index-DPYv0YM9.js} +1 -1
- package/dist/client/assets/{index-LPmEp1x_.js → index-D_MRkRrL.js} +1 -1
- package/dist/client/assets/{index-Djra7CLF.js → index-cC7Fj8PQ.js} +1 -1
- package/dist/client/assets/{index-BypQd0-J.js → index-lUSjABBK.js} +1 -1
- package/dist/client/assets/{index-redirect-D5bqPyN4.js → index-redirect-BiqUzB1E.js} +1 -1
- package/dist/client/assets/{index-DgwVR51u.js → index-rn_p4G_l.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-DbF1ByiF.js → infiniteQueryObserver-BQjdHa0k.js} +1 -1
- package/dist/client/assets/{infra-billing-CcIucqTz.js → infra-billing-BZiyn1Y5.js} +1 -1
- package/dist/client/assets/{input-_QjthN9W.js → input-BWi3uyM5.js} +1 -1
- package/dist/client/assets/input-BZOEIA5J.js +17 -0
- package/dist/client/assets/{integration-icon-BtvcZQwg.js → integration-icon-CV_8l2P7.js} +1 -1
- package/dist/client/assets/{jira-icon-BUWT5EUx.js → jira-icon-HL5r0cbU.js} +1 -1
- package/dist/client/assets/{label-Mh3XNAnQ.js → label-Cc0QVpSa.js} +1 -1
- package/dist/client/assets/{layout-DC0tsxUd.js → layout-BSyKI2ed.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-Cj3uH8m5.js → legacy-agents-deep-BkblVxVV.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-C_n-xqCE.js → legacy-main-redirect-DpempRTc.js} +1 -1
- package/dist/client/assets/library-GaKfni_Q.js +1 -0
- package/dist/client/assets/{library-tab-B8DYBVVC.js → library-tab-DHe7od6T.js} +1 -1
- package/dist/client/assets/{login-DlpBdJV-.js → login-5mFQy3uy.js} +1 -1
- package/dist/client/assets/{markdown-CY21D23B.js → markdown--f_0njk3.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-BrkYMcu3.js → mcp-app-renderer-BpawS60z.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DwTCbF8I.js → mcp-oauth-Bx73DbNl.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DyEs_N4H.js → mcp-oauth-C8DYkkdh.js} +1 -1
- package/dist/client/assets/{members-BdrEciBo.js → members-DZsf7kWc.js} +1 -1
- package/dist/client/assets/{memory-Zc2r9E1p.js → memory-D2__dZy1.js} +1 -1
- package/dist/client/assets/{mini-report-page-BiwrFDOA.js → mini-report-page-rfn4NgL6.js} +1 -1
- package/dist/client/assets/{mock-board-DCMpELEM.js → mock-board-CGK6bnrU.js} +1 -1
- package/dist/client/assets/{monaco-editor-C2gO_CON.js → monaco-editor-Co8eeLA2.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-BblrlTY7.js → monitoring-stats-row-CyPVfoJg.js} +1 -1
- package/dist/client/assets/{multi-select-Ni9kskM1.js → multi-select-CzcLx9Up.js} +1 -1
- package/dist/client/assets/{mustache-DdYDEiCN.js → mustache-kKN2oGwZ.js} +1 -1
- package/dist/client/assets/{new-project-dialog-qQiy9MD9.js → new-project-dialog-CJQ3ANGA.js} +1 -1
- package/dist/client/assets/{oauth-callback-auT-cHM3.js → oauth-callback-6fcCQ9xN.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DrZsJmVA.js → oauth-callback-ai-provider-DYAbkzwp.js} +1 -1
- package/dist/client/assets/{onboarding-C-LACMZB.js → onboarding-Ca021Zsv.js} +1 -1
- package/dist/client/assets/{openai-conversation-CDV6Hlpe.js → openai-conversation-B80nwXO9.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-CdTnOiOg.js → optimistic-project-sidebar-views-D9uyk9vs.js} +1 -1
- package/dist/client/assets/{organization-choice-C8IZT-iN.js → organization-choice-DdrU3SuM.js} +1 -1
- package/dist/client/assets/{orgs-B6DrkLsw.js → orgs-C1TnvLPW.js} +1 -1
- package/dist/client/assets/{page-seo-form-CTfUpYQD.js → page-seo-form-QtqImfj8.js} +1 -1
- package/dist/client/assets/pair-cOoEBMni.js +48 -0
- package/dist/client/assets/{plan-ladder-BMJb7bd1.js → plan-ladder-5xh4DxdF.js} +1 -1
- package/dist/client/assets/{popover-mVKjwyVk.js → popover-BJJCONuc.js} +1 -1
- package/dist/client/assets/{post-calendar-DW2QO-Ij.js → post-calendar-BjBaxMQr.js} +1 -1
- package/dist/client/assets/{post-editor-CiIvX-ng.js → post-editor-Bl6YQrpl.js} +1 -1
- package/dist/client/assets/{preview-content-D-ruy_wj.js → preview-content-D820sv8-.js} +1 -1
- package/dist/client/assets/{preview-dialog-D7XU_vea.js → preview-dialog-BTVkkOUp.js} +1 -1
- package/dist/client/assets/{preview-panel-B5kp2dc2.js → preview-panel-4sQFv2XM.js} +1 -1
- package/dist/client/assets/{product-picker-dialog-MWBwIFZP.js → product-picker-dialog-CDWKzCZd.js} +1 -1
- package/dist/client/assets/{profile-7hhj1wz3.js → profile-CEoZiin1.js} +1 -1
- package/dist/client/assets/{project-app-view-BuYKX54V.js → project-app-view-BZBB3BYb.js} +1 -1
- package/dist/client/assets/{project-feed-DeOeqQy3.js → project-feed-DzP6CYTo.js} +1 -1
- package/dist/client/assets/{project-icon-n8KMRQ3Z.js → project-icon-DqjhnFV_.js} +1 -1
- package/dist/client/assets/project-reports-Cm-kTzUe.js +1 -0
- package/dist/client/assets/project-tasks-DLy4hm79.js +1 -0
- package/dist/client/assets/{projects-empty-state-vB9QFGre.js → projects-empty-state-Dfvl9FuI.js} +1 -1
- package/dist/client/assets/{projects-D4OlAPFD.js → projects-psbCfjIN.js} +1 -1
- package/dist/client/assets/{prompts-SlMQf3O-.js → prompts-Bh_EnGMD.js} +1 -1
- package/dist/client/assets/record-editor-Coh5AVGh.js +1 -0
- package/dist/client/assets/redirect-editor-DBtadr40.js +1 -0
- package/dist/client/assets/reports-BT1gpJe9.js +1 -0
- package/dist/client/assets/{reports-DY5ArZoE.js → reports-DIR7g8iD.js} +1 -1
- package/dist/client/assets/{reports-onboarding-CTY0rP-e.js → reports-onboarding-C7Bmi1YC.js} +1 -1
- package/dist/client/assets/{reports-tab-DI2eAic2.js → reports-tab-BeDnElwn.js} +2 -2
- package/dist/client/assets/{repositories-B4j8_rgn.js → repositories-Cp71tU5r.js} +1 -1
- package/dist/client/assets/{repository-binding-zQyfl2AT.js → repository-binding-CRCQAZhI.js} +1 -1
- package/dist/client/assets/{repository-import-picker-BjTbZx13.js → repository-import-picker-BlRZxN7m.js} +1 -1
- package/dist/client/assets/{repository-picker-BzWXVivD.js → repository-picker-DKmAcSNo.js} +1 -1
- package/dist/client/assets/{require-capability-CIndqD2k.js → require-capability-D_MSPB17.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CncnEGXc.js → required-auth-layout-CUfMTOSE.js} +1 -1
- package/dist/client/assets/{reset-password-GQx23DJ-.js → reset-password-CoHkMvNj.js} +1 -1
- package/dist/client/assets/{resizable-DwzY5Qay.js → resizable-EcuZY25Y.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-X_We-OmQ.js → resolve-tab-icon-D4GX7r-v.js} +1 -1
- package/dist/client/assets/{review-settings-CeUu7ddF.js → review-settings-Bvp8WTir.js} +1 -1
- package/dist/client/assets/{rich-text-link-control-CUMKm6c-.js → rich-text-link-control-8UAnITjy.js} +1 -1
- package/dist/client/assets/{roles-CAFDvsK5.js → roles-M4PLtL7A.js} +1 -1
- package/dist/client/assets/route-B3C9JoHq.js +1 -0
- package/dist/client/assets/{route-Bcim93Ah.js → route-Bod3ESXJ.js} +1 -1
- package/dist/client/assets/{route-CA6rYJM9.js → route-CipYk2X9.js} +1 -1
- package/dist/client/assets/{runnable-block-editor-DR0ICPR0.js → runnable-block-editor-CsER1xlU.js} +1 -1
- package/dist/client/assets/{sandbox-lifecycle-context-CUg1NWpr.js → sandbox-lifecycle-context-56bnPmrm.js} +1 -1
- package/dist/client/assets/{schema-ChrkqfAY.js → schema-DUHI6Jtl.js} +1 -1
- package/dist/client/assets/{scroll-area-REb3aG6j.js → scroll-area-CBm3Mvt0.js} +1 -1
- package/dist/client/assets/{search-input-_o9KQd1n.js → search-input-B38RBPp1.js} +1 -1
- package/dist/client/assets/{search-toggle-DAMhNTvh.js → search-toggle-DS_G8Mpg.js} +1 -1
- package/dist/client/assets/{secret-picker-XRIL59wI.js → secret-picker-BQXYAT_G.js} +1 -1
- package/dist/client/assets/{secrets-DFNKd4om.js → secrets-C514jQsr.js} +1 -1
- package/dist/client/assets/{sections-editor-CBBPGQp1.js → sections-editor-_Ek-XtQ9.js} +1 -1
- package/dist/client/assets/{select-bn_n-Gzr.js → select-Df_p8mlV.js} +1 -1
- package/dist/client/assets/{select-model-DVVnJpL9.js → select-model-CRpi3edr.js} +1 -1
- package/dist/client/assets/{seo-editor-ClAvSbn1.js → seo-editor-C83Xi-Eb.js} +1 -1
- package/dist/client/assets/{separator-dxSA0jUo.js → separator-_v3BPjjy.js} +1 -1
- package/dist/client/assets/{settings-tab-BZRmYB8j.js → settings-tab-CsoSbsdu.js} +1 -1
- package/dist/client/assets/{sheet-FuQrUGRX.js → sheet-CyB_gMhZ.js} +1 -1
- package/dist/client/assets/{shell-layout-CeMKwojV.js → shell-layout-Ccx2kAIk.js} +1 -1
- package/dist/client/assets/{skills-BYw6wBZt.js → skills-BVfaWj7f.js} +1 -1
- package/dist/client/assets/{slider-BRB38sjE.js → slider-BwBvBbNB.js} +1 -1
- package/dist/client/assets/{sortable.esm-B2RbU5t5.js → sortable.esm-yA2wnDaF.js} +1 -1
- package/dist/client/assets/{sso-BGdnuhwb.js → sso-CY1tFyxM.js} +1 -1
- package/dist/client/assets/{suggestion-DgKlvExo.js → suggestion-D5KsVXF3.js} +1 -1
- package/dist/client/assets/{switch-5Er3VYKS.js → switch-K_fCHWJj.js} +1 -1
- package/dist/client/assets/{symbol-DT2WuZ3F.js → symbol-uL7hJAp5.js} +1 -1
- package/dist/client/assets/{synced-repos-B4pGx8rW.js → synced-repos-BjyAdgCw.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-BH2Hc6_z.js → tab-icon-glyph-Bc5ElrWR.js} +1 -1
- package/dist/client/assets/{table-ufn_70fj.js → table-CIziTDev.js} +1 -1
- package/dist/client/assets/{tabs-DCVl1Xp_.js → tabs-CB4o_wjK.js} +1 -1
- package/dist/client/assets/{task-board-hSuUNaaL.js → task-board-DMIdcfld.js} +1 -1
- package/dist/client/assets/{task-route-BJzNrO-6.js → task-route-DGYMhtN8.js} +1 -1
- package/dist/client/assets/{task-status-BPKMFkfO.js → task-status-ByJkF-NQ.js} +1 -1
- package/dist/client/assets/taskboard-analytics-TxLL9weI.js +1 -0
- package/dist/client/assets/{tasks-CDgCgwSB.js → tasks-BPdknr9T.js} +1 -1
- package/dist/client/assets/tasks-DUPn86IV.js +1 -0
- package/dist/client/assets/{textarea-Bb-Hk_Kv.js → textarea-NAFmHkOD.js} +1 -1
- package/dist/client/assets/{thread-analytics-CZPxO8Kc.js → thread-analytics-Bo6OS8mD.js} +1 -1
- package/dist/client/assets/{thread-button-DkQ8x3QA.js → thread-button-DLd8h-jr.js} +1 -1
- package/dist/client/assets/{thread-intent-C0VUjVSW.js → thread-intent-IoslewhA.js} +5 -5
- package/dist/client/assets/{thread-route-BLdRUQ6B.js → thread-route-C3L28g7t.js} +1 -1
- package/dist/client/assets/{thread-route-DFcB1-xE.js → thread-route-D1u7xnna.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-DADTw5P3.js → thread-sheet-body-0kncdHix.js} +1 -1
- package/dist/client/assets/{time-range-picker-CNZYQxLD.js → time-range-picker-DXFAWQFK.js} +1 -1
- package/dist/client/assets/{toggle-group-j2gE6j2V.js → toggle-group-DuPOpB2e.js} +1 -1
- package/dist/client/assets/{tool-namespace-rmKZ6urT.js → tool-namespace-BgrCbjCV.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-BXIVPBnN.js → toolbar-icon-button-mpzwfaax.js} +1 -1
- package/dist/client/assets/{tooltip-BkpS_52M.js → tooltip-DALdgCfq.js} +1 -1
- package/dist/client/assets/{tooltipContext-DGkQsEw3.js → tooltipContext-CS_gYFHR.js} +1 -1
- package/dist/client/assets/{track-J0HEXaC4.js → track-CbdMpKi0.js} +1 -1
- package/dist/client/assets/{types-BdfekBKI.js → types-BtWiXOVz.js} +1 -1
- package/dist/client/assets/{url-slug-DoBmFZC1.js → url-slug-p-asIAaB.js} +1 -1
- package/dist/client/assets/{usage-stats-B9McGmou.js → usage-stats-8OSp-ZnP.js} +2 -2
- package/dist/client/assets/{use-ai-providers-CqTwdrfZ.js → use-ai-providers-Qobhmt-9.js} +1 -1
- package/dist/client/assets/{use-automations-Bk3k2I5y.js → use-automations-COaiCT7Y.js} +1 -1
- package/dist/client/assets/{use-autosave-DBEOiQzC.js → use-autosave-Diu3jvAj.js} +1 -1
- package/dist/client/assets/{use-chat-layout-state-tSM0Jizm.js → use-chat-layout-state-CY68mP0u.js} +1 -1
- package/dist/client/assets/{use-chat-navigation-DRlGBXxg.js → use-chat-navigation-cDgx1XwN.js} +1 -1
- package/dist/client/assets/{use-clock-tick-BBBJErXL.js → use-clock-tick-BIG7_Su4.js} +1 -1
- package/dist/client/assets/{use-connect-companion-BEDfrnjG.js → use-connect-companion-Ch1TgBAP.js} +1 -1
- package/dist/client/assets/{use-connection-Ce_qeKZH.js → use-connection-DAcQX6xe.js} +1 -1
- package/dist/client/assets/{use-copy-BpOtbx4U.js → use-copy-BRMWu5Fk.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DeEzFaR6.js → use-create-virtual-mcp-BHs43obx.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-Cy-y_Q2o.js → use-date-fns-locale-BT1q0M-B.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-C0ZrLAg3.js → use-debounced-autosave-CALd1_dA.js} +1 -1
- package/dist/client/assets/{use-debounced-value-CqzArAe1.js → use-debounced-value-DKk-Muiy.js} +1 -1
- package/dist/client/assets/{use-deco-credits-XY0t0tfe.js → use-deco-credits-CnIKe-ku.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-B8FghSGH.js → use-decopilot-events-CC84c_3Q.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DBLYuhO3.js → use-delete-connection-GCJNXw_c.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-KdgQNhqJ.js → use-deployment-admin-y_abD7h9.js} +1 -1
- package/dist/client/assets/{use-ensure-project-folder-DmvG4e9-.js → use-ensure-project-folder-C8t7Qkys.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-Bwl11KLM.js → use-fast-preview-draft-url-C3yEa6MN.js} +1 -1
- package/dist/client/assets/{use-file-configs-DgY4Z1tX.js → use-file-configs-D7DBafPZ.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BV3nru2V.js → use-infinite-scroll-4YgBL66g.js} +1 -1
- package/dist/client/assets/{use-join-requests-D9rhBfxf.js → use-join-requests-yRjhsrRA.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-Dr7_GuMh.js → use-main-panel-tabs-Ridz8dJW.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-C5aEbqHT.js → use-mcp-auth-status-CbdeL7sT.js} +1 -1
- package/dist/client/assets/{use-mcp-client-BGHP1VQF.js → use-mcp-client-CZ8mV_ez.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-ZKBtP7OQ.js → use-mcp-prompts-B216J1dQ.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CXQACEGE.js → use-mcp-tools-Dy-by15z.js} +1 -1
- package/dist/client/assets/{use-members-BQX1TQ2_.js → use-members-DwLWfN29.js} +1 -1
- package/dist/client/assets/{use-mobile-90klfWtr.js → use-mobile-LeIIWPsL.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-B6pFs8ZG.js → use-navigate-to-agent-DI1uFDHO.js} +1 -1
- package/dist/client/assets/use-new-blocks-editor-0imGAWhm.js +1 -0
- package/dist/client/assets/{use-open-billing-url-BfO0orUG.js → use-open-billing-url-npBpw9Dj.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-D-6ysaay.js → use-org-auth-client-Zy7NNUds.js} +1 -1
- package/dist/client/assets/{use-org-fs-B_rDABnu.js → use-org-fs-Bf_97iGx.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-BTaJmODR.js → use-org-repo-syncs-CuY3gRjq.js} +1 -1
- package/dist/client/assets/{use-org-sso-CtvQdcBM.js → use-org-sso-CzrPDfkK.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DMPYdlmm.js → use-organization-roles-EYrDFSpz.js} +1 -1
- package/dist/client/assets/{use-organization-settings-ZA_4CNmo.js → use-organization-settings-PwHcpPUy.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-BGy1YPzc.js → use-panel-navigate-DdhVcGCX.js} +1 -1
- package/dist/client/assets/{use-project-scope-BWYheFWK.js → use-project-scope-DXD8detl.js} +1 -1
- package/dist/client/assets/{use-releases-BdOFdk4y.js → use-releases-CC789N-5.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-D5EIRRJS.js → use-reports-diagnostic-B5zeO5VK.js} +1 -1
- package/dist/client/assets/use-sandbox-events-CBeZokLc.js +2 -0
- package/dist/client/assets/{use-secrets-Ck09wob8.js → use-secrets-Dryt8-Jk.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-BeM-C7Mk.js → use-section-preview-base-BAjN2pY9.js} +1 -1
- package/dist/client/assets/{use-tags-WYrHi_hP.js → use-tags-DfvK0dWK.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-B8uAa8y3.js → use-task-board-analytics-9l468EXq.js} +1 -1
- package/dist/client/assets/{use-task-board-events-CO4A3H_z.js → use-task-board-events-zZTzz8hw.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-CYS08wlR.js → use-task-board-item-prs-DpPCajAd.js} +1 -1
- package/dist/client/assets/{use-task-board-items-R6ZVfWty.js → use-task-board-items-X8Qd0l2g.js} +1 -1
- package/dist/client/assets/{use-task-metadata-M0RHZMTW.js → use-task-metadata-BvchMlqb.js} +1 -1
- package/dist/client/assets/{use-thread-analytics-DE43UBd9.js → use-thread-analytics-BtKScJLH.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-DMPWLzEw.js → use-thread-outputs-B4yEuZRQ.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DK1nXvTj.js +1 -0
- package/dist/client/assets/{useQueries-Bq03BbUn.js → useQueries-BFddd1rg.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BXP05Jj6.js +1 -0
- package/dist/client/assets/{users-BYjClQmT.js → users-BxX3M61K.js} +1 -1
- package/dist/client/assets/{utils-DwMy6n9X.js → utils-DPquYG3f.js} +1 -1
- package/dist/client/assets/{variant-calendar-BixklqPv.js → variant-calendar-yL7Q8xsb.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-CPTrH74t.js → variant-matcher-override-B-zbAq1m.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DHW7DJAq.js → view-mode-toggle-Bjy8G80J.js} +1 -1
- package/dist/client/assets/{virtual-mcp-gsHlBsGT.js → virtual-mcp-BRUGsUqb.js} +1 -1
- package/dist/client/assets/{watch-sse-pool-Cg-aHWP0.js → watch-sse-pool-DeGko6Sd.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/server.js +617 -616
- package/package.json +1 -1
- package/dist/client/assets/agent-app-D30SjXpD.js +0 -1
- package/dist/client/assets/agent-deck-Dlq5Jn4J.js +0 -1
- package/dist/client/assets/agent-library-BMuSAHXu.js +0 -1
- package/dist/client/assets/agent-library-file-m8UjchjM.js +0 -1
- package/dist/client/assets/agent-settings-DGeNxG_1.js +0 -1
- package/dist/client/assets/agent-site-editor-code-jGD4n3i8.js +0 -2
- package/dist/client/assets/agent-view-BPQJx8r4.js +0 -1
- package/dist/client/assets/api-keys-Cz5HjnGn.js +0 -1
- package/dist/client/assets/app-editor-CFMLwPGY.js +0 -1
- package/dist/client/assets/chat-context-DC0y74SR.js +0 -39
- package/dist/client/assets/flat-project-BMyo_C2o.js +0 -1
- package/dist/client/assets/input-B1upXVX9.js +0 -17
- package/dist/client/assets/library-iHKSzBTO.js +0 -1
- package/dist/client/assets/pair-DEx1k_Wy.js +0 -48
- package/dist/client/assets/project-reports-BjC6rSm2.js +0 -1
- package/dist/client/assets/project-tasks-BOe2SDZZ.js +0 -1
- package/dist/client/assets/record-editor-GgZyvS4U.js +0 -1
- package/dist/client/assets/redirect-editor-WCGajlSb.js +0 -1
- package/dist/client/assets/reports-D93fmeCk.js +0 -1
- package/dist/client/assets/route-CHmv4ssy.js +0 -1
- package/dist/client/assets/taskboard-analytics-C3u3eaKj.js +0 -1
- package/dist/client/assets/tasks-DxmDvDef.js +0 -1
- package/dist/client/assets/use-new-blocks-editor-DNTIQH01.js +0 -1
- package/dist/client/assets/use-sandbox-events-DzbntDfn.js +0 -2
- package/dist/client/assets/useInfiniteQuery-wHLzuDuh.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-C_Rnzsp0.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{eI as O,aJ as U,c as P,j as r,r as G,H as ee,b as F,B as K,a2 as te,K as Q,o as se,l as ne}from"./index-CRxvFyky.js";import{u as re}from"./useSuspenseInfiniteQuery-C_Rnzsp0.js";import{S as ae,c as ie}from"./sheet-FuQrUGRX.js";import{A as le}from"./avatar-DDLKm8YT.js";import{n as oe,t as ce}from"./ChevronUp-D_THnL5s.js";import{n as J}from"./LinkBroken01-QWocyozH.js";import{u as ue,M as de}from"./pair-DEx1k_Wy.js";import{D as me}from"./chat-context-DC0y74SR.js";import{I as W}from"./integration-icon-BtvcZQwg.js";import{b as fe}from"./use-decopilot-events-B8FghSGH.js";import{u as xe}from"./use-infinite-scroll-BV3nru2V.js";import{g as ge}from"./task-status-BPKMFkfO.js";const z=[{ms:6e4,label:"1m"},{ms:12e4,label:"2m"},{ms:3e5,label:"5m"},{ms:6e5,label:"10m"},{ms:9e5,label:"15m"},{ms:18e5,label:"30m"},{ms:36e5,label:"1h"},{ms:72e5,label:"2h"},{ms:216e5,label:"6h"},{ms:432e5,label:"12h"},{ms:864e5,label:"1d"},{ms:6048e5,label:"7d"}],he=40;function qe(t){const s=(t.endDate.getTime()-t.startDate.getTime())/he;return z.find(i=>i.ms>=s)?.label??z[z.length-1].label}function H(t){const e=z.find(l=>l.label===t);if(e)return e.ms;const s=/^(\d+)([mhd])$/.exec(t);if(!s)return 6e4;const n=parseInt(s[1],10),i=s[2];return i==="h"?n*36e5:i==="d"?n*864e5:n*6e4}function pe(t,e){const s=new Date(t);return H(e)>=864e5?s.toLocaleDateString([],{month:"short",day:"numeric"}):s.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function q(t,e){const s=H(e);return new Date(Math.floor(t.getTime()/s)*s)}function be(t){return t>=1e4?`${(t/1e3).toFixed(1)}s`:`${Math.round(t)}ms`}function Oe(t){return Number.isFinite(t)?t>=1e6?`${(t/1e6).toFixed(1)}M`:t>=1e3?`${(t/1e3).toFixed(1)}K`:Math.round(t).toLocaleString():"0"}function Ue(t){return Number.isFinite(t)?`$${t.toFixed(t<1?4:2)}`:"$0.00"}function Ge(t,e,s){const n=H(s),i=q(e.startDate,s).getTime(),l=e.endDate.getTime(),a=new Map(t.map(c=>[q(new Date(c.timestamp),s).getTime(),c])),u=[];for(let c=i;c<=l;c+=n){const m=a.get(c),h=new Date(c).toISOString();u.push({t:h,ts:c,label:pe(h,s),calls:m?.calls??0,errors:m?.errors??0,errorRate:m?.errorRate??0,avg:m?.avg??0,p50:m?.p50??0,p95:m?.p95??0,inputTokens:m?.inputTokens??0,outputTokens:m?.outputTokens??0,totalTokens:m?.totalTokens??0,costUsd:m?.costUsd??0})}return u}function Qe(t,e,s,n){const i=new Map;for(const o of t)i.set(o.toolName,(i.get(o.toolName)??0)+o[e]);const l=[...i.entries()].sort((o,d)=>d[1]-o[1]).slice(0,s).map(([o])=>o),a=new Set(l),u=new Map,c=new Map;for(const o of t){if(!a.has(o.toolName))continue;const d=o.virtualMcpId??"";u.set(d,(u.get(d)??0)+o[e]),c.set(`${d}::${o.toolName}`,{calls:o.calls,errors:o.errors,outputSize:o.outputSize})}const m=[...u.entries()].sort((o,d)=>d[1]-o[1]).slice(0,n).map(([o])=>o);let h=0;for(const o of m)for(const d of l){const x=c.get(`${o}::${d}`);x&&x[e]>h&&(h=x[e])}return{topTools:l,topAgentIds:m,cellMap:c,maxValue:h}}function Je(t,e){return e==="requests"?t.calls:e==="errors"?t.errorRate:t.avgDurationMs}function We(t,e){return e==="requests"?t.calls.toLocaleString():e==="errors"?`${t.errorRate.toFixed(1)}%`:be(t.avgDurationMs)}function Y(t){return(t.run_config??{}).agent?.id??(t.virtual_mcp_id||null)}function Z(t,e,s,n){if(!t)return n;const i=e.find(a=>a.id===t)??s?.find(a=>a.id===t);if(i?.title)return i.title;const l=O(t);return l?U(l).title??n:t}function X(t,e,s){if(!t)return null;const n=e.find(l=>l.id===t)??s?.find(l=>l.id===t);if(n?.icon)return n.icon;const i=O(t);return i?U(i).icon??null:null}function je(t){return t?.data?.members??[]}function V(t){const e=P.c(32),{thread:s,connections:n,virtualMcps:i,nav:l}=t,a=F();let u,c;if(e[0]!==n||e[1]!==s||e[2]!==i){const N=Y(s);u=Z(N,i,n,""),c=X(N,i,n),e[0]=n,e[1]=s,e[2]=i,e[3]=u,e[4]=c}else u=e[3],c=e[4];const m=c;let h;e[5]!==u||e[6]!==a||e[7]!==s.title?(h=u||s.title||a("orgs.threads.untitledChat"),e[5]=u,e[6]=a,e[7]=s.title,e[8]=h):h=e[8];let o;e[9]===Symbol.for("react.memo_cache_sentinel")?(o=r.jsx(J,{}),e[9]=o):o=e[9];let d;e[10]!==m||e[11]!==h?(d=r.jsx(W,{icon:m,name:h,size:"sm",fallbackIcon:o,className:"shadow-sm shrink-0 rounded-md"}),e[10]=m,e[11]=h,e[12]=d):d=e[12];let x;e[13]!==a||e[14]!==s.title?(x=s.title||a("orgs.threads.untitledChat"),e[13]=a,e[14]=s.title,e[15]=x):x=e[15];let b;e[16]!==x?(b=r.jsx(ae,{className:"text-sm leading-snug truncate",children:x}),e[16]=x,e[17]=b):b=e[17];let v;e[18]!==u?(v=u&&r.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 truncate",children:u}),e[18]=u,e[19]=v):v=e[19];let p;e[20]!==b||e[21]!==v?(p=r.jsxs("div",{className:"min-w-0",children:[b,v]}),e[20]=b,e[21]=v,e[22]=p):p=e[22];let f;e[23]!==d||e[24]!==p?(f=r.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[d,p]}),e[23]=d,e[24]=p,e[25]=f):f=e[25];let g;e[26]!==l||e[27]!==a?(g=l&&r.jsxs("div",{className:"flex items-center gap-0.5 shrink-0",children:[r.jsx(K,{size:"icon",variant:"ghost",onClick:l.onPrev,disabled:l.index===0,className:"h-7 w-7 text-muted-foreground","aria-label":a("orgs.threads.previousChat"),children:r.jsx(oe,{size:14})}),r.jsx(K,{size:"icon",variant:"ghost",onClick:l.onNext,disabled:l.index===l.total-1,className:"h-7 w-7 text-muted-foreground","aria-label":a("orgs.threads.nextChat"),children:r.jsx(ce,{size:14})})]}),e[26]=l,e[27]=a,e[28]=g):g=e[28];let j;return e[29]!==g||e[30]!==f?(j=r.jsx(ie,{className:"px-5 md:px-6 pt-6 pb-5 border-b border-border shrink-0",children:r.jsxs("div",{className:"flex items-start justify-between gap-3 pr-8",children:[f,g]})}),e[29]=g,e[30]=f,e[31]=j):j=e[31],j}function ve(t){const e=P.c(62),{thread:s,connections:n,virtualMcps:i,members:l}=t,a=F();let u,c;if(e[0]!==n||e[1]!==s||e[2]!==i){const I=Y(s);u=Z(I,i,n,""),c=X(I,i,n),e[0]=n,e[1]=s,e[2]=i,e[3]=u,e[4]=c}else u=e[3],c=e[4];const m=c;let h;if(e[5]!==l||e[6]!==s.created_by){const I=je(l);let R;e[8]!==s.created_by?(R=L=>L.userId===s.created_by,e[8]=s.created_by,e[9]=R):R=e[9],h=I.find(R),e[5]=l,e[6]=s.created_by,e[7]=h}else h=e[7];const o=h;let d;e[10]!==o?.user.email||e[11]!==o?.user.name||e[12]!==s.created_by?(d=o?.user.name??o?.user.email??s.created_by?.substring(0,8)??"—",e[10]=o?.user.email,e[11]=o?.user.name,e[12]=s.created_by,e[13]=d):d=e[13];const x=d,b=o?.user.image??void 0;let v;e[14]!==s.created_at?(v=new Date(s.created_at).toLocaleString("en-US",{month:"short",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}),e[14]=s.created_at,e[15]=v):v=e[15];const p=v;let f,g,j,N,C,w;if(e[16]!==a||e[17]!==s.status){const I=ge(s.status),R=I.icon;f="px-5 md:px-6 py-5 border-b border-border grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-4 text-sm";let L;e[24]!==a?(L=a("orgs.threads.status"),e[24]=a,e[25]=L):L=e[25],e[26]!==L?(w=r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:L}),e[26]=L,e[27]=w):w=e[27],N="flex items-center gap-1.5",C=r.jsx(R,{size:13,className:I.iconClassName}),g=ne("text-sm",I.labelColor),j=a(I.labelKey),e[16]=a,e[17]=s.status,e[18]=f,e[19]=g,e[20]=j,e[21]=N,e[22]=C,e[23]=w}else f=e[18],g=e[19],j=e[20],N=e[21],C=e[22],w=e[23];let T;e[28]!==g||e[29]!==j?(T=r.jsx("span",{className:g,children:j}),e[28]=g,e[29]=j,e[30]=T):T=e[30];let S;e[31]!==T||e[32]!==N||e[33]!==C?(S=r.jsxs("div",{className:N,children:[C,T]}),e[31]=T,e[32]=N,e[33]=C,e[34]=S):S=e[34];let y;e[35]!==S||e[36]!==w?(y=r.jsxs("div",{children:[w,S]}),e[35]=S,e[36]=w,e[37]=y):y=e[37];let E;e[38]!==a?(E=a("orgs.threads.date"),e[38]=a,e[39]=E):E=e[39];let _;e[40]!==E?(_=r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:E}),e[40]=E,e[41]=_):_=e[41];let M;e[42]!==p?(M=r.jsx("div",{className:"text-sm text-foreground",children:p}),e[42]=p,e[43]=M):M=e[43];let D;e[44]!==_||e[45]!==M?(D=r.jsxs("div",{children:[_,M]}),e[44]=_,e[45]=M,e[46]=D):D=e[46];let $;e[47]!==a||e[48]!==s.created_by||e[49]!==b||e[50]!==x?($=s.created_by&&r.jsxs("div",{children:[r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:a("orgs.threads.user")}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(le,{url:b,fallback:x,shape:"circle",size:"2xs",className:"shrink-0"}),r.jsx("span",{className:"text-sm text-foreground",children:x})]})]}),e[47]=a,e[48]=s.created_by,e[49]=b,e[50]=x,e[51]=$):$=e[51];let k;e[52]!==m||e[53]!==u||e[54]!==a?(k=u&&r.jsxs("div",{children:[r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:a("orgs.threads.agent")}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(W,{icon:m,name:u,size:"xs",fallbackIcon:r.jsx(J,{}),className:"shrink-0 size-5! min-w-5! rounded-md"}),r.jsx("span",{className:"text-sm text-foreground",children:u})]})]}),e[52]=m,e[53]=u,e[54]=a,e[55]=k):k=e[55];let A;return e[56]!==f||e[57]!==y||e[58]!==D||e[59]!==$||e[60]!==k?(A=r.jsxs("div",{className:f,children:[y,D,$,k]}),e[56]=f,e[57]=y,e[58]=D,e[59]=$,e[60]=k,e[61]=A):A=e[61],A}const B=100;function Ne(){const t=P.c(4),e=F();let s;t[0]!==e?(s=e("orgs.threads.noMessagesInChat"),t[0]=e,t[1]=s):s=t[1];let n;return t[2]!==s?(n=r.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:s}),t[2]=s,t[3]=n):n=t[3],n}function Me(){const t=P.c(4),e=F();let s;t[0]!==e?(s=e("orgs.threads.loadingMore"),t[0]=e,t[1]=s):s=t[1];let n;return t[2]!==s?(n=r.jsx("div",{className:"py-4 text-center text-xs text-muted-foreground",children:s}),t[2]=s,t[3]=n):n=t[3],n}const Te=400,Se=5e3;function ye(t,e,s){const n=P.c(8),i=se(),l=G.useRef(null);let a;n[0]!==e||n[1]!==i||n[2]!==s?(a=()=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{l.current=null,i.invalidateQueries({queryKey:Q.threadMessages(e,s)})},Te)},n[0]=e,n[1]=i,n[2]=s,n[3]=a):a=n[3];const u=a;let c;n[4]!==t||n[5]!==u||n[6]!==s?(c={orgSlug:t,taskId:s,onStep:u,onFinish:u,onReconnect:u},n[4]=t,n[5]=u,n[6]=s,n[7]=c):c=n[7],fe(c)}function _e(t){const e=P.c(36),{client:s,locator:n,thread:i,connections:l,virtualMcps:a,members:u,nav:c,meta:m}=t,{org:h}=te();let o;e[0]!==n||e[1]!==i.id?(o=Q.threadMessages(n,i.id),e[0]=n,e[1]=i.id,e[2]=o):o=e[2];let d;e[3]!==s||e[4]!==i.id?(d=async _=>{const{pageParam:M}=_,D=M===void 0?0:M;if(!s)throw new Error("MCP client is not available");const $=await s.callTool({name:"COLLECTION_THREAD_MESSAGES_LIST",arguments:{thread_id:i.id,limit:B,offset:D}});return $.structuredContent??$},e[3]=s,e[4]=i.id,e[5]=d):d=e[5];let x;e[6]!==o||e[7]!==d?(x={queryKey:o,queryFn:d,initialPageParam:0,getNextPageParam:Ee,staleTime:0,refetchInterval:Se},e[6]=o,e[7]=d,e[8]=x):x=e[8];const{data:b,fetchNextPage:v,hasNextPage:p,isFetchingNextPage:f}=re(x);ye(h.slug,n,i.id);let g;e[9]!==b.pages?(g=b.pages.flatMap(Ce).filter(we),e[9]=b.pages,e[10]=g):g=e[10];const j=g,N=ue(j);let C;e[11]!==v||e[12]!==p||e[13]!==f?(C=()=>{p&&!f&&v()},e[11]=v,e[12]=p,e[13]=f,e[14]=C):C=e[14];const w=xe(C,p??!1,f);let T;e[15]!==l||e[16]!==c||e[17]!==i||e[18]!==a?(T=r.jsx(V,{thread:i,connections:l,virtualMcps:a,nav:c}),e[15]=l,e[16]=c,e[17]=i,e[18]=a,e[19]=T):T=e[19];let S;e[20]!==l||e[21]!==u||e[22]!==m||e[23]!==i||e[24]!==a?(S=m&&r.jsx(ve,{thread:i,connections:l,virtualMcps:a,members:u}),e[20]=l,e[21]=u,e[22]=m,e[23]=i,e[24]=a,e[25]=S):S=e[25];let y;e[26]!==f||e[27]!==w||e[28]!==N||e[29]!==j.length||e[30]!==i.status?(y=j.length===0?r.jsx(Ne,{}):r.jsx("div",{"data-chat-scroller":!0,className:"flex-1 overflow-y-auto min-h-0",children:r.jsxs("div",{className:"flex flex-col min-w-0 max-w-2xl mx-auto w-full",children:[N.map((_,M)=>r.jsx("div",{ref:M===N.length-1?w:void 0,children:r.jsx(de,{pair:_,isLastPair:M===N.length-1,status:M===N.length-1&&i.status==="in_progress"?"streaming":"ready"})},`pair-${_.user?.id??_.assistant?.id}`)),f&&r.jsx(Me,{})]})}),e[26]=f,e[27]=w,e[28]=N,e[29]=j.length,e[30]=i.status,e[31]=y):y=e[31];let E;return e[32]!==T||e[33]!==S||e[34]!==y?(E=r.jsxs(r.Fragment,{children:[T,S,y]}),e[32]=T,e[33]=S,e[34]=y,e[35]=E):E=e[35],E}function we(t){return t.role==="user"||t.role==="assistant"}function Ce(t){return t.items??[]}function Ee(t,e){const s=t,n=e;if(!((s?.items?.length??0)<B))return n.length*B}function Ie(){const t=P.c(4),e=F();let s;t[0]!==e?(s=e("orgs.threads.failedToLoadMessages"),t[0]=e,t[1]=s):s=t[1];let n;return t[2]!==s?(n=r.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:s}),t[2]=s,t[3]=n):n=t[3],n}function $e(){const t=P.c(4),e=F();let s;t[0]!==e?(s=e("orgs.threads.loadingConversation"),t[0]=e,t[1]=s):s=t[1];let n;return t[2]!==s?(n=r.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:s}),t[2]=s,t[3]=n):n=t[3],n}function Ye(t){const e=P.c(31),{thread:s,client:n,locator:i,connections:l,virtualMcps:a,members:u,nav:c,meta:m}=t,h=m===void 0?!0:m;let o;e[0]!==l||e[1]!==c||e[2]!==s||e[3]!==a?(o=r.jsx(V,{thread:s,connections:l,virtualMcps:a,nav:c}),e[0]=l,e[1]=c,e[2]=s,e[3]=a,e[4]=o):o=e[4];let d;e[5]===Symbol.for("react.memo_cache_sentinel")?(d=r.jsx(Ie,{}),e[5]=d):d=e[5];let x;e[6]!==o?(x=r.jsxs(r.Fragment,{children:[o,d]}),e[6]=o,e[7]=x):x=e[7];let b;e[8]!==l||e[9]!==c||e[10]!==s||e[11]!==a?(b=r.jsx(V,{thread:s,connections:l,virtualMcps:a,nav:c}),e[8]=l,e[9]=c,e[10]=s,e[11]=a,e[12]=b):b=e[12];let v;e[13]===Symbol.for("react.memo_cache_sentinel")?(v=r.jsx($e,{}),e[13]=v):v=e[13];let p;e[14]!==b?(p=r.jsxs(r.Fragment,{children:[b,v]}),e[14]=b,e[15]=p):p=e[15];let f;e[16]!==n||e[17]!==l||e[18]!==i||e[19]!==u||e[20]!==h||e[21]!==c||e[22]!==s||e[23]!==a?(f=r.jsx(_e,{client:n,locator:i,thread:s,connections:l,virtualMcps:a,members:u,nav:c,meta:h}),e[16]=n,e[17]=l,e[18]=i,e[19]=u,e[20]=h,e[21]=c,e[22]=s,e[23]=a,e[24]=f):f=e[24];let g;e[25]!==p||e[26]!==f?(g=r.jsx(G.Suspense,{fallback:p,children:f}),e[25]=p,e[26]=f,e[27]=g):g=e[27];let j;return e[28]!==x||e[29]!==g?(j=r.jsx(me,{children:r.jsx(ee,{fallback:x,children:g})}),e[28]=x,e[29]=g,e[30]=j):j=e[30],j}export{Ye as T,Ue as a,Ge as b,be as c,We as d,Je as e,Oe as f,qe as g,Qe as h,je as i,Y as j,X as k,Z as r};
|
|
1
|
+
import{eI as O,aJ as U,c as P,j as r,r as G,H as ee,b as F,B as K,a2 as te,K as Q,o as se,l as ne}from"./index-D3BU4CKS.js";import{u as re}from"./useSuspenseInfiniteQuery-BXP05Jj6.js";import{S as ae,c as ie}from"./sheet-CyB_gMhZ.js";import{A as le}from"./avatar-CH33aQPr.js";import{n as oe,t as ce}from"./ChevronUp-CD_eJpCe.js";import{n as J}from"./LinkBroken01-CjzbHWQV.js";import{u as ue,M as de}from"./pair-cOoEBMni.js";import{D as me}from"./chat-context-B30DgEAY.js";import{I as W}from"./integration-icon-CV_8l2P7.js";import{b as fe}from"./use-decopilot-events-CC84c_3Q.js";import{u as xe}from"./use-infinite-scroll-4YgBL66g.js";import{g as ge}from"./task-status-ByJkF-NQ.js";const z=[{ms:6e4,label:"1m"},{ms:12e4,label:"2m"},{ms:3e5,label:"5m"},{ms:6e5,label:"10m"},{ms:9e5,label:"15m"},{ms:18e5,label:"30m"},{ms:36e5,label:"1h"},{ms:72e5,label:"2h"},{ms:216e5,label:"6h"},{ms:432e5,label:"12h"},{ms:864e5,label:"1d"},{ms:6048e5,label:"7d"}],he=40;function qe(t){const s=(t.endDate.getTime()-t.startDate.getTime())/he;return z.find(i=>i.ms>=s)?.label??z[z.length-1].label}function H(t){const e=z.find(l=>l.label===t);if(e)return e.ms;const s=/^(\d+)([mhd])$/.exec(t);if(!s)return 6e4;const n=parseInt(s[1],10),i=s[2];return i==="h"?n*36e5:i==="d"?n*864e5:n*6e4}function pe(t,e){const s=new Date(t);return H(e)>=864e5?s.toLocaleDateString([],{month:"short",day:"numeric"}):s.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function q(t,e){const s=H(e);return new Date(Math.floor(t.getTime()/s)*s)}function be(t){return t>=1e4?`${(t/1e3).toFixed(1)}s`:`${Math.round(t)}ms`}function Oe(t){return Number.isFinite(t)?t>=1e6?`${(t/1e6).toFixed(1)}M`:t>=1e3?`${(t/1e3).toFixed(1)}K`:Math.round(t).toLocaleString():"0"}function Ue(t){return Number.isFinite(t)?`$${t.toFixed(t<1?4:2)}`:"$0.00"}function Ge(t,e,s){const n=H(s),i=q(e.startDate,s).getTime(),l=e.endDate.getTime(),a=new Map(t.map(c=>[q(new Date(c.timestamp),s).getTime(),c])),u=[];for(let c=i;c<=l;c+=n){const m=a.get(c),h=new Date(c).toISOString();u.push({t:h,ts:c,label:pe(h,s),calls:m?.calls??0,errors:m?.errors??0,errorRate:m?.errorRate??0,avg:m?.avg??0,p50:m?.p50??0,p95:m?.p95??0,inputTokens:m?.inputTokens??0,outputTokens:m?.outputTokens??0,totalTokens:m?.totalTokens??0,costUsd:m?.costUsd??0})}return u}function Qe(t,e,s,n){const i=new Map;for(const o of t)i.set(o.toolName,(i.get(o.toolName)??0)+o[e]);const l=[...i.entries()].sort((o,d)=>d[1]-o[1]).slice(0,s).map(([o])=>o),a=new Set(l),u=new Map,c=new Map;for(const o of t){if(!a.has(o.toolName))continue;const d=o.virtualMcpId??"";u.set(d,(u.get(d)??0)+o[e]),c.set(`${d}::${o.toolName}`,{calls:o.calls,errors:o.errors,outputSize:o.outputSize})}const m=[...u.entries()].sort((o,d)=>d[1]-o[1]).slice(0,n).map(([o])=>o);let h=0;for(const o of m)for(const d of l){const x=c.get(`${o}::${d}`);x&&x[e]>h&&(h=x[e])}return{topTools:l,topAgentIds:m,cellMap:c,maxValue:h}}function Je(t,e){return e==="requests"?t.calls:e==="errors"?t.errorRate:t.avgDurationMs}function We(t,e){return e==="requests"?t.calls.toLocaleString():e==="errors"?`${t.errorRate.toFixed(1)}%`:be(t.avgDurationMs)}function Y(t){return(t.run_config??{}).agent?.id??(t.virtual_mcp_id||null)}function Z(t,e,s,n){if(!t)return n;const i=e.find(a=>a.id===t)??s?.find(a=>a.id===t);if(i?.title)return i.title;const l=O(t);return l?U(l).title??n:t}function X(t,e,s){if(!t)return null;const n=e.find(l=>l.id===t)??s?.find(l=>l.id===t);if(n?.icon)return n.icon;const i=O(t);return i?U(i).icon??null:null}function je(t){return t?.data?.members??[]}function V(t){const e=P.c(32),{thread:s,connections:n,virtualMcps:i,nav:l}=t,a=F();let u,c;if(e[0]!==n||e[1]!==s||e[2]!==i){const N=Y(s);u=Z(N,i,n,""),c=X(N,i,n),e[0]=n,e[1]=s,e[2]=i,e[3]=u,e[4]=c}else u=e[3],c=e[4];const m=c;let h;e[5]!==u||e[6]!==a||e[7]!==s.title?(h=u||s.title||a("orgs.threads.untitledChat"),e[5]=u,e[6]=a,e[7]=s.title,e[8]=h):h=e[8];let o;e[9]===Symbol.for("react.memo_cache_sentinel")?(o=r.jsx(J,{}),e[9]=o):o=e[9];let d;e[10]!==m||e[11]!==h?(d=r.jsx(W,{icon:m,name:h,size:"sm",fallbackIcon:o,className:"shadow-sm shrink-0 rounded-md"}),e[10]=m,e[11]=h,e[12]=d):d=e[12];let x;e[13]!==a||e[14]!==s.title?(x=s.title||a("orgs.threads.untitledChat"),e[13]=a,e[14]=s.title,e[15]=x):x=e[15];let b;e[16]!==x?(b=r.jsx(ae,{className:"text-sm leading-snug truncate",children:x}),e[16]=x,e[17]=b):b=e[17];let v;e[18]!==u?(v=u&&r.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 truncate",children:u}),e[18]=u,e[19]=v):v=e[19];let p;e[20]!==b||e[21]!==v?(p=r.jsxs("div",{className:"min-w-0",children:[b,v]}),e[20]=b,e[21]=v,e[22]=p):p=e[22];let f;e[23]!==d||e[24]!==p?(f=r.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[d,p]}),e[23]=d,e[24]=p,e[25]=f):f=e[25];let g;e[26]!==l||e[27]!==a?(g=l&&r.jsxs("div",{className:"flex items-center gap-0.5 shrink-0",children:[r.jsx(K,{size:"icon",variant:"ghost",onClick:l.onPrev,disabled:l.index===0,className:"h-7 w-7 text-muted-foreground","aria-label":a("orgs.threads.previousChat"),children:r.jsx(oe,{size:14})}),r.jsx(K,{size:"icon",variant:"ghost",onClick:l.onNext,disabled:l.index===l.total-1,className:"h-7 w-7 text-muted-foreground","aria-label":a("orgs.threads.nextChat"),children:r.jsx(ce,{size:14})})]}),e[26]=l,e[27]=a,e[28]=g):g=e[28];let j;return e[29]!==g||e[30]!==f?(j=r.jsx(ie,{className:"px-5 md:px-6 pt-6 pb-5 border-b border-border shrink-0",children:r.jsxs("div",{className:"flex items-start justify-between gap-3 pr-8",children:[f,g]})}),e[29]=g,e[30]=f,e[31]=j):j=e[31],j}function ve(t){const e=P.c(62),{thread:s,connections:n,virtualMcps:i,members:l}=t,a=F();let u,c;if(e[0]!==n||e[1]!==s||e[2]!==i){const I=Y(s);u=Z(I,i,n,""),c=X(I,i,n),e[0]=n,e[1]=s,e[2]=i,e[3]=u,e[4]=c}else u=e[3],c=e[4];const m=c;let h;if(e[5]!==l||e[6]!==s.created_by){const I=je(l);let R;e[8]!==s.created_by?(R=L=>L.userId===s.created_by,e[8]=s.created_by,e[9]=R):R=e[9],h=I.find(R),e[5]=l,e[6]=s.created_by,e[7]=h}else h=e[7];const o=h;let d;e[10]!==o?.user.email||e[11]!==o?.user.name||e[12]!==s.created_by?(d=o?.user.name??o?.user.email??s.created_by?.substring(0,8)??"—",e[10]=o?.user.email,e[11]=o?.user.name,e[12]=s.created_by,e[13]=d):d=e[13];const x=d,b=o?.user.image??void 0;let v;e[14]!==s.created_at?(v=new Date(s.created_at).toLocaleString("en-US",{month:"short",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}),e[14]=s.created_at,e[15]=v):v=e[15];const p=v;let f,g,j,N,C,w;if(e[16]!==a||e[17]!==s.status){const I=ge(s.status),R=I.icon;f="px-5 md:px-6 py-5 border-b border-border grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-4 text-sm";let L;e[24]!==a?(L=a("orgs.threads.status"),e[24]=a,e[25]=L):L=e[25],e[26]!==L?(w=r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:L}),e[26]=L,e[27]=w):w=e[27],N="flex items-center gap-1.5",C=r.jsx(R,{size:13,className:I.iconClassName}),g=ne("text-sm",I.labelColor),j=a(I.labelKey),e[16]=a,e[17]=s.status,e[18]=f,e[19]=g,e[20]=j,e[21]=N,e[22]=C,e[23]=w}else f=e[18],g=e[19],j=e[20],N=e[21],C=e[22],w=e[23];let T;e[28]!==g||e[29]!==j?(T=r.jsx("span",{className:g,children:j}),e[28]=g,e[29]=j,e[30]=T):T=e[30];let S;e[31]!==T||e[32]!==N||e[33]!==C?(S=r.jsxs("div",{className:N,children:[C,T]}),e[31]=T,e[32]=N,e[33]=C,e[34]=S):S=e[34];let y;e[35]!==S||e[36]!==w?(y=r.jsxs("div",{children:[w,S]}),e[35]=S,e[36]=w,e[37]=y):y=e[37];let E;e[38]!==a?(E=a("orgs.threads.date"),e[38]=a,e[39]=E):E=e[39];let _;e[40]!==E?(_=r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:E}),e[40]=E,e[41]=_):_=e[41];let M;e[42]!==p?(M=r.jsx("div",{className:"text-sm text-foreground",children:p}),e[42]=p,e[43]=M):M=e[43];let D;e[44]!==_||e[45]!==M?(D=r.jsxs("div",{children:[_,M]}),e[44]=_,e[45]=M,e[46]=D):D=e[46];let $;e[47]!==a||e[48]!==s.created_by||e[49]!==b||e[50]!==x?($=s.created_by&&r.jsxs("div",{children:[r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:a("orgs.threads.user")}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(le,{url:b,fallback:x,shape:"circle",size:"2xs",className:"shrink-0"}),r.jsx("span",{className:"text-sm text-foreground",children:x})]})]}),e[47]=a,e[48]=s.created_by,e[49]=b,e[50]=x,e[51]=$):$=e[51];let k;e[52]!==m||e[53]!==u||e[54]!==a?(k=u&&r.jsxs("div",{children:[r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:a("orgs.threads.agent")}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(W,{icon:m,name:u,size:"xs",fallbackIcon:r.jsx(J,{}),className:"shrink-0 size-5! min-w-5! rounded-md"}),r.jsx("span",{className:"text-sm text-foreground",children:u})]})]}),e[52]=m,e[53]=u,e[54]=a,e[55]=k):k=e[55];let A;return e[56]!==f||e[57]!==y||e[58]!==D||e[59]!==$||e[60]!==k?(A=r.jsxs("div",{className:f,children:[y,D,$,k]}),e[56]=f,e[57]=y,e[58]=D,e[59]=$,e[60]=k,e[61]=A):A=e[61],A}const B=100;function Ne(){const t=P.c(4),e=F();let s;t[0]!==e?(s=e("orgs.threads.noMessagesInChat"),t[0]=e,t[1]=s):s=t[1];let n;return t[2]!==s?(n=r.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:s}),t[2]=s,t[3]=n):n=t[3],n}function Me(){const t=P.c(4),e=F();let s;t[0]!==e?(s=e("orgs.threads.loadingMore"),t[0]=e,t[1]=s):s=t[1];let n;return t[2]!==s?(n=r.jsx("div",{className:"py-4 text-center text-xs text-muted-foreground",children:s}),t[2]=s,t[3]=n):n=t[3],n}const Te=400,Se=5e3;function ye(t,e,s){const n=P.c(8),i=se(),l=G.useRef(null);let a;n[0]!==e||n[1]!==i||n[2]!==s?(a=()=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{l.current=null,i.invalidateQueries({queryKey:Q.threadMessages(e,s)})},Te)},n[0]=e,n[1]=i,n[2]=s,n[3]=a):a=n[3];const u=a;let c;n[4]!==t||n[5]!==u||n[6]!==s?(c={orgSlug:t,taskId:s,onStep:u,onFinish:u,onReconnect:u},n[4]=t,n[5]=u,n[6]=s,n[7]=c):c=n[7],fe(c)}function _e(t){const e=P.c(36),{client:s,locator:n,thread:i,connections:l,virtualMcps:a,members:u,nav:c,meta:m}=t,{org:h}=te();let o;e[0]!==n||e[1]!==i.id?(o=Q.threadMessages(n,i.id),e[0]=n,e[1]=i.id,e[2]=o):o=e[2];let d;e[3]!==s||e[4]!==i.id?(d=async _=>{const{pageParam:M}=_,D=M===void 0?0:M;if(!s)throw new Error("MCP client is not available");const $=await s.callTool({name:"COLLECTION_THREAD_MESSAGES_LIST",arguments:{thread_id:i.id,limit:B,offset:D}});return $.structuredContent??$},e[3]=s,e[4]=i.id,e[5]=d):d=e[5];let x;e[6]!==o||e[7]!==d?(x={queryKey:o,queryFn:d,initialPageParam:0,getNextPageParam:Ee,staleTime:0,refetchInterval:Se},e[6]=o,e[7]=d,e[8]=x):x=e[8];const{data:b,fetchNextPage:v,hasNextPage:p,isFetchingNextPage:f}=re(x);ye(h.slug,n,i.id);let g;e[9]!==b.pages?(g=b.pages.flatMap(Ce).filter(we),e[9]=b.pages,e[10]=g):g=e[10];const j=g,N=ue(j);let C;e[11]!==v||e[12]!==p||e[13]!==f?(C=()=>{p&&!f&&v()},e[11]=v,e[12]=p,e[13]=f,e[14]=C):C=e[14];const w=xe(C,p??!1,f);let T;e[15]!==l||e[16]!==c||e[17]!==i||e[18]!==a?(T=r.jsx(V,{thread:i,connections:l,virtualMcps:a,nav:c}),e[15]=l,e[16]=c,e[17]=i,e[18]=a,e[19]=T):T=e[19];let S;e[20]!==l||e[21]!==u||e[22]!==m||e[23]!==i||e[24]!==a?(S=m&&r.jsx(ve,{thread:i,connections:l,virtualMcps:a,members:u}),e[20]=l,e[21]=u,e[22]=m,e[23]=i,e[24]=a,e[25]=S):S=e[25];let y;e[26]!==f||e[27]!==w||e[28]!==N||e[29]!==j.length||e[30]!==i.status?(y=j.length===0?r.jsx(Ne,{}):r.jsx("div",{"data-chat-scroller":!0,className:"flex-1 overflow-y-auto min-h-0",children:r.jsxs("div",{className:"flex flex-col min-w-0 max-w-2xl mx-auto w-full",children:[N.map((_,M)=>r.jsx("div",{ref:M===N.length-1?w:void 0,children:r.jsx(de,{pair:_,isLastPair:M===N.length-1,status:M===N.length-1&&i.status==="in_progress"?"streaming":"ready"})},`pair-${_.user?.id??_.assistant?.id}`)),f&&r.jsx(Me,{})]})}),e[26]=f,e[27]=w,e[28]=N,e[29]=j.length,e[30]=i.status,e[31]=y):y=e[31];let E;return e[32]!==T||e[33]!==S||e[34]!==y?(E=r.jsxs(r.Fragment,{children:[T,S,y]}),e[32]=T,e[33]=S,e[34]=y,e[35]=E):E=e[35],E}function we(t){return t.role==="user"||t.role==="assistant"}function Ce(t){return t.items??[]}function Ee(t,e){const s=t,n=e;if(!((s?.items?.length??0)<B))return n.length*B}function Ie(){const t=P.c(4),e=F();let s;t[0]!==e?(s=e("orgs.threads.failedToLoadMessages"),t[0]=e,t[1]=s):s=t[1];let n;return t[2]!==s?(n=r.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:s}),t[2]=s,t[3]=n):n=t[3],n}function $e(){const t=P.c(4),e=F();let s;t[0]!==e?(s=e("orgs.threads.loadingConversation"),t[0]=e,t[1]=s):s=t[1];let n;return t[2]!==s?(n=r.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:s}),t[2]=s,t[3]=n):n=t[3],n}function Ye(t){const e=P.c(31),{thread:s,client:n,locator:i,connections:l,virtualMcps:a,members:u,nav:c,meta:m}=t,h=m===void 0?!0:m;let o;e[0]!==l||e[1]!==c||e[2]!==s||e[3]!==a?(o=r.jsx(V,{thread:s,connections:l,virtualMcps:a,nav:c}),e[0]=l,e[1]=c,e[2]=s,e[3]=a,e[4]=o):o=e[4];let d;e[5]===Symbol.for("react.memo_cache_sentinel")?(d=r.jsx(Ie,{}),e[5]=d):d=e[5];let x;e[6]!==o?(x=r.jsxs(r.Fragment,{children:[o,d]}),e[6]=o,e[7]=x):x=e[7];let b;e[8]!==l||e[9]!==c||e[10]!==s||e[11]!==a?(b=r.jsx(V,{thread:s,connections:l,virtualMcps:a,nav:c}),e[8]=l,e[9]=c,e[10]=s,e[11]=a,e[12]=b):b=e[12];let v;e[13]===Symbol.for("react.memo_cache_sentinel")?(v=r.jsx($e,{}),e[13]=v):v=e[13];let p;e[14]!==b?(p=r.jsxs(r.Fragment,{children:[b,v]}),e[14]=b,e[15]=p):p=e[15];let f;e[16]!==n||e[17]!==l||e[18]!==i||e[19]!==u||e[20]!==h||e[21]!==c||e[22]!==s||e[23]!==a?(f=r.jsx(_e,{client:n,locator:i,thread:s,connections:l,virtualMcps:a,members:u,nav:c,meta:h}),e[16]=n,e[17]=l,e[18]=i,e[19]=u,e[20]=h,e[21]=c,e[22]=s,e[23]=a,e[24]=f):f=e[24];let g;e[25]!==p||e[26]!==f?(g=r.jsx(G.Suspense,{fallback:p,children:f}),e[25]=p,e[26]=f,e[27]=g):g=e[27];let j;return e[28]!==x||e[29]!==g?(j=r.jsx(me,{children:r.jsx(ee,{fallback:x,children:g})}),e[28]=x,e[29]=g,e[30]=j):j=e[30],j}export{Ye as T,Ue as a,Ge as b,be as c,We as d,Je as e,Oe as f,qe as g,Qe as h,je as i,Y as j,X as k,Z as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as t,I as O,l as E,B as C}from"./index-
|
|
1
|
+
import{r as u,j as t,I as O,l as E,B as C}from"./index-D3BU4CKS.js";import{P as H,a as P,b as _}from"./popover-BJJCONuc.js";import{S as G}from"./scroll-area-CBm3Mvt0.js";import{t as K}from"./ChevronUp-CD_eJpCe.js";import{a0 as Y,M as q}from"./agent-icon-BJU4FOH6.js";import{C as J}from"./calendar-CNULKijr.js";const B=/^now(?:-(\d+)([mhdwM]))?$/,W={m:"minute",h:"hour",d:"day",w:"week",M:"month"};function z(e){const s=e.trim();if(s==="now")return{isNow:!0,offset:0,unit:null};const r=s.match(B);if(!r)return null;const l=r[1]?Number.parseInt(r[1],10):0,n=r[2]||null;return{isNow:!0,offset:l,unit:n}}function h(e,s=new Date){const r=e.trim(),l=new Date(r);if(!Number.isNaN(l.getTime())&&r.includes("-"))return{valid:!0,date:l};const n=z(r);if(!n)return{valid:!1,date:null,error:'Invalid expression. Use "now" or "now-Xu" (e.g., now-2d, now-3h)'};const o=new Date(s);if(n.offset===0||!n.unit)return{valid:!0,date:o};switch(n.unit){case"m":o.setMinutes(o.getMinutes()-n.offset);break;case"h":o.setHours(o.getHours()-n.offset);break;case"d":o.setDate(o.getDate()-n.offset);break;case"w":o.setDate(o.getDate()-n.offset*7);break;case"M":o.setMonth(o.getMonth()-n.offset);break}return{valid:!0,date:o}}function Z(e){return e.toLocaleString(void 0,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}function Q(e){const s=e.trim();return B.test(s)}function V(e){const s=e.trim();if(s==="now")return"Now";const r=z(s);if(!r||!r.unit){const o=h(s);return o.valid&&o.date?Z(o.date):s}const l=W[r.unit],n=r.offset!==1?"s":"";return`${r.offset} ${l}${n} ago`}const U=[{label:"Last 5 minutes",from:"now-5m",to:"now",value:"5m"},{label:"Last 15 minutes",from:"now-15m",to:"now",value:"15m"},{label:"Last 30 minutes",from:"now-30m",to:"now",value:"30m"},{label:"Last 1 hour",from:"now-1h",to:"now",value:"1h"},{label:"Last 3 hours",from:"now-3h",to:"now",value:"3h"},{label:"Last 6 hours",from:"now-6h",to:"now",value:"6h"},{label:"Last 12 hours",from:"now-12h",to:"now",value:"12h"},{label:"Last 24 hours",from:"now-24h",to:"now",value:"24h"},{label:"Last 2 days",from:"now-2d",to:"now",value:"2d"},{label:"Last 7 days",from:"now-7d",to:"now",value:"7d"},{label:"Last 30 days",from:"now-30d",to:"now",value:"30d"}];function ee(e,s,r=U){const l=r.find(n=>n.from===e&&n.to===s);return l?l.label:`${V(e)} to ${V(s)}`}function T(e){const s=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),l=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),p=String(e.getSeconds()).padStart(2,"0");return`${s}-${r}-${l} ${n}:${o}:${p}`}function te(e){const s=e.match(/^(\d{4})-(\d{2})-(\d{2})\s+(\d{2}):(\d{2}):(\d{2})$/);if(!s)return null;const[,r,l,n,o,p,g]=s,x=new Date(Number(r),Number(l)-1,Number(n),Number(o),Number(p),Number(g));return Number.isNaN(x.getTime())?null:x}function $(e){if(Q(e))return e;const s=h(e);return s.valid&&s.date?T(s.date):e}function A({value:e,onChange:s,placeholder:r="now or now-2d",className:l,disabled:n,error:o}){const[p,g]=u.useState(!1),[x,m]=u.useState(()=>$(e)),[L,c]=u.useState(),[D,w]=u.useState(!1),b=u.useRef(e);b.current!==e&&(b.current=e,D||m($(e)));const y=i=>{const d=i.target.value;m(d),c(void 0)},R=()=>{w(!0)},N=()=>{w(!1);const i=x.trim();if(Q(i)){c(void 0),s(i);return}const d=te(i);if(d){c(void 0),s(d.toISOString()),m(T(d));return}const f=h(i);if(f.valid&&f.date){c(void 0),s(i),m(T(f.date));return}m($(e)),c(void 0)},v=i=>{if(i){const f=h(e).date||new Date;i.setHours(f.getHours()),i.setMinutes(f.getMinutes()),i.setSeconds(0),i.setMilliseconds(0);const F=i.toISOString();m(T(i)),s(F),c(void 0)}g(!1)},M=i=>{const[d,f]=i.target.value.split(":").map(Number),j=h(e).date||new Date;j.setHours(d||0),j.setMinutes(f||0),j.setSeconds(0),j.setMilliseconds(0);const X=j.toISOString();m(T(j)),s(X)},I=h(e),S=I.valid?I.date:new Date,k=S?`${String(S.getHours()).padStart(2,"0")}:${String(S.getMinutes()).padStart(2,"0")}`:"",a=o||L;return t.jsxs("div",{className:E("flex gap-1",l),children:[t.jsxs("div",{className:"flex-1 relative",children:[t.jsx(O,{value:x,onChange:y,onFocus:R,onBlur:N,placeholder:r,disabled:n,className:E("text-sm h-8",a&&"border-destructive focus-visible:ring-destructive")}),a&&t.jsx("p",{className:"text-xs text-destructive mt-1",children:a})]}),t.jsxs(H,{open:p,onOpenChange:g,children:[t.jsx(P,{asChild:!0,children:t.jsx(C,{variant:"outline",size:"icon",className:"h-8 w-8 shrink-0",disabled:n,children:t.jsx(Y,{className:"h-4 w-4"})})}),t.jsxs(_,{className:"w-auto p-0",align:"end",children:[t.jsx(J,{mode:"single",selected:S||void 0,onSelect:v,initialFocus:!0}),t.jsxs("div",{className:"border-t p-3",children:[t.jsx("label",{className:"text-xs text-muted-foreground mb-1.5 block",children:"Time"}),t.jsx(O,{type:"time",value:k,onChange:M,className:"text-sm h-8"})]})]})]})]})}function le({value:e,onChange:s,className:r,disabled:l,quickRanges:n=U,labels:o}){const p=o?.absoluteTimeRange??"Absolute time range",g=o?.from??"From",x=o?.to??"To",m=o?.applyTimeRange??"Apply time range",[L,c]=u.useState(!1),[D,w]=u.useState(e.from),[b,y]=u.useState(e.to),[R,N]=u.useState(null),v=u.useRef({from:e.from,to:e.to});(v.current.from!==e.from||v.current.to!==e.to)&&(v.current={from:e.from,to:e.to},w(e.from),y(e.to));const M=a=>{v.current={from:a.from,to:a.to},w(a.from),y(a.to),c(!1),s({from:a.from,to:a.to})},I=()=>{const a=h(D),i=h(b);if(!a.valid||!a.date){N("Invalid 'From' date");return}if(!i.valid||!i.date){N("Invalid 'To' date");return}if(a.date>=i.date){N("'From' must be before 'To'");return}N(null),s({from:D,to:b}),c(!1)},S=a=>e.from===a.from&&e.to===a.to,k=ee(e.from,e.to,n);return t.jsxs(H,{open:L,onOpenChange:c,children:[t.jsx(P,{asChild:!0,children:t.jsxs(C,{variant:"outline",className:E("gap-1.5 min-w-[160px] justify-between",r),disabled:l,children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(q,{className:"size-4 text-muted-foreground"}),t.jsx("span",{className:"text-sm",children:k})]}),t.jsx(K,{className:"size-4 text-muted-foreground"})]})}),t.jsx(_,{className:"w-[540px] p-0",align:"end",sideOffset:4,onCloseAutoFocus:a=>a.preventDefault(),style:L?void 0:{animationDuration:"0s"},children:t.jsxs("div",{className:"flex",children:[t.jsxs("div",{className:"flex-1 p-4 border-r",children:[t.jsx("h4",{className:"text-sm font-medium mb-4",children:p}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{children:[t.jsx("label",{className:"text-xs text-muted-foreground mb-1.5 block",children:g}),t.jsx(A,{value:D,onChange:w,placeholder:"now-24h"})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-xs text-muted-foreground mb-1.5 block",children:x}),t.jsx(A,{value:b,onChange:y,placeholder:"now"})]}),R&&t.jsx("p",{className:"text-xs text-destructive",children:R}),t.jsx(C,{onClick:I,className:"w-full",size:"sm",children:m})]})]}),t.jsx("div",{className:"w-[200px]",children:t.jsx(G,{className:"h-[280px]",children:t.jsx("div",{className:"p-2",children:n.map(a=>{const i=S(a);return t.jsx("button",{type:"button",onClick:()=>M(a),className:E("w-full text-left px-3 py-2 text-sm rounded-lg transition-colors","hover:bg-accent hover:text-accent-foreground",i&&"bg-accent text-accent-foreground font-medium"),children:a.label},a.value)})})})})]})})]})}export{le as T,h as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as x,bv as b,j as c,bA as m,bB as V,dS as p,eK as k,eL as T,bN as M,bu as A,eM as F,aS as $,c as P,l as C}from"./index-
|
|
1
|
+
import{r as x,bv as b,j as c,bA as m,bB as V,dS as p,eK as k,eL as T,bN as M,bu as A,eM as F,aS as $,c as P,l as C}from"./index-D3BU4CKS.js";var j="Toggle",_=x.forwardRef((r,e)=>{const{pressed:l,defaultPressed:s,onPressedChange:n,...a}=r,[t,o]=b({prop:l,onChange:n,defaultProp:s??!1,caller:j});return c.jsx(m.button,{type:"button","aria-pressed":t,"data-state":t?"on":"off","data-disabled":r.disabled?"":void 0,...a,ref:e,onClick:V(r.onClick,()=>{r.disabled||o(!t)})})});_.displayName=j;var v="ToggleGroup",[w]=M(v,[T]),I=T(),h=p.forwardRef((r,e)=>{const{type:l,...s}=r;if(l==="single"){const n=s;return c.jsx(D,{...n,ref:e})}if(l==="multiple"){const n=s;return c.jsx(B,{...n,ref:e})}throw new Error(`Missing prop \`type\` expected on \`${v}\``)});h.displayName=v;var[z,y]=w(v),D=p.forwardRef((r,e)=>{const{value:l,defaultValue:s,onValueChange:n=()=>{},...a}=r,[t,o]=b({prop:l,defaultProp:s??"",onChange:n,caller:v});return c.jsx(z,{scope:r.__scopeToggleGroup,type:"single",value:p.useMemo(()=>t?[t]:[],[t]),onItemActivate:o,onItemDeactivate:p.useCallback(()=>o(""),[o]),children:c.jsx(R,{...a,ref:e})})}),B=p.forwardRef((r,e)=>{const{value:l,defaultValue:s,onValueChange:n=()=>{},...a}=r,[t,o]=b({prop:l,defaultProp:s??[],onChange:n,caller:v}),i=p.useCallback(u=>o((g=[])=>[...g,u]),[o]),d=p.useCallback(u=>o((g=[])=>g.filter(S=>S!==u)),[o]);return c.jsx(z,{scope:r.__scopeToggleGroup,type:"multiple",value:t,onItemActivate:i,onItemDeactivate:d,children:c.jsx(R,{...a,ref:e})})});h.displayName=v;var[L,O]=w(v),R=p.forwardRef((r,e)=>{const{__scopeToggleGroup:l,disabled:s=!1,rovingFocus:n=!0,orientation:a,dir:t,loop:o=!0,...i}=r,d=I(l),u=A(t),g={role:"group",dir:u,...i};return c.jsx(L,{scope:l,rovingFocus:n,disabled:s,children:n?c.jsx(F,{asChild:!0,...d,orientation:a,dir:u,loop:o,children:c.jsx(m.div,{...g,ref:e})}):c.jsx(m.div,{...g,ref:e})})}),f="ToggleGroupItem",N=p.forwardRef((r,e)=>{const l=y(f,r.__scopeToggleGroup),s=O(f,r.__scopeToggleGroup),n=I(r.__scopeToggleGroup),a=l.value.includes(r.value),t=s.disabled||r.disabled,o={...r,pressed:a,disabled:t},i=p.useRef(null);return s.rovingFocus?c.jsx(k,{asChild:!0,...n,focusable:!t,active:a,ref:i,children:c.jsx(G,{...o,ref:e})}):c.jsx(G,{...o,ref:e})});N.displayName=f;var G=p.forwardRef((r,e)=>{const{__scopeToggleGroup:l,value:s,...n}=r,a=y(f,l),t={role:"radio","aria-checked":r.pressed,"aria-pressed":void 0},o=a.type==="single"?t:void 0;return c.jsx(_,{...o,...n,ref:e,onPressedChange:i=>{i?a.onItemActivate(s):a.onItemDeactivate(s)}})}),H=h,K=N;const U=$("inline-flex items-center justify-center gap-2 rounded-lg text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:ring-[2px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-2 min-w-9",sm:"h-7 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),E=x.createContext({size:"default",variant:"default"});function J(r){const e=P.c(20);let l,s,n,a,t;e[0]!==r?({className:s,variant:t,size:a,children:l,...n}=r,e[0]=r,e[1]=l,e[2]=s,e[3]=n,e[4]=a,e[5]=t):(l=e[1],s=e[2],n=e[3],a=e[4],t=e[5]);let o;e[6]!==s?(o=C("group/toggle-group flex w-fit items-center rounded-lg data-[variant=outline]:shadow-xs",s),e[6]=s,e[7]=o):o=e[7];let i;e[8]!==a||e[9]!==t?(i={variant:t,size:a},e[8]=a,e[9]=t,e[10]=i):i=e[10];let d;e[11]!==l||e[12]!==i?(d=c.jsx(E.Provider,{value:i,children:l}),e[11]=l,e[12]=i,e[13]=d):d=e[13];let u;return e[14]!==n||e[15]!==a||e[16]!==o||e[17]!==d||e[18]!==t?(u=c.jsx(H,{"data-slot":"toggle-group","data-variant":t,"data-size":a,className:o,...n,children:d}),e[14]=n,e[15]=a,e[16]=o,e[17]=d,e[18]=t,e[19]=u):u=e[19],u}function Q(r){const e=P.c(18);let l,s,n,a,t;e[0]!==r?({className:s,children:l,variant:t,size:a,...n}=r,e[0]=r,e[1]=l,e[2]=s,e[3]=n,e[4]=a,e[5]=t):(l=e[1],s=e[2],n=e[3],a=e[4],t=e[5]);const o=x.useContext(E),i=o.variant||t,d=o.size||a;let u;e[6]!==s||e[7]!==o.size||e[8]!==o.variant||e[9]!==a||e[10]!==t?(u=C(U({variant:o.variant||t,size:o.size||a}),"min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-lg last:rounded-r-lg focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",s),e[6]=s,e[7]=o.size,e[8]=o.variant,e[9]=a,e[10]=t,e[11]=u):u=e[11];let g;return e[12]!==l||e[13]!==n||e[14]!==i||e[15]!==d||e[16]!==u?(g=c.jsx(K,{"data-slot":"toggle-group-item","data-variant":i,"data-size":d,className:u,...n,children:l}),e[12]=l,e[13]=n,e[14]=i,e[15]=d,e[16]=u,e[17]=g):g=e[17],g}export{Q as T,J as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./index-
|
|
1
|
+
import"./index-D3BU4CKS.js";function i(t){let r=2166136261;for(let e=0;e<t.length;e++)r=Math.imul(r^t.charCodeAt(e),16777619);return`a${(r>>>0).toString(36).padStart(6,"0").slice(-6)}`}function l(t){if(t&&typeof t=="object"&&"gatewayClientId"in t&&typeof t.gatewayClientId=="string")return t.gatewayClientId}function n(t,r){if(!r)return t;const e=`${i(r)}_`;return t.startsWith(e)?t.slice(e.length):t}function s(t,r){return n(t,r).replace(/[_-]/g," ").toLowerCase()}const o=/^mcp__[a-zA-Z0-9_-]+__/;function c(t){return t.replace(o,"")}export{c as a,s as d,l as g,n as s};
|
package/dist/client/assets/{toolbar-icon-button-BXIVPBnN.js → toolbar-icon-button-mpzwfaax.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as f,l as u,j as b,B as d}from"./index-
|
|
1
|
+
import{c as f,l as u,j as b,B as d}from"./index-D3BU4CKS.js";const v="focus-visible:not-forced-colors:outline-none focus-visible:forced-colors:outline-2 focus-visible:forced-colors:outline-offset-0 focus-visible:ring-0 focus-visible:border-border focus-visible:inset-ring-2 focus-visible:inset-ring-ring/50";function m(n){return u("[transition:background-color_180ms_ease,color_180ms_ease] hover:bg-sidebar-accent hover:text-sidebar-foreground dark:hover:bg-sidebar-accent",v,n?"bg-sidebar-accent text-sidebar-foreground":"text-sidebar-foreground/60")}function p(n){const e=f.c(14);let o,s,t,i,c;e[0]!==n?({active:o,className:s,ref:i,type:c,...t}=n,e[0]=n,e[1]=o,e[2]=s,e[3]=t,e[4]=i,e[5]=c):(o=e[1],s=e[2],t=e[3],i=e[4],c=e[5]);const a=c===void 0?"button":c;let r;e[6]!==o||e[7]!==s?(r=u("relative size-10 md:size-7","max-md:[&_svg:not([class*='size-'])]:size-5",m(o),s),e[6]=o,e[7]=s,e[8]=r):r=e[8];let l;return e[9]!==t||e[10]!==i||e[11]!==r||e[12]!==a?(l=b.jsx(d,{ref:i,type:a,variant:"ghost",size:"icon-sm",className:r,...t}),e[9]=t,e[10]=i,e[11]=r,e[12]=a,e[13]=l):l=e[13],l}export{v as I,p as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,bx as K,bv as Q,j as c,bw as W,by as H,bz as J,bA as Z,bB as b,dl as S,bD as ee,bE as $,bM as te,bP as oe,bN as re,dm as ne,bQ as se,c as j,l as ae}from"./index-
|
|
1
|
+
import{r as i,bx as K,bv as Q,j as c,bw as W,by as H,bz as J,bA as Z,bB as b,dl as S,bD as ee,bE as $,bM as te,bP as oe,bN as re,dm as ne,bQ as se,c as j,l as ae}from"./index-D3BU4CKS.js";import{R as ie}from"./index-CvQp8tpM.js";var[O]=re("Tooltip",[$]),D=$(),G="TooltipProvider",le=700,A="tooltip.open",[ce,k]=O(G),z=o=>{const{__scopeTooltip:e,delayDuration:t=le,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:s}=o,l=i.useRef(!0),d=i.useRef(!1),a=i.useRef(0);return i.useEffect(()=>{const p=a.current;return()=>window.clearTimeout(p)},[]),c.jsx(ce,{scope:e,isOpenDelayedRef:l,delayDuration:t,onOpen:i.useCallback(()=>{window.clearTimeout(a.current),l.current=!1},[]),onClose:i.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:d,onPointerInTransitChange:i.useCallback(p=>{d.current=p},[]),disableHoverableContent:n,children:s})};z.displayName=G;var R="Tooltip",[ue,_]=O(R),F=o=>{const{__scopeTooltip:e,children:t,open:r,defaultOpen:n,onOpenChange:s,disableHoverableContent:l,delayDuration:d}=o,a=k(R,o.__scopeTooltip),p=D(e),[u,v]=i.useState(null),x=K(),f=i.useRef(0),h=l??a.disableHoverableContent,T=d??a.delayDuration,g=i.useRef(!1),[y,m]=Q({prop:r,defaultProp:n??!1,onChange:I=>{I?(a.onOpen(),document.dispatchEvent(new CustomEvent(A))):a.onClose(),s?.(I)},caller:R}),w=i.useMemo(()=>y?g.current?"delayed-open":"instant-open":"closed",[y]),E=i.useCallback(()=>{window.clearTimeout(f.current),f.current=0,g.current=!1,m(!0)},[m]),P=i.useCallback(()=>{window.clearTimeout(f.current),f.current=0,m(!1)},[m]),N=i.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{g.current=!0,m(!0),f.current=0},T)},[T,m]);return i.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),c.jsx(W,{...p,children:c.jsx(ue,{scope:e,contentId:x,open:y,stateAttribute:w,trigger:u,onTriggerChange:v,onTriggerEnter:i.useCallback(()=>{a.isOpenDelayedRef.current?N():E()},[a.isOpenDelayedRef,N,E]),onTriggerLeave:i.useCallback(()=>{h?P():(window.clearTimeout(f.current),f.current=0)},[P,h]),onOpen:E,onClose:P,disableHoverableContent:h,children:t})})};F.displayName=R;var L="TooltipTrigger",B=i.forwardRef((o,e)=>{const{__scopeTooltip:t,...r}=o,n=_(L,t),s=k(L,t),l=D(t),d=i.useRef(null),a=H(e,d,n.onTriggerChange),p=i.useRef(!1),u=i.useRef(!1),v=i.useCallback(()=>p.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),c.jsx(J,{asChild:!0,...l,children:c.jsx(Z.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:a,onPointerMove:b(o.onPointerMove,x=>{x.pointerType!=="touch"&&!u.current&&!s.isPointerInTransitRef.current&&(n.onTriggerEnter(),u.current=!0)}),onPointerLeave:b(o.onPointerLeave,()=>{n.onTriggerLeave(),u.current=!1}),onPointerDown:b(o.onPointerDown,()=>{n.open&&n.onClose(),p.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:b(o.onFocus,()=>{p.current||n.onOpen()}),onBlur:b(o.onBlur,n.onClose),onClick:b(o.onClick,n.onClose)})})});B.displayName=L;var M="TooltipPortal",[de,pe]=O(M,{forceMount:void 0}),U=o=>{const{__scopeTooltip:e,forceMount:t,children:r,container:n}=o,s=_(M,e);return c.jsx(de,{scope:e,forceMount:t,children:c.jsx(S,{present:t||s.open,children:c.jsx(ee,{asChild:!0,container:n,children:r})})})};U.displayName=M;var C="TooltipContent",V=i.forwardRef((o,e)=>{const t=pe(C,o.__scopeTooltip),{forceMount:r=t.forceMount,side:n="top",...s}=o,l=_(C,o.__scopeTooltip);return c.jsx(S,{present:r||l.open,children:l.disableHoverableContent?c.jsx(Y,{side:n,...s,ref:e}):c.jsx(fe,{side:n,...s,ref:e})})}),fe=i.forwardRef((o,e)=>{const t=_(C,o.__scopeTooltip),r=k(C,o.__scopeTooltip),n=i.useRef(null),s=H(e,n),[l,d]=i.useState(null),{trigger:a,onClose:p}=t,u=n.current,{onPointerInTransitChange:v}=r,x=i.useCallback(()=>{d(null),v(!1)},[v]),f=i.useCallback((h,T)=>{const g=h.currentTarget,y={x:h.clientX,y:h.clientY},m=ge(y,g.getBoundingClientRect()),w=Te(y,m),E=me(T.getBoundingClientRect()),P=be([...w,...E]);d(P),v(!0)},[v]);return i.useEffect(()=>()=>x(),[x]),i.useEffect(()=>{if(a&&u){const h=g=>f(g,u),T=g=>f(g,a);return a.addEventListener("pointerleave",h),u.addEventListener("pointerleave",T),()=>{a.removeEventListener("pointerleave",h),u.removeEventListener("pointerleave",T)}}},[a,u,f,x]),i.useEffect(()=>{if(l){const h=T=>{const g=T.target,y={x:T.clientX,y:T.clientY},m=a?.contains(g)||u?.contains(g),w=!ye(y,l);m?x():w&&(x(),p())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[a,u,l,p,x]),c.jsx(Y,{...o,ref:s})}),[ve,xe]=O(R,{isInside:!1}),he=ne("TooltipContent"),Y=i.forwardRef((o,e)=>{const{__scopeTooltip:t,children:r,"aria-label":n,onEscapeKeyDown:s,onPointerDownOutside:l,...d}=o,a=_(C,t),p=D(t),{onClose:u}=a;return i.useEffect(()=>(document.addEventListener(A,u),()=>document.removeEventListener(A,u)),[u]),i.useEffect(()=>{if(a.trigger){const v=x=>{x.target?.contains(a.trigger)&&u()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[a.trigger,u]),c.jsx(te,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:v=>v.preventDefault(),onDismiss:u,children:c.jsxs(oe,{"data-state":a.stateAttribute,...p,...d,ref:e,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(he,{children:r}),c.jsx(ve,{scope:t,isInside:!0,children:c.jsx(ie,{id:a.contentId,role:"tooltip",children:n||r})})]})})});V.displayName=C;var q="TooltipArrow",X=i.forwardRef((o,e)=>{const{__scopeTooltip:t,...r}=o,n=D(t);return xe(q,t).isInside?null:c.jsx(se,{...n,...r,ref:e})});X.displayName=q;function ge(o,e){const t=Math.abs(e.top-o.y),r=Math.abs(e.bottom-o.y),n=Math.abs(e.right-o.x),s=Math.abs(e.left-o.x);switch(Math.min(t,r,n,s)){case s:return"left";case n:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Te(o,e,t=5){const r=[];switch(e){case"top":r.push({x:o.x-t,y:o.y+t},{x:o.x+t,y:o.y+t});break;case"bottom":r.push({x:o.x-t,y:o.y-t},{x:o.x+t,y:o.y-t});break;case"left":r.push({x:o.x+t,y:o.y-t},{x:o.x+t,y:o.y+t});break;case"right":r.push({x:o.x-t,y:o.y-t},{x:o.x-t,y:o.y+t});break}return r}function me(o){const{top:e,right:t,bottom:r,left:n}=o;return[{x:n,y:e},{x:t,y:e},{x:t,y:r},{x:n,y:r}]}function ye(o,e){const{x:t,y:r}=o;let n=!1;for(let s=0,l=e.length-1;s<e.length;l=s++){const d=e[s],a=e[l],p=d.x,u=d.y,v=a.x,x=a.y;u>r!=x>r&&t<(v-p)*(r-u)/(x-u)+p&&(n=!n)}return n}function be(o){const e=o.slice();return e.sort((t,r)=>t.x<r.x?-1:t.x>r.x?1:t.y<r.y?-1:t.y>r.y?1:0),Ce(e)}function Ce(o){if(o.length<=1)return o.slice();const e=[];for(let r=0;r<o.length;r++){const n=o[r];for(;e.length>=2;){const s=e[e.length-1],l=e[e.length-2];if((s.x-l.x)*(n.y-l.y)>=(s.y-l.y)*(n.x-l.x))e.pop();else break}e.push(n)}e.pop();const t=[];for(let r=o.length-1;r>=0;r--){const n=o[r];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(n.y-l.y)>=(s.y-l.y)*(n.x-l.x))t.pop();else break}t.push(n)}return t.pop(),e.length===1&&t.length===1&&e[0].x===t[0].x&&e[0].y===t[0].y?e:e.concat(t)}var we=z,Ee=F,Pe=B,Re=U,_e=V,je=X;function Oe(o){const e=j.c(6);let t,r;e[0]!==o?({delayDuration:r,...t}=o,e[0]=o,e[1]=t,e[2]=r):(t=e[1],r=e[2]);const n=r===void 0?0:r;let s;return e[3]!==n||e[4]!==t?(s=c.jsx(we,{"data-slot":"tooltip-provider",delayDuration:n,...t}),e[3]=n,e[4]=t,e[5]=s):s=e[5],s}function Le(o){const e=j.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let r;return e[2]!==t?(r=c.jsx(Oe,{children:c.jsx(Ee,{"data-slot":"tooltip",...t})}),e[2]=t,e[3]=r):r=e[3],r}function ke(o){const e=j.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let r;return e[2]!==t?(r=c.jsx(Pe,{"data-slot":"tooltip-trigger",...t}),e[2]=t,e[3]=r):r=e[3],r}function Me(o){const e=j.c(13);let t,r,n,s;e[0]!==o?({className:r,sideOffset:s,children:t,...n}=o,e[0]=o,e[1]=t,e[2]=r,e[3]=n,e[4]=s):(t=e[1],r=e[2],n=e[3],s=e[4]);const l=s===void 0?0:s;let d;e[5]!==r?(d=ae("notranslate bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",r),e[5]=r,e[6]=d):d=e[6];let a;e[7]===Symbol.for("react.memo_cache_sentinel")?(a=c.jsx(je,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"}),e[7]=a):a=e[7];let p;return e[8]!==t||e[9]!==n||e[10]!==l||e[11]!==d?(p=c.jsx(Re,{children:c.jsxs(_e,{"data-slot":"tooltip-content",sideOffset:l,translate:"no",className:d,...n,children:[t,a]})}),e[8]=t,e[9]=n,e[10]=l,e[11]=d,e[12]=p):p=e[12],p}export{ke as T,Me as a,Le as b,Oe as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as l,aZ as I,a_ as p,a$ as d}from"./CategoricalChart-
|
|
1
|
+
import{p as l,aZ as I,a_ as p,a$ as d}from"./CategoricalChart-CdPoJbrm.js";var r=a=>null;r.displayName="Cell";var h=(a,e,i)=>{var v=l();return(t,c)=>s=>{a?.(t,c,s),v(I({activeIndex:String(c),activeDataKey:e,activeCoordinate:t.tooltipPosition,activeGraphicalItemId:i}))}},n=a=>{var e=l();return(i,v)=>t=>{a?.(i,v,t),e(p())}},m=(a,e,i)=>{var v=l();return(t,c)=>s=>{a?.(t,c,s),v(d({activeIndex:String(c),activeDataKey:e,activeCoordinate:t.tooltipPosition,activeGraphicalItemId:i}))}};export{r as C,n as a,m as b,h as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as m,Z as _}from"./index-
|
|
1
|
+
import{C as m,Z as _}from"./index-D3BU4CKS.js";const y="onepager",l="report:auth-attempt:",p=3600*1e3;function h(e){const t=new URLSearchParams(e),n=t.get("share_id")||void 0,o=t.get("email_run_id")||void 0,r=t.get("utm_source")||void 0,u=t.get("utm_medium")||void 0,a=t.get("utm_campaign")||void 0;return{entrypoint:n||r==="share"?"share":o||t.has("d")||r==="email"?"email":r?"campaign":"direct",...n?{share_id:n}:{},...o?{email_run_id:o}:{},...r?{utm_source:r}:{},...u?{utm_medium:u}:{},...a?{utm_campaign:a}:{}}}function c(){return h(typeof window>"u"?"":window.location.search)}function i(e){return`${l}${e}`}function f(){try{return globalThis.crypto.randomUUID()}catch{return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}}function s(e){try{const t=window.sessionStorage.getItem(i(e));if(!t)return null;const n=JSON.parse(t);return n.domain!==e||typeof n.attempt_id!="string"||typeof n.gate_shown_at!="number"||Date.now()-n.gate_shown_at>p?(window.sessionStorage.removeItem(i(e)),null):n}catch{return null}}function d(e){try{window.sessionStorage.setItem(i(e.domain),JSON.stringify(e))}catch{}}function g(e){const t=s(e);if(t)return t;const n={attempt_id:f(),domain:e,gate_shown_at:Date.now(),...c()};return d(n),n}function R(e,t){const n={...g(e),...t};return d(n),n}function T(e){return{auth_attempt_id:e.attempt_id,entrypoint:e.entrypoint,...e.share_id?{share_id:e.share_id}:{},...e.email_run_id?{email_run_id:e.email_run_id}:{},...e.utm_source?{utm_source:e.utm_source}:{},...e.utm_medium?{utm_medium:e.utm_medium}:{},...e.utm_campaign?{utm_campaign:e.utm_campaign}:{}}}function v(e){const t=s(e);if(!t)return null;try{window.sessionStorage.removeItem(i(e))}catch{}return t}function S(e){const t=e.toLowerCase();return t==="invalid_email"?"invalid_email":t.includes("429")||t.includes("rate limit")?"rate_limited":t.includes("otp")||t.includes("verification code")||t.includes("invalid code")||t.includes("expired code")||t.includes("código")||t.includes("codigo")?"invalid_or_expired_code":t.includes("401")||t.includes("unauthorized")?"invalid_credentials":t.includes("409")||t.includes("already exists")?"account_exists":t.includes("network")||t.includes("fetch")?"network":t.includes("cancel")||t.includes("closed")?"cancelled":"unknown"}function I(e,t,n){if(m())try{_.capture(e,{...c(),...t},n)}catch{}}export{y as R,T as a,S as b,I as c,g as d,v as e,h as r,R as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cW as l,c$ as e,cX as h,aE as r,eN as b,aD as t,bS as p,bU as d,aW as c,cV as m,cZ as v,eO as E,eP as I,eQ as w,cw as x,dP as T,eR as z,eS as C,eT as A,cb as O,eU as B,cN as V,eV as W,eW as $,eX as F,eY as K,cJ as J,cx as Z,cG as j,cH as Q,cI as Y,cz as G,cF as X,cy as ee,cR as te}from"./index-
|
|
1
|
+
import{cW as l,c$ as e,cX as h,aE as r,eN as b,aD as t,bS as p,bU as d,aW as c,cV as m,cZ as v,eO as E,eP as I,eQ as w,cw as x,dP as T,eR as z,eS as C,eT as A,cb as O,eU as B,cN as V,eV as W,eW as $,eX as F,eY as K,cJ as J,cx as Z,cG as j,cH as Q,cI as Y,cz as G,cF as X,cy as ee,cR as te}from"./index-D3BU4CKS.js";import{P as oe}from"./use-mcp-client-CZ8mV_ez.js";(n=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(n,{get:(o,s)=>(typeof require<"u"?require:o)[s]}):n)(function(n){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+n+'" is not supported')});class se extends oe{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(o,s){}_ensureEventSlot(o){let s=this._eventSlots.get(o);if(!s){let i=this.eventSchemas[o];if(!i)throw Error(`Unknown event: ${String(o)}`);s={listeners:[]},this._eventSlots.set(o,s);let a=i.shape.method.value;this._registeredMethods.add(a);let u=s;super.setNotificationHandler(i,g=>{let R=g.params;this.onEventDispatch(o,R),u.onHandler?.(R);for(let D of[...u.listeners])D(R)})}return s}setEventHandler(o,s){let i=this._ensureEventSlot(o);i.onHandler&&s&&console.warn(`[MCP Apps] on${String(o)} handler replaced. Use addEventListener("${String(o)}", …) to add multiple listeners without replacing.`),i.onHandler=s}getEventHandler(o){return this._eventSlots.get(o)?.onHandler}addEventListener(o,s){this._ensureEventSlot(o).listeners.push(s)}removeEventListener(o,s){let i=this._eventSlots.get(o);if(!i)return;let a=i.listeners.indexOf(s);a!==-1&&i.listeners.splice(a,1)}setRequestHandler=(o,s)=>{this._assertMethodNotRegistered(o,"setRequestHandler"),super.setRequestHandler(o,s)};setNotificationHandler=(o,s)=>{this._assertMethodNotRegistered(o,"setNotificationHandler"),super.setNotificationHandler(o,s)};warnIfRequestHandlerReplaced(o,s,i){s&&i&&console.warn(`[MCP Apps] ${o} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(o,s)=>{let i=o.shape.method.value;this._registeredMethods.add(i),super.setRequestHandler(o,s)};_assertMethodNotRegistered(o,s){let i=o.shape.method.value;if(this._registeredMethods.has(i))throw Error(`Handler for "${i}" already registered (via ${s}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(i)}}var L="2026-01-26",ie="ui/notifications/tool-input-partial",re=l([e("light"),e("dark")]).describe("Color theme preference for the host environment."),f=l([e("inline"),e("fullscreen"),e("pip")]).describe("Display mode for UI presentation."),ae=l([e("--color-background-primary"),e("--color-background-secondary"),e("--color-background-tertiary"),e("--color-background-inverse"),e("--color-background-ghost"),e("--color-background-info"),e("--color-background-danger"),e("--color-background-success"),e("--color-background-warning"),e("--color-background-disabled"),e("--color-text-primary"),e("--color-text-secondary"),e("--color-text-tertiary"),e("--color-text-inverse"),e("--color-text-ghost"),e("--color-text-info"),e("--color-text-danger"),e("--color-text-success"),e("--color-text-warning"),e("--color-text-disabled"),e("--color-border-primary"),e("--color-border-secondary"),e("--color-border-tertiary"),e("--color-border-inverse"),e("--color-border-ghost"),e("--color-border-info"),e("--color-border-danger"),e("--color-border-success"),e("--color-border-warning"),e("--color-border-disabled"),e("--color-ring-primary"),e("--color-ring-secondary"),e("--color-ring-inverse"),e("--color-ring-info"),e("--color-ring-danger"),e("--color-ring-success"),e("--color-ring-warning"),e("--font-sans"),e("--font-mono"),e("--font-weight-normal"),e("--font-weight-medium"),e("--font-weight-semibold"),e("--font-weight-bold"),e("--font-text-xs-size"),e("--font-text-sm-size"),e("--font-text-md-size"),e("--font-text-lg-size"),e("--font-heading-xs-size"),e("--font-heading-sm-size"),e("--font-heading-md-size"),e("--font-heading-lg-size"),e("--font-heading-xl-size"),e("--font-heading-2xl-size"),e("--font-heading-3xl-size"),e("--font-text-xs-line-height"),e("--font-text-sm-line-height"),e("--font-text-md-line-height"),e("--font-text-lg-line-height"),e("--font-heading-xs-line-height"),e("--font-heading-sm-line-height"),e("--font-heading-md-line-height"),e("--font-heading-lg-line-height"),e("--font-heading-xl-line-height"),e("--font-heading-2xl-line-height"),e("--font-heading-3xl-line-height"),e("--border-radius-xs"),e("--border-radius-sm"),e("--border-radius-md"),e("--border-radius-lg"),e("--border-radius-xl"),e("--border-radius-full"),e("--border-width-regular"),e("--shadow-hairline"),e("--shadow-sm"),e("--shadow-md"),e("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),ne=h(ae.describe(`Style variables for theming MCP apps.
|
|
2
2
|
|
|
3
3
|
Individual style keys are optional - hosts may provide any subset of these values.
|
|
4
4
|
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aE as s}from"./index-
|
|
1
|
+
import{aE as s}from"./index-D3BU4CKS.js";const n=2,t=64,i=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/,r=new Set(["new","edit","settings","apps","projects","connections"]),o=s().min(n).max(t).regex(i,"Use lowercase letters, digits, and single hyphens between them").refine(e=>!e.includes("--"),"Use single hyphens").refine(e=>!r.has(e),"This slug is reserved");export{o as U};
|