decocms 4.429.4 → 4.429.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-CsnluVGx.js → AlertCircle-B1Wz6L5U.js} +1 -1
- package/dist/client/assets/{AreaChart-C5NeH00U.js → AreaChart-D8eDFA25.js} +1 -1
- package/dist/client/assets/{ArrowLeft-C0DFEkSG.js → ArrowLeft-CecRcRxr.js} +1 -1
- package/dist/client/assets/{ArrowRight-Cg3T6c8U.js → ArrowRight-BSlT04qT.js} +1 -1
- package/dist/client/assets/{ArrowUp-BrWIe8FE.js → ArrowUp-uu6L0oZa.js} +1 -1
- package/dist/client/assets/{CartesianChart-CxpQ2jZl.js → CartesianChart-Cye2mySB.js} +1 -1
- package/dist/client/assets/{Check-Bt1XL9OZ.js → Check-BiHadeJU.js} +1 -1
- package/dist/client/assets/{CheckCircle-Bj2BODXk.js → CheckCircle-BbTEzozp.js} +1 -1
- package/dist/client/assets/{ChevronUp-Bi1dRl0F.js → ChevronUp-DMzxjk9Q.js} +1 -1
- package/dist/client/assets/{Copy01-lLzDCXmN.js → Copy01-Z8h17W5V.js} +1 -1
- package/dist/client/assets/{CreditCard01-C_LphuIk.js → CreditCard01-BOXpMyZX.js} +1 -1
- package/dist/client/assets/{DotsVertical-CaPsIQcQ.js → DotsVertical-BcY1zCnO.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-CFw85c1d.js → ErrorBarContext-oZYgKRc9.js} +1 -1
- package/dist/client/assets/{Image01-FUpltNPw.js → Image01-BtlBqgq2.js} +1 -1
- package/dist/client/assets/{Key01-CslrU_s2.js → Key01-Crwm5tIn.js} +1 -1
- package/dist/client/assets/{Line-BphA32Yd.js → Line-B6p_BSMr.js} +1 -1
- package/dist/client/assets/{Link01-CKWZapoo.js → Link01-BCM1zE5K.js} +1 -1
- package/dist/client/assets/{LinkExternal01-3O41jdXy.js → LinkExternal01-BSjbzGPT.js} +1 -1
- package/dist/client/assets/{Monitor01-CB2SD1gN.js → Monitor01-Bu9itRvW.js} +1 -1
- package/dist/client/assets/{Palette-BVtHs2vU.js → Palette-Dfwz_KK_.js} +1 -1
- package/dist/client/assets/{Plus-DJ-W3_cM.js → Plus-DWABMn2e.js} +1 -1
- package/dist/client/assets/{SearchMd-B27FMXMV.js → SearchMd-df6Y7iRV.js} +1 -1
- package/dist/client/assets/{Sector-CwkxI8qP.js → Sector-DyaoP-4v.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-BTl-krF7.js → ShoppingBag01-BzDsEvOc.js} +1 -1
- package/dist/client/assets/{Sun-CUnE0uf1.js → Sun-CuJDC_V5.js} +1 -1
- package/dist/client/assets/{Tool01-EwUUkOdA.js → Tool01-CXZVYCJV.js} +1 -1
- package/dist/client/assets/{Trash01-CvSUykct.js → Trash01-CZPHTYfi.js} +1 -1
- package/dist/client/assets/{Upload01-DWr4g8OT.js → Upload01-BhUTj6_2.js} +1 -1
- package/dist/client/assets/{User01-DsrGZ98W.js → User01-BKQ4XDsb.js} +1 -1
- package/dist/client/assets/{UserSquare-B8RPwEBF.js → UserSquare-C-IZAmnp.js} +1 -1
- package/dist/client/assets/{Users01-65_1ZPG4.js → Users01-NFbjkK3Z.js} +1 -1
- package/dist/client/assets/{X-Ccy7mqMZ.js → X-Df5KdWXB.js} +1 -1
- package/dist/client/assets/{XAxis-DP41Cjj9.js → XAxis-BWQmNFV9.js} +1 -1
- package/dist/client/assets/{XClose-CTgT8nLL.js → XClose-CigTCF4N.js} +1 -1
- package/dist/client/assets/{ZoomOut-DKLrc0AX.js → ZoomOut-CrIY1x34.js} +1 -1
- package/dist/client/assets/{access-gate-CLQyj1tq.js → access-gate-g9Q7ZgEZ.js} +1 -1
- package/dist/client/assets/add-connection-dialog-7hGrBECA.js +1 -0
- package/dist/client/assets/{agent-analytics-C9Wxe5WJ.js → agent-analytics-CObXpehp.js} +1 -1
- package/dist/client/assets/agent-app-k1_oJSpu.js +1 -0
- package/dist/client/assets/{agent-assets-B0EEKaMD.js → agent-assets-DO3tmGuX.js} +1 -1
- package/dist/client/assets/{agent-automation-DMF4y0Om.js → agent-automation-Ca1RFwdU.js} +1 -1
- package/dist/client/assets/{agent-automations-CvyiOCkB.js → agent-automations-CI9pfVCT.js} +1 -1
- package/dist/client/assets/{agent-connect-sources-BImgc7Bd.js → agent-connect-sources-BuV_ZR1a.js} +1 -1
- package/dist/client/assets/agent-deck-CehM6vXp.js +1 -0
- package/dist/client/assets/{agent-e2e-3f9yGWUZ.js → agent-e2e-CgIUjw8G.js} +1 -1
- package/dist/client/assets/{agent-experiments-D1O6cKwR.js → agent-experiments-mi6BfJqy.js} +1 -1
- package/dist/client/assets/{agent-file-CSjOLC2Q.js → agent-file-CGvjjvWl.js} +1 -1
- package/dist/client/assets/{agent-git-Cv3j2qtb.js → agent-git-C25O_twU.js} +1 -1
- package/dist/client/assets/{agent-hosting-DHLBLYo5.js → agent-hosting-C72vq_5m.js} +1 -1
- package/dist/client/assets/{agent-icon-B9NBzFRl.js → agent-icon-B241PBKK.js} +1 -1
- package/dist/client/assets/agent-library-BumAmLT2.js +1 -0
- package/dist/client/assets/agent-library-file-BnaSVA1s.js +1 -0
- package/dist/client/assets/{agent-monitor-B1BSWqcD.js → agent-monitor-D6-3fGpu.js} +1 -1
- package/dist/client/assets/{agent-overview-DMjDaFOx.js → agent-overview-D3iRbnu8.js} +1 -1
- package/dist/client/assets/agent-settings-BGVwjdf6.js +1 -0
- package/dist/client/assets/{agent-site-editor-CtaOvGD3.js → agent-site-editor-Bv4G1Ou2.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-B8dBeNBF.js +2 -0
- package/dist/client/assets/{agent-site-editor-content-C95AguXy.js → agent-site-editor-content-SBwYc5Sx.js} +3 -3
- package/dist/client/assets/{agent-site-editor-preview-BCmkz7Ty.js → agent-site-editor-preview-GCIpof6D.js} +3 -3
- package/dist/client/assets/agent-view-BxYubinM.js +1 -0
- package/dist/client/assets/{agent-view-guard-3xukNQiu.js → agent-view-guard-yCCS9tda.js} +1 -1
- package/dist/client/assets/{agents-list-DAaf4Mi5.js → agents-list-D9Qqbumt.js} +1 -1
- package/dist/client/assets/{ai-providers-B5J9hlgx.js → ai-providers-BRF8Kdv0.js} +1 -1
- package/dist/client/assets/{alert-CeGoXJox.js → alert-Vbti1gEG.js} +1 -1
- package/dist/client/assets/{alert-dialog-nydIJdPH.js → alert-dialog-AqvICzdc.js} +1 -1
- package/dist/client/assets/{analytics-sections-DciswvIy.js → analytics-sections-BRRkR5Qo.js} +1 -1
- package/dist/client/assets/api-keys-BHkPvB4Y.js +1 -0
- package/dist/client/assets/{api-keys-BAiXWtmH.js → api-keys-BNqPisrV.js} +1 -1
- package/dist/client/assets/{app-editor-DP2IqOM6.js → app-editor-D6e4YO7u.js} +1 -1
- package/dist/client/assets/{asset-utils-DHzPaDW1.js → asset-utils-BAeS61or.js} +1 -1
- package/dist/client/assets/{auth-DA7glj38.js → auth-C0Awroma.js} +1 -1
- package/dist/client/assets/{auth-catchall-ByYjTbWh.js → auth-catchall-M1lbFyHW.js} +1 -1
- package/dist/client/assets/{auth-entry-CYA5MXOV.js → auth-entry-DNTBr4dX.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Jnq9j5HW.js → auth-split-layout-VyPiSI-b.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-CDhCKuA8.js → authenticate-and-persist-oauth-CkO9YCus.js} +1 -1
- package/dist/client/assets/{automation-list-row-DB8v2PyO.js → automation-list-row-NNUpUcl1.js} +1 -1
- package/dist/client/assets/{automation-runs-BPgX-uCi.js → automation-runs-CmqXHMa2.js} +1 -1
- package/dist/client/assets/{automations-siBOu-F5.js → automations-tpSvjSCZ.js} +1 -1
- package/dist/client/assets/{autosend-CPHdbo-0.js → autosend-BBuziBf6.js} +1 -1
- package/dist/client/assets/{avatar-CqsfnSHy.js → avatar-Cm5Wz0Ek.js} +1 -1
- package/dist/client/assets/{badge-DAgPG-f0.js → badge-D-X7jCCj.js} +1 -1
- package/dist/client/assets/{block-document-CjBjHCND.js → block-document-CBORFGb8.js} +1 -1
- package/dist/client/assets/{blocks-preview-workspace-context-C31YGOfs.js → blocks-preview-workspace-context-smhHThS8.js} +1 -1
- package/dist/client/assets/{buckets-C3My6XtJ.js → buckets-B5krVge0.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-Do4e762u.js → build-improve-prompt-doc-BXIVXD_M.js} +1 -1
- package/dist/client/assets/{calendar-B7qg5owI.js → calendar-lqFPIlGZ.js} +1 -1
- package/dist/client/assets/{capability-load-error-1FL5H8Lu.js → capability-load-error-8yr0cKsu.js} +1 -1
- package/dist/client/assets/{category-editor-B57aQ27B.js → category-editor-Cp8uxqcx.js} +1 -1
- package/dist/client/assets/{chart-2dmUQZnn.js → chart-BjcjMBp2.js} +1 -1
- package/dist/client/assets/{chat-context-DlsYLkGJ.js → chat-context-Bw1Qo4Kf.js} +1 -1
- package/dist/client/assets/{chat-draft-BRjVow7g.js → chat-draft-CQ5qjDsv.js} +1 -1
- package/dist/client/assets/{checkbox-BTUE4SPp.js → checkbox-BHKLlAci.js} +1 -1
- package/dist/client/assets/{choose-editor-CL5ENJjq.js → choose-editor-VLE21WTh.js} +1 -1
- package/dist/client/assets/{claim-phase-copy-Bafau5vI.js → claim-phase-copy-Bc0le9Uu.js} +1 -1
- package/dist/client/assets/{cli-auth-success--cIEBBck.js → cli-auth-success-EpJb9LMW.js} +1 -1
- package/dist/client/assets/{client-icons-Cq_yGfeD.js → client-icons-DF05jGYG.js} +1 -1
- package/dist/client/assets/{collapsible-B14ZTqF0.js → collapsible-FI3WWzNe.js} +1 -1
- package/dist/client/assets/{collection-detail-CjDKm-Ja.js → collection-detail-DA5Whp5b.js} +1 -1
- package/dist/client/assets/{collection-display-button-czskr6KY.js → collection-display-button-D2q-ABWg.js} +1 -1
- package/dist/client/assets/{collection-search-CfrCGB2I.js → collection-search-DdV66iL8.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BDBioyTK.js → collection-table-wrapper-CGlcKHbe.js} +1 -1
- package/dist/client/assets/{collection-tabs-DCEsfKpk.js → collection-tabs-DtGcsdTg.js} +1 -1
- package/dist/client/assets/{combobox-CSMKu-4J.js → combobox-Br6WHzj1.js} +1 -1
- package/dist/client/assets/{command-1GDLg60A.js → command-DkuU4Z8a.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-C_twJCDq.js → companion-mcps-section-CNei3iRu.js} +1 -1
- package/dist/client/assets/{config-9vd9dHPj.js → config-DynGIo1W.js} +1 -1
- package/dist/client/assets/{connect-D4lU18ry.js → connect-DG6OAh89.js} +1 -1
- package/dist/client/assets/{connect-layout-SPr19DgY.js → connect-layout-Cnc4NK49.js} +1 -1
- package/dist/client/assets/{connection-CO5JzyBf.js → connection-CbXyxk_0.js} +1 -1
- package/dist/client/assets/{connection-card-BgD62s7i.js → connection-card-DvwNTHUt.js} +1 -1
- package/dist/client/assets/{connection-detail-DnXBnw2I.js → connection-detail-DRP-MNPt.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Ddtw1f6y.js → connection-form-helpers-BoZMz-Fx.js} +1 -1
- package/dist/client/assets/{connections-BqkP75Y7.js → connections-C9THVD3s.js} +1 -1
- package/dist/client/assets/{context-C4yaZPbY.js → context-D6Zd3Hi2.js} +1 -1
- package/dist/client/assets/{context-menu-Cse8aI2i.js → context-menu-VjgUfeOJ.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-BR0Vxj8W.js → create-organization-dialog-C3ngVf0Y.js} +1 -1
- package/dist/client/assets/{daily-pulse-FhqnjDwB.js → daily-pulse-DEC1kU0r.js} +1 -1
- package/dist/client/assets/{decopilot-D_xEyFfg.js → decopilot-DTXbrEBB.js} +1 -1
- package/dist/client/assets/{dialog-Bvq22AZH.js → dialog-BR2W-zw-.js} +1 -1
- package/dist/client/assets/{discover-ax70JDSI.js → discover-C0WrsbFb.js} +1 -1
- package/dist/client/assets/{domain-settings-BcZo-0Ge.js → domain-settings-VjNI_QNS.js} +1 -1
- package/dist/client/assets/{download-app-dialog-dA0AkV4L.js → download-app-dialog-UGyaf1gI.js} +1 -1
- package/dist/client/assets/{drawer-XX6hq0xe.js → drawer-BuCU4dtF.js} +1 -1
- package/dist/client/assets/{editor-CeAQ3Rze.js → editor-K_ZCeYmt.js} +1 -1
- package/dist/client/assets/{empty-state-CKjPjErp.js → empty-state-Cc-zeI-b.js} +1 -1
- package/dist/client/assets/{empty-state-CdGiHDyj.js → empty-state-CyVuIHKP.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C5i3LFcd.js → extract-connection-data-CJFs5pw9.js} +1 -1
- package/dist/client/assets/{feature-gate-Bz53dyQH.js → feature-gate-DLNLPr3F.js} +1 -1
- package/dist/client/assets/{feature-paywall-DXOmuGN9.js → feature-paywall-dsk7xdNr.js} +1 -1
- package/dist/client/assets/{file-explorer-CiHpmQeg.js → file-explorer-Bq_pA8Z8.js} +1 -1
- package/dist/client/assets/{file-preview-D5cDixM_.js → file-preview-mQPZHAmY.js} +1 -1
- package/dist/client/assets/{file-share-button-BkuqjC-p.js → file-share-button-DtFsmxK8.js} +1 -1
- package/dist/client/assets/{file-type-icon-DKJoVWit.js → file-type-icon-Dl1YFVBW.js} +1 -1
- package/dist/client/assets/flat-project-BIYjLVHC.js +1 -0
- package/dist/client/assets/{folder-icon-DeJ_4vBF.js → folder-icon-CECAOUab.js} +1 -1
- package/dist/client/assets/{form-DeiW8V1T.js → form-vqBaFO9r.js} +1 -1
- package/dist/client/assets/{gateway-client-uRieKdKv.js → gateway-client-C-QySNgV.js} +1 -1
- package/dist/client/assets/{general-CU8ONF_3.js → general-Do2cA-65.js} +1 -1
- package/dist/client/assets/{home-DzDH2rsn.js → home-DYEN5n0q.js} +1 -1
- package/dist/client/assets/{icon-button-DB3NNAY8.js → icon-button-D6LkIJqw.js} +1 -1
- package/dist/client/assets/{index-v7dN0kvl.js → index-B65bqTRS.js} +1 -1
- package/dist/client/assets/{index-DnaVeM3s.js → index-BINYmdVo.js} +1 -1
- package/dist/client/assets/{index-_cYAL9g5.js → index-BMtTkIcx.js} +1 -1
- package/dist/client/assets/{index-D5dEpLnc.js → index-BOvE7Vou.js} +1 -1
- package/dist/client/assets/{index-C95CzY3C.js → index-B_3mBk4y.js} +49 -49
- package/dist/client/assets/{index-DaRlcMLg.js → index-BgbBMhHU.js} +1 -1
- package/dist/client/assets/{index-0Q1deNIS.js → index-BgjS0Ggx.js} +1 -1
- package/dist/client/assets/{index-BV8ofAzV.js → index-C0Nx6fZO.js} +1 -1
- package/dist/client/assets/{index-CBzFtxdS.js → index-C5qguP-p.js} +1 -1
- package/dist/client/assets/{index-Drb30CpZ.js → index-CSpDxMoa.js} +1 -1
- package/dist/client/assets/{index-C9xjia7y.js → index-Cdm-vjxa.js} +3 -3
- package/dist/client/assets/{index-BpIX5zJy.js → index-DYGqHQ2c.js} +1 -1
- package/dist/client/assets/{index-DHp7ZGYh.js → index-Dg8x2nny.js} +1 -1
- package/dist/client/assets/{index-BAMmb9m3.js → index-Dka8jQlP.js} +1 -1
- package/dist/client/assets/{index-Bf-cXXgi.js → index-MTPwGC5m.js} +1 -1
- package/dist/client/assets/{index-redirect-DclOFuEc.js → index-redirect-DoeqrB6K.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-Cqc8H9Zl.js → infiniteQueryObserver-CBfG4TV-.js} +1 -1
- package/dist/client/assets/{infra-billing-1OBJjuQ-.js → infra-billing-BLgAtuiz.js} +1 -1
- package/dist/client/assets/{input-BfBrXJza.js → input-B1N39T_Y.js} +1 -1
- package/dist/client/assets/{input-CzYAG_im.js → input-BwSTkgpp.js} +1 -1
- package/dist/client/assets/{input-D0VdvVQu.js → input-i0t9B7Yt.js} +3 -3
- package/dist/client/assets/{integration-icon-w9_wzNNP.js → integration-icon-DF1SWs0L.js} +1 -1
- package/dist/client/assets/{label-DZ5OXqqj.js → label-CAMUAUyp.js} +1 -1
- package/dist/client/assets/{last-preview-page-CWajJMK8.js → last-preview-page-B2E_iOQP.js} +1 -1
- package/dist/client/assets/{layout-9_q6a5YB.js → layout-SznEbmEi.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-CLPL3Mpg.js → legacy-agents-deep-DzXfGrO1.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-TVPN8oSv.js → legacy-main-redirect-2uht7lTs.js} +1 -1
- package/dist/client/assets/library-BGY_wvai.js +1 -0
- package/dist/client/assets/{library-tab-DJf8qPe0.js → library-tab-8HAhdPuS.js} +1 -1
- package/dist/client/assets/{login-ubx4IGz6.js → login-Dofn0_em.js} +1 -1
- package/dist/client/assets/{markdown-GDF3SJOy.js → markdown-B9aD1F1t.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-BtXqphZ9.js → mcp-app-renderer-CCjWAcAL.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Cb0VYgbB.js → mcp-oauth-D4Ea-Fft.js} +1 -1
- package/dist/client/assets/{members-Bge8MTFI.js → members-BvY310ge.js} +1 -1
- package/dist/client/assets/{message-templates-qwkqPfKZ.js → message-templates-CUdgVJRM.js} +1 -1
- package/dist/client/assets/{mini-report-page-Dp6XKOO1.js → mini-report-page-BNEmX88t.js} +1 -1
- package/dist/client/assets/{mock-board-eEbVN77o.js → mock-board-DoArRGPA.js} +1 -1
- package/dist/client/assets/{monaco-editor-DXiGiHeM.js → monaco-editor-B_VHQ5gY.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-Bf7tQNvd.js → monitoring-stats-row-BDqEJkb_.js} +1 -1
- package/dist/client/assets/{multi-select-DYCju49A.js → multi-select-CgpS87eq.js} +1 -1
- package/dist/client/assets/{mustache-CsZqlbfC.js → mustache-DmCtN5od.js} +1 -1
- package/dist/client/assets/{new-project-dialog-BVqw_nCp.js → new-project-dialog-k4u3nID3.js} +1 -1
- package/dist/client/assets/{oauth-callback-DztIcMBf.js → oauth-callback-DFoxcVbz.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-AHTcJ0zb.js → oauth-callback-ai-provider-Clc7UcPT.js} +1 -1
- package/dist/client/assets/{onboarding-CZE7_cx0.js → onboarding-QzWSNB68.js} +1 -1
- package/dist/client/assets/{openai-conversation-wUKP0KI1.js → openai-conversation-BYnJG3sG.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-DoS1B88-.js → optimistic-project-sidebar-views-Bmn0i2L0.js} +1 -1
- package/dist/client/assets/{org-file-open-context-wUzs-3_m.js → org-file-open-context-C81CF5lY.js} +1 -1
- package/dist/client/assets/{organization-choice-C1O1ljWb.js → organization-choice-1Ch3usqI.js} +1 -1
- package/dist/client/assets/{orgs-D_--9-SG.js → orgs-S_td7jXe.js} +1 -1
- package/dist/client/assets/{page-seo-form-B2EYpR7K.js → page-seo-form-CejuwtL1.js} +1 -1
- package/dist/client/assets/{pair-BlA_exbo.js → pair-CffqlQYs.js} +1 -1
- package/dist/client/assets/{plan-ladder-k9eV0Dld.js → plan-ladder-elmtHhgS.js} +1 -1
- package/dist/client/assets/{popover-Dxmyu-b_.js → popover-HtaOhw3r.js} +1 -1
- package/dist/client/assets/{post-calendar-BORBN9Sn.js → post-calendar-BLuKhT2v.js} +1 -1
- package/dist/client/assets/{post-editor-BF1SoTKx.js → post-editor-B9m6130P.js} +1 -1
- package/dist/client/assets/{preview-content-BETQ4GLk.js → preview-content-7Xoo-BsV.js} +1 -1
- package/dist/client/assets/{preview-dialog-sAmHyR0a.js → preview-dialog-EGWZsCf5.js} +1 -1
- package/dist/client/assets/{profile-D5UUKV90.js → profile-CdaDKILV.js} +1 -1
- package/dist/client/assets/{project-app-view-CisH6g4D.js → project-app-view-DkTFe9BB.js} +1 -1
- package/dist/client/assets/{project-feed-CDpUTVHU.js → project-feed-JKI4eiPj.js} +1 -1
- package/dist/client/assets/{project-icon-Bo-jeNxy.js → project-icon-CZCXf1ZD.js} +1 -1
- package/dist/client/assets/project-reports-CV3jPJF3.js +1 -0
- package/dist/client/assets/project-tasks-ByZ39JiK.js +1 -0
- package/dist/client/assets/{projects-C1D-1AdZ.js → projects-DvXWKplD.js} +1 -1
- package/dist/client/assets/{projects-empty-state-CPkdHRjG.js → projects-empty-state-9gNmeZsq.js} +1 -1
- package/dist/client/assets/{prompts-DRogfwCM.js → prompts-DDBWSiYr.js} +1 -1
- package/dist/client/assets/record-editor-BwyoUD4K.js +1 -0
- package/dist/client/assets/{redirect-editor-C4k0wpB3.js → redirect-editor-dBYIGyFb.js} +1 -1
- package/dist/client/assets/{reports-ClKG3e_O.js → reports-BVjd03mK.js} +1 -1
- package/dist/client/assets/reports-PlaJXl-j.js +1 -0
- package/dist/client/assets/{reports-onboarding-Dq9y_yRB.js → reports-onboarding-s5-OPdwG.js} +1 -1
- package/dist/client/assets/{reports-tab-B9xl5ktg.js → reports-tab-zEmYxglx.js} +2 -2
- package/dist/client/assets/{repositories-BImrR5du.js → repositories-q5YM_f7_.js} +1 -1
- package/dist/client/assets/{repository-binding-Czcp88Ek.js → repository-binding-DoGbZGqV.js} +1 -1
- package/dist/client/assets/{repository-import-picker-CULajLJp.js → repository-import-picker-Do_6Wg0W.js} +1 -1
- package/dist/client/assets/{repository-picker-B-UdqnSa.js → repository-picker-EdvJ_XCR.js} +1 -1
- package/dist/client/assets/{require-capability-CqMIdAS-.js → require-capability-C1D1dXCn.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CbXz4N5t.js → required-auth-layout-DL1Uhs7R.js} +1 -1
- package/dist/client/assets/{reset-password-B1LiYTbr.js → reset-password-CQfjAeYc.js} +1 -1
- package/dist/client/assets/{resizable-7gm_IBrS.js → resizable-eratR9AK.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-DTC7b4Bc.js → resolve-tab-icon-Du8jGUtn.js} +1 -1
- package/dist/client/assets/{review-settings-C5wsuE4d.js → review-settings-BDXdSq0U.js} +1 -1
- package/dist/client/assets/{rich-text-link-control-CoTPcMfG.js → rich-text-link-control-BUaa9cuE.js} +1 -1
- package/dist/client/assets/{roles-CMFMpqfB.js → roles-BxLQKznn.js} +1 -1
- package/dist/client/assets/{route-BusV7X7j.js → route-DN3pk65w.js} +1 -1
- package/dist/client/assets/route-Dk3w9UGz.js +1 -0
- package/dist/client/assets/{route-BuPz_ueu.js → route-GFaA83CZ.js} +1 -1
- package/dist/client/assets/{runnable-block-editor-Bou39s6j.js → runnable-block-editor-Bb72YaFN.js} +1 -1
- package/dist/client/assets/{sandbox-lifecycle-context-BJgEd1XY.js → sandbox-lifecycle-context-CZnq-87O.js} +1 -1
- package/dist/client/assets/{schema-ClJOB7M6.js → schema-pZTMqosP.js} +1 -1
- package/dist/client/assets/{scroll-area-xr5K9HEx.js → scroll-area-kaq4mbUn.js} +1 -1
- package/dist/client/assets/{search-input-DQYXD4BL.js → search-input-BjeWS4bC.js} +1 -1
- package/dist/client/assets/{search-toggle-gcLaltAJ.js → search-toggle-BWjdA70E.js} +1 -1
- package/dist/client/assets/{secret-picker-BNTi35Xa.js → secret-picker-DFruMsO2.js} +1 -1
- package/dist/client/assets/{secrets-CVSqY8p4.js → secrets-C0ksgflf.js} +1 -1
- package/dist/client/assets/{sections-editor-DEZ5WUCt.js → sections-editor-25cXOA_1.js} +1 -1
- package/dist/client/assets/{select-pVe0_Bqt.js → select-MC8L6Y4s.js} +1 -1
- package/dist/client/assets/{select-model-DwrumK80.js → select-model-CgfK5T0X.js} +1 -1
- package/dist/client/assets/{seo-editor-BmdnbOsw.js → seo-editor-qQizVqfD.js} +1 -1
- package/dist/client/assets/{separator-BPAhL_Ij.js → separator-CMC_q_rJ.js} +1 -1
- package/dist/client/assets/{settings-tab-BIOZHtto.js → settings-tab-DetxVou8.js} +1 -1
- package/dist/client/assets/{sheet-DD4zrgIp.js → sheet-HF0WcB82.js} +1 -1
- package/dist/client/assets/shell-layout-CTm_WHyN.js +1 -0
- package/dist/client/assets/{skills-BXrtiv9s.js → skills-DfctZoHI.js} +1 -1
- package/dist/client/assets/{sso-ua1OcLrx.js → sso-ChHWqNYy.js} +1 -1
- package/dist/client/assets/{suggestion-DKqlkt9S.js → suggestion-CJYj-5kL.js} +1 -1
- package/dist/client/assets/{switch-fa5Y0oMN.js → switch-BXBfxHLv.js} +1 -1
- package/dist/client/assets/{synced-repos-Cl-5WTlE.js → synced-repos-8_ZxjVlT.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-CpVLHF8O.js → tab-icon-glyph-DdzedQEj.js} +1 -1
- package/dist/client/assets/{table-BrephWG_.js → table-DfMMeaNU.js} +1 -1
- package/dist/client/assets/{tabs-DvOBS__-.js → tabs-CyQ-WrSH.js} +1 -1
- package/dist/client/assets/{task-board-DC2or4R3.js → task-board-B1vzDAVG.js} +1 -1
- package/dist/client/assets/{task-route-BErEZvY5.js → task-route-CxVqvuSa.js} +1 -1
- package/dist/client/assets/{task-status-DlLNPIjB.js → task-status-D_Ny_vO8.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-BsaDZQbf.js → taskboard-analytics-9f61Lf0z.js} +1 -1
- package/dist/client/assets/{tasks-CrNGIxtX.js → tasks--AojwOyu.js} +1 -1
- package/dist/client/assets/tasks-74JEZOvb.js +1 -0
- package/dist/client/assets/{textarea-CAQNCfpp.js → textarea-VVwww85B.js} +1 -1
- package/dist/client/assets/{thread-analytics-YipT0TYV.js → thread-analytics-CGfF4U1z.js} +1 -1
- package/dist/client/assets/{thread-intent-C_0JzN_O.js → thread-intent-BwAsu2SG.js} +2 -2
- package/dist/client/assets/{thread-route-O3hSghFZ.js → thread-route-Bg90UHhP.js} +1 -1
- package/dist/client/assets/{thread-route-D30ezW1U.js → thread-route-CqPKjeFM.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-DD7ZVtVM.js → thread-sheet-body-CAMNdnPV.js} +1 -1
- package/dist/client/assets/{toggle-group-tCcvTcRv.js → toggle-group-D4zRc1HZ.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-9n2J-wcp.js → toolbar-icon-button-voXPSLQD.js} +1 -1
- package/dist/client/assets/{tooltip-DdjGQobT.js → tooltip-A9lPSKit.js} +1 -1
- package/dist/client/assets/{track-HoeQbmP5.js → track-DobpObFT.js} +1 -1
- package/dist/client/assets/{types-Ckn1MlKU.js → types-BjX52uU5.js} +1 -1
- package/dist/client/assets/{usage-stats-rrSlTrKo.js → usage-stats-BY7R-UV8.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CKzmzfvw.js → use-ai-providers-CajwguYo.js} +1 -1
- package/dist/client/assets/{use-automations-Djzogwmx.js → use-automations-VXPCxEzn.js} +1 -1
- package/dist/client/assets/{use-autosave-BTs_Zvgi.js → use-autosave-BgA4fgaR.js} +1 -1
- package/dist/client/assets/{use-chat-layout-state-B6s2JkCt.js → use-chat-layout-state-DD1tmwdx.js} +1 -1
- package/dist/client/assets/{use-connect-companion-CoFLerH1.js → use-connect-companion-CHoHPYq5.js} +1 -1
- package/dist/client/assets/{use-connection-C-kBQ3D-.js → use-connection-CWXA50IZ.js} +1 -1
- package/dist/client/assets/{use-copy-Qg7bi8zx.js → use-copy-B5g9zFhy.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DEvwRMMK.js → use-create-virtual-mcp-Dz5gwPDd.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-KEOSZSCW.js → use-date-fns-locale-CZN80RON.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-M6eg3Y4O.js → use-debounced-autosave-DKVhWfae.js} +1 -1
- package/dist/client/assets/{use-debounced-value-f1u1JXjY.js → use-debounced-value-yeyF9VWy.js} +1 -1
- package/dist/client/assets/{use-deco-credits-zES9MtHY.js → use-deco-credits-BjM50lqx.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CT-KDwdn.js → use-decopilot-events-DgoNCAj-.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DZ7crG9-.js → use-delete-connection-nsQYmlH3.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-BeTjWkAK.js → use-deployment-admin-5llNNzV_.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-COMCpHrX.js → use-fast-preview-draft-url-Cm_dQrR9.js} +1 -1
- package/dist/client/assets/{use-file-configs-pdZuotlv.js → use-file-configs-MloqKXG4.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DnGD1R8b.js → use-infinite-scroll-CgnPiJA2.js} +1 -1
- package/dist/client/assets/{use-join-requests-BEGCihjr.js → use-join-requests-Cr0cV6H_.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-Bpkxmz8h.js → use-main-panel-tabs-CMknOIXL.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-DLCr3Kqf.js → use-mcp-auth-status-BBrvcdmC.js} +1 -1
- package/dist/client/assets/{use-mcp-client-BBZSxs6C.js → use-mcp-client-B_ORPqL8.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-H_Vokl6u.js → use-mcp-prompts-DL8S5JPE.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-Cg0wIfyk.js → use-mcp-tools-BUyi99fx.js} +1 -1
- package/dist/client/assets/{use-members-DKCQ0oPO.js → use-members-C5YyvV0b.js} +1 -1
- package/dist/client/assets/{use-mobile-DbgNrrqI.js → use-mobile-Cit5JQWz.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-Dun0QU31.js → use-navigate-to-agent-BwWHCV0Z.js} +1 -1
- package/dist/client/assets/use-new-blocks-editor-BgW4UDeW.js +1 -0
- package/dist/client/assets/{use-open-billing-url-BmquHyqj.js → use-open-billing-url-ufz1Edxj.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-6HmmNabp.js → use-org-auth-client-uJpLhcXu.js} +1 -1
- package/dist/client/assets/{use-org-fs-CxttG7Pt.js → use-org-fs-DSneEZr8.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-D5HIk-ZZ.js → use-org-repo-syncs-rComLsRR.js} +1 -1
- package/dist/client/assets/{use-org-sso-BX4qCh7f.js → use-org-sso-DlHcchE2.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DU2y95r1.js → use-organization-roles-DMe1nsd1.js} +1 -1
- package/dist/client/assets/{use-organization-settings-xVkX8dA1.js → use-organization-settings-NLGfOzk9.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-CApSLLZU.js → use-panel-navigate-xfYLfPeP.js} +1 -1
- package/dist/client/assets/{use-project-scope-Dyp4qS88.js → use-project-scope-mDKXkaKI.js} +1 -1
- package/dist/client/assets/{use-releases-DEoc2p-o.js → use-releases-B5H9FpQL.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-8Wf5_klp.js → use-reports-diagnostic-Ds5W47nv.js} +1 -1
- package/dist/client/assets/{use-secrets-CUhYMZ9x.js → use-secrets-ycW9IMTs.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-yqXj5fei.js → use-section-preview-base-C7g5i8aB.js} +1 -1
- package/dist/client/assets/{use-session-runtime-CLgEdkpj.js → use-session-runtime-41aA3FaG.js} +1 -1
- package/dist/client/assets/{use-tags-CKb_jCnx.js → use-tags-DCucaR9s.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-ColxOhDZ.js → use-task-board-analytics-Bn9GQ2td.js} +1 -1
- package/dist/client/assets/{use-task-board-events-CbvOWdwS.js → use-task-board-events-0X4biGfq.js} +1 -1
- package/dist/client/assets/{use-task-metadata-BPDOVDpN.js → use-task-metadata-Cj1cmQvo.js} +1 -1
- package/dist/client/assets/{use-thread-analytics-BZ_Fi9zH.js → use-thread-analytics-AHDY4dNK.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-Dhes5ji5.js → use-thread-outputs-Blfor-oA.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CN5NPBR0.js +1 -0
- package/dist/client/assets/{useQueries-Dod3Msoc.js → useQueries-JzYmKszp.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CI9mo6bF.js +1 -0
- package/dist/client/assets/{users-D6Guq03K.js → users-CfSFNWT_.js} +1 -1
- package/dist/client/assets/{utils-p81_LpHp.js → utils-C1m0wvDK.js} +1 -1
- package/dist/client/assets/{variant-calendar-Bl3Gfrjw.js → variant-calendar-C4_2wBML.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-N87qA3jA.js → variant-matcher-override-BAnoj0VK.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-YzkFzhAw.js → view-mode-toggle-chgrfj1u.js} +1 -1
- package/dist/client/assets/{virtual-mcp-C_6-jZH0.js → virtual-mcp-B2jselSK.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +3 -3
- package/dist/server/server.js +3 -3
- package/package.json +1 -1
- package/dist/client/assets/add-connection-dialog-BDmVVdAH.js +0 -1
- package/dist/client/assets/agent-app-Bz1gHurO.js +0 -1
- package/dist/client/assets/agent-deck-TlnGkppx.js +0 -1
- package/dist/client/assets/agent-library-DK5SHk03.js +0 -1
- package/dist/client/assets/agent-library-file-n_1fTyDg.js +0 -1
- package/dist/client/assets/agent-settings-ftLczm87.js +0 -1
- package/dist/client/assets/agent-site-editor-code-CGv8jkJ-.js +0 -2
- package/dist/client/assets/agent-view-DXgW378L.js +0 -1
- package/dist/client/assets/api-keys-B_z5NdV5.js +0 -1
- package/dist/client/assets/flat-project-fHTyql_b.js +0 -1
- package/dist/client/assets/library-Bfu2cwxp.js +0 -1
- package/dist/client/assets/project-reports-foqi6O3G.js +0 -1
- package/dist/client/assets/project-tasks-BxEPOlxu.js +0 -1
- package/dist/client/assets/record-editor-CICwwkmm.js +0 -1
- package/dist/client/assets/reports-BCTdFJMv.js +0 -1
- package/dist/client/assets/route-CZeuStCH.js +0 -1
- package/dist/client/assets/shell-layout-Cwzef2Ue.js +0 -1
- package/dist/client/assets/tasks-dS4cuBwI.js +0 -1
- package/dist/client/assets/use-new-blocks-editor-CLe9Kg_9.js +0 -1
- package/dist/client/assets/useInfiniteQuery-LLjBr47W.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-ePGI4U5j.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as x,br as b,j as c,bo as m,bp as k,ep as p,et as M,eu as T,bF as S,bq as A,ev as F,aH as $,c as P,l as C}from"./index-
|
|
1
|
+
import{r as x,br as b,j as c,bo as m,bp as k,ep as p,et as M,eu as T,bF as S,bq as A,ev as F,aH as $,c as P,l as C}from"./index-B_3mBk4y.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:k(r.onClick,()=>{r.disabled||o(!t)})})});_.displayName=j;var v="ToggleGroup",[w]=S(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(V=>V!==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[H,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(H,{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(M,{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)}})}),q=h,L=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 K(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(q,{"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(L,{"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,K as a};
|
package/dist/client/assets/{toolbar-icon-button-9n2J-wcp.js → toolbar-icon-button-voXPSLQD.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-B_3mBk4y.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,bn as K,br as W,j as c,bs as J,bm as H,bt as Q,bo as Z,bp as b,dc as S,bv as ee,bx as $,bE as te,bH as oe,bF as re,dd as ne,bI as se,c as j,l as ae}from"./index-
|
|
1
|
+
import{r as i,bn as K,br as W,j as c,bs as J,bm as H,bt as Q,bo as Z,bp as b,dc as S,bv as ee,bx as $,bE as te,bH as oe,bF as re,dd as ne,bI as se,c as j,l as ae}from"./index-B_3mBk4y.js";import{R as ie}from"./index-BOvE7Vou.js";var[O]=re("Tooltip",[$]),D=$(),G="TooltipProvider",le=700,A="tooltip.open",[ce,k]=O(G),F=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})};F.displayName=G;var R="Tooltip",[ue,_]=O(R),z=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]=W({prop:r,defaultProp:n??!1,onChange:N=>{N?(a.onOpen(),document.dispatchEvent(new CustomEvent(A))):a.onClose(),s?.(N)},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]),M=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(J,{...p,children:c.jsx(ue,{scope:e,contentId:x,open:y,stateAttribute:w,trigger:u,onTriggerChange:v,onTriggerEnter:i.useCallback(()=>{a.isOpenDelayedRef.current?M():E()},[a.isOpenDelayedRef,M,E]),onTriggerLeave:i.useCallback(()=>{h?P():(window.clearTimeout(f.current),f.current=0)},[P,h]),onOpen:E,onClose:P,disableHoverableContent:h,children:t})})};z.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(Q,{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 I="TooltipPortal",[de,pe]=O(I,{forceMount:void 0}),U=o=>{const{__scopeTooltip:e,forceMount:t,children:r,container:n}=o,s=_(I,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=I;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=F,Ee=z,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 Ie(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,Ie as a,Le as b,Oe as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{v as m,T as _}from"./index-
|
|
1
|
+
import{v as m,T as _}from"./index-B_3mBk4y.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 T(e,t){const n={...g(e),...t};return d(n),n}function v(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 R(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,v as a,S as b,I as c,g as d,R as e,h as r,T as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cQ as l,cU as e,bN as h,av as r,ew as b,au as t,bK as p,bM as d,aK as c,bO as m,cS as v,ex as E,ey as I,ez as w,cr as x,dC as T,eA as z,eB as C,eC as D,c6 as B,eD as O,cI as V,eE as W,eF as $,eG as K,eH as F,cE as J,cs as Z,cB as j,cC as Q,cD as Y,cu as G,cA as X,ct as ee,cM as te}from"./index-
|
|
1
|
+
import{cQ as l,cU as e,bN as h,av as r,ew as b,au as t,bK as p,bM as d,aK as c,bO as m,cS as v,ex as E,ey as I,ez as w,cr as x,dC as T,eA as z,eB as C,eC as D,c6 as B,eD as O,cI as V,eE as W,eF as $,eG as K,eH as F,cE as J,cs as Z,cB as j,cC as Q,cD as Y,cu as G,cA as X,ct as ee,cM as te}from"./index-B_3mBk4y.js";import{P as oe}from"./use-mcp-client-B_ORPqL8.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 A of[...u.listeners])A(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{c as P,b as J,r as Q,j as t,l as U,q as V}from"./index-C95CzY3C.js";import{u as X}from"./use-copy-Qg7bi8zx.js";import{M as Y}from"./markdown-GDF3SJOy.js";import{i as ee}from"./Check-Bt1XL9OZ.js";import{a as te}from"./Copy01-lLzDCXmN.js";import{b as A,T as z,a as G}from"./tooltip-DdjGQobT.js";import{B as se}from"./agent-icon-B9NBzFRl.js";import{b as Z}from"./format-time-CjIPQhCN.js";import{c as H}from"./use-decopilot-events-CT-KDwdn.js";import{y as K}from"./chat-context-DlsYLkGJ.js";function he(T){const e=P.c(19),{id:s,part:l,copyable:j,extraActions:n,alwaysShowActions:p,animate:a}=T,f=j===void 0?!1:j,o=p===void 0?!1:p,i=a===void 0?!1:a,{handleCopy:m}=X(),x=J(),[r,N]=Q.useState(!1);let k;e[0]!==m||e[1]!==s||e[2]!==l.text?(k=async()=>{V("chat_message_copied",{message_id:s,chars:l.text.length}),await m(l.text),N(!0),setTimeout(()=>N(!1),2e3)},e[0]=m,e[1]=s,e[2]=l.text,e[3]=k):k=e[3];const b=k,d=f&&n,g=d||n;let u;e[4]!==i||e[5]!==s||e[6]!==l.text?(u=t.jsx(Y,{id:s,text:l.text,animate:i}),e[4]=i,e[5]=s,e[6]=l.text,e[7]=u):u=e[7];let c;e[8]!==o||e[9]!==n||e[10]!==b||e[11]!==r||e[12]!==g||e[13]!==d||e[14]!==x?(c=g&&t.jsxs("div",{className:U("flex w-full items-center gap-2 text-sm text-muted-foreground transition-all duration-200 mt-1 py-1",o?"opacity-100":"opacity-0 pointer-events-none group-hover/part:opacity-100 group-hover/part:pointer-events-auto"),children:[n,d&&n&&t.jsx("span",{className:"text-muted-foreground/40 select-none",children:"·"}),d&&t.jsx("button",{type:"button",onClick:b,className:"text-muted-foreground [@media(hover:hover)]:hover:text-foreground transition-colors active:scale-[0.97]","aria-label":x("chat.textPart.copyMessage"),children:r?t.jsx(ee,{className:"size-4"}):t.jsx(te,{className:"size-4"})})]}),e[8]=o,e[9]=n,e[10]=b,e[11]=r,e[12]=g,e[13]=d,e[14]=x,e[15]=c):c=e[15];let h;return e[16]!==u||e[17]!==c?(h=t.jsxs("div",{className:"group/part relative",children:[u,c]}),e[16]=u,e[17]=c,e[18]=h):h=e[18],h}const v=16,O=2.5,q=(v-O)/2,B=2*Math.PI*q;function ue(T){const e=P.c(29),{usage:s}=T,l=H();if(!s)return null;const{totalTokens:j,inputTokens:n,outputTokens:p}=s,a=l?s.cost:0;if(!j&&!n&&!p)return null;let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(se,{size:12}),e[0]=f):f=e[0];let o;e[1]!==a||e[2]!==j?(o=a>0?`$${a.toFixed(4)}`:j.toLocaleString(),e[1]=a,e[2]=j,e[3]=o):o=e[3];let i;e[4]!==o?(i=t.jsx(z,{asChild:!0,children:t.jsxs("span",{className:"inline-flex items-center text-muted-foreground [@media(hover:hover)]:hover:text-foreground pl-1 h-6 gap-1 whitespace-nowrap shrink-0 cursor-default",children:[f,t.jsx("span",{className:"text-sm font-mono tabular-nums",children:o})]})}),e[4]=o,e[5]=i):i=e[5];let m;e[6]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx("p",{className:"text-muted text-[10px] mb-1",children:"tokens"}),e[6]=m):m=e[6];let x;e[7]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("span",{className:"text-muted",children:"in"}),e[7]=x):x=e[7];let r;e[8]!==n?(r=n.toLocaleString(),e[8]=n,e[9]=r):r=e[9];let N;e[10]!==r?(N=t.jsx("span",{className:"text-right tabular-nums",children:r}),e[10]=r,e[11]=N):N=e[11];let k;e[12]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("span",{className:"text-muted",children:"out"}),e[12]=k):k=e[12];const b=p-(s.reasoningTokens??0);let d;e[13]!==b?(d=b.toLocaleString(),e[13]=b,e[14]=d):d=e[14];let g;e[15]!==d?(g=t.jsx("span",{className:"text-right tabular-nums",children:d}),e[15]=d,e[16]=g):g=e[16];let u;e[17]!==s?(u=(s.cacheReadTokens>0||s.cacheWriteTokens>0)&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"cache hit"}),t.jsx("span",{className:"text-right tabular-nums",children:`${(K(s)*100).toFixed(0)}%`})]}),e[17]=s,e[18]=u):u=e[18];let c;e[19]!==a?(c=a>0&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"cost"}),t.jsxs("span",{className:"text-right tabular-nums",children:["$",a.toFixed(4)]})]}),e[19]=a,e[20]=c):c=e[20];let h;e[21]!==g||e[22]!==u||e[23]!==c||e[24]!==N?(h=t.jsxs(G,{side:"top",className:"font-mono text-[11px]",children:[m,t.jsxs("div",{className:"grid grid-cols-[auto_1fr] gap-x-3 gap-y-0.5",children:[x,N,k,g,u,c]})]}),e[21]=g,e[22]=u,e[23]=c,e[24]=N,e[25]=h):h=e[25];let y;return e[26]!==h||e[27]!==i?(y=t.jsxs(A,{children:[i,h]}),e[26]=h,e[27]=i,e[28]=y):y=e[28],y}function pe(T){const e=P.c(19),{usage:s,duration:l}=T,j=H(),n=l!=null&&l>0,p=j&&s!=null&&(s.cost??0)>0,a=s!=null&&(s.totalTokens??0)>0;if(!n&&!p&&!a)return null;let f;e[0]!==l||e[1]!==n?(f=n?Z(l/1e3):null,e[0]=l,e[1]=n,e[2]=f):f=e[2];const o=f;let i;e[3]!==l||e[4]!==o||e[5]!==s?(i=o&&t.jsxs(A,{children:[t.jsx(z,{asChild:!0,children:t.jsx("span",{className:"tabular-nums text-sm font-mono text-muted-foreground cursor-default [@media(hover:hover)]:hover:text-foreground transition-colors select-none",children:o})}),t.jsxs(G,{side:"top",className:"font-mono text-[11px]",children:[t.jsx("p",{className:"opacity-60 text-[10px] mb-1",children:"thinking"}),t.jsx("span",{className:"tabular-nums",children:Z(l/1e3)}),(s?.reasoningTokens??0)>0&&t.jsxs("span",{className:"ml-2 opacity-50",children:[s.reasoningTokens.toLocaleString()," tok"]})]})]}),e[3]=l,e[4]=o,e[5]=s,e[6]=i):i=e[6];let m;e[7]!==p||e[8]!==n||e[9]!==a?(m=n&&(p||a)&&t.jsx("span",{className:"text-muted-foreground/40 select-none",children:"·"}),e[7]=p,e[8]=n,e[9]=a,e[10]=m):m=e[10];let x;e[11]!==p||e[12]!==a||e[13]!==s?(x=(p||a)&&t.jsxs(A,{children:[t.jsx(z,{asChild:!0,children:t.jsx("span",{className:"tabular-nums text-sm font-mono text-muted-foreground cursor-default [@media(hover:hover)]:hover:text-foreground transition-colors select-none",children:p?`$${s.cost.toFixed(4)}`:`${s.totalTokens.toLocaleString()} tok`})}),t.jsxs(G,{side:"top",className:"font-mono text-[11px]",children:[t.jsx("p",{className:"opacity-60 text-[10px] mb-1",children:"tokens"}),t.jsxs("div",{className:"grid grid-cols-[auto_1fr] gap-x-3 gap-y-0.5",children:[t.jsx("span",{className:"opacity-60",children:"in"}),t.jsx("span",{className:"text-right tabular-nums",children:(s.inputTokens??0).toLocaleString()}),t.jsx("span",{className:"opacity-60",children:"out"}),t.jsx("span",{className:"text-right tabular-nums",children:((s.outputTokens??0)-(s?.reasoningTokens??0)).toLocaleString()}),(s?.reasoningTokens??0)>0&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"opacity-60",children:"think"}),t.jsx("span",{className:"text-right tabular-nums",children:s.reasoningTokens.toLocaleString()})]}),((s?.cacheReadTokens??0)>0||(s?.cacheWriteTokens??0)>0)&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"opacity-60",children:"cache hit"}),t.jsx("span",{className:"text-right tabular-nums",children:`${(K(s)*100).toFixed(0)}%`})]})]})]})]}),e[11]=p,e[12]=a,e[13]=s,e[14]=x):x=e[14];let r;return e[15]!==i||e[16]!==m||e[17]!==x?(r=t.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[i,m,x]}),e[15]=i,e[16]=m,e[17]=x,e[18]=r):r=e[18],r}function fe(T){const e=P.c(52),{usage:s,totalTokens:l,contextWindow:j,onOpenContextPanel:n}=T,p=H(),a=Math.min(l/j*100,100),f=B-a/100*B,o=p?s?.cost??0:0,i=(s?.cost??0)>0,m=s?.inputTokens??0,x=s?.outputTokens??0;let r;e[0]!==a?(r=a.toFixed(0),e[0]=a,e[1]=r):r=e[1];let N;e[2]!==o?(N=o>0?`, $${o.toFixed(2)}`:"",e[2]=o,e[3]=N):N=e[3];const k=`Context usage: ${r}%${N}`,b=n?"cursor-pointer":"cursor-default";let d;e[4]!==b?(d=U("flex items-center gap-1.5 text-muted-foreground hover:text-foreground h-6 px-1 shrink-0",b),e[4]=b,e[5]=d):d=e[5];let g;e[6]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("circle",{cx:v/2,cy:v/2,r:q,fill:"none",stroke:"currentColor",strokeWidth:O,className:"opacity-15"}),e[6]=g):g=e[6];const u=a>90?"text-destructive":a>70?"text-warning":"text-muted-foreground";let c;e[7]!==u?(c=U(u),e[7]=u,e[8]=c):c=e[8];let h;e[9]!==f||e[10]!==c?(h=t.jsxs("svg",{width:v,height:v,className:"-rotate-90","aria-hidden":"true",children:[g,t.jsx("circle",{cx:v/2,cy:v/2,r:q,fill:"none",stroke:"currentColor",strokeWidth:O,strokeDasharray:B,strokeDashoffset:f,strokeLinecap:"round",className:c})]}),e[9]=f,e[10]=c,e[11]=h):h=e[11];let y;e[12]!==a?(y=a.toFixed(0),e[12]=a,e[13]=y):y=e[13];let S;e[14]!==o?(S=o>0?` · $${o.toFixed(2)}`:"",e[14]=o,e[15]=S):S=e[15];let C;e[16]!==y||e[17]!==S?(C=t.jsxs("span",{className:"inline-block overflow-hidden whitespace-nowrap max-w-0 opacity-0 transition-[max-width,opacity] duration-200 ease-out @[320px]/chat-bottom:max-w-32 @[320px]/chat-bottom:opacity-100 text-[11px] font-mono tabular-nums",children:[y,"%",S]}),e[16]=y,e[17]=S,e[18]=C):C=e[18];let w;e[19]!==n||e[20]!==C||e[21]!==k||e[22]!==d||e[23]!==h?(w=t.jsx(z,{asChild:!0,children:t.jsxs("button",{type:"button",onClick:n,"aria-label":k,className:d,children:[h,C]})}),e[19]=n,e[20]=C,e[21]=k,e[22]=d,e[23]=h,e[24]=w):w=e[24];let D;e[25]===Symbol.for("react.memo_cache_sentinel")?(D=t.jsx("span",{className:"text-muted",children:"context"}),e[25]=D):D=e[25];let _;e[26]!==l?(_=l.toLocaleString(),e[26]=l,e[27]=_):_=e[27];let $;e[28]!==j?($=j.toLocaleString(),e[28]=j,e[29]=$):$=e[29];let F;e[30]!==a?(F=a.toFixed(1),e[30]=a,e[31]=F):F=e[31];let L;e[32]!==_||e[33]!==$||e[34]!==F?(L=t.jsxs("span",{className:"text-right tabular-nums",children:[_," / ",$," (",F,"%)"]}),e[32]=_,e[33]=$,e[34]=F,e[35]=L):L=e[35];let R;e[36]!==o?(R=o>0&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"cost"}),t.jsxs("span",{className:"text-right tabular-nums",children:["$",o.toFixed(4)]})]}),e[36]=o,e[37]=R):R=e[37];let M;e[38]!==i||e[39]!==m||e[40]!==x?(M=i&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"in"}),t.jsx("span",{className:"text-right tabular-nums",children:m.toLocaleString()}),t.jsx("span",{className:"text-muted",children:"out"}),t.jsx("span",{className:"text-right tabular-nums",children:x.toLocaleString()})]}),e[38]=i,e[39]=m,e[40]=x,e[41]=M):M=e[41];let I;e[42]!==s?(I=((s?.cacheReadTokens??0)>0||(s?.cacheWriteTokens??0)>0)&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"cache hit"}),t.jsx("span",{className:"text-right tabular-nums",children:`${(K(s)*100).toFixed(0)}%`})]}),e[42]=s,e[43]=I):I=e[43];let E;e[44]!==L||e[45]!==R||e[46]!==M||e[47]!==I?(E=t.jsx(G,{side:"top",className:"font-mono text-[11px]",children:t.jsxs("div",{className:"grid grid-cols-[auto_1fr] gap-x-3 gap-y-0.5",children:[D,L,R,M,I]})}),e[44]=L,e[45]=R,e[46]=M,e[47]=I,e[48]=E):E=e[48];let W;return e[49]!==w||e[50]!==E?(W=t.jsxs(A,{children:[w,E]}),e[49]=w,e[50]=E,e[51]=W):W=e[51],W}export{he as M,fe as S,ue as a,pe as b};
|
|
1
|
+
import{c as P,b as J,r as Q,j as t,l as U,q as V}from"./index-B_3mBk4y.js";import{u as X}from"./use-copy-B5g9zFhy.js";import{M as Y}from"./markdown-B9aD1F1t.js";import{i as ee}from"./Check-BiHadeJU.js";import{a as te}from"./Copy01-Z8h17W5V.js";import{b as A,T as z,a as G}from"./tooltip-A9lPSKit.js";import{B as se}from"./agent-icon-B241PBKK.js";import{b as Z}from"./format-time-CjIPQhCN.js";import{c as H}from"./use-decopilot-events-DgoNCAj-.js";import{y as K}from"./chat-context-Bw1Qo4Kf.js";function he(T){const e=P.c(19),{id:s,part:l,copyable:j,extraActions:n,alwaysShowActions:p,animate:a}=T,f=j===void 0?!1:j,o=p===void 0?!1:p,i=a===void 0?!1:a,{handleCopy:m}=X(),x=J(),[r,N]=Q.useState(!1);let k;e[0]!==m||e[1]!==s||e[2]!==l.text?(k=async()=>{V("chat_message_copied",{message_id:s,chars:l.text.length}),await m(l.text),N(!0),setTimeout(()=>N(!1),2e3)},e[0]=m,e[1]=s,e[2]=l.text,e[3]=k):k=e[3];const b=k,d=f&&n,g=d||n;let u;e[4]!==i||e[5]!==s||e[6]!==l.text?(u=t.jsx(Y,{id:s,text:l.text,animate:i}),e[4]=i,e[5]=s,e[6]=l.text,e[7]=u):u=e[7];let c;e[8]!==o||e[9]!==n||e[10]!==b||e[11]!==r||e[12]!==g||e[13]!==d||e[14]!==x?(c=g&&t.jsxs("div",{className:U("flex w-full items-center gap-2 text-sm text-muted-foreground transition-all duration-200 mt-1 py-1",o?"opacity-100":"opacity-0 pointer-events-none group-hover/part:opacity-100 group-hover/part:pointer-events-auto"),children:[n,d&&n&&t.jsx("span",{className:"text-muted-foreground/40 select-none",children:"·"}),d&&t.jsx("button",{type:"button",onClick:b,className:"text-muted-foreground [@media(hover:hover)]:hover:text-foreground transition-colors active:scale-[0.97]","aria-label":x("chat.textPart.copyMessage"),children:r?t.jsx(ee,{className:"size-4"}):t.jsx(te,{className:"size-4"})})]}),e[8]=o,e[9]=n,e[10]=b,e[11]=r,e[12]=g,e[13]=d,e[14]=x,e[15]=c):c=e[15];let h;return e[16]!==u||e[17]!==c?(h=t.jsxs("div",{className:"group/part relative",children:[u,c]}),e[16]=u,e[17]=c,e[18]=h):h=e[18],h}const v=16,O=2.5,q=(v-O)/2,B=2*Math.PI*q;function ue(T){const e=P.c(29),{usage:s}=T,l=H();if(!s)return null;const{totalTokens:j,inputTokens:n,outputTokens:p}=s,a=l?s.cost:0;if(!j&&!n&&!p)return null;let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(se,{size:12}),e[0]=f):f=e[0];let o;e[1]!==a||e[2]!==j?(o=a>0?`$${a.toFixed(4)}`:j.toLocaleString(),e[1]=a,e[2]=j,e[3]=o):o=e[3];let i;e[4]!==o?(i=t.jsx(z,{asChild:!0,children:t.jsxs("span",{className:"inline-flex items-center text-muted-foreground [@media(hover:hover)]:hover:text-foreground pl-1 h-6 gap-1 whitespace-nowrap shrink-0 cursor-default",children:[f,t.jsx("span",{className:"text-sm font-mono tabular-nums",children:o})]})}),e[4]=o,e[5]=i):i=e[5];let m;e[6]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx("p",{className:"text-muted text-[10px] mb-1",children:"tokens"}),e[6]=m):m=e[6];let x;e[7]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("span",{className:"text-muted",children:"in"}),e[7]=x):x=e[7];let r;e[8]!==n?(r=n.toLocaleString(),e[8]=n,e[9]=r):r=e[9];let N;e[10]!==r?(N=t.jsx("span",{className:"text-right tabular-nums",children:r}),e[10]=r,e[11]=N):N=e[11];let k;e[12]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("span",{className:"text-muted",children:"out"}),e[12]=k):k=e[12];const b=p-(s.reasoningTokens??0);let d;e[13]!==b?(d=b.toLocaleString(),e[13]=b,e[14]=d):d=e[14];let g;e[15]!==d?(g=t.jsx("span",{className:"text-right tabular-nums",children:d}),e[15]=d,e[16]=g):g=e[16];let u;e[17]!==s?(u=(s.cacheReadTokens>0||s.cacheWriteTokens>0)&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"cache hit"}),t.jsx("span",{className:"text-right tabular-nums",children:`${(K(s)*100).toFixed(0)}%`})]}),e[17]=s,e[18]=u):u=e[18];let c;e[19]!==a?(c=a>0&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"cost"}),t.jsxs("span",{className:"text-right tabular-nums",children:["$",a.toFixed(4)]})]}),e[19]=a,e[20]=c):c=e[20];let h;e[21]!==g||e[22]!==u||e[23]!==c||e[24]!==N?(h=t.jsxs(G,{side:"top",className:"font-mono text-[11px]",children:[m,t.jsxs("div",{className:"grid grid-cols-[auto_1fr] gap-x-3 gap-y-0.5",children:[x,N,k,g,u,c]})]}),e[21]=g,e[22]=u,e[23]=c,e[24]=N,e[25]=h):h=e[25];let y;return e[26]!==h||e[27]!==i?(y=t.jsxs(A,{children:[i,h]}),e[26]=h,e[27]=i,e[28]=y):y=e[28],y}function pe(T){const e=P.c(19),{usage:s,duration:l}=T,j=H(),n=l!=null&&l>0,p=j&&s!=null&&(s.cost??0)>0,a=s!=null&&(s.totalTokens??0)>0;if(!n&&!p&&!a)return null;let f;e[0]!==l||e[1]!==n?(f=n?Z(l/1e3):null,e[0]=l,e[1]=n,e[2]=f):f=e[2];const o=f;let i;e[3]!==l||e[4]!==o||e[5]!==s?(i=o&&t.jsxs(A,{children:[t.jsx(z,{asChild:!0,children:t.jsx("span",{className:"tabular-nums text-sm font-mono text-muted-foreground cursor-default [@media(hover:hover)]:hover:text-foreground transition-colors select-none",children:o})}),t.jsxs(G,{side:"top",className:"font-mono text-[11px]",children:[t.jsx("p",{className:"opacity-60 text-[10px] mb-1",children:"thinking"}),t.jsx("span",{className:"tabular-nums",children:Z(l/1e3)}),(s?.reasoningTokens??0)>0&&t.jsxs("span",{className:"ml-2 opacity-50",children:[s.reasoningTokens.toLocaleString()," tok"]})]})]}),e[3]=l,e[4]=o,e[5]=s,e[6]=i):i=e[6];let m;e[7]!==p||e[8]!==n||e[9]!==a?(m=n&&(p||a)&&t.jsx("span",{className:"text-muted-foreground/40 select-none",children:"·"}),e[7]=p,e[8]=n,e[9]=a,e[10]=m):m=e[10];let x;e[11]!==p||e[12]!==a||e[13]!==s?(x=(p||a)&&t.jsxs(A,{children:[t.jsx(z,{asChild:!0,children:t.jsx("span",{className:"tabular-nums text-sm font-mono text-muted-foreground cursor-default [@media(hover:hover)]:hover:text-foreground transition-colors select-none",children:p?`$${s.cost.toFixed(4)}`:`${s.totalTokens.toLocaleString()} tok`})}),t.jsxs(G,{side:"top",className:"font-mono text-[11px]",children:[t.jsx("p",{className:"opacity-60 text-[10px] mb-1",children:"tokens"}),t.jsxs("div",{className:"grid grid-cols-[auto_1fr] gap-x-3 gap-y-0.5",children:[t.jsx("span",{className:"opacity-60",children:"in"}),t.jsx("span",{className:"text-right tabular-nums",children:(s.inputTokens??0).toLocaleString()}),t.jsx("span",{className:"opacity-60",children:"out"}),t.jsx("span",{className:"text-right tabular-nums",children:((s.outputTokens??0)-(s?.reasoningTokens??0)).toLocaleString()}),(s?.reasoningTokens??0)>0&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"opacity-60",children:"think"}),t.jsx("span",{className:"text-right tabular-nums",children:s.reasoningTokens.toLocaleString()})]}),((s?.cacheReadTokens??0)>0||(s?.cacheWriteTokens??0)>0)&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"opacity-60",children:"cache hit"}),t.jsx("span",{className:"text-right tabular-nums",children:`${(K(s)*100).toFixed(0)}%`})]})]})]})]}),e[11]=p,e[12]=a,e[13]=s,e[14]=x):x=e[14];let r;return e[15]!==i||e[16]!==m||e[17]!==x?(r=t.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[i,m,x]}),e[15]=i,e[16]=m,e[17]=x,e[18]=r):r=e[18],r}function fe(T){const e=P.c(52),{usage:s,totalTokens:l,contextWindow:j,onOpenContextPanel:n}=T,p=H(),a=Math.min(l/j*100,100),f=B-a/100*B,o=p?s?.cost??0:0,i=(s?.cost??0)>0,m=s?.inputTokens??0,x=s?.outputTokens??0;let r;e[0]!==a?(r=a.toFixed(0),e[0]=a,e[1]=r):r=e[1];let N;e[2]!==o?(N=o>0?`, $${o.toFixed(2)}`:"",e[2]=o,e[3]=N):N=e[3];const k=`Context usage: ${r}%${N}`,b=n?"cursor-pointer":"cursor-default";let d;e[4]!==b?(d=U("flex items-center gap-1.5 text-muted-foreground hover:text-foreground h-6 px-1 shrink-0",b),e[4]=b,e[5]=d):d=e[5];let g;e[6]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("circle",{cx:v/2,cy:v/2,r:q,fill:"none",stroke:"currentColor",strokeWidth:O,className:"opacity-15"}),e[6]=g):g=e[6];const u=a>90?"text-destructive":a>70?"text-warning":"text-muted-foreground";let c;e[7]!==u?(c=U(u),e[7]=u,e[8]=c):c=e[8];let h;e[9]!==f||e[10]!==c?(h=t.jsxs("svg",{width:v,height:v,className:"-rotate-90","aria-hidden":"true",children:[g,t.jsx("circle",{cx:v/2,cy:v/2,r:q,fill:"none",stroke:"currentColor",strokeWidth:O,strokeDasharray:B,strokeDashoffset:f,strokeLinecap:"round",className:c})]}),e[9]=f,e[10]=c,e[11]=h):h=e[11];let y;e[12]!==a?(y=a.toFixed(0),e[12]=a,e[13]=y):y=e[13];let S;e[14]!==o?(S=o>0?` · $${o.toFixed(2)}`:"",e[14]=o,e[15]=S):S=e[15];let C;e[16]!==y||e[17]!==S?(C=t.jsxs("span",{className:"inline-block overflow-hidden whitespace-nowrap max-w-0 opacity-0 transition-[max-width,opacity] duration-200 ease-out @[320px]/chat-bottom:max-w-32 @[320px]/chat-bottom:opacity-100 text-[11px] font-mono tabular-nums",children:[y,"%",S]}),e[16]=y,e[17]=S,e[18]=C):C=e[18];let w;e[19]!==n||e[20]!==C||e[21]!==k||e[22]!==d||e[23]!==h?(w=t.jsx(z,{asChild:!0,children:t.jsxs("button",{type:"button",onClick:n,"aria-label":k,className:d,children:[h,C]})}),e[19]=n,e[20]=C,e[21]=k,e[22]=d,e[23]=h,e[24]=w):w=e[24];let D;e[25]===Symbol.for("react.memo_cache_sentinel")?(D=t.jsx("span",{className:"text-muted",children:"context"}),e[25]=D):D=e[25];let _;e[26]!==l?(_=l.toLocaleString(),e[26]=l,e[27]=_):_=e[27];let $;e[28]!==j?($=j.toLocaleString(),e[28]=j,e[29]=$):$=e[29];let F;e[30]!==a?(F=a.toFixed(1),e[30]=a,e[31]=F):F=e[31];let L;e[32]!==_||e[33]!==$||e[34]!==F?(L=t.jsxs("span",{className:"text-right tabular-nums",children:[_," / ",$," (",F,"%)"]}),e[32]=_,e[33]=$,e[34]=F,e[35]=L):L=e[35];let R;e[36]!==o?(R=o>0&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"cost"}),t.jsxs("span",{className:"text-right tabular-nums",children:["$",o.toFixed(4)]})]}),e[36]=o,e[37]=R):R=e[37];let M;e[38]!==i||e[39]!==m||e[40]!==x?(M=i&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"in"}),t.jsx("span",{className:"text-right tabular-nums",children:m.toLocaleString()}),t.jsx("span",{className:"text-muted",children:"out"}),t.jsx("span",{className:"text-right tabular-nums",children:x.toLocaleString()})]}),e[38]=i,e[39]=m,e[40]=x,e[41]=M):M=e[41];let I;e[42]!==s?(I=((s?.cacheReadTokens??0)>0||(s?.cacheWriteTokens??0)>0)&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-muted",children:"cache hit"}),t.jsx("span",{className:"text-right tabular-nums",children:`${(K(s)*100).toFixed(0)}%`})]}),e[42]=s,e[43]=I):I=e[43];let E;e[44]!==L||e[45]!==R||e[46]!==M||e[47]!==I?(E=t.jsx(G,{side:"top",className:"font-mono text-[11px]",children:t.jsxs("div",{className:"grid grid-cols-[auto_1fr] gap-x-3 gap-y-0.5",children:[D,L,R,M,I]})}),e[44]=L,e[45]=R,e[46]=M,e[47]=I,e[48]=E):E=e[48];let W;return e[49]!==w||e[50]!==E?(W=t.jsxs(A,{children:[w,E]}),e[49]=w,e[50]=E,e[51]=W):W=e[51],W}export{he as M,fe as S,ue as a,pe as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,X as h,a2 as R,K as m,m as y,D as S,af as M}from"./index-
|
|
1
|
+
import{c as p,X as h,a2 as R,K as m,m as y,D as S,af as M}from"./index-B_3mBk4y.js";const P=["deco","anthropic","openrouter","llmapi","google","openai-compatible"],O=new Set(P);function A(o){return O.has(o)}function _(o){return o.capabilities?.includes("decisions")===!0}function z(o){return!_(o)&&o.asyncResearch!==!0}const v={anthropic:["claude-haiku-4-5","claude-haiku"],openrouter:["qwen/qwen3.5-flash","anthropic/claude-haiku-4.5","anthropic/claude-haiku","google/gemini-3-flash"],deco:["qwen/qwen3.5-flash","anthropic/claude-haiku"],llmapi:["claude-haiku-4-5","claude-haiku","gpt-4o-mini"],google:["gemini-2.5-flash","gemini-3-flash"]},L={anthropic:["claude-sonnet-5","claude-sonnet"],openrouter:["anthropic/claude-sonnet-5","anthropic/claude-sonnet","anthropic/claude-opus-4.8","google/gemini-3-pro"],deco:["anthropic/claude-sonnet-5","anthropic/claude-sonnet","anthropic/claude"],llmapi:["claude-sonnet-4-6","claude-sonnet"],google:["gemini-3-pro","gemini-3-flash"]},T={anthropic:["claude-opus-4-8","claude-sonnet-5","claude-sonnet","claude-fable-5"],openrouter:["anthropic/claude-opus-4.8:extended","anthropic/claude-opus-4.8","anthropic/claude-sonnet-5:extended","anthropic/claude-sonnet-5","google/gemini-3-pro","anthropic/claude-fable-5"],deco:["anthropic/claude-opus","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet","anthropic/claude-fable"],llmapi:["claude-opus-4-8","claude-opus","claude-sonnet-4-6"],google:["gemini-3-pro"]},K={openrouter:["google/gemini-3-pro-image","openai/gpt-5-image","google/gemini-2.5-flash-image"],deco:["google/gemini-3-pro-image","openai/gpt-5-image","google/gemini-2.5-flash-image"],llmapi:["gemini-2.5-flash-image","gpt-image-1"],google:["gemini-2.0-flash-image"]},w={openrouter:["perplexity/sonar","perplexity/sonar-pro"],deco:["perplexity/sonar","perplexity/sonar-pro"]},x={openrouter:["perplexity/deep-research","perplexity/sonar-pro"],deco:["perplexity/deep-research","perplexity/sonar-pro"]};function I(o){return o.toLowerCase().replace(/[^a-z0-9]/g,"")}function C(o){return I(o).includes("deepresearch")}const q=["sonar","searchpreview","online"];function D(o){const e=I(o);return e.includes("deepresearch")?!1:q.some(i=>e.includes(i))}function F(o){return o.asyncResearch!==!0&&D(o.modelId)}function b(o){return o.asyncResearch===!0||C(o.modelId)||D(o.modelId)}function u(o,e,i,n){for(const t of i){const s=o.find(a=>a.modelId===t);if(s)return{keyId:e,modelId:s.modelId,title:s.title}}for(const t of i){const s=o.find(a=>a.modelId.includes(t));if(s)return{keyId:e,modelId:s.modelId,title:s.title}}if(n){const t=o.find(n);if(t)return{keyId:e,modelId:t.modelId,title:t.title}}return null}function H(o,e){const i={chat:{fast:null,smart:null,thinking:null},image:null,webSearch:null,deepResearch:null};for(const n of o){const t=(e[n.id]??[]).filter(a=>!_(a)),s=n.providerId;i.chat.fast||(i.chat.fast=u(t,n.id,v[s]??[])),i.chat.smart||(i.chat.smart=u(t,n.id,L[s]??[])),i.chat.thinking||(i.chat.thinking=u(t,n.id,T[s]??[])),i.image||(i.image=u(t,n.id,K[s]??[],a=>a.capabilities?.includes("image")===!0&&!a.modelId.startsWith("openrouter/auto"))),i.webSearch||(i.webSearch=u(t,n.id,w[s]??[],F)),i.deepResearch||(i.deepResearch=u(t,n.id,x[s]??[],b))}return i}function N(o,e){return{queryKey:m.aiProviderKeys(e),staleTime:6e4,queryFn:async()=>await M(o,"AI_PROVIDER_KEY_LIST",{})}}function B(){const o=p.c(7),{org:e}=h(),i=R();let n;o[0]!==e.id?(n=m.aiProviders(e.id),o[0]=e.id,o[1]=n):n=o[1];let t;o[2]!==i?(t=async()=>await i.call("AI_PROVIDERS_LIST",{}),o[2]=i,o[3]=t):t=o[3];let s;o[4]!==n||o[5]!==t?(s={queryKey:n,staleTime:1/0,queryFn:t},o[4]=n,o[5]=t,o[6]=s):s=o[6];const{data:a}=S(s);return a}function Q(){const o=p.c(5),{org:e}=h();let i;o[0]!==e.id||o[1]!==e.slug?(i=N(e.slug,e.id),o[0]=e.id,o[1]=e.slug,o[2]=i):i=o[2];const{data:n}=S(i);let t;return o[3]!==n?.keys?(t=n?.keys??[],o[3]=n?.keys,o[4]=t):t=o[4],t}function G(){const o=p.c(2),e=Q();let i;return o[0]!==e?(i=e.filter(V),o[0]=e,o[1]=i):i=o[1],i}function V(o){return A(o.providerId)}function E(o){const e=p.c(15),{org:i}=h(),n=R();let t;e[0]!==o||e[1]!==i.id?(t=m.aiProviderModels(i.id,o??""),e[0]=o,e[1]=i.id,e[2]=t):t=e[2];const s=!!o;let a;e[3]!==o||e[4]!==n?(a=async()=>await n.call("AI_PROVIDERS_LIST_MODELS",{keyId:o??""}),e[3]=o,e[4]=n,e[5]=a):a=e[5];let r;e[6]!==t||e[7]!==s||e[8]!==a?(r={queryKey:t,enabled:s,staleTime:6e4,queryFn:a},e[6]=t,e[7]=s,e[8]=a,e[9]=r):r=e[9];const{data:l,isLoading:c}=y(r);let d;e[10]!==l?.models?(d=l?.models??[],e[10]=l?.models,e[11]=d):d=e[11];const g=!!o&&c;let f;return e[12]!==d||e[13]!==g?(f={models:d,isLoading:g},e[12]=d,e[13]=g,e[14]=f):f=e[14],f}function W(o){const e=p.c(8),i=o[0],n=o[1],t=o[2],{models:s}=E(i?.id),{models:a}=E(n?.id),{models:r}=E(t?.id);let l;if(e[0]!==i||e[1]!==n||e[2]!==t||e[3]!==o||e[4]!==s||e[5]!==a||e[6]!==r){const c={};i?.id&&(c[i.id]=s),n?.id&&(c[n.id]=a),t?.id&&(c[t.id]=r),l=H(o,c),e[0]=i,e[1]=n,e[2]=t,e[3]=o,e[4]=s,e[5]=a,e[6]=r,e[7]=l}else l=e[7];return l}function Y(o){const e=p.c(11),{org:i}=h(),n=R();let t;e[0]!==o||e[1]!==i.id?(t=m.aiProviderModels(i.id,o),e[0]=o,e[1]=i.id,e[2]=t):t=e[2];let s;e[3]!==o||e[4]!==n?(s=async()=>await n.call("AI_PROVIDERS_LIST_MODELS",{keyId:o}),e[3]=o,e[4]=n,e[5]=s):s=e[5];let a;e[6]!==t||e[7]!==s?(a={queryKey:t,staleTime:6e4,queryFn:s},e[6]=t,e[7]=s,e[8]=a):a=e[8];const{data:r}=S(a);let l;return e[9]!==r?.models?(l=r?.models??[],e[9]=r?.models,e[10]=l):l=e[10],l}export{E as a,b,W as c,B as d,z as e,Q as f,A as g,Y as h,F as i,H as p,G as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as U,X as q,a2 as I,K as T,m as Q,o as x,e as y,t as m,z}from"./index-
|
|
1
|
+
import{c as U,X as q,a2 as I,K as T,m as Q,o as x,e as y,t as m,z}from"./index-B_3mBk4y.js";import{u as J}from"./use-mcp-client-B_ORPqL8.js";function V(t){if(t.paramsSchema&&typeof t.paramsSchema=="object")return t;const e={};if(Array.isArray(t.params))for(const s of t.params)e[s.name]={type:s.type,description:s.description,enum:s.enum};else t.params&&typeof t.params=="object"&&Object.assign(e,t.params);return{type:t.type,description:t.description,paramsSchema:e}}function et(t){const e=U.c(12),{org:s}=q(),l=t??z;let a;e[0]!==s.id||e[1]!==s.slug||e[2]!==l?(a={connectionId:l,orgId:s.id,orgSlug:s.slug},e[0]=s.id,e[1]=s.slug,e[2]=l,e[3]=a):a=e[3];const i=J(a);let n;e[4]!==t?(n=T.toolCall(t??"","TRIGGER_LIST",""),e[4]=t,e[5]=n):n=e[5];let o;e[6]!==i?(o=async()=>{const d=await i.callTool({name:"TRIGGER_LIST",arguments:{}});return(d.structuredContent??d).triggers.map(V)},e[6]=i,e[7]=o):o=e[7];const c=!!t;let r;return e[8]!==n||e[9]!==o||e[10]!==c?(r={queryKey:n,queryFn:o,enabled:c,staleTime:3e4},e[8]=n,e[9]=o,e[10]=c,e[11]=r):r=e[11],Q(r)}function st(t){const e=U.c(9),{org:s}=q(),l=I();let a;e[0]!==s.id||e[1]!==t?(a=T.automations(s.id,t),e[0]=s.id,e[1]=t,e[2]=a):a=e[2];let i;e[3]!==l||e[4]!==t?(i=async()=>(await l.call("AUTOMATION_LIST",t!=null?{virtual_mcp_id:t}:{})).automations,e[3]=l,e[4]=t,e[5]=i):i=e[5];let n;return e[6]!==a||e[7]!==i?(n={queryKey:a,queryFn:i,staleTime:1e4},e[6]=a,e[7]=i,e[8]=n):n=e[8],Q(n)}function it(t){const e=U.c(10),{org:s}=q(),l=I();let a;e[0]!==t||e[1]!==s.id?(a=T.automation(s.id,t),e[0]=t,e[1]=s.id,e[2]=a):a=e[2];let i;e[3]!==t||e[4]!==l?(i=async()=>(await l.call("AUTOMATION_GET",{id:t})).automation,e[3]=t,e[4]=l,e[5]=i):i=e[5];const n=!!t;let o;return e[6]!==a||e[7]!==i||e[8]!==n?(o={queryKey:a,queryFn:i,enabled:n,staleTime:1e4},e[6]=a,e[7]=i,e[8]=n,e[9]=o):o=e[9],Q(o)}function ot(t,e){const s=U.c(12),{org:l}=q(),a=I();let i;s[0]!==t||s[1]!==l.id||s[2]!==e?(i=T.automationRunStats(l.id,t,JSON.stringify(e??{})),s[0]=t,s[1]=l.id,s[2]=e,s[3]=i):i=s[3];let n;s[4]!==t||s[5]!==e||s[6]!==a?(n=async()=>await a.call("AUTOMATION_RUN_STATS",{automation_id:t,...e?.startDate?{startDate:e.startDate}:{},...e?.endDate?{endDate:e.endDate}:{}}),s[4]=t,s[5]=e,s[6]=a,s[7]=n):n=s[7];const o=!!t;let c;return s[8]!==i||s[9]!==n||s[10]!==o?(c={queryKey:i,queryFn:n,enabled:o,staleTime:3e4},s[8]=i,s[9]=n,s[10]=o,s[11]=c):c=s[11],Q(c)}function at(t){return{name:"New Automation",messages:[],models:{tier:"smart"},temperature:.5,active:!0,virtual_mcp_id:t}}function nt(){const t=U.c(64),{org:e}=q(),s=I(),l=x();let a;t[0]!==e||t[1]!==l?(a=()=>l.invalidateQueries({queryKey:T.automationsAll(e.id)}),t[0]=e,t[1]=l,t[2]=a):a=t[2];const i=a;let n;t[3]!==e||t[4]!==l?(n=u=>l.invalidateQueries({queryKey:T.automation(e.id,u)}),t[3]=e,t[4]=l,t[5]=n):n=t[5];const o=n;let c;t[6]!==s?(c=async u=>await s.call("AUTOMATION_CREATE",u),t[6]=s,t[7]=c):c=t[7];let r;t[8]!==i?(r=()=>{i(),m.success("Automation created successfully")},t[8]=i,t[9]=r):r=t[9];let d;t[10]!==c||t[11]!==r?(d={mutationFn:c,onSuccess:r,onError:W},t[10]=c,t[11]=r,t[12]=d):d=t[12];const D=y(d);let A;t[13]!==s?(A=async u=>await s.call("AUTOMATION_UPDATE",u),t[13]=s,t[14]=A):A=t[14];let p;t[15]!==i||t[16]!==o?(p=(u,f)=>{i(),typeof f.id=="string"&&o(f.id),m.success("Automation updated successfully")},t[15]=i,t[16]=o,t[17]=p):p=t[17];let G;t[18]!==A||t[19]!==p?(G={mutationFn:A,onSuccess:p,onError:H},t[18]=A,t[19]=p,t[20]=G):G=t[20];const j=y(G);let g;t[21]!==s?(g=async u=>await s.call("AUTOMATION_DELETE",{id:u}),t[21]=s,t[22]=g):g=t[22];let _;t[23]!==i||t[24]!==e||t[25]!==l?(_=(u,f)=>{l.removeQueries({queryKey:T.automation(e.id,f)}),i(),m.success("Automation deleted successfully")},t[23]=i,t[24]=e,t[25]=l,t[26]=_):_=t[26];let $;t[27]!==g||t[28]!==_?($={mutationFn:g,onSuccess:_,onError:B},t[27]=g,t[28]=_,t[29]=$):$=t[29];const k=y($);let E;t[30]!==s?(E=async u=>await s.call("AUTOMATION_TRIGGER_ADD",u),t[30]=s,t[31]=E):E=t[31];let S;t[32]!==i||t[33]!==o?(S=u=>{i(),o(u.automation_id)},t[32]=i,t[33]=o,t[34]=S):S=t[34];let K;t[35]!==E||t[36]!==S?(K={mutationFn:E,onSuccess:S},t[35]=E,t[36]=S,t[37]=K):K=t[37];const P=y(K);let O;t[38]!==s?(O=async u=>await s.call("AUTOMATION_TRIGGER_ROTATE_TOKEN",{trigger_id:u.trigger_id}),t[38]=s,t[39]=O):O=t[39];let R;t[40]!==i||t[41]!==o?(R=(u,f)=>{i(),o(f.automation_id)},t[40]=i,t[41]=o,t[42]=R):R=t[42];let C;t[43]!==O||t[44]!==R?(C={mutationFn:O,onSuccess:R},t[43]=O,t[44]=R,t[45]=C):C=t[45];const h=y(C);let F;t[46]!==s?(F=async u=>await s.call("AUTOMATION_TRIGGER_REMOVE",{trigger_id:u.trigger_id}),t[46]=s,t[47]=F):F=t[47];let N;t[48]!==i||t[49]!==o?(N=(u,f)=>{i(),o(f.automation_id)},t[48]=i,t[49]=o,t[50]=N):N=t[50];let b;t[51]!==F||t[52]!==N?(b={mutationFn:F,onSuccess:N},t[51]=F,t[52]=N,t[53]=b):b=t[53];const v=y(b);let L;t[54]!==s?(L={mutationFn:async u=>await s.call("AUTOMATION_RUN",{id:u}),onSuccess:Y,onError:X},t[54]=s,t[55]=L):L=t[55];const w=y(L);let M;return t[56]!==D||t[57]!==k||t[58]!==w||t[59]!==P||t[60]!==v||t[61]!==h||t[62]!==j?(M={create:D,update:j,remove:k,triggerAdd:P,triggerRemove:v,triggerRotateToken:h,run:w},t[56]=D,t[57]=k,t[58]=w,t[59]=P,t[60]=v,t[61]=h,t[62]=j,t[63]=M):M=t[63],M}function X(t){const e=t instanceof Error?t.message:String(t);m.error(`Failed to run automation: ${e}`)}function Y(t){t.skipped?m.info(`Automation skipped: ${t.skipped}`):t.error?m.error(`Automation failed: ${t.error}`):m.success("Automation triggered")}function B(t){const e=t instanceof Error?t.message:String(t);m.error(`Failed to delete automation: ${e}`)}function H(t){const e=t instanceof Error?t.message:String(t);m.error(`Failed to update automation: ${e}`)}function W(t){const e=t instanceof Error?t.message:String(t);m.error(`Failed to create automation: ${e}`)}export{nt as a,at as b,et as c,it as d,ot as e,st as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as T,r as l}from"./index-
|
|
1
|
+
import{c as T,r as l}from"./index-B_3mBk4y.js";const _=700;function D(s,a,p){const e=T.c(8),f=p?.delay??_,g=p?.isSaving??!1,[m,d]=l.useState(s),[y,A]=l.useState(s),[r,i]=l.useState(!1),t=l.useRef(null);s!==y&&(A(s),!r&&!g&&d(s));let c;e[0]!==f||e[1]!==a?(c=o=>{d(o),i(!0),t.current&&clearTimeout(t.current),t.current=setTimeout(()=>{t.current=null,i(!1),a(o)},f)},e[0]=f,e[1]=a,e[2]=c):c=e[2];const S=c;let n;e[3]===Symbol.for("react.memo_cache_sentinel")?(n=o=>{d(o),t.current&&clearTimeout(t.current),t.current=null,i(!1)},e[3]=n):n=e[3];const E=n;let u;return e[4]!==m||e[5]!==r||e[6]!==S?(u=[m,S,E,r],e[4]=m,e[5]=r,e[6]=S,e[7]=u):u=e[7],u}export{D as u};
|
package/dist/client/assets/{use-chat-layout-state-B6s2JkCt.js → use-chat-layout-state-DD1tmwdx.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as I,X as M,aT as L,m as N,K as x,k as $,d as k,u as W}from"./index-
|
|
1
|
+
import{c as I,X as M,aT as L,m as N,K as x,k as $,d as k,u as W}from"./index-B_3mBk4y.js";import{a as B}from"./use-file-configs-MloqKXG4.js";import{b as F}from"./use-organization-settings-NLGfOzk9.js";import{r as J,a as U}from"./site-slug-DebpOoQq.js";import{a as q}from"./thread-route-CqPKjeFM.js";import{u as H}from"./use-panel-navigate-xfYLfPeP.js";import{b as K}from"./thread-intent-BwAsu2SG.js";const _=["overview","reports","board","site-editor","assets","hosting","e2e","analytics","cdn","automations","experiments"],Q=["overview","reports","board","site-editor"],z=1,X=["assets","hosting","e2e","analytics","cdn","experiments"];function me(t,e,s){if(!t)return{project:s??null,resolvedScopeId:null};const n=e?.id===t?e:s?.id===t?s:null;return{project:n,resolvedScopeId:n?t:null}}function he(t){return t?.sidebarViews!==void 0?t.sidebarViews:t?.ui?.layout?.sidebarViews}function j(t,e){const s=new Set(t??[]);if(e!==z)for(const n of Q)s.add(n);return _.filter(n=>s.has(n))}function Y(t){return _.some(e=>e===t)}function G(t){return X.some(e=>e===t)}function Z(t,e){return{overview:t,reports:t,board:t,"site-editor":t,assets:e.assets,hosting:e.hosting,e2e:e.e2e,analytics:e.analytics,cdn:e.cdn,experiments:t&&e.experiments,automations:!0}}function ge(t,e,s){const n=Z(e,s);return t?n:{...n,overview:!0,reports:!0,board:!0}}function Pe(t,e,s){const n=new Set(j(t,s));return _.filter(a=>e[a]&&n.has(a))}function Se(t,e,s){return s||!t?t:(t.type==="preview"||t.type==="content"||t.type==="code"?"site-editor":t.type)===e?{type:"settings"}:t}function be(t){return _.filter(e=>t[e])}function ee(t,e,s){return!Y(t)||e[t]?!1:G(t)?!(t==="assets"?s.assets:s.siteAccess):!0}function we(t,e,s,n,a){return ee(t==="preview"||t==="content"||t==="code"?"site-editor":t,e,s)||t==="content"&&!n.includes("content")||t==="code"&&a&&!n.includes("code")}function Ve(t,e,s,n){const a=new Set(j(t,n));return s?a.add(e):a.delete(e),_.filter(r=>a.has(r))}function te(t,e){if(!e)return null;const s=e.toLowerCase();return t.find(n=>{const a=n.bucket.toLowerCase();return n.siteSlug?.toLowerCase()===s||a===s||a===`deco-assets-${s}`})??null}function ye(t){const e=I.c(20),{org:s}=M(),n=L(),a=F(),r=B();let c;e[0]!==t?(c=J(t),e[0]=t,e[1]=c):c=e[1];const o=c,d=n.hostingEnabled===!0,P=n.monitorEnabled===!0||n.auth.localMode===!0,f=(d||P)&&!!o,p=v(s.slug,o,f);let m;e[2]!==t?(m=U(t),e[2]=t,e[3]=m):m=e[3];const u=m,S=P&&!!u&&u!==o,h=v(s.slug,u,S),g=p.data?.owned===!0,O=S?h.data?.owned===!0:g;let l;e[4]!==r.data?.configs?(l=r.data?.configs??[],e[4]=r.data?.configs,e[5]=l):l=e[5];let b;e[6]!==o||e[7]!==l?(b=te(l,o),e[6]=o,e[7]=l,e[8]=b):b=e[8];const V=!!b,w=d&&g&&a.hosting,i=d&&g&&a.e2e,y=d&&g&&a.analytics,C=P&&O&&a.monitor;let E;e[9]!==a.experiments||e[10]!==V||e[11]!==w||e[12]!==i||e[13]!==y||e[14]!==C?(E={assets:V,hosting:w,e2e:i,analytics:y,cdn:C,experiments:a.experiments},e[9]=a.experiments,e[10]=V,e[11]=w,e[12]=i,e[13]=y,e[14]=C,e[15]=E):E=e[15];const T=!!o&&r.isPending,D=f&&p.isPending||S&&h.isPending;let A;return e[16]!==T||e[17]!==D||e[18]!==E?(A={presence:E,assetsPending:T,siteAccessPending:D},e[16]=T,e[17]=D,e[18]=E,e[19]=A):A=e[19],A}function v(t,e,s){const n=I.c(10);let a;n[0]!==t||n[1]!==e?(a=x.hostingAccess(t,e??""),n[0]=t,n[1]=e,n[2]=a):a=n[2];let r;n[3]!==t||n[4]!==e?(r=async()=>{const o=await fetch(`/api/${t}/hosting/${encodeURIComponent(e??"")}/access`);return o.ok?await o.json():{owned:!1,canWrite:!1}},n[3]=t,n[4]=e,n[5]=r):r=n[5];let c;return n[6]!==s||n[7]!==a||n[8]!==r?(c={queryKey:a,queryFn:r,enabled:s,staleTime:6e4},n[6]=s,n[7]=a,n[8]=r,n[9]=c):c=n[9],N(c)}function ne(){const t=I.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:se},t[0]=e):e=t[0],$(e)}function se(t){for(let e=t.matches.length-1;e>=0;e--){const s=t.matches[e]?.staticData.defaultMain;if(s)return s}return null}function ae(t){return!!t.harness_id||!!t.title&&t.title!=="New chat"}function re(t){return t.threadOpen||t.contentOpen?t:{...t,threadOpen:!0}}function oe(t){const e=t.entityMetadata?.defaultMainView??null,s=e==null||e.type==="chat",n=t.mainPanelParam??(t.panelNamed||!!t.routeDefaultMain||!s),a=t.routeDefaultMain?!1:s||t.entityMetadata?.chatDefaultOpen===!0||t.threadHasMessages===!0,r=t.threadVisibilityExplicit?t.sidePanelParamValue===!0:a;return re({threadOpen:r,contentOpen:n})}function R(t,e){switch(t.type){case"toggleThread":return e.threadOpen?e.contentOpen?{sidepanel:!1}:null:{sidepanel:!0};case"toggleContent":return e.contentOpen?{mainpanel:!1,sidepanel:!0}:{mainpanel:!0};case"openThread":return e.threadOpen?null:{sidepanel:!0}}}function Ee(t){return t.threadOpen&&t.contentOpen?{side:33,main:67}:t.threadOpen?{side:100,main:0}:t.contentOpen?{side:0,main:100}:{side:0,main:0}}function Oe(t){const{threadOpen:e,contentOpen:s}=t.visibility;return e&&(t.threadVisibilityExplicit||!s)?"chat":s?"main":"chat"}function Ce(t){return t==="main"?{sidepanel:!1,mainpanel:!0}:{sidepanel:!0,mainpanel:!1}}function _e(t){const e=I.c(26),s=k();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={strict:!1},e[0]=n):n=e[0];const a=W(n),{threads:r}=K(),c=ne(),o=H(),d=q();let P;if(e[1]!==t||e[2]!==o||e[3]!==c||e[4]!==a.mainpanel||e[5]!==a.sidepanel||e[6]!==d||e[7]!==r){const i=d!=null?r.find(y=>y.id===d):void 0;P=oe({entityMetadata:t,mainPanelParam:a.mainpanel,panelNamed:o!==void 0,threadVisibilityExplicit:a.sidepanel!==void 0,sidePanelParamValue:a.sidepanel,routeDefaultMain:c,threadHasMessages:i?ae(i):!1}),e[1]=t,e[2]=o,e[3]=c,e[4]=a.mainpanel,e[5]=a.sidepanel,e[6]=d,e[7]=r,e[8]=P}else P=e[8];const{threadOpen:f,contentOpen:p}=P;let m;e[9]!==p||e[10]!==f?(m={threadOpen:f,contentOpen:p},e[9]=p,e[10]=f,e[11]=m):m=e[11];const u=m;let S;e[12]!==s?(S=(i,y)=>{s({to:".",search:C=>({...C,...i}),replace:y?.replace??!1})},e[12]=s,e[13]=S):S=e[13];const h=S;let g;e[14]!==h||e[15]!==u?(g=()=>{const i=R({type:"toggleContent"},u);i&&h(i,{replace:!0})},e[14]=h,e[15]=u,e[16]=g):g=e[16];const O=g;let l;e[17]!==h||e[18]!==u?(l=()=>{const i=R({type:"toggleThread"},u);i&&h(i,{replace:!0})},e[17]=h,e[18]=u,e[19]=l):l=e[19];const b=l,V=a.sidepanel!==void 0;let w;return e[20]!==p||e[21]!==V||e[22]!==f||e[23]!==O||e[24]!==b?(w={threadOpen:f,contentOpen:p,threadVisibilityExplicit:V,toggleContent:O,toggleThread:b},e[20]=p,e[21]=V,e[22]=f,e[23]=O,e[24]=b,e[25]=w):w=e[25],w}export{X as P,_e as a,te as b,z as c,Oe as d,j as e,Ee as f,ne as g,me as h,G as i,ge as j,we as k,ee as l,Ce as m,be as n,Ve as o,Z as p,Se as q,he as r,Pe as s,ae as t,ye as u};
|