decocms 4.532.0 → 4.532.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{ActiveShapeUtils-BwsFHzaV.js → ActiveShapeUtils-DnnbFg2w.js} +1 -1
- package/dist/client/assets/{AlertCircle-DtaztSud.js → AlertCircle-JaYuCWTa.js} +1 -1
- package/dist/client/assets/{AreaChart-DJGtjQAP.js → AreaChart-BztD6Eot.js} +1 -1
- package/dist/client/assets/{ArrowLeft-DmnRegLb.js → ArrowLeft-BhJEaZ6B.js} +1 -1
- package/dist/client/assets/{ArrowUp-KwZh_glX.js → ArrowUp-YrAe3vgd.js} +1 -1
- package/dist/client/assets/{BarChart-DQaObQAu.js → BarChart-Dm2oPqJS.js} +1 -1
- package/dist/client/assets/{Building02-BeI22zso.js → Building02-CTmcVqQj.js} +1 -1
- package/dist/client/assets/{CartesianChart-wzAyuumX.js → CartesianChart-tumrCcCW.js} +1 -1
- package/dist/client/assets/{CategoricalChart-BEpkg4nV.js → CategoricalChart-BqKIQcdM.js} +1 -1
- package/dist/client/assets/{CheckCircle-C_ruRiGN.js → CheckCircle-9jHhe24P.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-bUzEqfWd.js → ChevronSelectorVertical-CfW1Wzms.js} +1 -1
- package/dist/client/assets/{ChevronUp-DreW1_TB.js → ChevronUp-D-7vQNVy.js} +1 -1
- package/dist/client/assets/{Copy01--5lfgwG0.js → Copy01-DP6tJ3a3.js} +1 -1
- package/dist/client/assets/{CreditCard01-K0Qwgk3o.js → CreditCard01-7YXzWPmu.js} +1 -1
- package/dist/client/assets/{DotsVertical-C68Q-BAS.js → DotsVertical-BSeiVg8O.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-CYra1jMF.js → ErrorBarContext-DeFYEXHx.js} +1 -1
- package/dist/client/assets/{Globe04-BOflVjCh.js → Globe04-BkUhGI83.js} +1 -1
- package/dist/client/assets/{Image01-vjhaiEAu.js → Image01-DLqdm992.js} +1 -1
- package/dist/client/assets/{Key01-DpH9OVIT.js → Key01-o_hEpYwc.js} +1 -1
- package/dist/client/assets/{Link01-D41TGySV.js → Link01-DDso2VpB.js} +1 -1
- package/dist/client/assets/{LinkBroken01-BnY3fyy6.js → LinkBroken01-C29KKpU0.js} +1 -1
- package/dist/client/assets/{Minus-CHN5Kpep.js → Minus-B--8kp5j.js} +1 -1
- package/dist/client/assets/{Monitor01-e35w1jlr.js → Monitor01-BtDUnSZq.js} +1 -1
- package/dist/client/assets/{Play-D1B7OgmS.js → Play-jy1YZ7pj.js} +1 -1
- package/dist/client/assets/{Plus-uAJwOYwM.js → Plus-4tdoOfzh.js} +1 -1
- package/dist/client/assets/{ReferenceLine-Dqn9rIuK.js → ReferenceLine-rf71t8Wf.js} +1 -1
- package/dist/client/assets/{SearchMd-B6NwptLV.js → SearchMd-J2Rjic9V.js} +1 -1
- package/dist/client/assets/{Sector-Bjn485EV.js → Sector-Bh4QFYl4.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-I9tolWb2.js → ShoppingBag01-jE2k9Z1o.js} +1 -1
- package/dist/client/assets/{Sun-CrI4XUq_.js → Sun-CGNTymUo.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-DCpSydRk.js → SwitchHorizontal01-CLXZKY70.js} +1 -1
- package/dist/client/assets/{Tool01-vy7Izsxy.js → Tool01-DvOyfmVC.js} +1 -1
- package/dist/client/assets/{Trash01-BVc7E-zT.js → Trash01-CGaWZsc5.js} +1 -1
- package/dist/client/assets/{Upload01-CbA0srCf.js → Upload01-CXqGRfor.js} +1 -1
- package/dist/client/assets/{UserSquare-hT13OTGf.js → UserSquare-DV1XZOY6.js} +1 -1
- package/dist/client/assets/{Users01-DuFCVv-C.js → Users01-CpHvZIR7.js} +1 -1
- package/dist/client/assets/{XClose-Btox6E0t.js → XClose-DWQXqdSq.js} +1 -1
- package/dist/client/assets/{ZoomOut-LrGtO3ok.js → ZoomOut-BMZKrcTE.js} +1 -1
- package/dist/client/assets/{access-gate-DGZVXonS.js → access-gate-D7ByZ05F.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-DPRdB-7o.js → add-connection-dialog-BAfMm3u3.js} +1 -1
- package/dist/client/assets/agent-analytics-50v2bvbj.js +2 -0
- package/dist/client/assets/agent-app-q2vsC-My.js +1 -0
- package/dist/client/assets/agent-assets-BFfp1GZa.js +1 -0
- package/dist/client/assets/{agent-automation-BucrJFus.js → agent-automation-cMZeN9lm.js} +2 -2
- package/dist/client/assets/agent-automations-C1kW6Kjy.js +1 -0
- package/dist/client/assets/agent-calendar-36AOb9o-.js +1 -0
- package/dist/client/assets/agent-connect-sources-DPOLWSPQ.js +1 -0
- package/dist/client/assets/agent-deck-2j6MNhuy.js +1 -0
- package/dist/client/assets/agent-e2e-BAUU5S3t.js +1 -0
- package/dist/client/assets/agent-experiments-DilSMM1e.js +1 -0
- package/dist/client/assets/agent-file-CVc7OTSX.js +1 -0
- package/dist/client/assets/agent-hosting-B3kgszkl.js +1 -0
- package/dist/client/assets/{agent-icon-DU_klZzF.js → agent-icon-B6DURSl_.js} +1 -1
- package/dist/client/assets/agent-library-C4-tevIK.js +1 -0
- package/dist/client/assets/agent-library-file-CXzcuEPO.js +1 -0
- package/dist/client/assets/agent-monitor-Bic-xfUm.js +1 -0
- package/dist/client/assets/agent-overview-B-K4tgsN.js +1 -0
- package/dist/client/assets/agent-releases-Cg8gdPI4.js +2 -0
- package/dist/client/assets/agent-settings-BTPWu4VN.js +1 -0
- package/dist/client/assets/agent-site-editor-code-43f6TRaT.js +2 -0
- package/dist/client/assets/agent-site-editor-content-CDIxjk4q.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-DMRQM-LG.js +1 -0
- package/dist/client/assets/{agent-site-editor-C_Hb6OuH.js → agent-site-editor-wbhemRqk.js} +2 -2
- package/dist/client/assets/agent-view-CN7cv0Ow.js +1 -0
- package/dist/client/assets/{agent-view-guard-DbvBrF0u.js → agent-view-guard-B65FxQSG.js} +1 -1
- package/dist/client/assets/{agents-list-Bu6ApeAs.js → agents-list-C2lNfvq5.js} +1 -1
- package/dist/client/assets/{ai-providers-CX0MNezq.js → ai-providers-yeci77cM.js} +1 -1
- package/dist/client/assets/{alert-DAT45VoU.js → alert-ByYqnTt4.js} +1 -1
- package/dist/client/assets/{analytics-sections-ta2rZOgT.js → analytics-sections-D6yo_AiZ.js} +1 -1
- package/dist/client/assets/api-keys-DLBTiE6h.js +1 -0
- package/dist/client/assets/{api-keys-ydOxTkFM.js → api-keys-MpEUcu1P.js} +1 -1
- package/dist/client/assets/app-editor-BJbxwtPb.js +1 -0
- package/dist/client/assets/{asset-utils-CNLu4ncG.js → asset-utils-B_sH3eAw.js} +1 -1
- package/dist/client/assets/{auth-BrPPgu4r.js → auth-DDIbIEWU.js} +1 -1
- package/dist/client/assets/{auth-catchall-snzcHqzQ.js → auth-catchall-C0vPJ0YF.js} +1 -1
- package/dist/client/assets/{auth-entry-CNvBXoES.js → auth-entry-JIA29m1g.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BQ5peFQ8.js → auth-split-layout-C9ufzfNF.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-O0IrG3Sw.js → authenticate-and-persist-oauth-Cinc5wU_.js} +1 -1
- package/dist/client/assets/{automation-list-row-DVPOR6sy.js → automation-list-row-D_MyMSDf.js} +1 -1
- package/dist/client/assets/{automation-runs-CZ4Ynyjk.js → automation-runs-BYeHhogm.js} +1 -1
- package/dist/client/assets/{automations-DFJ2R8Aq.js → automations-ZXkIniXI.js} +1 -1
- package/dist/client/assets/{autosend-6P1IADfg.js → autosend-CeHYNB5a.js} +1 -1
- package/dist/client/assets/{badge-_4T6Jr1d.js → badge-DCdHHENd.js} +1 -1
- package/dist/client/assets/{block-document-4o0WYdTe.js → block-document-u0VXgZsH.js} +1 -1
- package/dist/client/assets/{blocks-preview-workspace-context-Bz9GrXiv.js → blocks-preview-workspace-context-MSwutMpe.js} +1 -1
- package/dist/client/assets/{blocks-tab-states-MX6TAPcT.js → blocks-tab-states-D7FXIYa1.js} +1 -1
- package/dist/client/assets/{blog-schema-DRpnmDTv.js → blog-schema-Cj9I5QvS.js} +1 -1
- package/dist/client/assets/{buckets-Dm5WDzLr.js → buckets-Ebvh16O2.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-CKhkT5-k.js → build-improve-prompt-doc-MHEVAUpp.js} +1 -1
- package/dist/client/assets/{calendar-2BS3l1pX.js → calendar-DGPEnw4y.js} +1 -1
- package/dist/client/assets/{capability-load-error-Ceg8IL6P.js → capability-load-error-xTGz1O0J.js} +1 -1
- package/dist/client/assets/category-editor-iiVXVslv.js +1 -0
- package/dist/client/assets/{cdn-tab-BWEFzZ0D.js → cdn-tab-GR3G6uO2.js} +1 -1
- package/dist/client/assets/{chart-DHkCLdo5.js → chart-DGgWZa8N.js} +1 -1
- package/dist/client/assets/{chat-context-BPhmNX7K.js → chat-context-EryBIl5y.js} +1 -1
- package/dist/client/assets/{chat-draft-5-kbjuW7.js → chat-draft-C77KukAJ.js} +1 -1
- package/dist/client/assets/{checkbox-B-dBQ4c_.js → checkbox-DanWxFDQ.js} +1 -1
- package/dist/client/assets/{choose-editor-CWeDgkwn.js → choose-editor-DRItQK1g.js} +1 -1
- package/dist/client/assets/{cli-auth-success-BLV2TH4H.js → cli-auth-success-CbPQDWie.js} +1 -1
- package/dist/client/assets/{client-icons-ff1hOdfW.js → client-icons-DM34aWEC.js} +1 -1
- package/dist/client/assets/cms-settings-editor-CMB6VNMa.js +1 -0
- package/dist/client/assets/{collapsible-CTko-JTD.js → collapsible-Bxf6Tjj8.js} +1 -1
- package/dist/client/assets/collection-detail-Bh4I2YYV.js +1 -0
- package/dist/client/assets/{collection-display-button-BlJQajZP.js → collection-display-button-DKZVrqVY.js} +1 -1
- package/dist/client/assets/{collection-search-B_D1_L7e.js → collection-search-oriFbOeS.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-sn5_7qmL.js → collection-table-wrapper-Cx4DeYH2.js} +1 -1
- package/dist/client/assets/{collection-tabs-CKeKixSq.js → collection-tabs-B-KXu_oD.js} +1 -1
- package/dist/client/assets/{column-rules-D3LxXG3d.js → column-rules-CQFnitOu.js} +1 -1
- package/dist/client/assets/{combobox-BuPlX0go.js → combobox-Cwzc08sq.js} +1 -1
- package/dist/client/assets/{command-C4G9SDjd.js → command-BPRmBGhB.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-D7Q1_FJ0.js → companion-mcps-section-CXlo7Sbg.js} +1 -1
- package/dist/client/assets/{config-WCiNXzjt.js → config-nwVLBXQV.js} +1 -1
- package/dist/client/assets/{connect-DLGiSP8T.js → connect-CybWYqFY.js} +1 -1
- package/dist/client/assets/{connect-layout-CNNNLoN2.js → connect-layout-E0TTDMsw.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-Cg4v3gLs.js → connect-source-dialog-2r0XpaoA.js} +1 -1
- package/dist/client/assets/{connection-CzlaCPJq.js → connection-DyDIuEks.js} +1 -1
- package/dist/client/assets/{connection-card-CjGnO0Ri.js → connection-card-vYaDrRUO.js} +1 -1
- package/dist/client/assets/{connection-detail-D365Js6w.js → connection-detail-WxSnF4zc.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CawPAK_n.js → connection-form-helpers-BQJcmj4C.js} +1 -1
- package/dist/client/assets/{connections-DbN9BdDL.js → connections-DusfKLJp.js} +1 -1
- package/dist/client/assets/{content-tab-C1tQDTq7.js → content-tab-CdSmdOT_.js} +3 -3
- package/dist/client/assets/context-Cz086QIc.js +1 -0
- package/dist/client/assets/{context-menu-Bd0pwq73.js → context-menu-gpaAOtWJ.js} +1 -1
- package/dist/client/assets/{context-shell-C1Kw7dMX.js → context-shell-CPyOecQG.js} +3 -3
- package/dist/client/assets/{core.esm-zhMGnPAC.js → core.esm-XMSb_Uka.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-DZOV2tdP.js → create-organization-dialog-B46HiNm0.js} +1 -1
- package/dist/client/assets/{daily-pulse-CDcSWhDN.js → daily-pulse-D6u_wQB-.js} +1 -1
- package/dist/client/assets/discover-Dwa3grGi.js +1 -0
- package/dist/client/assets/{domain-settings-DxPYhNKL.js → domain-settings-CZcl4K1o.js} +1 -1
- package/dist/client/assets/{drawer-DwHfH-sA.js → drawer-C3PrA-n8.js} +1 -1
- package/dist/client/assets/{editor-DXRzzVaI.js → editor-BI9MEm45.js} +1 -1
- package/dist/client/assets/{editor-classes-B7ulbs0R.js → editor-classes-Di69nj2G.js} +1 -1
- package/dist/client/assets/{empty-state-DqSsZioU.js → empty-state-r_5Rd0dc.js} +1 -1
- package/dist/client/assets/{empty-state-B8Cr5koP.js → empty-state-tJsREuj4.js} +1 -1
- package/dist/client/assets/{experiments-tab-DBTc5aio.js → experiments-tab-D83vgaBk.js} +1 -1
- package/dist/client/assets/{experiments-tab-choice-CrG17v1a.js → experiments-tab-choice-_FBZoLPZ.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Dla-1nU5.js → extract-connection-data-CAX0s-U5.js} +1 -1
- package/dist/client/assets/{feature-gate-D5llTI9B.js → feature-gate-CIVRuSL-.js} +1 -1
- package/dist/client/assets/{feature-paywall-CtXPfbqb.js → feature-paywall-B0ICgL5J.js} +1 -1
- package/dist/client/assets/file-explorer-CAwP6yms.js +2 -0
- package/dist/client/assets/{file-preview-DPwUrUMN.js → file-preview-BS2w8KBn.js} +1 -1
- package/dist/client/assets/{file-share-button-CjybY8Tm.js → file-share-button-DVQqivw6.js} +1 -1
- package/dist/client/assets/{file-type-icon-atKRN7rs.js → file-type-icon-D-goE4ev.js} +1 -1
- package/dist/client/assets/{folder-icon-C8drmX0B.js → folder-icon-Dh0obbUY.js} +1 -1
- package/dist/client/assets/{form-CvnFBQeW.js → form-BrmBomQx.js} +1 -1
- package/dist/client/assets/{general-g7FZh5JJ.js → general-6Gb6L9hc.js} +1 -1
- package/dist/client/assets/{held-block-view-DC6RQ2ea.js → held-block-view-ZDteU5Jg.js} +3 -3
- package/dist/client/assets/home-Yx3qRIo8.js +1 -0
- package/dist/client/assets/{hosted-publish-feedback-Bw27VuV1.js → hosted-publish-feedback-D-NyDy_o.js} +1 -1
- package/dist/client/assets/{icon-button-tNw7Vtkn.js → icon-button-B8gYI46y.js} +1 -1
- package/dist/client/assets/{index-CRRvfbCE.js → index-B_ZSRZ_1.js} +1 -1
- package/dist/client/assets/{index-CjaC6Nzi.js → index-BieOo250.js} +1 -1
- package/dist/client/assets/{index-eCzOjcqZ.js → index-CVukLLDd.js} +1 -1
- package/dist/client/assets/{index-B8MW0sM8.js → index-CXN_y45N.js} +1 -1
- package/dist/client/assets/{index-jw3DdvOr.js → index-CgM7-Ro8.js} +5 -5
- package/dist/client/assets/{index-dussYvC6.js → index-DCM5dVSL.js} +1 -1
- package/dist/client/assets/{index-BmrPuilw.js → index-DIKRwX1p.js} +1 -1
- package/dist/client/assets/{index-6v-K5Cxc.js → index-DRBnjYGA.js} +1 -1
- package/dist/client/assets/{index-BcdLONw1.js → index-DapED80K.js} +2 -2
- package/dist/client/assets/{index-DEnpRpne.js → index-Dps1wO3D.js} +1 -1
- package/dist/client/assets/{index-DJ9iifq3.js → index-KTP6c0cL.js} +1 -1
- package/dist/client/assets/{index-D-3p39v6.js → index-SVmnnfb6.js} +1 -1
- package/dist/client/assets/{index-CvUkMVxT.js → index-_4PHXujT.js} +1 -1
- package/dist/client/assets/{index-B94lWY4a.js → index-bs2MyHCY.js} +1 -1
- package/dist/client/assets/{index-B7Z9Kjbd.js → index-cvu6NM2y.js} +1 -1
- package/dist/client/assets/{index-redirect-54mWoDNH.js → index-redirect-DS6jhnWT.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-gBCPzHMW.js → infiniteQueryObserver-DOIcndov.js} +1 -1
- package/dist/client/assets/{infra-billing-CXAOc9fj.js → infra-billing-BvdZetjK.js} +1 -1
- package/dist/client/assets/{input-BaD0fonC.js → input-Cdb_NhY5.js} +1 -1
- package/dist/client/assets/{input-B5josieU.js → input-DVTIG9aC.js} +3 -3
- package/dist/client/assets/{integration-icon-B9fBbTRM.js → integration-icon-Do2Y8hkm.js} +1 -1
- package/dist/client/assets/{jira-icon-Bv5ageBy.js → jira-icon-WOhDyJEG.js} +1 -1
- package/dist/client/assets/{label-AxYpTX_1.js → label-DOI4IEwy.js} +1 -1
- package/dist/client/assets/{layout-B5vknD3M.js → layout-Bghhk_lp.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-BFbHZHpR.js → legacy-agents-deep-DxTjI0nW.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-BJmOQ_Qr.js → legacy-main-redirect-BNntnJG2.js} +1 -1
- package/dist/client/assets/library-BXV44tew.js +1 -0
- package/dist/client/assets/{login-Buyl7JH1.js → login-CCI0hYyU.js} +1 -1
- package/dist/client/assets/{markdown-BLdpFCyC.js → markdown-BwxTuGGG.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-DRzRUUGp.js → mcp-app-renderer-BoiACXPd.js} +1 -1
- package/dist/client/assets/{mcp-oauth-D7qBhGvW.js → mcp-oauth-CZ9GqXPF.js} +1 -1
- package/dist/client/assets/{mcp-oauth-GHz9sJ7e.js → mcp-oauth-ysipa0ke.js} +1 -1
- package/dist/client/assets/{members-Bf_F_O6R.js → members-C7ZgCgdf.js} +1 -1
- package/dist/client/assets/{memory-BcKxkoiN.js → memory-BJg93AJ_.js} +1 -1
- package/dist/client/assets/{mini-report-page-sWiMdQYS.js → mini-report-page-CG2TDLWW.js} +1 -1
- package/dist/client/assets/{mock-board-B4kACMFO.js → mock-board-6S3zrVza.js} +3 -3
- package/dist/client/assets/{monaco-editor-VsGaeTlY.js → monaco-editor-Bu-nU7NV.js} +1 -1
- package/dist/client/assets/monitoring-CtNDQEFC.js +1 -0
- package/dist/client/assets/{monitoring-stats-row-Dgt34E1T.js → monitoring-stats-row-D1_4aDPs.js} +1 -1
- package/dist/client/assets/{multi-select-B_sjogy6.js → multi-select-B4032GRo.js} +1 -1
- package/dist/client/assets/{mustache-yKDCM4Gl.js → mustache-DKd8K2vx.js} +1 -1
- package/dist/client/assets/{named-rule-uses-CX5osBfn.js → named-rule-uses-BR4TO_up.js} +1 -1
- package/dist/client/assets/{new-project-dialog-ClHa96hl.js → new-project-dialog-DVfPsfG1.js} +1 -1
- package/dist/client/assets/{oauth-callback-AefR7v5s.js → oauth-callback-N9-z1VuP.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-D9A1qCvL.js → oauth-callback-ai-provider-CNfO_rYc.js} +1 -1
- package/dist/client/assets/{onboarding-DO2y_lRI.js → onboarding-De-qOZCj.js} +1 -1
- package/dist/client/assets/{openai-conversation-CSJziSbn.js → openai-conversation-CnC0P3bR.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-DX1F54lH.js → optimistic-project-sidebar-views-D1QEaYtv.js} +1 -1
- package/dist/client/assets/{order-monitor-day-DIAgF4SE.js → order-monitor-day-BeeQrZ5U.js} +1 -1
- package/dist/client/assets/{organization-choice-BODVS_va.js → organization-choice-CKs_iAfO.js} +1 -1
- package/dist/client/assets/{orgs-CNLkPAm7.js → orgs-Dxmpwmqc.js} +1 -1
- package/dist/client/assets/{page-seo-form-qY5CYRud.js → page-seo-form-B6ZA1fPy.js} +1 -1
- package/dist/client/assets/{pair-OxCQAaus.js → pair-BqbhOYo8.js} +1 -1
- package/dist/client/assets/{parse-sections-z_HKctjD.js → parse-sections-D0EeXwVX.js} +1 -1
- package/dist/client/assets/plan-Do0NrPLf.js +1 -0
- package/dist/client/assets/{plan-ladder-CKUbxlnA.js → plan-ladder-DeIr-j94.js} +1 -1
- package/dist/client/assets/{popover-D_zqXHOI.js → popover-Cdnki_Jg.js} +1 -1
- package/dist/client/assets/post-calendar-BqMsyhtW.js +1 -0
- package/dist/client/assets/{post-editor-HGgKbrI4.js → post-editor-d8_PR6QG.js} +2 -2
- package/dist/client/assets/{preview-content-CJ61-rUc.js → preview-content-Cfp4wBHT.js} +1 -1
- package/dist/client/assets/{preview-dialog-BK9o5Sfr.js → preview-dialog-u-q_Yxod.js} +1 -1
- package/dist/client/assets/{preview-panel-BXi2z9ZS.js → preview-panel-4HZDowIC.js} +1 -1
- package/dist/client/assets/{preview-tab-DcoTzGz1.js → preview-tab-DpIMbT0D.js} +3 -3
- package/dist/client/assets/{product-picker-dialog-C07nOSmf.js → product-picker-dialog-CGoJkeHX.js} +1 -1
- package/dist/client/assets/{profile-cTk6HZeq.js → profile-CuY7TVPf.js} +1 -1
- package/dist/client/assets/project-app-view-BgPENTJM.js +1 -0
- package/dist/client/assets/{project-apps-CdmH-juT.js → project-apps-ZVTNnGHs.js} +1 -1
- package/dist/client/assets/{project-feed-CccYGCuU.js → project-feed-Cnu5Nxao.js} +1 -1
- package/dist/client/assets/{project-icon-xQhHEp3k.js → project-icon-DEP8iT8r.js} +1 -1
- package/dist/client/assets/project-reports-Btx8fcRg.js +1 -0
- package/dist/client/assets/project-tasks-bvOCC5Gl.js +1 -0
- package/dist/client/assets/{projects-IW3VI19D.js → projects-DIeDg7rY.js} +1 -1
- package/dist/client/assets/{projects-empty-state-BEGBHesv.js → projects-empty-state-_30UcQ-M.js} +1 -1
- package/dist/client/assets/{prompts-DsqH7xMN.js → prompts-C8DmbO-y.js} +1 -1
- package/dist/client/assets/record-editor-DfuGKIDN.js +1 -0
- package/dist/client/assets/redirect-editor-B83cyyW5.js +1 -0
- package/dist/client/assets/{releases-api-CsaPRJw2.js → releases-api-A66gUQIn.js} +1 -1
- package/dist/client/assets/{reports-CUlpuQ2Z.js → reports-CeKHgkOO.js} +1 -1
- package/dist/client/assets/reports-DeV24_Fp.js +1 -0
- package/dist/client/assets/{reports-onboarding-B2pSWrRV.js → reports-onboarding-rU86pVPG.js} +1 -1
- package/dist/client/assets/reports-tab-bOaRq3nR.js +2 -0
- package/dist/client/assets/{repositories-CpN7bETs.js → repositories-BUtVqCtn.js} +1 -1
- package/dist/client/assets/repositories-DWr_TbLg.js +1 -0
- package/dist/client/assets/{repository-binding-DtKjkNiS.js → repository-binding-8UNd4La0.js} +1 -1
- package/dist/client/assets/{repository-import-picker-T9uxw-6-.js → repository-import-picker-OrJw3cIo.js} +1 -1
- package/dist/client/assets/{repository-picker-BDi8y63n.js → repository-picker-B6a9ep3b.js} +1 -1
- package/dist/client/assets/{require-capability-nIOBAh71.js → require-capability-Csx90zSZ.js} +1 -1
- package/dist/client/assets/{required-auth-layout-B_ag2iIH.js → required-auth-layout-BZmUgBgt.js} +1 -1
- package/dist/client/assets/{reset-password-BtxS108c.js → reset-password-C1H9wzkd.js} +1 -1
- package/dist/client/assets/{resizable-B3nlFFSB.js → resizable-CsaiXEtB.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-DXMIcSK3.js → resolve-tab-icon-DxDkByKs.js} +1 -1
- package/dist/client/assets/{review-settings-BCmy9X9w.js → review-settings-CbZWzVpV.js} +1 -1
- package/dist/client/assets/roles-C9WHdgOh.js +1 -0
- package/dist/client/assets/route-DWqde3k7.js +1 -0
- package/dist/client/assets/route-Df2Rj5Mk.js +1 -0
- package/dist/client/assets/route-RNnMRdq9.js +1 -0
- package/dist/client/assets/{sandbox-lifecycle-context-Cr7WUuDz.js → sandbox-lifecycle-context-BmK0O-xa.js} +1 -1
- package/dist/client/assets/{schema-wV4JUbYo.js → schema-BrrH5ge3.js} +1 -1
- package/dist/client/assets/{schema-78fwu3zk.js → schema-OwOGrcTc.js} +1 -1
- package/dist/client/assets/{scroll-area-DfV0OgKi.js → scroll-area-C4hgiBjt.js} +1 -1
- package/dist/client/assets/{search-input-CPdh0iQL.js → search-input-BfxNf6mK.js} +1 -1
- package/dist/client/assets/{search-toggle-QzT5qdh_.js → search-toggle-7CRkYA1R.js} +1 -1
- package/dist/client/assets/{secret-picker-D0FfmGN6.js → secret-picker-Bo5RqPwz.js} +1 -1
- package/dist/client/assets/{secrets-L2yyTEJV.js → secrets-3UTWqvR9.js} +1 -1
- package/dist/client/assets/{section-array-field-Dr6WXwVQ.js → section-array-field-Osne9SXG.js} +1 -1
- package/dist/client/assets/{sections-agVJaal8.js → sections-B7_NO_TB.js} +1 -1
- package/dist/client/assets/sections-editor-DU3Z2daJ.js +1 -0
- package/dist/client/assets/{select-DQCVbj5T.js → select-CYUfZrWy.js} +1 -1
- package/dist/client/assets/{select-model-DmTLEUs6.js → select-model-BR-Mi2X4.js} +1 -1
- package/dist/client/assets/seo-editor-hcPJdZCF.js +1 -0
- package/dist/client/assets/{separator-B4y24369.js → separator-D_EWmGgU.js} +1 -1
- package/dist/client/assets/settings-tab-8Q8MqCBu.js +1 -0
- package/dist/client/assets/{sheet-CpISCuUN.js → sheet-CSTtais0.js} +1 -1
- package/dist/client/assets/shell-layout-Dt3eq6Qk.js +1 -0
- package/dist/client/assets/{site-draft-actions-D5J4u3-G.js → site-draft-actions-D58qwd26.js} +1 -1
- package/dist/client/assets/{site-draft-view-Dpvxra5M.js → site-draft-view-Lvj7mU3Q.js} +2 -2
- package/dist/client/assets/site-editor-Bm2O7VhS.js +1 -0
- package/dist/client/assets/{site-editor-toast-DMNMCEOx.js → site-editor-toast-BOx376JN.js} +1 -1
- package/dist/client/assets/{skills-BoFU4NLH.js → skills-BBpw_E_H.js} +1 -1
- package/dist/client/assets/{slider-QCpv6LMm.js → slider-DykoTN1q.js} +1 -1
- package/dist/client/assets/{sortable.esm-DEwGuCnL.js → sortable.esm-BcgCBEfW.js} +1 -1
- package/dist/client/assets/{sso-CQ00JKfM.js → sso-_T_doDYh.js} +1 -1
- package/dist/client/assets/{suggestion-BAlr69L-.js → suggestion-B4JccI3N.js} +1 -1
- package/dist/client/assets/{switch-To5TyIkS.js → switch-gUlNntL4.js} +1 -1
- package/dist/client/assets/{symbol-DnfVmC0I.js → symbol-CFT02IQk.js} +1 -1
- package/dist/client/assets/{synced-repos-CW07ys29.js → synced-repos-CLGShc-C.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-C3xAvHpF.js → tab-icon-glyph-DkR9ySmC.js} +1 -1
- package/dist/client/assets/{table-Cm1jH1V8.js → table-DEOdYXzp.js} +1 -1
- package/dist/client/assets/{tabs-DgcKTFd2.js → tabs-CDXYpFRp.js} +1 -1
- package/dist/client/assets/{task-assignee-avatar-C9KHH6o7.js → task-assignee-avatar-DsUwmfw7.js} +1 -1
- package/dist/client/assets/{task-board-BHxUa5hm.js → task-board-boVYnzry.js} +1 -1
- package/dist/client/assets/{task-route-BcKr-6il.js → task-route-C59ybgrH.js} +1 -1
- package/dist/client/assets/{task-status-CihJb7N-.js → task-status-BtlC9VFV.js} +1 -1
- package/dist/client/assets/taskboard-analytics-DcngoptN.js +1 -0
- package/dist/client/assets/{tasks-DmkTP1d2.js → tasks-BNYUWZ7R.js} +1 -1
- package/dist/client/assets/tasks-DpeQyqR3.js +1 -0
- package/dist/client/assets/{textarea-B9s0J6-L.js → textarea-CKsCKFLy.js} +1 -1
- package/dist/client/assets/thread-analytics-u7unmd3i.js +1 -0
- package/dist/client/assets/{thread-intent-Ccijo8FW.js → thread-intent-DRdPtaf2.js} +1 -1
- package/dist/client/assets/{thread-route-BVfnsSUg.js → thread-route-BZRksnHH.js} +1 -1
- package/dist/client/assets/{thread-route-EFpj5Q3M.js → thread-route-Dn9lxS6O.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-CZDpkSjN.js → thread-sheet-body-C8RRj0Rt.js} +1 -1
- package/dist/client/assets/{time-range-picker--2ATryhW.js → time-range-picker-Dhg4t_pK.js} +1 -1
- package/dist/client/assets/{toggle-group-DduyGFUi.js → toggle-group-DxXcbqbT.js} +1 -1
- package/dist/client/assets/{tool-namespace-6L147wmT.js → tool-namespace-B8XtAn-5.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-CJNt4JSM.js → toolbar-icon-button-BnmGAbB7.js} +1 -1
- package/dist/client/assets/{tooltip-DLcu2pQg.js → tooltip-BFkmafQU.js} +1 -1
- package/dist/client/assets/{tooltipContext-DCi7f8uY.js → tooltipContext-CdLg2pG8.js} +1 -1
- package/dist/client/assets/{track-Dy2j0QPi.js → track-ClUeJJYD.js} +1 -1
- package/dist/client/assets/{types-ulH2EtVa.js → types-DdyZFVjB.js} +1 -1
- package/dist/client/assets/{url-slug-Dth3-7Lg.js → url-slug-C8ETdBcF.js} +1 -1
- package/dist/client/assets/{usage-stats-BsWORl3Y.js → usage-stats-0AsfjkwI.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CDuQs1Ba.js → use-ai-providers-3poZythL.js} +1 -1
- package/dist/client/assets/{use-apply-named-rule-DX5HKcUc.js → use-apply-named-rule-CVBNS4ep.js} +1 -1
- package/dist/client/assets/{use-automations-BkQQphI-.js → use-automations-VlRh2Wqi.js} +1 -1
- package/dist/client/assets/{use-autosave-COKIMqY3.js → use-autosave-DO1QHpHp.js} +1 -1
- package/dist/client/assets/{use-chat-layout-state-q8zIlEKg.js → use-chat-layout-state-Dw5fxydL.js} +1 -1
- package/dist/client/assets/{use-clock-tick-DvR_TVIp.js → use-clock-tick-DYb0Yqfo.js} +1 -1
- package/dist/client/assets/{use-cms-publish-actions-CtPjI-ot.js → use-cms-publish-actions-B9zJNLow.js} +1 -1
- package/dist/client/assets/{use-connect-companion-Cp6JhT2N.js → use-connect-companion-BsdLzWgT.js} +1 -1
- package/dist/client/assets/{use-connection-Db-d2gM4.js → use-connection-DF35j1XL.js} +1 -1
- package/dist/client/assets/{use-copy-CFaa1ury.js → use-copy-CS6Ta5ka.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-2eMz1ync.js → use-create-virtual-mcp-DqDO6PGs.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-BHD_nJoW.js → use-date-fns-locale-BW0Kg-s0.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-D6U_Nh6G.js → use-debounced-autosave-BdsEnVek.js} +1 -1
- package/dist/client/assets/{use-debounced-value-CG9ZLPPy.js → use-debounced-value-BwY4UFXK.js} +1 -1
- package/dist/client/assets/{use-deco-credits-BnbotBEA.js → use-deco-credits-D_52syYI.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-ksPa8i5N.js → use-decopilot-events-pkzCwwKp.js} +1 -1
- package/dist/client/assets/{use-delete-connection-oEmkyu4y.js → use-delete-connection-CSBLVjvy.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-D3CEjNIr.js → use-deployment-admin-MTxNhHb9.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-ZoCxf2ZD.js → use-fast-preview-draft-url-gEHohveI.js} +1 -1
- package/dist/client/assets/{use-file-configs-B44eMCbV.js → use-file-configs-DQ3f-Q5P.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-BfLIAiPb.js → use-inbox-feed-CACu8jgO.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DBF3UBOd.js → use-infinite-scroll-DQ9VVP8_.js} +1 -1
- package/dist/client/assets/{use-join-requests-DkoaB_8d.js → use-join-requests-v6GW4T6a.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-CSwFtAqH.js → use-main-panel-tabs-C3tLSafV.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-IG57wBXS.js → use-mcp-auth-status-OhVQpQzs.js} +1 -1
- package/dist/client/assets/{use-mcp-client-D6ElS18M.js → use-mcp-client-Bl_ZkfjH.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-mpX7ubid.js → use-mcp-prompts-Bvk5GzsH.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-RoAM8bpH.js → use-mcp-tools-CCzyb7_q.js} +1 -1
- package/dist/client/assets/{use-mobile-BhX1NLy5.js → use-mobile-DWwy0G1s.js} +1 -1
- package/dist/client/assets/{use-move-blocks-Dh_gfkYv.js → use-move-blocks-ssPS8eLc.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DvIbqsvD.js → use-navigate-to-agent-C1cUtbF5.js} +1 -1
- package/dist/client/assets/{use-open-billing-url-BhG-chrX.js → use-open-billing-url-BBnKa__h.js} +1 -1
- package/dist/client/assets/{use-org-fs-D0eNRBo9.js → use-org-fs-ByPpnYSO.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-DsydKk88.js → use-org-repo-syncs-Dgj11JRA.js} +1 -1
- package/dist/client/assets/{use-org-sso-UCXyI2OA.js → use-org-sso-lLtOH9c9.js} +1 -1
- package/dist/client/assets/{use-organization-roles-Bjl-mDvF.js → use-organization-roles-BxqRa1uL.js} +1 -1
- package/dist/client/assets/{use-organization-settings-D8VzrTTn.js → use-organization-settings-nbIrzOgF.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-DEgeFNQE.js → use-panel-navigate-BzdcqjSS.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-CaoNxrcp.js → use-project-native-view-presence-z6ElNhcQ.js} +1 -1
- package/dist/client/assets/{use-project-scope-CgFUZ469.js → use-project-scope-CPYcIvTW.js} +1 -1
- package/dist/client/assets/{use-recent-apps-SJDHdi4L.js → use-recent-apps-B1qEqr2V.js} +1 -1
- package/dist/client/assets/{use-releases-fWajfQaL.js → use-releases-BM0WbDv5.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-D_npl6GZ.js → use-reports-diagnostic-DC431ajk.js} +1 -1
- package/dist/client/assets/{use-sandbox-events-BMnvtQwc.js → use-sandbox-events-Yfi6UXbb.js} +1 -1
- package/dist/client/assets/{use-secrets-JASayNqi.js → use-secrets-CFuBmzkS.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-ohDfhWi5.js → use-section-preview-base-CZXn_b0c.js} +1 -1
- package/dist/client/assets/{use-session-runtime-DryciBRX.js → use-session-runtime-BQ8nqerw.js} +1 -1
- package/dist/client/assets/{use-sidebar-collapsed-CQK6aXTW.js → use-sidebar-collapsed-DpVze00L.js} +1 -1
- package/dist/client/assets/{use-tags-o7wc3HiD.js → use-tags-DAonMHtN.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-bsWF1h2C.js → use-task-board-analytics-ClDqF56t.js} +1 -1
- package/dist/client/assets/{use-task-board-events-SAn8PfW_.js → use-task-board-events-BZgY7EAa.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-D-umSt3D.js → use-task-board-item-prs-C6S2DydN.js} +1 -1
- package/dist/client/assets/{use-task-metadata-DA-WZVqc.js → use-task-metadata-tY7yqfRb.js} +1 -1
- package/dist/client/assets/{use-thread-analytics-KDFFr__j.js → use-thread-analytics-C7m6ingu.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-B_UwhMzs.js → use-thread-outputs-gO4YyAPs.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-D5ei_KuQ.js +1 -0
- package/dist/client/assets/{useQueries-CosN8kAH.js → useQueries-BpncSGWZ.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BzA-SXDa.js +1 -0
- package/dist/client/assets/{users-C_8K5Z80.js → users-CpQ2UVWD.js} +1 -1
- package/dist/client/assets/{utils-Bt7oFx0a.js → utils-BKDVVXZB.js} +1 -1
- package/dist/client/assets/{variant-calendar-HAwNz-2g.js → variant-calendar-Je9UX6h9.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-Dr4jtjND.js → variant-matcher-override-CMA8M4Ll.js} +1 -1
- package/dist/client/assets/{view-header-BQwancqI.js → view-header-Cq5PRRNl.js} +1 -1
- package/dist/client/assets/{virtual-mcp-BBtFX4b6.js → virtual-mcp-BqhVfWuq.js} +1 -1
- package/dist/client/assets/{watch-sse-pool-Br6EL-rz.js → watch-sse-pool-DfTC9EXk.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/server.js +613 -613
- package/package.json +1 -1
- package/dist/client/assets/agent-analytics-DbjlHcVD.js +0 -2
- package/dist/client/assets/agent-app-DOt96j6b.js +0 -1
- package/dist/client/assets/agent-assets-nbJB8Oj2.js +0 -1
- package/dist/client/assets/agent-automations-D6sZ_uH1.js +0 -1
- package/dist/client/assets/agent-calendar-BeZfFvdy.js +0 -1
- package/dist/client/assets/agent-connect-sources-DPusFnZo.js +0 -1
- package/dist/client/assets/agent-deck-DHKRFst_.js +0 -1
- package/dist/client/assets/agent-e2e-R0CFT0l9.js +0 -1
- package/dist/client/assets/agent-experiments-CCB9X1v6.js +0 -1
- package/dist/client/assets/agent-file-CcNzA3hw.js +0 -1
- package/dist/client/assets/agent-hosting-DxbirQPV.js +0 -1
- package/dist/client/assets/agent-library-BEvE_-Ti.js +0 -1
- package/dist/client/assets/agent-library-file-CN9ZdgKY.js +0 -1
- package/dist/client/assets/agent-monitor-Bsotvv6A.js +0 -1
- package/dist/client/assets/agent-overview-Vo6g6VkH.js +0 -1
- package/dist/client/assets/agent-releases-ewE3U_5H.js +0 -2
- package/dist/client/assets/agent-settings-CLevnhNd.js +0 -1
- package/dist/client/assets/agent-site-editor-code-BSOZTg5X.js +0 -2
- package/dist/client/assets/agent-site-editor-content-ygftdw-u.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-vZkvWMtS.js +0 -1
- package/dist/client/assets/agent-view-_KtaC3vc.js +0 -1
- package/dist/client/assets/api-keys-B2jnNbq9.js +0 -1
- package/dist/client/assets/app-editor-B-xgwIvk.js +0 -1
- package/dist/client/assets/category-editor-TaYKSOTk.js +0 -1
- package/dist/client/assets/cms-settings-editor-DdSslz-Q.js +0 -1
- package/dist/client/assets/collection-detail-D2cp8f3g.js +0 -1
- package/dist/client/assets/context-E79zhaXJ.js +0 -1
- package/dist/client/assets/discover-CFZrxFV0.js +0 -1
- package/dist/client/assets/file-explorer-rhDqu7jb.js +0 -2
- package/dist/client/assets/home-s82JYS5_.js +0 -1
- package/dist/client/assets/library-DgTUGukD.js +0 -1
- package/dist/client/assets/monitoring-DMfNbo9x.js +0 -1
- package/dist/client/assets/plan-DKdj8O1S.js +0 -1
- package/dist/client/assets/post-calendar-BNad5FW9.js +0 -1
- package/dist/client/assets/project-app-view-BTP5n96V.js +0 -1
- package/dist/client/assets/project-reports-BpBTuHCJ.js +0 -1
- package/dist/client/assets/project-tasks-BWT7BsyY.js +0 -1
- package/dist/client/assets/record-editor-yA5vPrbM.js +0 -1
- package/dist/client/assets/redirect-editor-vrMsWLvF.js +0 -1
- package/dist/client/assets/reports-9FYZncTq.js +0 -1
- package/dist/client/assets/reports-tab-dQtRjvhB.js +0 -2
- package/dist/client/assets/repositories-qqa6gdmW.js +0 -1
- package/dist/client/assets/roles-CY77O_Rd.js +0 -1
- package/dist/client/assets/route-B9i-fUii.js +0 -1
- package/dist/client/assets/route-BpU761sd.js +0 -1
- package/dist/client/assets/route-DBRYZRDx.js +0 -1
- package/dist/client/assets/sections-editor-sY02MOga.js +0 -1
- package/dist/client/assets/seo-editor-BaTgHacI.js +0 -1
- package/dist/client/assets/settings-tab-CUKwi17R.js +0 -1
- package/dist/client/assets/shell-layout-DGAwwzx5.js +0 -1
- package/dist/client/assets/site-editor-BCqGKNmQ.js +0 -1
- package/dist/client/assets/taskboard-analytics-D_b8yWyw.js +0 -1
- package/dist/client/assets/tasks-DpdKZV3j.js +0 -1
- package/dist/client/assets/thread-analytics-B3XBAn3B.js +0 -1
- package/dist/client/assets/useInfiniteQuery-CcUhW7AW.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DCy5Ucgo.js +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{c as Se,b as ve,r as f,j as s,I as Je,h as fe,x as It,aY as Gt,w as Vt,B as Ce,y as Bt,v as qt,D as Ht,aM as Wt,aN as Qt,aO as Ut,aP as Yt,bm as Xt,aQ as Jt,aR as Zt,aS as _t,l as me,ay as en,q as tn,t as ee,K as Ze}from"./index-jw3DdvOr.js";import{k as nn,M as rn,bO as sn,bP as ln}from"./agent-icon-DU_klZzF.js";import{s as on}from"./XClose-Btox6E0t.js";import{S as an}from"./scroll-area-DfV0OgKi.js";import{c as _e,T as et,a as tt}from"./tooltip-DLcu2pQg.js";import{b as cn}from"./chat-context-BPhmNX7K.js";import{F as dn}from"./editor-DXRzzVaI.js";import{a as fn}from"./shell-layout-DGAwwzx5.js";import{s as je}from"./save-changes-debug-nBi-n9eV.js";import{s as nt,f as un}from"./sandbox-git-api-DcqI6XE4.js";import{f as xn,C as de,d as rt,g as mn,e as pn}from"./context-menu-Bd0pwq73.js";import{t as hn}from"./ChevronUp-DreW1_TB.js";import{b as gn}from"./sandbox-url-D3mC8qhT.js";import{i as yn,E as bn,c as Pe,e as wn,f as jn,h as Nn,j as Dn,t as ne,k as Ne,l as Me,m as De,g as Ke,n as Oe,o as En,s as Cn,v as Sn,p as Ae,q as Ee,r as ze,u as vn,w as Fn,x as Tn,y as kn}from"./utils-Bt7oFx0a.js";import"./AlertCircle-DtaztSud.js";import"./Tool01-vy7Izsxy.js";import"./ArrowUp-KwZh_glX.js";import"./ArrowLeft-DmnRegLb.js";import"./LinkBroken01-BnY3fyy6.js";import"./ShoppingBag01-I9tolWb2.js";import"./ZoomOut-LrGtO3ok.js";import"./Building02-BeI22zso.js";import"./CheckCircle-C_ruRiGN.js";import"./ChevronSelectorVertical-bUzEqfWd.js";import"./UserSquare-hT13OTGf.js";import"./Copy01--5lfgwG0.js";import"./CreditCard01-K0Qwgk3o.js";import"./DotsVertical-C68Q-BAS.js";import"./Image01-vjhaiEAu.js";import"./Globe04-BOflVjCh.js";import"./SwitchHorizontal01-DCpSydRk.js";import"./Key01-DpH9OVIT.js";import"./Link01-D41TGySV.js";import"./Minus-CHN5Kpep.js";import"./Monitor01-e35w1jlr.js";import"./Sun-CrI4XUq_.js";import"./Play-D1B7OgmS.js";import"./Plus-uAJwOYwM.js";import"./SearchMd-B6NwptLV.js";import"./Trash01-BVc7E-zT.js";import"./Upload01-CbA0srCf.js";import"./Users01-DuFCVv-C.js";import"./index-BdQq_4o_.js";import"./index-B94lWY4a.js";import"./use-panel-navigate-DEgeFNQE.js";import"./thread-route-EFpj5Q3M.js";import"./use-project-scope-CgFUZ469.js";import"./repository-binding-DtKjkNiS.js";import"./use-mcp-client-D6ElS18M.js";import"./auth-BrPPgu4r.js";import"./autosend-6P1IADfg.js";import"./thread-intent-Ccijo8FW.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-Br6EL-rz.js";import"./task-board-BHxUa5hm.js";import"./schema-78fwu3zk.js";import"./slugify-CEUa2lfQ.js";import"./use-decopilot-events-ksPa8i5N.js";import"./use-ai-providers-CDuQs1Ba.js";import"./location-V0VwTJTt.js";import"./use-organization-settings-D8VzrTTn.js";import"./use-clock-tick-DvR_TVIp.js";import"./command-C4G9SDjd.js";import"./index-B7Z9Kjbd.js";import"./integration-icon-B9fBbTRM.js";import"./project-icon-xQhHEp3k.js";import"./new-project-dialog-ClHa96hl.js";import"./label-AxYpTX_1.js";import"./repository-import-picker-T9uxw-6-.js";import"./use-navigate-to-agent-DvIbqsvD.js";import"./repository-picker-BDi8y63n.js";import"./useInfiniteQuery-CcUhW7AW.js";import"./infiniteQueryObserver-gBCPzHMW.js";import"./collection-search-B_D1_L7e.js";import"./use-debounced-value-CG9ZLPPy.js";import"./required-auth-layout-B_ag2iIH.js";import"./use-org-sso-UCXyI2OA.js";const Rn={"new-file":{titleKey:"sandbox.fileExplorerNameDialog.newFileTitle",descriptionKey:"sandbox.fileExplorerNameDialog.newFileDescription",submitKey:"sandbox.fileExplorerNameDialog.newFileSubmit",placeholderKey:"sandbox.fileExplorerNameDialog.newFilePlaceholder"},"new-folder":{titleKey:"sandbox.fileExplorerNameDialog.newFolderTitle",descriptionKey:"sandbox.fileExplorerNameDialog.newFolderDescription",submitKey:"sandbox.fileExplorerNameDialog.newFolderSubmit",placeholderKey:"sandbox.fileExplorerNameDialog.newFolderPlaceholder"},rename:{titleKey:"sandbox.fileExplorerNameDialog.renameTitle",descriptionKey:"sandbox.fileExplorerNameDialog.renameDescription",submitKey:"sandbox.fileExplorerNameDialog.renameSubmit",placeholderKey:"sandbox.fileExplorerNameDialog.renamePlaceholder"}};function Ln(O){const e=Se.c(71),{open:x,mode:Y,initialName:b,parentLabel:N,isPending:L,onSubmit:d,onOpenChange:w}=O,A=b===void 0?"":b,m=L===void 0?!1:L,a=ve(),[o,P]=f.useState(A),[X,M]=f.useState(x),p=Rn[Y];x!==X&&(M(x),x&&P(A));let c;e[0]!==m||e[1]!==w?(c=U=>{!U&&!m&&w(!1)},e[0]=m,e[1]=w,e[2]=c):c=e[2];const C=c;let z;e[3]!==m||e[4]!==o||e[5]!==d?(z=async U=>{U.preventDefault();const te=o.trim();!te||m||await d(te)},e[3]=m,e[4]=o,e[5]=d,e[6]=z):z=e[6];const R=z;let S;e[7]!==p.titleKey||e[8]!==a?(S=a(p.titleKey),e[7]=p.titleKey,e[8]=a,e[9]=S):S=e[9];let v;e[10]!==S?(v=s.jsx(It,{children:S}),e[10]=S,e[11]=v):v=e[11];let D;e[12]!==p.descriptionKey||e[13]!==a?(D=a(p.descriptionKey),e[12]=p.descriptionKey,e[13]=a,e[14]=D):D=e[14];let j;e[15]!==D?(j=s.jsx(Gt,{children:D}),e[15]=D,e[16]=j):j=e[16];let g;e[17]!==v||e[18]!==j?(g=s.jsxs(Vt,{children:[v,j]}),e[17]=v,e[18]=j,e[19]=g):g=e[19];let E;e[20]!==N||e[21]!==a?(E=N&&s.jsxs("div",{className:"space-y-1.5",children:[s.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:a("sandbox.fileExplorerNameDialog.location")}),s.jsx(Je,{value:N,readOnly:!0,disabled:!0,className:"font-mono text-xs"})]}),e[20]=N,e[21]=a,e[22]=E):E=e[22];let y;e[23]!==a?(y=a("sandbox.fileExplorerNameDialog.name"),e[23]=a,e[24]=y):y=e[24];let T;e[25]!==y?(T=s.jsx("label",{htmlFor:"file-explorer-name",className:"text-xs font-medium text-muted-foreground",children:y}),e[25]=y,e[26]=T):T=e[26];let H;e[27]===Symbol.for("react.memo_cache_sentinel")?(H=U=>P(U.target.value),e[27]=H):H=e[27];let $;e[28]!==p.placeholderKey||e[29]!==a?($=a(p.placeholderKey),e[28]=p.placeholderKey,e[29]=a,e[30]=$):$=e[30];let J;e[31]!==m||e[32]!==o||e[33]!==$?(J=s.jsx(Je,{id:"file-explorer-name",value:o,onChange:H,placeholder:$,autoFocus:!0,disabled:m}),e[31]=m,e[32]=o,e[33]=$,e[34]=J):J=e[34];let Z;e[35]!==T||e[36]!==J?(Z=s.jsxs("div",{className:"space-y-1.5",children:[T,J]}),e[35]=T,e[36]=J,e[37]=Z):Z=e[37];let _;e[38]!==E||e[39]!==Z?(_=s.jsxs("div",{className:"space-y-4 py-4",children:[E,Z]}),e[38]=E,e[39]=Z,e[40]=_):_=e[40];let I;e[41]!==w?(I=()=>w(!1),e[41]=w,e[42]=I):I=e[42];let k;e[43]!==a?(k=a("sandbox.fileExplorerNameDialog.cancel"),e[43]=a,e[44]=k):k=e[44];let W;e[45]!==m||e[46]!==I||e[47]!==k?(W=s.jsx(Ce,{type:"button",variant:"outline",onClick:I,disabled:m,children:k}),e[45]=m,e[46]=I,e[47]=k,e[48]=W):W=e[48];let K;e[49]!==m||e[50]!==o?(K=!o.trim()||m,e[49]=m,e[50]=o,e[51]=K):K=e[51];let Q;e[52]!==p.submitKey||e[53]!==m||e[54]!==a?(Q=m?s.jsxs(s.Fragment,{children:[s.jsx(fe,{className:"size-3.5"}),a("sandbox.fileExplorerNameDialog.saving")]}):a(p.submitKey),e[52]=p.submitKey,e[53]=m,e[54]=a,e[55]=Q):Q=e[55];let G;e[56]!==K||e[57]!==Q?(G=s.jsx(Ce,{type:"submit",disabled:K,children:Q}),e[56]=K,e[57]=Q,e[58]=G):G=e[58];let F;e[59]!==W||e[60]!==G?(F=s.jsxs(Bt,{children:[W,G]}),e[59]=W,e[60]=G,e[61]=F):F=e[61];let V;e[62]!==R||e[63]!==_||e[64]!==F||e[65]!==g?(V=s.jsx(qt,{className:"sm:max-w-md",children:s.jsxs("form",{onSubmit:R,children:[g,_,F]})}),e[62]=R,e[63]=_,e[64]=F,e[65]=g,e[66]=V):V=e[66];let B;return e[67]!==C||e[68]!==x||e[69]!==V?(B=s.jsx(Ht,{open:x,onOpenChange:C,children:V}),e[67]=C,e[68]=x,e[69]=V,e[70]=B):B=e[70],B}function Pn(O){const e=Se.c(47),{deleteTarget:x,deleteDirtyPaths:Y,fsActionPending:b,onOpenChange:N,onConfirm:L}=O,d=ve(),w=x?.kind==="directory",A=x!==null,m=w?"sandbox.fileExplorerDeleteDialog.titleFolder":"sandbox.fileExplorerDeleteDialog.titleFile";let a;e[0]!==d||e[1]!==m?(a=d(m),e[0]=d,e[1]=m,e[2]=a):a=e[2];let o;e[3]!==a?(o=s.jsx(Wt,{children:a}),e[3]=a,e[4]=o):o=e[4];let P;e[5]!==d?(P=d("sandbox.fileExplorerDeleteDialog.description"),e[5]=d,e[6]=P):P=e[6];const X=x?.name;let M;e[7]!==X?(M=s.jsx("span",{className:"font-mono",children:X}),e[7]=X,e[8]=M):M=e[8];let p;e[9]!==w||e[10]!==d?(p=w?d("sandbox.fileExplorerDeleteDialog.folderSuffix"):".",e[9]=w,e[10]=d,e[11]=p):p=e[11];let c;e[12]!==Y.length||e[13]!==d?(c=Y.length>0&&s.jsxs(s.Fragment,{children:[" ",Y.length===1?d("sandbox.fileExplorerDeleteDialog.unsavedChangesOne"):d("sandbox.fileExplorerDeleteDialog.unsavedChangesMany",{count:Y.length})]}),e[12]=Y.length,e[13]=d,e[14]=c):c=e[14];let C;e[15]!==P||e[16]!==M||e[17]!==p||e[18]!==c?(C=s.jsxs(Qt,{children:[P," ",M,p,c]}),e[15]=P,e[16]=M,e[17]=p,e[18]=c,e[19]=C):C=e[19];let z;e[20]!==C||e[21]!==o?(z=s.jsxs(Ut,{children:[o,C]}),e[20]=C,e[21]=o,e[22]=z):z=e[22];let R;e[23]!==d?(R=d("sandbox.fileExplorerDeleteDialog.cancel"),e[23]=d,e[24]=R):R=e[24];let S;e[25]!==b||e[26]!==R?(S=s.jsx(Yt,{disabled:b,children:R}),e[25]=b,e[26]=R,e[27]=S):S=e[27];const v=b||!x;let D;e[28]!==x||e[29]!==L?(D=H=>{H.preventDefault(),x&&L(x)},e[28]=x,e[29]=L,e[30]=D):D=e[30];let j;e[31]!==d?(j=d("sandbox.fileExplorerDeleteDialog.delete"),e[31]=d,e[32]=j):j=e[32];let g;e[33]!==v||e[34]!==D||e[35]!==j?(g=s.jsx(Xt,{disabled:v,onClick:D,children:j}),e[33]=v,e[34]=D,e[35]=j,e[36]=g):g=e[36];let E;e[37]!==S||e[38]!==g?(E=s.jsxs(Jt,{children:[S,g]}),e[37]=S,e[38]=g,e[39]=E):E=e[39];let y;e[40]!==z||e[41]!==E?(y=s.jsxs(Zt,{children:[z,E]}),e[40]=z,e[41]=E,e[42]=y):y=e[42];let T;return e[43]!==N||e[44]!==A||e[45]!==y?(T=s.jsx(_t,{open:A,onOpenChange:N,children:y}),e[43]=N,e[44]=A,e[45]=y,e[46]=T):T=e[46],T}const Mn="#d9a441";function Kn(O){const e=Se.c(63),{node:x,depth:Y,isExpanded:b,isSelected:N,isLoading:L,fileVisual:d,onOpen:w,onSelect:A,onNewFile:m,onNewFolder:a,onCopyPath:o,onCopyRelativePath:P,onRename:X,onDelete:M}=O,p=L===void 0?!1:L,c=ve(),C=x.kind==="directory",{Icon:z,color:R}=d,S=N&&"bg-accent";let v;e[0]!==S?(v=me("flex w-full items-center gap-1.5 px-2 py-1.5 text-left text-sm hover:bg-accent transition-colors",S),e[0]=S,e[1]=v):v=e[1];const D=`${Y*14+8}px`;let j;e[2]!==D?(j={paddingLeft:D},e[2]=D,e[3]=j):j=e[3];let g;e[4]!==w||e[5]!==A?(g=()=>{A(),w()},e[4]=w,e[5]=A,e[6]=g):g=e[6];let E;e[7]!==z||e[8]!==R||e[9]!==C||e[10]!==b||e[11]!==p?(E=C?s.jsxs(s.Fragment,{children:[p?s.jsx(fe,{className:"size-3.5 shrink-0 text-muted-foreground"}):b?s.jsx(hn,{size:14,className:"shrink-0 text-muted-foreground"}):s.jsx(en,{size:14,className:"shrink-0 text-muted-foreground"}),s.jsx(nn,{size:16,className:"shrink-0",style:{color:Mn}})]}):s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"w-3.5 shrink-0"}),s.jsx(z,{size:16,className:"shrink-0",style:{color:R}})]}),e[7]=z,e[8]=R,e[9]=C,e[10]=b,e[11]=p,e[12]=E):E=e[12];let y;e[13]!==x.name?(y=s.jsx("span",{className:"truncate",children:x.name}),e[13]=x.name,e[14]=y):y=e[14];let T;e[15]!==v||e[16]!==j||e[17]!==g||e[18]!==E||e[19]!==y?(T=s.jsx(xn,{asChild:!0,children:s.jsxs("button",{type:"button",className:v,style:j,onClick:g,children:[E,y]})}),e[15]=v,e[16]=j,e[17]=g,e[18]=E,e[19]=y,e[20]=T):T=e[20];let H;e[21]!==c?(H=c("sandbox.fileTreeRow.newFile"),e[21]=c,e[22]=H):H=e[22];let $;e[23]!==m||e[24]!==H?($=s.jsx(de,{onSelect:m,children:H}),e[23]=m,e[24]=H,e[25]=$):$=e[25];let J;e[26]!==c?(J=c("sandbox.fileTreeRow.newFolder"),e[26]=c,e[27]=J):J=e[27];let Z;e[28]!==a||e[29]!==J?(Z=s.jsx(de,{onSelect:a,children:J}),e[28]=a,e[29]=J,e[30]=Z):Z=e[30];let _;e[31]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(rt,{}),e[31]=_):_=e[31];let I;e[32]!==c?(I=c("sandbox.fileTreeRow.copyPath"),e[32]=c,e[33]=I):I=e[33];let k;e[34]!==o||e[35]!==I?(k=s.jsx(de,{onSelect:o,children:I}),e[34]=o,e[35]=I,e[36]=k):k=e[36];let W;e[37]!==c?(W=c("sandbox.fileTreeRow.copyRelativePath"),e[37]=c,e[38]=W):W=e[38];let K;e[39]!==P||e[40]!==W?(K=s.jsx(de,{onSelect:P,children:W}),e[39]=P,e[40]=W,e[41]=K):K=e[41];let Q;e[42]===Symbol.for("react.memo_cache_sentinel")?(Q=s.jsx(rt,{}),e[42]=Q):Q=e[42];let G;e[43]!==c?(G=c("sandbox.fileTreeRow.rename"),e[43]=c,e[44]=G):G=e[44];let F;e[45]!==X||e[46]!==G?(F=s.jsx(de,{onSelect:X,children:G}),e[45]=X,e[46]=G,e[47]=F):F=e[47];let V;e[48]!==c?(V=c("sandbox.fileTreeRow.delete"),e[48]=c,e[49]=V):V=e[49];let B;e[50]!==M||e[51]!==V?(B=s.jsx(de,{variant:"destructive",onSelect:M,children:V}),e[50]=M,e[51]=V,e[52]=B):B=e[52];let U;e[53]!==$||e[54]!==Z||e[55]!==k||e[56]!==K||e[57]!==F||e[58]!==B?(U=s.jsxs(mn,{className:"w-52",children:[$,Z,_,k,K,Q,F,B]}),e[53]=$,e[54]=Z,e[55]=k,e[56]=K,e[57]=F,e[58]=B,e[59]=U):U=e[59];let te;return e[60]!==U||e[61]!==T?(te=s.jsxs(pn,{children:[T,U]}),e[60]=U,e[61]=T,e[62]=te):te=e[62],te}const st=200,On=2,An=250,it=200;function zn(O,e){return gn(O,e)}function $n(O){const e=Se.c(9),{text:x,query:Y}=O;let b,N,L;if(e[0]!==Y||e[1]!==x){const{leadingEllipsis:w,segments:A}=En(x,Y);b="truncate font-mono text-muted-foreground",N=w&&s.jsx("span",{className:"text-muted-foreground/50",children:"…"}),L=A.map(In),e[0]=Y,e[1]=x,e[2]=b,e[3]=N,e[4]=L}else b=e[2],N=e[3],L=e[4];let d;return e[5]!==b||e[6]!==N||e[7]!==L?(d=s.jsxs("span",{className:b,children:[N,L]}),e[5]=b,e[6]=N,e[7]=L,e[8]=d):d=e[8],d}function In(O,e){return O.match?s.jsx("span",{className:"rounded-[2px] bg-primary/20 text-foreground",children:O.text},e):s.jsx("span",{children:O.text},e)}function fs({orgSlug:O,virtualMcpId:e,branch:x,threadId:Y,openPath:b}){const N={orgSlug:O,virtualMcpId:e,branch:x,threadId:Y},[L,d]=f.useState({files:[],directories:[],truncated:!1}),{files:w,directories:A}=L,[m,a]=f.useState(new Set),[o,P]=f.useState(null),[X,M]=f.useState(null),[p,c]=f.useState([]),[C,z]=f.useState(""),[R,S]=f.useState(null),[v,D]=f.useState(null),[j,g]=f.useState(!1),[E,y]=f.useState(!1),[T,H]=f.useState(!1),[$,J]=f.useState(!1),[,Z]=f.useState(new Set),[_,I]=f.useState(new Set),k=f.useRef(0),W=f.useRef(null),K=f.useRef(new Set),Q=f.useRef(new Map),G=f.useRef(null),F=f.useRef(0),V=f.useRef(null),B=f.useRef(null),U=f.useRef(null);function te(t){Z(n=>{const r=typeof t=="function"?t(n):t;return K.current=r,r})}const[oe,ae]=f.useState(new Map),Fe=f.useRef(null),[se,pe]=f.useState(null),{sendMessage:lt}=cn(),{openSidePanel:ot}=fn(),he=tn(),[q,re]=f.useState(null),[Te,ke]=f.useState(null),[ge,ye]=f.useState(!1);async function ie(t,n){const r=await fetch(zn(N,t),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)});if(!r.ok){const i=await r.json().catch(()=>({}));throw new Error(i.error??`Request failed (${r.status})`)}return r.json()}async function be(){he.invalidateQueries({queryKey:nt(N)})}function $e(t,n,r){navigator.clipboard.writeText(r).then(()=>ee.success(t("sandbox.fileExplorer.textCopied",{label:n})),()=>ee.error(t("sandbox.fileExplorer.failedToCopyText",{label:n.toLowerCase()})))}function at(t){const n=Tn(t);if(!n)return;const r=`${O}/${e}/${x}`;he.setQueryData(Ze.decofile(r),i=>{if(!i)return i;const{[n]:l,...u}=i;return u}),he.invalidateQueries({queryKey:Ze.liveMeta(O,e,x)})}function ct(t){const n=t.kind==="file"?[t.path]:w.filter(r=>r.startsWith(".deco/blocks/")).map(r=>Ne(r)).filter(r=>r===t.path||r.startsWith(`${t.path}/`));for(const r of n)at(r)}function dt(t){const n=Ne(t);return p.filter(r=>{if(r!==n&&!r.startsWith(`${n}/`))return!1;const i=oe.get(r);return!!(i?.loaded&&i.editorValue!==i.savedContent)})}function Ie(t){c(n=>n.map(r=>t(r)).filter(r=>r!==null)),P(n=>n&&t(n)),ae(n=>{const r=new Map;for(const[i,l]of n){const u=t(i);u&&r.set(u,l)}return r}),M(n=>{if(!n)return n;const r=t(n.path);return r?r===n.path?n:{...n,path:r,name:r.split("/").pop()??r}:null})}function ft(t){const n=Ne(t);M(r=>r&&(r.path===n||r.path.startsWith(`${n}/`)?null:r)),Ie(r=>r===n||r.startsWith(`${n}/`)?null:r)}async function ut(t,n){if(!q)return;const r=Ee(q.parentDir,n);if(ze(r,w,A))throw new Error(t("sandbox.fileExplorer.fileAlreadyExists",{name:n}));await ie("write",{path:ne(r),content:""}),await ue(),await be(),re(null),xe(r)}async function xt(t,n){if(!q)return;const r=Ee(q.parentDir,n);if(ze(r,w,A))throw new Error(t("sandbox.fileExplorer.fileAlreadyExists",{name:n}));const i=ne(r);await ie("mkdir",{path:i}),d(l=>({...l,directories:l.directories.includes(i)?l.directories:[...l.directories,i]})),await ue(),await be(),re(null),a(l=>{const u=new Set(l);for(const le of Oe(r))u.add(le);return u.add(r),u}),M({name:n,path:r,kind:"directory",children:[]})}async function mt(t,n){if(!q)return;const r=q.node.path,i=De(r),l=Ee(i,n);if(l===r){re(null);return}if(ze(l,w,A))throw new Error(t("sandbox.fileExplorer.fileAlreadyExists",{name:n}));await ie("rename",{from:ne(r),to:ne(l)}),Ie(u=>u===r?l:u.startsWith(`${r}/`)?Ee(l,u.slice(r.length+1)):u),await ue(),await be(),re(null)}async function pt(t,n){ye(!0);try{await ie("unlink",{path:ne(n.path),recursive:n.kind==="directory"}),ct(n),ft(n.path),await ue(),await be(),ke(null),ee.success(t("sandbox.fileExplorer.fileDeleted",{name:n.name}))}catch(r){ee.error(r instanceof Error?r.message:t("sandbox.fileExplorer.deleteFailed"))}finally{ye(!1)}}async function ht(t,n){const r=Sn(n);if(r){ee.error(r);return}ye(!0);try{q?.mode==="new-file"?(await ut(t,n),ee.success(t("sandbox.fileExplorer.fileCreated",{name:n}))):q?.mode==="new-folder"?(await xt(t,n),ee.success(t("sandbox.fileExplorer.folderCreated",{name:n}))):q?.mode==="rename"&&(await mt(t,n),ee.success(t("sandbox.fileExplorer.renamedTo",{name:n})))}catch(i){ee.error(i instanceof Error?i.message:t("sandbox.fileExplorer.operationFailed"))}finally{ye(!1)}}const Ge=f.useRef(!1);Ge.current||(Ge.current=!0,W.current=ue());const[gt,yt]=f.useState(null),h=ve();if(b&&b!==gt){yt(b);const t=b;queueMicrotask(()=>{yn(t)&&xe(t)})}async function Re(t){const n=await ie("glob",t);return{files:n.files??[],directories:n.directories??[],truncated:n.truncated}}function Ve(t,n,r){if(r!==k.current)return!1;let i=!1;return d(l=>{const u=n?kn(l.files,l.directories,t,l.truncated):{files:t.files,directories:t.directories??[],truncated:!!t.truncated};return i=!!u.truncated,{files:u.files,directories:u.directories,truncated:i}}),i&&ee.warning(h("sandbox.fileExplorer.fileListTruncated")),i}async function bt(t){const n=Q.current.get(t);if(n)return n;const r=k.current,i=(async()=>{const l=await Re({pattern:"**/*",path:ne(t),limit:Pe}),u=Ve(l,!0,r);return!u&&r===k.current&&te(le=>{const we=new Set(le);return we.add(t),we}),u})();Q.current.set(t,i);try{return await i}finally{Q.current.delete(t)}}async function Be(t){if(!Ae(t,K.current))return!1;I(n=>new Set(n).add(t));try{return await bt(t)}finally{I(n=>{const r=new Set(n);return r.delete(t),r})}}async function wt(t,n){const r=new Set(K.current);for(const i of Oe(n)){if(!Ae(i,r))continue;if(await Be(i))throw new Error(t("sandbox.fileExplorer.folderListingTruncated"));r.add(i)}}async function ue(){const t=++k.current;V.current=null,B.current=null,Q.current.clear(),H(!0),te(new Set),a(new Set),I(new Set);try{const n=await Re({pattern:"**/*",limit:Pe,maxDepth:bn});Ve(n,!1,t),J(!0)}catch{$&&ee.error(h("sandbox.fileExplorer.failedToRefreshFileTree"))}finally{H(!1)}}async function qe(t){if(!oe.get(t)?.loaded){ae(r=>{const i=new Map(r);return i.set(t,{savedContent:"",editorValue:"",loaded:!1}),i});try{const r=await ie("read",{path:ne(t),full:!0}),i=Cn(r.content??"");ae(l=>{const u=new Map(l);return u.set(t,{savedContent:i,editorValue:i,loaded:!0}),u})}catch{}}}function jt(){F.current++,S(null),D(null),g(!1),y(!1)}async function Nt(){const t=k.current,n=V.current;if(n&&n.generation===t)return n.files;const r=B.current;if(r&&r.generation===t)return r.promise;const i=(async()=>{const l=await Re({pattern:"**/*",limit:Pe});return k.current===t&&(V.current={generation:t,files:l.files}),l.files})();B.current={generation:t,promise:i};try{return await i}finally{B.current?.generation===t&&(B.current=null)}}async function Dt(t,n){try{const r=await Nt();if(n!==F.current)return;S(vn(r,t,it))}catch{if(n!==F.current)return;S([])}}async function Et(t,n){g(!0);try{const r=await ie("grep",{pattern:t,output_mode:"content",ignore_case:!0,fixed_strings:!0,limit:st});if(n!==F.current)return;D(Fn(r.results??"")),y((r.matchCount??0)>=st)}catch{if(n!==F.current)return;D([]),y(!1)}finally{n===F.current&&g(!1)}}function Ct(t){const n=t.trim(),r=++F.current;Dt(n,r),n.length<On?(D(null),g(!1),y(!1)):Et(n,r)}function St(t){if(z(t),G.current&&clearTimeout(G.current),!t.trim()){jt();return}G.current=setTimeout(()=>{Ct(t)},An)}function He(t){const n=U.current;if(!n||n.path!==o)return;U.current=null;const r=Math.max(1,n.line);t.revealLineInCenter(r),t.setPosition({lineNumber:r,column:1}),t.focus()}function vt(t){U.current={path:t.path,line:t.line};const n=o===t.path&&oe.get(t.path)?.loaded;xe(t.path),n&&Fe.current&&He(Fe.current)}async function Ft(t,n){try{await ie("write",{path:ne(t),content:n}),je("file saved via sandbox /write",{path:t}),he.invalidateQueries({queryKey:nt(N)});try{const r=await un(N);je("git status after save",r)}catch(r){je("git status after save failed",{path:t,error:r instanceof Error?r.message:String(r)})}ae(r=>{const i=new Map(r),l=i.get(t);return l&&i.set(t,{...l,savedContent:n}),i})}catch(r){je("file save failed",{path:t,error:r instanceof Error?r.message:String(r)})}}function Tt(t){P(t),M({name:t.split("/").pop()??t,path:t,kind:"file",children:[]}),pe(null),p.includes(t)||c(n=>[...n,t]),qe(t)}function kt(t){const n=oe.get(t);n?.loaded&&n.editorValue!==n.savedContent&&!window.confirm(h("sandbox.fileExplorer.discardUnsavedChangesConfirm"))||(c(i=>{const l=i.filter(u=>u!==t);return o===t&&P(l[l.length-1]??null),l}),ae(i=>{const l=new Map(i);return l.delete(t),l}))}function We(t){a(n=>{const r=new Set(n);return r.has(t)?r.delete(t):r.add(t),r})}async function Rt(t){if(Ae(t,K.current))try{if(await Be(t))return}catch(n){ee.error(n instanceof Error?n.message:h("sandbox.fileExplorer.failedToLoadFolder"));return}We(t)}async function Lt(t,n){if(n){We(t);return}await Rt(t)}async function Pt(t){await W.current,await wt(h,t);const n=Oe(t);a(r=>{const i=new Set(r);for(const l of n)i.add(l);return i}),Tt(t)}function xe(t){Pt(t).catch(n=>{ee.error(n instanceof Error?n.message:h("sandbox.fileExplorer.failedToOpenFile"))})}function Mt(){return X?.kind==="directory"?X.path:X?.kind==="file"?De(X.path):o?De(o):"/"}function Qe(t){const n=Mt();re({mode:t,parentDir:n,node:{name:"",path:n,kind:"directory",children:[]}})}const Kt=wn(w,A),Ue=jn(Kt,m),Le=R?.length??0,Ye=Nn(v??[]),Xe=v?.length??0,ce=o?oe.get(o):null,Ot=ce?.loaded&&ce.editorValue!==ce.savedContent,At=Te?dt(Te.path):[],zt=(t,n)=>{Fe.current=t,He(t),t.addCommand(n.KeyMod.CtrlCmd|n.KeyCode.KeyS,async()=>{if(!o)return;const r=t.getValue();await Ft(o,r)}),t.addCommand(n.KeyMod.CtrlCmd|n.KeyCode.KeyK,()=>{const r=t.getSelection(),i=t.getModel();if(!r||!i||!o)return;const l=i.getValueInRange(r);pe({filePath:o,lineStart:r.startLineNumber,lineEnd:r.endLineNumber,selectedCode:l})})};function $t(t){if(!se)return;const n=[`The user selected code in the file explorer and asked: **"${t.trim()}"**`,"",`**File:** \`${se.filePath}\``,`**Lines:** ${se.lineStart}–${se.lineEnd}`];if(se.selectedCode){const r=Ke(se.filePath),i=se.selectedCode.replace(/```/g,"`` `");n.push("","**Selected code:**","```"+r,i,"```")}n.push("","Please read the source file, locate the code, and apply the requested change."),ot(),lt({parts:[{type:"text",text:n.join(`
|
|
2
|
-
`)}]}),pe(null)}return T&&!$?s.jsx("div",{className:"flex items-center justify-center h-full w-full",children:s.jsx(fe,{className:"size-5 text-muted-foreground"})}):s.jsxs("div",{className:"flex h-full w-full overflow-hidden",children:[s.jsxs("div",{className:"w-64 shrink-0 border-r flex flex-col overflow-hidden",children:[s.jsxs("div",{className:"flex items-center gap-1 p-2 border-b",children:[s.jsxs("div",{className:"relative min-w-0 flex-1",children:[s.jsx(rn,{size:14,className:"absolute left-2 top-1/2 -translate-y-1/2 text-muted-foreground"}),s.jsx("input",{type:"text",value:C,onChange:t=>St(t.target.value),placeholder:h("sandbox.fileExplorer.searchFilesPlaceholder"),"aria-label":h("sandbox.fileExplorer.searchFilesLabel"),className:"w-full rounded-md border border-input bg-transparent pl-7 pr-2 py-1.5 text-xs placeholder:text-muted-foreground focus-ring"})]}),s.jsxs(_e,{children:[s.jsx(et,{asChild:!0,children:s.jsx(Ce,{type:"button",variant:"ghost",size:"icon-sm",className:"shrink-0","aria-label":h("sandbox.fileExplorer.newFileLabel"),onClick:()=>Qe("new-file"),children:s.jsx(sn,{size:14})})}),s.jsx(tt,{side:"bottom",children:h("sandbox.fileExplorer.newFile")})]}),s.jsxs(_e,{children:[s.jsx(et,{asChild:!0,children:s.jsx(Ce,{type:"button",variant:"ghost",size:"icon-sm",className:"shrink-0","aria-label":h("sandbox.fileExplorer.newFolderLabel"),onClick:()=>Qe("new-folder"),children:s.jsx(ln,{size:14})})}),s.jsx(tt,{side:"bottom",children:h("sandbox.fileExplorer.newFolder")})]})]}),s.jsx(an,{className:"flex-1",children:s.jsxs("div",{className:"py-1",children:[!C&&Ue.map(t=>{const{node:n,depth:r}=t,i=n.kind==="directory",l=m.has(n.path),u=X?.path===n.path,le=Dn(n.path,n.kind),we=i&&_.has(n.path);return s.jsx(Kn,{node:n,depth:r,isExpanded:l,isSelected:u,isLoading:we,fileVisual:Me(n.name),onSelect:()=>M(n),onOpen:()=>{i?Lt(n.path,l):xe(n.path)},onNewFile:()=>re({mode:"new-file",node:n,parentDir:le}),onNewFolder:()=>re({mode:"new-folder",node:n,parentDir:le}),onCopyPath:()=>$e(h,"Path",Ne(n.path)),onCopyRelativePath:()=>$e(h,"Relative path",ne(n.path)),onRename:()=>re({mode:"rename",node:n,parentDir:le}),onDelete:()=>ke(n)},n.path)}),!C&&$&&Ue.length===0&&s.jsx("div",{className:"px-3 py-4 text-center text-xs text-muted-foreground",children:h("sandbox.fileExplorer.noFilesFound")}),C&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex items-center gap-1.5 px-3 pb-0.5 pt-1 text-2xs font-medium text-muted-foreground",children:[s.jsx("span",{children:h("sandbox.fileExplorer.files")}),Le>0&&s.jsxs("span",{className:"normal-case tracking-normal text-muted-foreground/70",children:[Le,Le>=it?"+":""]})]}),R!==null&&R.length===0&&s.jsx("div",{className:"px-3 py-1 text-xs text-muted-foreground",children:h("sandbox.fileExplorer.noFileNamesMatch")}),R?.map(t=>{const n=t.split("/").pop()??t,r=De(t),{Icon:i,color:l}=Me(n),u=o===t;return s.jsxs("button",{type:"button",onClick:()=>xe(t),title:t,className:me("flex w-full items-center gap-1.5 px-3 py-1 text-left text-xs hover:bg-accent",u&&"bg-accent"),children:[s.jsx(i,{size:14,className:me("shrink-0",l)}),s.jsx("span",{className:"max-w-40 shrink-0 truncate",children:n}),r!=="/"&&s.jsx("span",{className:"truncate text-muted-foreground/60",children:r})]},t)})]}),C&&s.jsxs("div",{className:"mt-1 border-t pt-1",children:[s.jsxs("div",{className:"flex items-center gap-1.5 px-3 pb-0.5 pt-1 text-2xs font-medium text-muted-foreground",children:[s.jsx("span",{children:h("sandbox.fileExplorer.inFiles")}),Xe>0&&s.jsxs("span",{className:"text-muted-foreground/70 normal-case tracking-normal",children:[Xe,E?"+":""]}),j&&s.jsx(fe,{className:"size-[10px]"})]}),!j&&v!==null&&Ye.length===0&&s.jsx("div",{className:"px-3 py-1 text-xs text-muted-foreground",children:h("sandbox.fileExplorer.noMatchesInFileContents")}),Ye.map(t=>{const n=t.path.split("/").pop()??t.path,{Icon:r,color:i}=Me(n);return s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1.5 px-3 py-1 text-xs text-muted-foreground",children:[s.jsx(r,{size:14,className:me("shrink-0",i)}),s.jsx("span",{className:"truncate",children:n}),s.jsx("span",{className:"text-muted-foreground/60",children:t.matches.length})]}),t.matches.map(l=>s.jsxs("button",{type:"button",onClick:()=>vt(l),title:`${t.path}:${l.line}`,className:"flex w-full items-baseline gap-2 pl-8 pr-3 py-0.5 text-left text-xs hover:bg-accent",children:[s.jsx("span",{className:"shrink-0 tabular-nums text-muted-foreground",children:l.line}),s.jsx($n,{text:l.text,query:C})]},`${t.path}:${l.line}`))]},t.path)})]})]})})]}),s.jsxs("div",{className:"relative flex-1 flex flex-col overflow-hidden",children:[p.length>0&&s.jsx("div",{className:"flex items-center border-b overflow-x-auto shrink-0",children:p.map(t=>{const n=oe.get(t),r=n?.loaded&&n.editorValue!==n.savedContent,i=o===t,l=t.split("/").pop()??t;return s.jsxs("div",{className:me("flex items-center gap-1 px-3 py-1.5 text-xs border-r cursor-pointer transition-colors",i?"bg-background text-foreground":"bg-muted/50 text-muted-foreground hover:bg-accent"),onClick:()=>{P(t),qe(t)},onKeyDown:()=>{},role:"tab",tabIndex:0,"aria-selected":i,children:[s.jsx("span",{className:"truncate max-w-32",children:l}),r&&s.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-foreground/60 shrink-0"}),s.jsx("button",{type:"button",className:"ml-1 p-0.5 hover:bg-accent-foreground/10 rounded-lg",onClick:u=>{u.stopPropagation(),kt(t)},children:s.jsx(on,{size:12})})]},t)})}),se&&s.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 z-20 mt-2",style:{width:"360px"},children:s.jsxs("form",{className:"flex w-full items-center gap-1.5 rounded-xl glass px-3 py-1.5",onSubmit:t=>{t.preventDefault();const r=t.currentTarget.elements.namedItem("askAiInput");r.value.trim()&&$t(r.value)},children:[s.jsx("input",{name:"askAiInput",autoFocus:!0,type:"text",placeholder:h("sandbox.fileExplorer.askTheAiPlaceholder"),className:"min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground",onKeyDown:t=>{t.stopPropagation(),t.key==="Escape"&&pe(null)}}),s.jsx("button",{type:"submit",className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-lg bg-foreground text-background transition-opacity",title:h("sandbox.fileExplorer.send"),children:s.jsxs("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none","aria-hidden":"true",children:[s.jsx("title",{children:h("sandbox.fileExplorer.send")}),s.jsx("path",{d:"M5 9V1M1 5l4-4 4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})}),s.jsx("div",{className:"flex-1 overflow-hidden",children:o&&ce?.loaded?s.jsx(dn,{language:Ke(o),theme:document.documentElement.classList.contains("dark")?"vs-dark":"light",value:ce.editorValue,path:o,onChange:t=>{const n=o;n&&ae(r=>{const i=new Map(r),l=i.get(n);return l&&i.set(n,{...l,editorValue:t??""}),i})},onMount:zt,loading:s.jsx("div",{className:"flex items-center justify-center h-full w-full",children:s.jsx(fe,{className:"size-5 text-muted-foreground"})}),options:{fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0,lineNumbersMinChars:2,wordWrap:"on",minimap:{enabled:!1},padding:{top:12,bottom:12},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:8,horizontalScrollbarSize:8}}},o):o&&!ce?.loaded?s.jsx("div",{className:"flex items-center justify-center h-full w-full",children:s.jsx(fe,{className:"size-5 text-muted-foreground"})}):s.jsx("div",{className:"flex items-center justify-center h-full w-full text-sm text-muted-foreground",children:h("sandbox.fileExplorer.selectFileToEdit")})}),o&&s.jsxs("div",{className:"flex items-center justify-between px-3 py-1 border-t text-2xs text-muted-foreground shrink-0",children:[s.jsx("span",{className:"truncate",children:o}),s.jsxs("span",{children:[h(Ot?"sandbox.fileExplorer.modified":"sandbox.fileExplorer.saved")," ","· ",Ke(o)]})]})]}),s.jsx(Ln,{open:q!==null,mode:q?.mode??"new-file",initialName:q?.mode==="rename"?q.node.name:"",parentLabel:q&&q.mode!=="rename"?q.parentDir==="/"?"/":ne(q.parentDir):void 0,isPending:ge,onSubmit:t=>ht(h,t),onOpenChange:t=>{!t&&!ge&&re(null)}}),s.jsx(Pn,{deleteTarget:Te,deleteDirtyPaths:At,fsActionPending:ge,onOpenChange:t=>{!t&&!ge&&ke(null)},onConfirm:t=>{pt(h,t)}})]})}export{fs as FileExplorer};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as $,b as O,H as re,a as D,ap as G,j as s,n as M,r as R,a4 as B,h as q,l as I,L as ie,C as F,aq as ne,K as le,m as ae,B as ce,ad as me}from"./index-jw3DdvOr.js";import{C as fe}from"./index-DEnpRpne.js";import{b as Y}from"./input-B5josieU.js";import{D as W,a as U}from"./chat-context-BPhmNX7K.js";import{a as J}from"./use-organization-settings-D8VzrTTn.js";import{C as X,u as pe,F as ue,R as de,M as ge,a as he,b as xe,P as je}from"./project-feed-CccYGCuU.js";import{a as be,r as ye,s as _e}from"./daily-pulse-CDcSWhDN.js";import{N as Ne}from"./new-project-dialog-ClHa96hl.js";import{P as ve}from"./projects-empty-state-BEGBHesv.js";import{b as Z}from"./task-route-BcKr-6il.js";import{u as Se}from"./use-inbox-feed-BfLIAiPb.js";import{b as ke}from"./use-recent-apps-SJDHdi4L.js";import{s as Q}from"./use-project-scope-CgFUZ469.js";import{b as V}from"./repository-binding-DtKjkNiS.js";import{s as we}from"./Plus-uAJwOYwM.js";import{i as He}from"./UserSquare-hT13OTGf.js";import{E as Ce}from"./empty-state-DqSsZioU.js";import{R as $e}from"./repository-import-picker-T9uxw-6-.js";import{o as Ae}from"./shell-layout-DGAwwzx5.js";import{i as Te,n as Pe}from"./ArrowUp-KwZh_glX.js";import{A as Ee}from"./agent-icon-DU_klZzF.js";import{u as Me}from"./use-navigate-to-agent-DvIbqsvD.js";import{s as Oe,r as Re}from"./project-profile-Cc4MG3QN.js";import{i as Be}from"./LinkBroken01-BnY3fyy6.js";import"./use-mobile-BhX1NLy5.js";import"./use-sidebar-collapsed-CQK6aXTW.js";import"./use-chat-layout-state-q8zIlEKg.js";import"./thread-route-EFpj5Q3M.js";import"./use-panel-navigate-DEgeFNQE.js";import"./thread-intent-Ccijo8FW.js";import"./use-mcp-client-D6ElS18M.js";import"./auth-BrPPgu4r.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-Br6EL-rz.js";import"./task-board-BHxUa5hm.js";import"./schema-78fwu3zk.js";import"./slugify-CEUa2lfQ.js";import"./tooltip-DLcu2pQg.js";import"./index-B94lWY4a.js";import"./toolbar-icon-button-CJNt4JSM.js";import"./sheet-CpISCuUN.js";import"./resizable-B3nlFFSB.js";import"./usage-stats-BsWORl3Y.js";import"./tool-namespace-6L147wmT.js";import"./form-CvnFBQeW.js";import"./label-AxYpTX_1.js";import"./utils-CVEq3hMx.js";import"./markdown-BLdpFCyC.js";import"./use-copy-CFaa1ury.js";import"./Copy01--5lfgwG0.js";import"./ZoomOut-LrGtO3ok.js";import"./location-V0VwTJTt.js";import"./use-decopilot-events-ksPa8i5N.js";import"./XClose-Btox6E0t.js";import"./icon-button-tNw7Vtkn.js";import"./file-type-icon-atKRN7rs.js";import"./autosend-6P1IADfg.js";import"./chat-draft-5-kbjuW7.js";import"./use-session-runtime-DryciBRX.js";import"./ShoppingBag01-I9tolWb2.js";import"./Image01-vjhaiEAu.js";import"./Upload01-CbA0srCf.js";import"./AlertCircle-DtaztSud.js";import"./select-DQCVbj5T.js";import"./index-BdQq_4o_.js";import"./ChevronUp-DreW1_TB.js";import"./ArrowLeft-DmnRegLb.js";import"./tabs-DgcKTFd2.js";import"./active-indicator-CCMhAsc_.js";import"./use-deco-credits-BnbotBEA.js";import"./use-ai-providers-CDuQs1Ba.js";import"./toggle-group-DduyGFUi.js";import"./use-open-billing-url-BhG-chrX.js";import"./index-CRRvfbCE.js";import"./checkbox-B-dBQ4c_.js";import"./Minus-CHN5Kpep.js";import"./ChevronSelectorVertical-bUzEqfWd.js";import"./Key01-DpH9OVIT.js";import"./Tool01-vy7Izsxy.js";import"./SearchMd-B6NwptLV.js";import"./ai-providers-logos-DD3qZ33J.js";import"./Monitor01-e35w1jlr.js";import"./popover-D_zqXHOI.js";import"./drawer-DwHfH-sA.js";import"./input-BaD0fonC.js";import"./suggestion-BAlr69L-.js";import"./use-mcp-prompts-mpX7ubid.js";import"./use-org-fs-D0eNRBo9.js";import"./useInfiniteQuery-CcUhW7AW.js";import"./infiniteQueryObserver-gBCPzHMW.js";import"./Link01-D41TGySV.js";import"./question-004-sINsf4GQ.js";import"./feature-paywall-CtXPfbqb.js";import"./plan-ladder-CKUbxlnA.js";import"./add-connection-dialog-DPRdB-7o.js";import"./collection-search-B_D1_L7e.js";import"./extract-connection-data-Dla-1nU5.js";import"./metadata-D72DunRR.js";import"./connection-CzlaCPJq.js";import"./url-slug-Dth3-7Lg.js";import"./connection-card-CjGnO0Ri.js";import"./connection-slug-CITJ0kGN.js";import"./integration-icon-B9fBbTRM.js";import"./textarea-B9s0J6-L.js";import"./use-connection-Db-d2gM4.js";import"./schema-wV4JUbYo.js";import"./connection-form-helpers-CawPAK_n.js";import"./Trash01-BVc7E-zT.js";import"./authenticate-and-persist-oauth-O0IrG3Sw.js";import"./mcp-oauth-D7qBhGvW.js";import"./mcp-oauth-GHz9sJ7e.js";import"./collection-tabs-CKeKixSq.js";import"./badge-_4T6Jr1d.js";import"./use-infinite-scroll-DBF3UBOd.js";import"./useSuspenseInfiniteQuery-DCy5Ucgo.js";import"./use-task-board-events-SAn8PfW_.js";import"./client-icons-ff1hOdfW.js";import"./CheckCircle-C_ruRiGN.js";import"./chart-DHkCLdo5.js";import"./index-eCzOjcqZ.js";import"./symbol-DnfVmC0I.js";import"./CategoricalChart-BEpkg4nV.js";import"./project-icon-xQhHEp3k.js";import"./project-apps-CdmH-juT.js";import"./config-WCiNXzjt.js";import"./core.esm-zhMGnPAC.js";import"./ReferenceLine-Dqn9rIuK.js";import"./CartesianChart-wzAyuumX.js";import"./BarChart-DQaObQAu.js";import"./tooltipContext-DCi7f8uY.js";import"./ActiveShapeUtils-BwsFHzaV.js";import"./Sector-Bjn485EV.js";import"./ErrorBarContext-CYra1jMF.js";import"./repository-picker-BDi8y63n.js";import"./use-debounced-value-CG9ZLPPy.js";import"./task-assignee-avatar-C9KHH6o7.js";import"./task-key-BCHdFiOO.js";import"./Building02-BeI22zso.js";import"./use-clock-tick-DvR_TVIp.js";import"./command-C4G9SDjd.js";import"./index-B7Z9Kjbd.js";import"./required-auth-layout-B_ag2iIH.js";import"./use-org-sso-UCXyI2OA.js";import"./CreditCard01-K0Qwgk3o.js";import"./DotsVertical-C68Q-BAS.js";import"./Globe04-BOflVjCh.js";import"./SwitchHorizontal01-DCpSydRk.js";import"./Sun-CrI4XUq_.js";import"./Play-D1B7OgmS.js";import"./Users01-DuFCVv-C.js";function ee(t){return t<12?"morning":t<18?"afternoon":"evening"}function te(t){const e=(t??"").trim().split(/\s+/)[0];return e||null}function Ie(t,e){return e.toLocaleDateString(t,{weekday:"long",day:"numeric",month:"long"})}function Fe(t){return t==="morning"?"overnight":"today"}function Le(t,e){const r=new Date(e);return r.setHours(0,0,0,0),t==="morning"&&r.setHours(-6),r.getTime()}const De={morning:{named:"home.orgHome.greetingMorning",bare:"home.orgHome.greetingMorningBare"},afternoon:{named:"home.orgHome.greetingAfternoon",bare:"home.orgHome.greetingAfternoonBare"},evening:{named:"home.orgHome.greetingEvening",bare:"home.orgHome.greetingEveningBare"}};function ze(){const t=$.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"flex min-h-64 items-center justify-center",children:s.jsx(q,{className:"size-5 text-muted-foreground"})}),t[0]=e):e=t[0],e}function Ke(t,e,r,i,n){const l=Fe(r)==="overnight",a=[];if(e>0){const o=t(e===1?"home.brief.changeOne":"home.brief.changeMany",{count:e});a.push(t(l?"home.brief.overnightShipped":"home.brief.todayShipped",{changes:o}))}else i===0&&a.push(t(n>0?"home.brief.working":l?"home.brief.quietNight":"home.brief.quietDay"));return a.push(i===0?t("home.brief.waitingNone"):t(i===1?"home.brief.waitingOne":"home.brief.waitingMany",{count:i})),a.join(" ")}function Ge(t){const e=$.c(40),{canManageProjects:r,eyebrow:i,greeting:n,slot:l}=t,a=O(),{org:o}=B(),{data:c}=D.useSession();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={pageSize:1e3},e[0]=m):m=e[0];const f=V(m),p=pe(),d=Se(),{recent:u}=ke(o.slug);let x,g;if(e[1]!==f||e[2]!==r||e[3]!==o.id){g=Symbol.for("react.early_return_sentinel");e:{let C;e[6]!==o.id?(C=A=>A.id!==o.id,e[6]=o.id,e[7]=C):C=e[7];const T=Q(f).filter(C);if(T.length===0){let A;e[8]!==r?(A=s.jsx(ve,{canCreate:r}),e[8]=r,e[9]=A):A=e[9],g=A;break e}x=Z(T)}e[1]=f,e[2]=r,e[3]=o.id,e[4]=x,e[5]=g}else x=e[4],g=e[5];if(g!==Symbol.for("react.early_return_sentinel"))return g;const j=x;let b,h;e[10]!==c?.user?.id||e[11]!==l||e[12]!==a||e[13]!==p?(h=be(p,c?.user?.id),b=Ke(a,_e(p,Le(l,new Date)),l,h.length,ye(p).length),e[10]=c?.user?.id,e[11]=l,e[12]=a,e[13]=p,e[14]=b,e[15]=h):(b=e[14],h=e[15]);const _=b;let y;e[16]!==i?(y=s.jsx("span",{className:"text-xs text-muted-foreground",children:i}),e[16]=i,e[17]=y):y=e[17];let N;e[18]!==_||e[19]!==n?(N=s.jsxs("h1",{className:"max-w-[40ch] text-2xl font-medium text-balance text-foreground",children:[n," ",_]}),e[18]=_,e[19]=n,e[20]=N):N=e[20];let v;e[21]!==y||e[22]!==N?(v=s.jsxs("div",{className:"flex flex-col gap-1",children:[y,N]}),e[21]=y,e[22]=N,e[23]=v):v=e[23];let k;e[24]!==d.updates||e[25]!==j||e[26]!==o.slug||e[27]!==p||e[28]!==h?(k=s.jsx(ue,{waiting:h,tasks:p,mentions:d.updates,index:j,orgSlug:o.slug}),e[24]=d.updates,e[25]=j,e[26]=o.slug,e[27]=p,e[28]=h,e[29]=k):k=e[29];let S;e[30]!==o.slug||e[31]!==u?(S=s.jsx(de,{recent:u,orgSlug:o.slug}),e[30]=o.slug,e[31]=u,e[32]=S):S=e[32];let w;e[33]!==p?(w=s.jsx(ge,{tasks:p}),e[33]=p,e[34]=w):w=e[34];let H;return e[35]!==w||e[36]!==v||e[37]!==k||e[38]!==S?(H=s.jsxs("div",{className:"flex flex-col gap-8",children:[v,k,S,w]}),e[35]=w,e[36]=v,e[37]=k,e[38]=S,e[39]=H):H=e[39],H}function qe(){const t=$.c(25),e=O(),[r]=re(),i=J("home_task_intake_enabled"),{data:n}=D.useSession(),{granted:l}=G("agents:manage");let a,o,c;if(t[0]!==r.language||t[1]!==n?.user?.name||t[2]!==e){const h=new Date,_=te(n?.user?.name);o=ee(h.getHours());const y=De[o];a=Ie(r.language,h),c=_?e(y.named,{name:_}):e(y.bare),t[0]=r.language,t[1]=n?.user?.name,t[2]=e,t[3]=a,t[4]=o,t[5]=c}else a=t[3],o=t[4],c=t[5];const m=c;let f;t[6]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx(X,{}),t[6]=f):f=t[6];let p;t[7]!==l?(p=l&&s.jsx(Ne,{source:"org_home_header"}),t[7]=l,t[8]=p):p=t[8];let d;t[9]!==p?(d=s.jsx(M.Actions,{secondary:f,children:p}),t[9]=p,t[10]=d):d=t[10];let u;t[11]!==i?(u=i&&s.jsx(R.Suspense,{fallback:null,children:s.jsx(W,{children:s.jsx(U,{children:s.jsx(Y,{homeTaskComposer:!0})})})}),t[11]=i,t[12]=u):u=t[12];let x;t[13]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx(ze,{}),t[13]=x):x=t[13];let g;t[14]!==l||t[15]!==a||t[16]!==m||t[17]!==o?(g=s.jsx(R.Suspense,{fallback:x,children:s.jsx(Ge,{canManageProjects:l,eyebrow:a,greeting:m,slot:o})}),t[14]=l,t[15]=a,t[16]=m,t[17]=o,t[18]=g):g=t[18];let j;t[19]!==u||t[20]!==g?(j=s.jsx(M.Content,{children:s.jsxs(M.Container,{width:"wide",className:"flex min-h-full flex-col gap-10",children:[u,g]})}),t[19]=u,t[20]=g,t[21]=j):j=t[21];let b;return t[22]!==d||t[23]!==j?(b=s.jsxs(M,{children:[d,j]}),t[22]=d,t[23]=j,t[24]=b):b=t[24],b}function Ye(t){const e=$.c(13),{label:r,count:i,action:n,children:l}=t;let a;e[0]!==i?(a=i!==void 0&&i>0&&s.jsx("span",{className:"text-xs tabular-nums text-muted-foreground",children:i}),e[0]=i,e[1]=a):a=e[1];let o;e[2]!==r||e[3]!==a?(o=s.jsxs("h2",{className:"flex items-baseline gap-2 text-[0.9rem] font-medium tracking-tight text-foreground",children:[r,a]}),e[2]=r,e[3]=a,e[4]=o):o=e[4];let c;e[5]!==n||e[6]!==o?(c=s.jsxs("div",{className:"flex h-12 items-center justify-between gap-3 border-b border-border/70 px-5",children:[o,n]}),e[5]=n,e[6]=o,e[7]=c):c=e[7];let m;e[8]!==l?(m=s.jsx("ul",{className:"flex flex-col divide-y divide-border/70",children:l}),e[8]=l,e[9]=m):m=e[9];let f;return e[10]!==c||e[11]!==m?(f=s.jsxs("section",{className:"@container flex flex-col overflow-hidden surface",children:[c,m]}),e[10]=c,e[11]=m,e[12]=f):f=e[12],f}function se(t){const e=$.c(5),{children:r,className:i}=t;let n;e[0]!==i?(n=I("px-5 py-3.5 transition-colors hover:bg-accent",i),e[0]=i,e[1]=n):n=e[1];let l;return e[2]!==r||e[3]!==n?(l=s.jsx("li",{className:n,children:r}),e[2]=r,e[3]=n,e[4]=l):l=e[4],l}const We=56,Ue=16;function Je(t){const e=$.c(28),{series:r,className:i,label:n,height:l,stretch:a}=t,o=l===void 0?Ue:l,c=a===void 0?!1:a,m=Math.max(...r);if(r.length<2||m<=0)return null;const f=c?r.length*8:We,p=f/(r.length-1);let d;if(e[0]!==o||e[1]!==m||e[2]!==r||e[3]!==p){let v;e[5]!==o||e[6]!==m||e[7]!==p?(v=(S,w)=>({x:w*p,y:o-1-S/m*(o-2)}),e[5]=o,e[6]=m,e[7]=p,e[8]=v):v=e[8],d=r.map(v).map(Xe).join(" "),e[0]=o,e[1]=m,e[2]=r,e[3]=p,e[4]=d}else d=e[4];const u=d,x=`0 0 ${f} ${o}`,g=c?void 0:f,j=c?"none":void 0,b=c?"w-full":"shrink-0 overflow-visible";let h;e[9]!==i||e[10]!==b?(h=I(b,i),e[9]=i,e[10]=b,e[11]=h):h=e[11];let _;e[12]!==o||e[13]!==u||e[14]!==c||e[15]!==f?(_=c&&s.jsx("polygon",{points:`0,${o} ${u} ${f},${o}`,fill:"currentColor",opacity:.12}),e[12]=o,e[13]=u,e[14]=c,e[15]=f,e[16]=_):_=e[16];let y;e[17]!==u?(y=s.jsx("polyline",{points:u,fill:"none",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"}),e[17]=u,e[18]=y):y=e[18];let N;return e[19]!==o||e[20]!==n||e[21]!==y||e[22]!==x||e[23]!==g||e[24]!==j||e[25]!==h||e[26]!==_?(N=s.jsxs("svg",{viewBox:x,width:g,height:o,role:"img","aria-label":n,preserveAspectRatio:j,className:h,children:[_,y]}),e[19]=o,e[20]=n,e[21]=y,e[22]=x,e[23]=g,e[24]=j,e[25]=h,e[26]=_,e[27]=N):N=e[27],N}function Xe(t){const{x:e,y:r}=t;return`${e.toFixed(1)},${r.toFixed(1)}`}const Ze={waiting:{labelKey:"home.projects.headlineWaiting",className:"text-foreground"},failed:{labelKey:"home.projects.headlineFailed",className:"text-destructive"},shipped:{labelKey:"home.projects.headlineShipped",className:"text-muted-foreground"},open:{labelKey:"home.projects.headlineOpen",className:"text-muted-foreground"}},z=6;function Qe(t){const e=$.c(10),{value:r,previous:i}=t,n=r-i;if(n===0)return null;const l=n>0?Te:Pe,a=n>0?"text-success":"text-muted-foreground";let o;e[0]!==a?(o=I("inline-flex items-center text-xs tabular-nums",a),e[0]=a,e[1]=o):o=e[1];let c;e[2]!==l?(c=s.jsx(l,{width:11,height:11,"aria-hidden":!0}),e[2]=l,e[3]=c):c=e[3];let m;e[4]!==n?(m=Math.abs(n),e[4]=n,e[5]=m):m=e[5];let f;return e[6]!==o||e[7]!==c||e[8]!==m?(f=s.jsxs("span",{className:o,children:[c,m]}),e[6]=o,e[7]=c,e[8]=m,e[9]=f):f=e[9],f}function Ve(t){const e=$.c(52),{project:r,summary:i,series:n}=t,l=O(),a=Me();let o;e[0]!==r?(o=Oe(Re(r).storeUrl),e[0]=r,e[1]=o):o=e[1];const c=o,m=i&&i.kind!=="quiet"?Ze[i.kind]:null,f=n.reduce(st,0),p=Math.floor(n.length/2);let d;e[2]!==p||e[3]!==n?(d=n.slice(0,p).reduce(tt,0),e[2]=p,e[3]=n,e[4]=d):d=e[4];const u=d;let x;e[5]!==p||e[6]!==n?(x=n.slice(p).reduce(et,0),e[5]=p,e[6]=n,e[7]=x):x=e[7];const g=x,j=r.title;let b;e[8]!==a||e[9]!==r.id?(b=()=>{F("org_home_project_clicked"),a(r.id)},e[8]=a,e[9]=r.id,e[10]=b):b=e[10];let h;e[11]!==r.icon||e[12]!==r.title?(h=s.jsx(Ee,{icon:r.icon,name:r.title,size:"xs"}),e[11]=r.icon,e[12]=r.title,e[13]=h):h=e[13];let _;e[14]!==r.title?(_=s.jsx("span",{className:"truncate text-sm font-medium text-foreground",children:r.title}),e[14]=r.title,e[15]=_):_=e[15];let y;e[16]!==m||e[17]!==c||e[18]!==i||e[19]!==l?(y=m&&i?l(m.labelKey,{count:i.count}):c??l("home.projects.quiet"),e[16]=m,e[17]=c,e[18]=i,e[19]=l,e[20]=y):y=e[20];let N;e[21]!==y?(N=s.jsx("span",{className:"truncate text-xs text-muted-foreground",children:y}),e[21]=y,e[22]=N):N=e[22];let v;e[23]!==_||e[24]!==N?(v=s.jsxs("span",{className:"flex min-w-0 flex-1 flex-col",children:[_,N]}),e[23]=_,e[24]=N,e[25]=v):v=e[25];let k;e[26]!==r.title||e[27]!==l?(k=l("home.projects.rhythm",{name:r.title}),e[26]=r.title,e[27]=l,e[28]=k):k=e[28];let S;e[29]!==n||e[30]!==k?(S=s.jsx(Je,{series:n,className:"text-muted-foreground/60",label:k}),e[29]=n,e[30]=k,e[31]=S):S=e[31];const w=f>0?"text-foreground":"text-muted-foreground";let H;e[32]!==w?(H=I("text-sm tabular-nums",w),e[32]=w,e[33]=H):H=e[33];let C;e[34]!==f||e[35]!==H?(C=s.jsx("span",{className:H,children:f}),e[34]=f,e[35]=H,e[36]=C):C=e[36];let T;e[37]!==g||e[38]!==u?(T=s.jsx(Qe,{value:g,previous:u}),e[37]=g,e[38]=u,e[39]=T):T=e[39];let A;e[40]!==C||e[41]!==T?(A=s.jsxs("span",{className:"flex w-10 shrink-0 flex-col items-end",children:[C,T]}),e[40]=C,e[41]=T,e[42]=A):A=e[42];let P;e[43]!==S||e[44]!==A?(P=s.jsxs("span",{className:"flex shrink-0 items-center gap-2.5",children:[S,A]}),e[43]=S,e[44]=A,e[45]=P):P=e[45];let E;return e[46]!==r.title||e[47]!==v||e[48]!==P||e[49]!==b||e[50]!==h?(E=s.jsx(se,{className:"transition-colors hover:bg-accent",children:s.jsxs("button",{type:"button","aria-label":j,onClick:b,className:"flex w-full min-w-0 items-center gap-3 text-left",children:[h,v,P]})}),e[46]=r.title,e[47]=v,e[48]=P,e[49]=b,e[50]=h,e[51]=E):E=e[51],E}function et(t,e){return t+e}function tt(t,e){return t+e}function st(t,e){return t+e}const ot=new Map,rt=new Map;function it(t){const e=$.c(30),{projects:r,summaries:i,series:n}=t,l=i===void 0?ot:i,a=n===void 0?rt:n,o=O(),{org:c}=B();let m,f,p,d,u,x;if(e[0]!==r||e[1]!==a||e[2]!==l||e[3]!==o){const b=[...r].sort(nt).slice(0,z);f=r.length>z,m=Ye,e[10]!==o?(p=o("home.projects.heading"),e[10]=o,e[11]=p):p=e[11],d=r.length;let h;e[12]!==o?(h=o("home.projects.shippedCaption"),e[12]=o,e[13]=h):h=e[13],e[14]!==h?(u=s.jsx("span",{className:"hidden whitespace-nowrap text-xs text-muted-foreground @[19rem]:inline",children:h}),e[14]=h,e[15]=u):u=e[15];let _;e[16]!==a||e[17]!==l?(_=y=>s.jsx(Ve,{project:y,summary:l.get(y.id),series:a.get(y.id)??[]},y.id),e[16]=a,e[17]=l,e[18]=_):_=e[18],x=b.map(_),e[0]=r,e[1]=a,e[2]=l,e[3]=o,e[4]=m,e[5]=f,e[6]=p,e[7]=d,e[8]=u,e[9]=x}else m=e[4],f=e[5],p=e[6],d=e[7],u=e[8],x=e[9];let g;e[19]!==f||e[20]!==c||e[21]!==o?(g=f&&s.jsx(se,{className:"py-2",children:s.jsx(ie,{to:"/$org/settings/projects",params:{org:c.slug},className:"text-xs text-muted-foreground hover:text-foreground hover:underline",children:o("home.projects.seeAll")})}),e[19]=f,e[20]=c,e[21]=o,e[22]=g):g=e[22];let j;return e[23]!==m||e[24]!==p||e[25]!==d||e[26]!==u||e[27]!==x||e[28]!==g?(j=s.jsxs(m,{label:p,count:d,action:u,children:[x,g]}),e[23]=m,e[24]=p,e[25]=d,e[26]=u,e[27]=x,e[28]=g,e[29]=j):j=e[29],j}function nt(t,e){return(e.updated_at??"").localeCompare(t.updated_at??"")}function lt(){const t=$.c(10),{org:e}=B(),r=ne();let i;t[0]!==e.id?(i=le.orgHasSite(e.id),t[0]=e.id,t[1]=i):i=t[1];const n=!!e.id;let l;t[2]!==r?(l=()=>r.call("ORGANIZATION_HAS_SITE",{}),t[2]=r,t[3]=l):l=t[3];let a;t[4]!==i||t[5]!==n||t[6]!==l?(a={queryKey:i,staleTime:3e5,enabled:n,queryFn:l},t[4]=i,t[5]=n,t[6]=l,t[7]=a):a=t[7];const{data:o}=ae(a),c=o?.hasSite??!1;let m;return t[8]!==c?(m={hasSite:c},t[8]=c,t[9]=m):m=t[9],m}const at="https://www.youtube.com/playlist?list=PLZ4WtTgnJfBw";function ct(t){const e=$.c(4),{className:r}=t;let i,n;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx("path",{fill:"#FF0000",d:"M27.4 3.1c-.3-1.2-1.3-2.2-2.5-2.5C22.7 0 14 0 14 0S5.3 0 3.1.6C1.9.9.9 1.9.6 3.1.1 5.3 0 8 0 10s.1 4.7.6 6.9c.3 1.2 1.3 2.2 2.5 2.5C5.3 20 14 20 14 20s8.7 0 10.9-.6c1.2-.3 2.2-1.3 2.5-2.5.5-2.2.6-4.9.6-6.9s-.1-4.7-.6-6.9z"}),n=s.jsx("path",{fill:"#fff",d:"M11.2 14.3l7.3-4.3-7.3-4.3z"}),e[0]=i,e[1]=n):(i=e[0],n=e[1]);let l;return e[2]!==r?(l=s.jsxs("svg",{viewBox:"0 0 28 20",className:r,"aria-hidden":"true",focusable:"false",children:[i,n]}),e[2]=r,e[3]=l):l=e[3],l}function mt(){const t=$.c(27),e=O(),{hasSite:r}=lt();if(!r)return null;let i;t[0]!==e?(i=e("home.orgHome.trainingThumbnailAlt"),t[0]=e,t[1]=i):i=t[1];let n;t[2]!==i?(n=s.jsx("img",{src:"/cms-training.jpg",alt:i,className:"size-full object-cover"}),t[2]=i,t[3]=n):n=t[3];let l;t[4]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx("span",{className:"absolute inset-0 flex items-center justify-center bg-black/10 transition-colors group-hover:bg-black/20",children:s.jsx(ct,{className:"w-9"})}),t[4]=l):l=t[4];let a;t[5]!==n?(a=s.jsxs("div",{className:"relative aspect-video w-40 shrink-0 overflow-hidden rounded-lg",children:[n,l]}),t[5]=n,t[6]=a):a=t[6];let o;t[7]!==e?(o=e("home.orgHome.trainingEyebrow"),t[7]=e,t[8]=o):o=t[8];let c;t[9]!==o?(c=s.jsx("p",{className:"text-xs text-muted-foreground",children:o}),t[9]=o,t[10]=c):c=t[10];let m;t[11]!==e?(m=e("home.orgHome.trainingTitle"),t[11]=e,t[12]=m):m=t[12];let f;t[13]!==m?(f=s.jsx("h3",{className:"text-sm font-medium text-foreground",children:m}),t[13]=m,t[14]=f):f=t[14];let p;t[15]!==e?(p=e("home.orgHome.trainingDescription"),t[15]=e,t[16]=p):p=t[16];let d;t[17]!==p?(d=s.jsx("p",{className:"mt-0.5 line-clamp-2 text-xs text-muted-foreground",children:p}),t[17]=p,t[18]=d):d=t[18];let u;t[19]!==c||t[20]!==f||t[21]!==d?(u=s.jsxs("div",{className:"min-w-0 flex-1",children:[c,f,d]}),t[19]=c,t[20]=f,t[21]=d,t[22]=u):u=t[22];let x;t[23]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx(Be,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5"}),t[23]=x):x=t[23];let g;return t[24]!==u||t[25]!==a?(g=s.jsxs("a",{href:at,target:"_blank",rel:"noreferrer",onClick:ft,className:"group shadow-edge flex w-full items-center gap-4 rounded-2xl bg-card p-4 text-left transition-colors hover:bg-accent",children:[a,u,x]}),t[24]=u,t[25]=a,t[26]=g):g=t[26],g}function ft(){return F("cms_training_opened",{source:"org_home"})}const pt={morning:{named:"home.orgHome.greetingMorning",bare:"home.orgHome.greetingMorningBare"},afternoon:{named:"home.orgHome.greetingAfternoon",bare:"home.orgHome.greetingAfternoonBare"},evening:{named:"home.orgHome.greetingEvening",bare:"home.orgHome.greetingEveningBare"}};function ut(){const t=$.c(8),e=O();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(He,{className:"size-4 shrink-0 text-muted-foreground"}),t[0]=r):r=t[0];let i;t[1]!==e?(i=e("home.orgHome.searchPlaceholder"),t[1]=e,t[2]=i):i=t[2];let n;t[3]!==i?(n=s.jsx("span",{className:"min-w-0 flex-1 truncate text-sm text-muted-foreground",children:i}),t[3]=i,t[4]=n):n=t[4];let l;t[5]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx("kbd",{className:"shrink-0 rounded-md border border-border bg-muted px-1.5 py-0.5 text-2xs font-medium text-muted-foreground",children:"⌘K"}),t[5]=l):l=t[5];let a;return t[6]!==n?(a=s.jsxs("button",{type:"button","data-testid":"org-home-search",onClick:dt,className:"shadow-edge flex w-full items-center gap-2 rounded-xl bg-card px-3 py-2.5 text-left transition-colors hover:bg-accent",children:[r,n,l]}),t[6]=n,t[7]=a):a=t[7],a}function dt(){F("command_palette_opened",{source:"org_home_search"}),Ae()}function K(){const t=$.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"flex min-h-64 items-center justify-center",children:s.jsx(q,{className:"size-5 text-muted-foreground"})}),t[0]=e):e=t[0],e}function gt(t){const e=$.c(28),{canManageAgents:r}=t,i=O(),{org:n}=B();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={pageSize:1e3},e[0]=l):l=e[0];const a=V(l),o=he();let c,m,f;if(e[1]!==a||e[2]!==r||e[3]!==n||e[4]!==i||e[5]!==o){f=Symbol.for("react.early_return_sentinel");e:{let g;if(e[9]!==n?(g=j=>j.id!==n.id,e[9]=n,e[10]=g):g=e[10],c=Q(a).filter(g),c.length===0){let j;e[11]!==i?(j=i("routes.agentsList.noAgentsYet"),e[11]=i,e[12]=j):j=e[12];let b;e[13]!==r||e[14]!==i?(b=i(r?"home.orgAgents.importToGetStarted":"routes.agentsList.askAdminToCreate"),e[13]=r,e[14]=i,e[15]=b):b=e[15];let h;e[16]!==j||e[17]!==b?(h=s.jsx("div",{className:"flex items-center justify-center py-10",children:s.jsx(Ce,{actions:!1,image:null,title:j,description:b})}),e[16]=j,e[17]=b,e[18]=h):h=e[18],f=h;break e}m=xe(Z(c),o,null)}e[1]=a,e[2]=r,e[3]=n,e[4]=i,e[5]=o,e[6]=c,e[7]=m,e[8]=f}else c=e[6],m=e[7],f=e[8];if(f!==Symbol.for("react.early_return_sentinel"))return f;const p=m.length>0;let d;e[19]!==c?(d=s.jsx(it,{projects:c}),e[19]=c,e[20]=d):d=e[20];let u;e[21]!==c||e[22]!==p||e[23]!==o?(u=p&&s.jsx(je,{projects:c,tasks:o}),e[21]=c,e[22]=p,e[23]=o,e[24]=u):u=e[24];let x;return e[25]!==d||e[26]!==u?(x=s.jsxs("div",{className:"flex flex-col gap-12",children:[d,u]}),e[25]=d,e[26]=u,e[27]=x):x=e[27],x}function ht(){const t=$.c(55),e=O(),r=J("home_task_intake_enabled"),{data:i}=D.useSession(),[n,l]=R.useState(!1),{granted:a}=G("agents:manage");let o,c,m,f,p,d,u,x,g,j,b,h;if(t[0]!==a||t[1]!==i?.user?.name||t[2]!==e){const A=te(i?.user?.name),P=pt[ee(new Date().getHours())];let E;t[15]!==e?(E=oe=>s.jsxs(ce,{size:"sm",variant:"default",onClick:()=>{F("agent_create_clicked",{source:oe,method:"github"}),l(!0)},children:[s.jsx(we,{size:14}),e("home.orgAgents.importFromGitHub")]}),t[15]=e,t[16]=E):E=t[16];const L=E;m=M,t[17]!==a||t[18]!==L?(h=a&&s.jsx(M.Actions,{children:L("org_home")}),t[17]=a,t[18]=L,t[19]=h):h=t[19],c=M.Content,o=M.Container,j="reading",b="flex flex-col gap-12",u="flex flex-col items-center gap-12 text-center",t[20]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx(X,{dense:!1}),g=s.jsx(mt,{}),t[20]=x,t[21]=g):(x=t[20],g=t[21]),d="flex w-full flex-col items-center gap-5",f="text-3xl font-medium tracking-tight text-foreground",p=A?e(P.named,{name:A}):e(P.bare),t[0]=a,t[1]=i?.user?.name,t[2]=e,t[3]=o,t[4]=c,t[5]=m,t[6]=f,t[7]=p,t[8]=d,t[9]=u,t[10]=x,t[11]=g,t[12]=j,t[13]=b,t[14]=h}else o=t[3],c=t[4],m=t[5],f=t[6],p=t[7],d=t[8],u=t[9],x=t[10],g=t[11],j=t[12],b=t[13],h=t[14];let _;t[22]!==f||t[23]!==p?(_=s.jsx("h2",{className:f,children:p}),t[22]=f,t[23]=p,t[24]=_):_=t[24];let y;t[25]!==r?(y=r?s.jsx(R.Suspense,{fallback:s.jsx(K,{}),children:s.jsx(W,{children:s.jsx(U,{children:s.jsx(Y,{homeTaskComposer:!0})})})}):s.jsx(ut,{}),t[25]=r,t[26]=y):y=t[26];let N;t[27]!==y||t[28]!==d||t[29]!==_?(N=s.jsxs("div",{className:d,children:[_,y]}),t[27]=y,t[28]=d,t[29]=_,t[30]=N):N=t[30];let v;t[31]!==N||t[32]!==u||t[33]!==x||t[34]!==g?(v=s.jsxs("div",{className:u,children:[x,g,N]}),t[31]=N,t[32]=u,t[33]=x,t[34]=g,t[35]=v):v=t[35];let k;t[36]===Symbol.for("react.memo_cache_sentinel")?(k=s.jsx(K,{}),t[36]=k):k=t[36];let S;t[37]!==a?(S=s.jsx(R.Suspense,{fallback:k,children:s.jsx(gt,{canManageAgents:a})}),t[37]=a,t[38]=S):S=t[38];let w;t[39]!==o||t[40]!==v||t[41]!==S||t[42]!==j||t[43]!==b?(w=s.jsxs(o,{width:j,className:b,children:[v,S]}),t[39]=o,t[40]=v,t[41]=S,t[42]=j,t[43]=b,t[44]=w):w=t[44];let H;t[45]!==c||t[46]!==w?(H=s.jsx(c,{children:w}),t[45]=c,t[46]=w,t[47]=H):H=t[47];let C;t[48]!==n?(C=s.jsx($e,{open:n,onOpenChange:l}),t[48]=n,t[49]=C):C=t[49];let T;return t[50]!==m||t[51]!==H||t[52]!==C||t[53]!==h?(T=s.jsxs(m,{children:[h,H,C]}),t[50]=m,t[51]=H,t[52]=C,t[53]=h,t[54]=T):T=t[54],T}function xt(){return me()?s.jsx(qe,{}):s.jsx(ht,{})}function ar(){const t=$.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(fe.Content,{children:s.jsx(xt,{})}),t[0]=e):e=t[0],e}export{ar as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as A,d as U,u as q,ad as z,j as m,n as D}from"./index-jw3DdvOr.js";import{l as G,b as J,H as K}from"./location-V0VwTJTt.js";import{u as Q}from"./use-mobile-BhX1NLy5.js";import{u as V,C as B}from"./index-DEnpRpne.js";import{C as E,o as W,a as X,L as H}from"./context-shell-C1Kw7dMX.js";import{L as R}from"./preview-panel-BXi2z9ZS.js";import"./use-sidebar-collapsed-CQK6aXTW.js";import"./use-chat-layout-state-q8zIlEKg.js";import"./thread-route-EFpj5Q3M.js";import"./use-panel-navigate-DEgeFNQE.js";import"./use-project-scope-CgFUZ469.js";import"./repository-binding-DtKjkNiS.js";import"./use-mcp-client-D6ElS18M.js";import"./auth-BrPPgu4r.js";import"./thread-intent-Ccijo8FW.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-Br6EL-rz.js";import"./task-board-BHxUa5hm.js";import"./schema-78fwu3zk.js";import"./slugify-CEUa2lfQ.js";import"./agent-icon-DU_klZzF.js";import"./AlertCircle-DtaztSud.js";import"./Tool01-vy7Izsxy.js";import"./ArrowUp-KwZh_glX.js";import"./ArrowLeft-DmnRegLb.js";import"./LinkBroken01-BnY3fyy6.js";import"./ShoppingBag01-I9tolWb2.js";import"./ZoomOut-LrGtO3ok.js";import"./Building02-BeI22zso.js";import"./CheckCircle-C_ruRiGN.js";import"./ChevronUp-DreW1_TB.js";import"./ChevronSelectorVertical-bUzEqfWd.js";import"./UserSquare-hT13OTGf.js";import"./Copy01--5lfgwG0.js";import"./CreditCard01-K0Qwgk3o.js";import"./DotsVertical-C68Q-BAS.js";import"./Image01-vjhaiEAu.js";import"./Globe04-BOflVjCh.js";import"./SwitchHorizontal01-DCpSydRk.js";import"./Key01-DpH9OVIT.js";import"./Link01-D41TGySV.js";import"./Minus-CHN5Kpep.js";import"./Monitor01-e35w1jlr.js";import"./Sun-CrI4XUq_.js";import"./Play-D1B7OgmS.js";import"./Plus-uAJwOYwM.js";import"./SearchMd-B6NwptLV.js";import"./Trash01-BVc7E-zT.js";import"./Upload01-CbA0srCf.js";import"./Users01-DuFCVv-C.js";import"./XClose-Btox6E0t.js";import"./tooltip-DLcu2pQg.js";import"./index-B94lWY4a.js";import"./toolbar-icon-button-CJNt4JSM.js";import"./shell-layout-DGAwwzx5.js";import"./use-clock-tick-DvR_TVIp.js";import"./command-C4G9SDjd.js";import"./index-B7Z9Kjbd.js";import"./integration-icon-B9fBbTRM.js";import"./project-icon-xQhHEp3k.js";import"./new-project-dialog-ClHa96hl.js";import"./label-AxYpTX_1.js";import"./repository-import-picker-T9uxw-6-.js";import"./use-navigate-to-agent-DvIbqsvD.js";import"./repository-picker-BDi8y63n.js";import"./useInfiniteQuery-CcUhW7AW.js";import"./infiniteQueryObserver-gBCPzHMW.js";import"./collection-search-B_D1_L7e.js";import"./use-debounced-value-CG9ZLPPy.js";import"./use-organization-settings-D8VzrTTn.js";import"./required-auth-layout-B_ag2iIH.js";import"./autosend-6P1IADfg.js";import"./use-org-sso-UCXyI2OA.js";import"./sheet-CpISCuUN.js";import"./resizable-B3nlFFSB.js";import"./icon-button-tNw7Vtkn.js";import"./search-input-CPdh0iQL.js";import"./search-toggle-QzT5qdh_.js";import"./chat-context-BPhmNX7K.js";import"./use-decopilot-events-ksPa8i5N.js";import"./use-ai-providers-CDuQs1Ba.js";import"./use-org-fs-D0eNRBo9.js";import"./use-org-repo-syncs-DsydKk88.js";import"./textarea-B9s0J6-L.js";import"./markdown-BLdpFCyC.js";import"./use-copy-CFaa1ury.js";import"./file-share-button-CjybY8Tm.js";import"./popover-D_zqXHOI.js";import"./preview-dialog-BK9o5Sfr.js";import"./preview-content-CJ61-rUc.js";import"./file-preview-DPwUrUMN.js";import"./utils-Bt7oFx0a.js";import"./editor-DXRzzVaI.js";import"./file-type-icon-atKRN7rs.js";import"./folder-icon-C8drmX0B.js";import"./empty-state-B8Cr5koP.js";import"./toggle-group-DduyGFUi.js";import"./active-indicator-CCMhAsc_.js";import"./table-Cm1jH1V8.js";import"./require-capability-nIOBAh71.js";import"./access-gate-DGZVXonS.js";import"./capability-load-error-Ceg8IL6P.js";import"./sections-agVJaal8.js";import"./empty-state-DqSsZioU.js";function Ve(){const t=A.c(58),N=U();let v;t[0]===Symbol.for("react.memo_cache_sentinel")?(v={strict:!1},t[0]=v):v=t[0];const{preview:e,expanded:k,section:O}=q(v),b=z();let C;t[1]!==O?(C=W(O),t[1]=O,t[2]=C):C=t[2];const l=C;let y;t[3]!==N?(y=i=>N({to:".",search:r=>({...r,...i.path!==void 0&&{path:i.path},preview:i.preview,expanded:i.expanded})}),t[3]=N,t[4]=y):y=t[4];const o=y;let g;t[5]!==o?(g=()=>o({}),t[5]=o,t[6]=g):g=t[6];const p=g,F=Q(),w=V().threadOpen&&!F;if(b&&l!=="files"){let i;t[7]!==l?(i=m.jsx(X,{section:l}),t[7]=l,t[8]=i):i=t[8];let r;return t[9]!==l||t[10]!==i?(r=m.jsx(B.Content,{children:m.jsx(E,{section:l,children:i})}),t[9]=l,t[10]=i,t[11]=r):r=t[11],r}if(e&&(k||w)){let i,r,f,s,c;if(t[12]!==p||t[13]!==e||t[14]!==o){let T;t[20]!==e?(T=e.lastIndexOf("/"),t[20]=e,t[21]=T):T=t[21];const I=e.slice(0,Math.max(T,0));r=B.Content,i=D.Breadcrumbs,f="page",t[22]!==p?(s={onSelect:p},t[22]=p,t[23]=s):s=t[23];let L;t[24]!==o?(L=_=>({key:`folder:${_.path}`,label:_.label,onSelect:()=>o({path:_.path})}),t[24]=o,t[25]=L):L=t[25];const $=G(I,K).map(L);let j;t[26]!==e?(j=J(e),t[26]=e,t[27]=j):j=t[27];let M;t[28]!==j?(M={key:"file",label:j},t[28]=j,t[29]=M):M=t[29],c=[...$,M],t[12]=p,t[13]=e,t[14]=o,t[15]=i,t[16]=r,t[17]=f,t[18]=s,t[19]=c}else i=t[15],r=t[16],f=t[17],s=t[18],c=t[19];let d;t[30]!==i||t[31]!==f||t[32]!==s||t[33]!==c?(d=m.jsx(i,{after:f,parent:s,items:c}),t[30]=i,t[31]=f,t[32]=s,t[33]=c,t[34]=d):d=t[34];let x;t[35]!==w||t[36]!==e||t[37]!==o?(x=w?void 0:()=>o({preview:e}),t[35]=w,t[36]=e,t[37]=o,t[38]=x):x=t[38];let h;t[39]!==x?(h={expanded:!0,onToggle:x},t[39]=x,t[40]=h):h=t[40];let u;t[41]!==p||t[42]!==e||t[43]!==h?(u=m.jsx(R,{previewPath:e,onClose:p,expand:h},e),t[41]=p,t[42]=e,t[43]=h,t[44]=u):u=t[44];let S;return t[45]!==r||t[46]!==u||t[47]!==d?(S=m.jsxs(r,{children:[d,u]}),t[45]=r,t[46]=u,t[47]=d,t[48]=S):S=t[48],S}let a;t[49]!==p||t[50]!==e||t[51]!==o?(a=e&&m.jsx(R,{variant:"aside",previewPath:e,onClose:p,expand:{expanded:!1,onToggle:()=>o({preview:e,expanded:!0})}},e),t[49]=p,t[50]=e,t[51]=o,t[52]=a):a=t[52];let n;t[53]!==b?(n=b?m.jsx(E,{section:"files",children:m.jsx(H,{filePreview:"side",context:!0})}):m.jsx(H,{filePreview:"side"}),t[53]=b,t[54]=n):n=t[54];let P;return t[55]!==a||t[56]!==n?(P=m.jsx(B.Content,{aside:a,children:n}),t[55]=a,t[56]=n,t[57]=P):P=t[57],P}export{Ve as default};
|