decocms 4.532.0 → 4.532.2

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.
Files changed (428) hide show
  1. package/dist/client/assets/{ActiveShapeUtils-BwsFHzaV.js → ActiveShapeUtils-DenZ78VA.js} +1 -1
  2. package/dist/client/assets/{AlertCircle-DtaztSud.js → AlertCircle-BWrNX7mN.js} +1 -1
  3. package/dist/client/assets/{AreaChart-DJGtjQAP.js → AreaChart-DNs2YwPE.js} +1 -1
  4. package/dist/client/assets/{ArrowLeft-DmnRegLb.js → ArrowLeft-DHx5ko4s.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-KwZh_glX.js → ArrowUp-CyzDPNV4.js} +1 -1
  6. package/dist/client/assets/{BarChart-DQaObQAu.js → BarChart-CXwRHR1B.js} +1 -1
  7. package/dist/client/assets/{Building02-BeI22zso.js → Building02-DhL5SQYW.js} +1 -1
  8. package/dist/client/assets/{CartesianChart-wzAyuumX.js → CartesianChart-bUujzX18.js} +1 -1
  9. package/dist/client/assets/{CategoricalChart-BEpkg4nV.js → CategoricalChart-hUgIZ_pD.js} +1 -1
  10. package/dist/client/assets/{CheckCircle-C_ruRiGN.js → CheckCircle-BJwUqTIe.js} +1 -1
  11. package/dist/client/assets/{ChevronSelectorVertical-bUzEqfWd.js → ChevronSelectorVertical-BsFKOzFl.js} +1 -1
  12. package/dist/client/assets/{ChevronUp-DreW1_TB.js → ChevronUp-BsFnjeNK.js} +1 -1
  13. package/dist/client/assets/{Copy01--5lfgwG0.js → Copy01-BMtss9AJ.js} +1 -1
  14. package/dist/client/assets/{CreditCard01-K0Qwgk3o.js → CreditCard01-DpJ5HaJ6.js} +1 -1
  15. package/dist/client/assets/{DotsVertical-C68Q-BAS.js → DotsVertical-7Rm5ttPh.js} +1 -1
  16. package/dist/client/assets/{ErrorBarContext-CYra1jMF.js → ErrorBarContext-B8n7TKqU.js} +1 -1
  17. package/dist/client/assets/{Globe04-BOflVjCh.js → Globe04-BJeMTkc9.js} +1 -1
  18. package/dist/client/assets/{Image01-vjhaiEAu.js → Image01-B1C03E_N.js} +1 -1
  19. package/dist/client/assets/{Key01-DpH9OVIT.js → Key01-AhMvx8Bf.js} +1 -1
  20. package/dist/client/assets/{Link01-D41TGySV.js → Link01-p8humFYG.js} +1 -1
  21. package/dist/client/assets/{LinkBroken01-BnY3fyy6.js → LinkBroken01-C5q0tEvS.js} +1 -1
  22. package/dist/client/assets/{Minus-CHN5Kpep.js → Minus-BMakGco3.js} +1 -1
  23. package/dist/client/assets/{Monitor01-e35w1jlr.js → Monitor01-CLwaIfNu.js} +1 -1
  24. package/dist/client/assets/{Play-D1B7OgmS.js → Play-BoOYKEkH.js} +1 -1
  25. package/dist/client/assets/{Plus-uAJwOYwM.js → Plus-D7X276kv.js} +1 -1
  26. package/dist/client/assets/{ReferenceLine-Dqn9rIuK.js → ReferenceLine-UiDLzqoj.js} +1 -1
  27. package/dist/client/assets/{SearchMd-B6NwptLV.js → SearchMd-BzDAUJSU.js} +1 -1
  28. package/dist/client/assets/{Sector-Bjn485EV.js → Sector-DZu8Iagq.js} +1 -1
  29. package/dist/client/assets/{ShoppingBag01-I9tolWb2.js → ShoppingBag01-UnxomIP0.js} +1 -1
  30. package/dist/client/assets/{Sun-CrI4XUq_.js → Sun-B5QvK7X9.js} +1 -1
  31. package/dist/client/assets/{SwitchHorizontal01-DCpSydRk.js → SwitchHorizontal01-Dr_PPdbH.js} +1 -1
  32. package/dist/client/assets/{Tool01-vy7Izsxy.js → Tool01-OTauJJp3.js} +1 -1
  33. package/dist/client/assets/{Trash01-BVc7E-zT.js → Trash01-DzCXEeuM.js} +1 -1
  34. package/dist/client/assets/{Upload01-CbA0srCf.js → Upload01-2E_Vrojt.js} +1 -1
  35. package/dist/client/assets/{UserSquare-hT13OTGf.js → UserSquare-CmbcjiWL.js} +1 -1
  36. package/dist/client/assets/{Users01-DuFCVv-C.js → Users01-BFgiCQPh.js} +1 -1
  37. package/dist/client/assets/{XClose-Btox6E0t.js → XClose-BF4dTiHJ.js} +1 -1
  38. package/dist/client/assets/{ZoomOut-LrGtO3ok.js → ZoomOut-BIPVG3Mi.js} +1 -1
  39. package/dist/client/assets/{access-gate-DGZVXonS.js → access-gate-BrHHSKUI.js} +1 -1
  40. package/dist/client/assets/{add-connection-dialog-DPRdB-7o.js → add-connection-dialog-84lGCknH.js} +1 -1
  41. package/dist/client/assets/agent-analytics-CaqNBpQA.js +2 -0
  42. package/dist/client/assets/agent-app-DjBhUw5o.js +1 -0
  43. package/dist/client/assets/agent-assets-DkTI28JC.js +1 -0
  44. package/dist/client/assets/{agent-automation-BucrJFus.js → agent-automation-F0B4MP-_.js} +2 -2
  45. package/dist/client/assets/agent-automations-cb9A7zzk.js +1 -0
  46. package/dist/client/assets/agent-calendar-B3d7D0Bd.js +1 -0
  47. package/dist/client/assets/agent-connect-sources-D2B4_Vnn.js +1 -0
  48. package/dist/client/assets/agent-deck-5QYiPo7g.js +1 -0
  49. package/dist/client/assets/agent-e2e-COljZ8mH.js +1 -0
  50. package/dist/client/assets/agent-experiments-DbScA798.js +1 -0
  51. package/dist/client/assets/agent-file-BWUqgQfU.js +1 -0
  52. package/dist/client/assets/agent-hosting-DQRni5C3.js +1 -0
  53. package/dist/client/assets/{agent-icon-DU_klZzF.js → agent-icon-DMLbHyqZ.js} +1 -1
  54. package/dist/client/assets/agent-library-Dn9V9HRF.js +1 -0
  55. package/dist/client/assets/agent-library-file-DwvWIojZ.js +1 -0
  56. package/dist/client/assets/agent-monitor-BfOHieYM.js +1 -0
  57. package/dist/client/assets/agent-overview-DQfGfiWL.js +1 -0
  58. package/dist/client/assets/agent-releases-DmNYUENl.js +2 -0
  59. package/dist/client/assets/agent-settings-BBVQpT76.js +1 -0
  60. package/dist/client/assets/{agent-site-editor-C_Hb6OuH.js → agent-site-editor-LiXNvVzd.js} +2 -2
  61. package/dist/client/assets/agent-site-editor-code-DaRLEV5p.js +2 -0
  62. package/dist/client/assets/agent-site-editor-content--qfnrcml.js +1 -0
  63. package/dist/client/assets/agent-site-editor-preview-BUTGq7zp.js +1 -0
  64. package/dist/client/assets/agent-view-CsFo6WNW.js +1 -0
  65. package/dist/client/assets/{agent-view-guard-DbvBrF0u.js → agent-view-guard-CIzLYG9Z.js} +1 -1
  66. package/dist/client/assets/{agents-list-Bu6ApeAs.js → agents-list-JqKBXhBb.js} +1 -1
  67. package/dist/client/assets/{ai-providers-CX0MNezq.js → ai-providers-BMdVqDyj.js} +1 -1
  68. package/dist/client/assets/{alert-DAT45VoU.js → alert-BAjsKun9.js} +1 -1
  69. package/dist/client/assets/{analytics-sections-ta2rZOgT.js → analytics-sections-2r9JgnkF.js} +1 -1
  70. package/dist/client/assets/api-keys-DOllUAfq.js +1 -0
  71. package/dist/client/assets/{api-keys-ydOxTkFM.js → api-keys-D_a2AabQ.js} +1 -1
  72. package/dist/client/assets/app-editor-hGtjMe2U.js +1 -0
  73. package/dist/client/assets/{asset-utils-CNLu4ncG.js → asset-utils-BljmC-O4.js} +1 -1
  74. package/dist/client/assets/{auth-BrPPgu4r.js → auth-BawzvLgB.js} +1 -1
  75. package/dist/client/assets/{auth-catchall-snzcHqzQ.js → auth-catchall-L4otHxQ4.js} +1 -1
  76. package/dist/client/assets/{auth-entry-CNvBXoES.js → auth-entry-DHl3Qa2p.js} +1 -1
  77. package/dist/client/assets/{auth-split-layout-BQ5peFQ8.js → auth-split-layout-Bpnft0WY.js} +1 -1
  78. package/dist/client/assets/{authenticate-and-persist-oauth-O0IrG3Sw.js → authenticate-and-persist-oauth-CL5vwYY0.js} +1 -1
  79. package/dist/client/assets/{automation-list-row-DVPOR6sy.js → automation-list-row-B1qIGbz-.js} +1 -1
  80. package/dist/client/assets/{automation-runs-CZ4Ynyjk.js → automation-runs-Dgzto0gK.js} +1 -1
  81. package/dist/client/assets/{automations-DFJ2R8Aq.js → automations-C5lyWSek.js} +1 -1
  82. package/dist/client/assets/{autosend-6P1IADfg.js → autosend-BSe8DnJN.js} +1 -1
  83. package/dist/client/assets/{badge-_4T6Jr1d.js → badge-Dk9QaMHv.js} +1 -1
  84. package/dist/client/assets/{block-document-4o0WYdTe.js → block-document-DlaqZi3o.js} +1 -1
  85. package/dist/client/assets/{blocks-preview-workspace-context-Bz9GrXiv.js → blocks-preview-workspace-context-BzMwrhCE.js} +1 -1
  86. package/dist/client/assets/{blocks-tab-states-MX6TAPcT.js → blocks-tab-states-B7iQVWp6.js} +1 -1
  87. package/dist/client/assets/{blog-schema-DRpnmDTv.js → blog-schema-BHmzvrMx.js} +1 -1
  88. package/dist/client/assets/{buckets-Dm5WDzLr.js → buckets-CVEqMqkM.js} +1 -1
  89. package/dist/client/assets/{build-improve-prompt-doc-CKhkT5-k.js → build-improve-prompt-doc-B6DMhmUe.js} +1 -1
  90. package/dist/client/assets/{calendar-2BS3l1pX.js → calendar-nGMQX5H2.js} +1 -1
  91. package/dist/client/assets/{capability-load-error-Ceg8IL6P.js → capability-load-error-BX1SCP0_.js} +1 -1
  92. package/dist/client/assets/category-editor-B4n2VHEp.js +1 -0
  93. package/dist/client/assets/{cdn-tab-BWEFzZ0D.js → cdn-tab-BPWLqXqs.js} +1 -1
  94. package/dist/client/assets/{chart-DHkCLdo5.js → chart-BOjeMD0e.js} +1 -1
  95. package/dist/client/assets/{chat-context-BPhmNX7K.js → chat-context-D2EaExW5.js} +1 -1
  96. package/dist/client/assets/{chat-draft-5-kbjuW7.js → chat-draft-C-EHUjTp.js} +1 -1
  97. package/dist/client/assets/{checkbox-B-dBQ4c_.js → checkbox--Oh7M1o0.js} +1 -1
  98. package/dist/client/assets/{choose-editor-CWeDgkwn.js → choose-editor-CHcjiEH4.js} +1 -1
  99. package/dist/client/assets/{cli-auth-success-BLV2TH4H.js → cli-auth-success-BfeyrT2F.js} +1 -1
  100. package/dist/client/assets/{client-icons-ff1hOdfW.js → client-icons-DQkGfKDh.js} +1 -1
  101. package/dist/client/assets/cms-settings-editor-DwJYbiAD.js +1 -0
  102. package/dist/client/assets/{collapsible-CTko-JTD.js → collapsible-DTK_WJix.js} +1 -1
  103. package/dist/client/assets/collection-detail-C0KsWIh2.js +1 -0
  104. package/dist/client/assets/{collection-display-button-BlJQajZP.js → collection-display-button-K6Znqj-g.js} +1 -1
  105. package/dist/client/assets/{collection-search-B_D1_L7e.js → collection-search-Qr0hkbHz.js} +1 -1
  106. package/dist/client/assets/{collection-table-wrapper-sn5_7qmL.js → collection-table-wrapper-D6zxNCnG.js} +1 -1
  107. package/dist/client/assets/{collection-tabs-CKeKixSq.js → collection-tabs-Ma8F53u0.js} +1 -1
  108. package/dist/client/assets/{column-rules-D3LxXG3d.js → column-rules-IVYKsmdv.js} +1 -1
  109. package/dist/client/assets/{combobox-BuPlX0go.js → combobox-BDOw2yEp.js} +1 -1
  110. package/dist/client/assets/{command-C4G9SDjd.js → command-MDi6OAC1.js} +1 -1
  111. package/dist/client/assets/{companion-mcps-section-D7Q1_FJ0.js → companion-mcps-section-CVi8OvfW.js} +1 -1
  112. package/dist/client/assets/{config-WCiNXzjt.js → config-Dym8HnZx.js} +1 -1
  113. package/dist/client/assets/{connect-DLGiSP8T.js → connect-fTG8J5lb.js} +1 -1
  114. package/dist/client/assets/{connect-layout-CNNNLoN2.js → connect-layout-CZZqsNI2.js} +1 -1
  115. package/dist/client/assets/{connect-source-dialog-Cg4v3gLs.js → connect-source-dialog-CncrwAT8.js} +1 -1
  116. package/dist/client/assets/{connection-CzlaCPJq.js → connection-O8PnXJZi.js} +1 -1
  117. package/dist/client/assets/{connection-card-CjGnO0Ri.js → connection-card-RdKzW886.js} +1 -1
  118. package/dist/client/assets/{connection-detail-D365Js6w.js → connection-detail-DnfNkGSf.js} +1 -1
  119. package/dist/client/assets/{connection-form-helpers-CawPAK_n.js → connection-form-helpers-DVNTeSdC.js} +1 -1
  120. package/dist/client/assets/{connections-DbN9BdDL.js → connections-ByI0uD_U.js} +1 -1
  121. package/dist/client/assets/{content-tab-C1tQDTq7.js → content-tab-2K6f0sFB.js} +3 -3
  122. package/dist/client/assets/context-Dgv8u1kZ.js +1 -0
  123. package/dist/client/assets/{context-menu-Bd0pwq73.js → context-menu-_6aSLrNv.js} +1 -1
  124. package/dist/client/assets/{context-shell-C1Kw7dMX.js → context-shell-Dkh3MlNJ.js} +3 -3
  125. package/dist/client/assets/{core.esm-zhMGnPAC.js → core.esm-Co0itmj7.js} +1 -1
  126. package/dist/client/assets/{create-organization-dialog-DZOV2tdP.js → create-organization-dialog-QEydhapH.js} +1 -1
  127. package/dist/client/assets/{daily-pulse-CDcSWhDN.js → daily-pulse-D_SGGhIw.js} +1 -1
  128. package/dist/client/assets/discover-DmiBR0qW.js +1 -0
  129. package/dist/client/assets/{domain-settings-DxPYhNKL.js → domain-settings-Cf2W5c-a.js} +1 -1
  130. package/dist/client/assets/{drawer-DwHfH-sA.js → drawer-DgxlyKrC.js} +1 -1
  131. package/dist/client/assets/{editor-DXRzzVaI.js → editor-BlDtkpHT.js} +1 -1
  132. package/dist/client/assets/{editor-classes-B7ulbs0R.js → editor-classes-DHW6XsZP.js} +1 -1
  133. package/dist/client/assets/{empty-state-DqSsZioU.js → empty-state-CnCcC-8N.js} +1 -1
  134. package/dist/client/assets/{empty-state-B8Cr5koP.js → empty-state-DQH-DiCp.js} +1 -1
  135. package/dist/client/assets/{experiments-tab-DBTc5aio.js → experiments-tab-DN2DbmCx.js} +1 -1
  136. package/dist/client/assets/{experiments-tab-choice-CrG17v1a.js → experiments-tab-choice-B2cKHyhG.js} +1 -1
  137. package/dist/client/assets/{extract-connection-data-Dla-1nU5.js → extract-connection-data-BRZSg9CO.js} +1 -1
  138. package/dist/client/assets/{feature-gate-D5llTI9B.js → feature-gate-x6qhrhaG.js} +1 -1
  139. package/dist/client/assets/{feature-paywall-CtXPfbqb.js → feature-paywall-CypZbR93.js} +1 -1
  140. package/dist/client/assets/file-explorer-DG9-Rlc5.js +2 -0
  141. package/dist/client/assets/{file-preview-DPwUrUMN.js → file-preview-C4Z-YwH_.js} +1 -1
  142. package/dist/client/assets/{file-share-button-CjybY8Tm.js → file-share-button-DKZ7oEEn.js} +1 -1
  143. package/dist/client/assets/{file-type-icon-atKRN7rs.js → file-type-icon-BrZE8mnq.js} +1 -1
  144. package/dist/client/assets/{folder-icon-C8drmX0B.js → folder-icon-C8Dw6D6B.js} +1 -1
  145. package/dist/client/assets/{form-CvnFBQeW.js → form-DAT0TK1w.js} +1 -1
  146. package/dist/client/assets/{general-g7FZh5JJ.js → general-PUVNuDbw.js} +1 -1
  147. package/dist/client/assets/{held-block-view-DC6RQ2ea.js → held-block-view-rTOQRrzA.js} +3 -3
  148. package/dist/client/assets/home-B7Ic73m_.js +1 -0
  149. package/dist/client/assets/{hosted-publish-feedback-Bw27VuV1.js → hosted-publish-feedback-BYd2t20V.js} +1 -1
  150. package/dist/client/assets/{icon-button-tNw7Vtkn.js → icon-button-DIxoXQKV.js} +1 -1
  151. package/dist/client/assets/{index-B7Z9Kjbd.js → index-7SN0ucfq.js} +1 -1
  152. package/dist/client/assets/{index-DEnpRpne.js → index-BIIhX81I.js} +1 -1
  153. package/dist/client/assets/{index-CjaC6Nzi.js → index-BYpbKN34.js} +1 -1
  154. package/dist/client/assets/{index-6v-K5Cxc.js → index-BZRrEhsu.js} +1 -1
  155. package/dist/client/assets/{index-D-3p39v6.js → index-CQj5kSP7.js} +1 -1
  156. package/dist/client/assets/{index-eCzOjcqZ.js → index-Ca4Q75r_.js} +1 -1
  157. package/dist/client/assets/{index-DJ9iifq3.js → index-CjPh5dsm.js} +1 -1
  158. package/dist/client/assets/{index-BmrPuilw.js → index-CquZHSaS.js} +1 -1
  159. package/dist/client/assets/{index-CRRvfbCE.js → index-Cuqx2rXt.js} +1 -1
  160. package/dist/client/assets/{index-jw3DdvOr.js → index-Cxx5SZO5.js} +72 -72
  161. package/dist/client/assets/index-DJP2Tw2D.css +1 -0
  162. package/dist/client/assets/{index-CvUkMVxT.js → index-DZn-HYwc.js} +1 -1
  163. package/dist/client/assets/{index-dussYvC6.js → index-DbfDgKss.js} +1 -1
  164. package/dist/client/assets/{index-BcdLONw1.js → index-TAei2O9I.js} +2 -2
  165. package/dist/client/assets/{index-B8MW0sM8.js → index-qt5sLImf.js} +1 -1
  166. package/dist/client/assets/{index-redirect-54mWoDNH.js → index-redirect-C2mEcSuz.js} +1 -1
  167. package/dist/client/assets/{index-B94lWY4a.js → index-z9eosAhj.js} +1 -1
  168. package/dist/client/assets/{infiniteQueryObserver-gBCPzHMW.js → infiniteQueryObserver-B9PBW4Q3.js} +1 -1
  169. package/dist/client/assets/{infra-billing-CXAOc9fj.js → infra-billing-Cdw4wy6i.js} +1 -1
  170. package/dist/client/assets/{input-BaD0fonC.js → input-BFXymFUo.js} +1 -1
  171. package/dist/client/assets/{input-B5josieU.js → input-dt9X0pvp.js} +3 -3
  172. package/dist/client/assets/{integration-icon-B9fBbTRM.js → integration-icon-DGyeG5wp.js} +1 -1
  173. package/dist/client/assets/{jira-icon-Bv5ageBy.js → jira-icon-aE2LRXUv.js} +1 -1
  174. package/dist/client/assets/{label-AxYpTX_1.js → label-Ctu3ACGH.js} +1 -1
  175. package/dist/client/assets/{layout-B5vknD3M.js → layout-BBi67rPP.js} +1 -1
  176. package/dist/client/assets/{legacy-agents-deep-BFbHZHpR.js → legacy-agents-deep-DXm2VUys.js} +1 -1
  177. package/dist/client/assets/{legacy-main-redirect-BJmOQ_Qr.js → legacy-main-redirect-xLzp4sos.js} +1 -1
  178. package/dist/client/assets/library-DXmyt1Gx.js +1 -0
  179. package/dist/client/assets/{login-Buyl7JH1.js → login-C4ik3KAa.js} +1 -1
  180. package/dist/client/assets/{markdown-BLdpFCyC.js → markdown-CWAWXi60.js} +1 -1
  181. package/dist/client/assets/{mcp-app-renderer-DRzRUUGp.js → mcp-app-renderer-C2UU8TPW.js} +1 -1
  182. package/dist/client/assets/{mcp-oauth-D7qBhGvW.js → mcp-oauth-BgczWCl7.js} +1 -1
  183. package/dist/client/assets/{mcp-oauth-GHz9sJ7e.js → mcp-oauth-DPnnrdpS.js} +1 -1
  184. package/dist/client/assets/{members-Bf_F_O6R.js → members-DYgO8xeR.js} +1 -1
  185. package/dist/client/assets/{memory-BcKxkoiN.js → memory-8RSHKutI.js} +1 -1
  186. package/dist/client/assets/{mini-report-page-sWiMdQYS.js → mini-report-page-Cok-AWQD.js} +1 -1
  187. package/dist/client/assets/{mock-board-B4kACMFO.js → mock-board-Nc8P3HCB.js} +3 -3
  188. package/dist/client/assets/{monaco-editor-VsGaeTlY.js → monaco-editor-D4Zh5ulV.js} +1 -1
  189. package/dist/client/assets/monitoring-00U9_JaZ.js +1 -0
  190. package/dist/client/assets/{monitoring-stats-row-Dgt34E1T.js → monitoring-stats-row-Bo4buMTd.js} +1 -1
  191. package/dist/client/assets/{multi-select-B_sjogy6.js → multi-select-Dgh7zCRl.js} +1 -1
  192. package/dist/client/assets/{mustache-yKDCM4Gl.js → mustache-BUKtJZnS.js} +1 -1
  193. package/dist/client/assets/{named-rule-uses-CX5osBfn.js → named-rule-uses-CILvps79.js} +1 -1
  194. package/dist/client/assets/{new-project-dialog-ClHa96hl.js → new-project-dialog-C8Z9rxsK.js} +1 -1
  195. package/dist/client/assets/{oauth-callback-AefR7v5s.js → oauth-callback-CE7Uxghr.js} +1 -1
  196. package/dist/client/assets/{oauth-callback-ai-provider-D9A1qCvL.js → oauth-callback-ai-provider-CFmbF-CP.js} +1 -1
  197. package/dist/client/assets/{onboarding-DO2y_lRI.js → onboarding-mOv2Iyev.js} +1 -1
  198. package/dist/client/assets/{openai-conversation-CSJziSbn.js → openai-conversation-DziaKIXJ.js} +1 -1
  199. package/dist/client/assets/{optimistic-project-sidebar-views-DX1F54lH.js → optimistic-project-sidebar-views-BA4lpO5g.js} +1 -1
  200. package/dist/client/assets/{order-monitor-day-DIAgF4SE.js → order-monitor-day-BBlstwBq.js} +1 -1
  201. package/dist/client/assets/{organization-choice-BODVS_va.js → organization-choice--RODmYz9.js} +1 -1
  202. package/dist/client/assets/{orgs-CNLkPAm7.js → orgs-cjaXJmLi.js} +1 -1
  203. package/dist/client/assets/{page-seo-form-qY5CYRud.js → page-seo-form-EchOknJY.js} +1 -1
  204. package/dist/client/assets/{pair-OxCQAaus.js → pair-D81VUoh8.js} +1 -1
  205. package/dist/client/assets/{parse-sections-z_HKctjD.js → parse-sections-DqiKgsi7.js} +1 -1
  206. package/dist/client/assets/plan-D1zAf_A4.js +1 -0
  207. package/dist/client/assets/{plan-ladder-CKUbxlnA.js → plan-ladder-BM0vfuMg.js} +1 -1
  208. package/dist/client/assets/{popover-D_zqXHOI.js → popover-Cf5bE8mq.js} +1 -1
  209. package/dist/client/assets/post-calendar-YSAaYkEq.js +1 -0
  210. package/dist/client/assets/{post-editor-HGgKbrI4.js → post-editor-BhE1Cpdl.js} +2 -2
  211. package/dist/client/assets/{preview-content-CJ61-rUc.js → preview-content-CD6AbYC3.js} +1 -1
  212. package/dist/client/assets/{preview-dialog-BK9o5Sfr.js → preview-dialog-CDAUzIIz.js} +1 -1
  213. package/dist/client/assets/{preview-panel-BXi2z9ZS.js → preview-panel-CSWXyf1I.js} +1 -1
  214. package/dist/client/assets/{preview-tab-DcoTzGz1.js → preview-tab-C8fq_RoO.js} +3 -3
  215. package/dist/client/assets/{product-picker-dialog-C07nOSmf.js → product-picker-dialog-CxqpXPuE.js} +1 -1
  216. package/dist/client/assets/{profile-cTk6HZeq.js → profile-CqAQF01N.js} +1 -1
  217. package/dist/client/assets/project-app-view-D3SaQmET.js +1 -0
  218. package/dist/client/assets/{project-apps-CdmH-juT.js → project-apps-CcjoYUnG.js} +1 -1
  219. package/dist/client/assets/{project-feed-CccYGCuU.js → project-feed-BwJVQ7vC.js} +1 -1
  220. package/dist/client/assets/{project-icon-xQhHEp3k.js → project-icon-iIrZc685.js} +1 -1
  221. package/dist/client/assets/project-reports-BMuAb39w.js +1 -0
  222. package/dist/client/assets/project-tasks-DoKHGxuy.js +1 -0
  223. package/dist/client/assets/{projects-IW3VI19D.js → projects-B1CcZpiT.js} +1 -1
  224. package/dist/client/assets/{projects-empty-state-BEGBHesv.js → projects-empty-state-Bv5rWYhh.js} +1 -1
  225. package/dist/client/assets/{prompts-DsqH7xMN.js → prompts-Cf1xjNSu.js} +1 -1
  226. package/dist/client/assets/record-editor-AV1QHLlq.js +1 -0
  227. package/dist/client/assets/redirect-editor-DIiWED7H.js +1 -0
  228. package/dist/client/assets/{releases-api-CsaPRJw2.js → releases-api-DGvWHx7z.js} +1 -1
  229. package/dist/client/assets/reports-BNzwh8kk.js +1 -0
  230. package/dist/client/assets/{reports-CUlpuQ2Z.js → reports-DzSrMl4z.js} +1 -1
  231. package/dist/client/assets/{reports-onboarding-B2pSWrRV.js → reports-onboarding-BME_pd6z.js} +1 -1
  232. package/dist/client/assets/reports-tab-BXCeTXce.js +2 -0
  233. package/dist/client/assets/{repositories-CpN7bETs.js → repositories-Cfi5wijd.js} +1 -1
  234. package/dist/client/assets/repositories-yB6zWwua.js +1 -0
  235. package/dist/client/assets/{repository-binding-DtKjkNiS.js → repository-binding-CkScpIsb.js} +1 -1
  236. package/dist/client/assets/{repository-import-picker-T9uxw-6-.js → repository-import-picker-BS8H9PxV.js} +1 -1
  237. package/dist/client/assets/{repository-picker-BDi8y63n.js → repository-picker-l4M27wFx.js} +1 -1
  238. package/dist/client/assets/{require-capability-nIOBAh71.js → require-capability-DLhsbUyc.js} +1 -1
  239. package/dist/client/assets/{required-auth-layout-B_ag2iIH.js → required-auth-layout-CulRsSVA.js} +1 -1
  240. package/dist/client/assets/{reset-password-BtxS108c.js → reset-password-CfDFawIV.js} +1 -1
  241. package/dist/client/assets/{resizable-B3nlFFSB.js → resizable-BFC1GeuR.js} +1 -1
  242. package/dist/client/assets/{resolve-tab-icon-DXMIcSK3.js → resolve-tab-icon-BsW126zu.js} +1 -1
  243. package/dist/client/assets/{review-settings-BCmy9X9w.js → review-settings-BayMZpjl.js} +1 -1
  244. package/dist/client/assets/roles-DjGn6KVP.js +1 -0
  245. package/dist/client/assets/route-BR5FTjOO.js +1 -0
  246. package/dist/client/assets/route-EfequOdl.js +1 -0
  247. package/dist/client/assets/route-iXyqQPnW.js +1 -0
  248. package/dist/client/assets/{sandbox-lifecycle-context-Cr7WUuDz.js → sandbox-lifecycle-context-Dz_wNlv5.js} +1 -1
  249. package/dist/client/assets/{schema-wV4JUbYo.js → schema-B6wL-gff.js} +1 -1
  250. package/dist/client/assets/{schema-78fwu3zk.js → schema-WheR11j2.js} +1 -1
  251. package/dist/client/assets/{scroll-area-DfV0OgKi.js → scroll-area-rwjRqyfO.js} +1 -1
  252. package/dist/client/assets/{search-input-CPdh0iQL.js → search-input-CzCH_VIY.js} +1 -1
  253. package/dist/client/assets/{search-toggle-QzT5qdh_.js → search-toggle-BLa7geCi.js} +1 -1
  254. package/dist/client/assets/{secret-picker-D0FfmGN6.js → secret-picker-3QlkMO3w.js} +1 -1
  255. package/dist/client/assets/{secrets-L2yyTEJV.js → secrets-BhKAJ53J.js} +1 -1
  256. package/dist/client/assets/{section-array-field-Dr6WXwVQ.js → section-array-field-D9y7NMQM.js} +1 -1
  257. package/dist/client/assets/{sections-agVJaal8.js → sections-DvRVP9Dz.js} +1 -1
  258. package/dist/client/assets/sections-editor-Cy509EcE.js +1 -0
  259. package/dist/client/assets/{select-DQCVbj5T.js → select-UpCSfNOV.js} +1 -1
  260. package/dist/client/assets/{select-model-DmTLEUs6.js → select-model-xVaNPfcs.js} +1 -1
  261. package/dist/client/assets/seo-editor-BO3Jt0hb.js +1 -0
  262. package/dist/client/assets/{separator-B4y24369.js → separator-BPjv6lnz.js} +1 -1
  263. package/dist/client/assets/settings-tab-BFy7GozF.js +1 -0
  264. package/dist/client/assets/{sheet-CpISCuUN.js → sheet-COugYrjn.js} +1 -1
  265. package/dist/client/assets/shell-layout-e38uIahb.js +1 -0
  266. package/dist/client/assets/{site-draft-actions-D5J4u3-G.js → site-draft-actions-BXCMIWnV.js} +1 -1
  267. package/dist/client/assets/{site-draft-view-Dpvxra5M.js → site-draft-view-BfiVi6ch.js} +2 -2
  268. package/dist/client/assets/site-editor-BSPzYjtA.js +1 -0
  269. package/dist/client/assets/{site-editor-toast-DMNMCEOx.js → site-editor-toast-BafJU0kP.js} +1 -1
  270. package/dist/client/assets/{skills-BoFU4NLH.js → skills-Dw8G18Wk.js} +1 -1
  271. package/dist/client/assets/{slider-QCpv6LMm.js → slider-CW5CKPMF.js} +1 -1
  272. package/dist/client/assets/{sortable.esm-DEwGuCnL.js → sortable.esm-BfvWiQ7R.js} +1 -1
  273. package/dist/client/assets/{sso-CQ00JKfM.js → sso-C-6FjTmB.js} +1 -1
  274. package/dist/client/assets/{suggestion-BAlr69L-.js → suggestion-DmUPHSiw.js} +1 -1
  275. package/dist/client/assets/{switch-To5TyIkS.js → switch-C5GqEaZ9.js} +1 -1
  276. package/dist/client/assets/{symbol-DnfVmC0I.js → symbol-B_TAz0Ej.js} +1 -1
  277. package/dist/client/assets/{synced-repos-CW07ys29.js → synced-repos-BvOzTrqp.js} +1 -1
  278. package/dist/client/assets/{tab-icon-glyph-C3xAvHpF.js → tab-icon-glyph-CjnfHMM2.js} +1 -1
  279. package/dist/client/assets/{table-Cm1jH1V8.js → table-B203jObX.js} +1 -1
  280. package/dist/client/assets/{tabs-DgcKTFd2.js → tabs-DFO0cUd4.js} +1 -1
  281. package/dist/client/assets/{task-assignee-avatar-C9KHH6o7.js → task-assignee-avatar-Dcgi6zr9.js} +1 -1
  282. package/dist/client/assets/{task-board-BHxUa5hm.js → task-board-D0I9TrF7.js} +1 -1
  283. package/dist/client/assets/{task-route-BcKr-6il.js → task-route-F6hd-KVw.js} +1 -1
  284. package/dist/client/assets/{task-status-CihJb7N-.js → task-status-OQPi7i4V.js} +1 -1
  285. package/dist/client/assets/taskboard-analytics-eo8rY3BR.js +1 -0
  286. package/dist/client/assets/{tasks-DmkTP1d2.js → tasks-Bkp6Ztlp.js} +1 -1
  287. package/dist/client/assets/tasks-ofNfVL13.js +1 -0
  288. package/dist/client/assets/{textarea-B9s0J6-L.js → textarea-xiPVXzgn.js} +1 -1
  289. package/dist/client/assets/thread-analytics-D1pWKSrS.js +1 -0
  290. package/dist/client/assets/{thread-intent-Ccijo8FW.js → thread-intent-DJ7MUI-X.js} +1 -1
  291. package/dist/client/assets/{thread-route-BVfnsSUg.js → thread-route-DwUdsrkJ.js} +1 -1
  292. package/dist/client/assets/{thread-route-EFpj5Q3M.js → thread-route-p_tHH1KN.js} +1 -1
  293. package/dist/client/assets/{thread-sheet-body-CZDpkSjN.js → thread-sheet-body-B5yV21k9.js} +1 -1
  294. package/dist/client/assets/{time-range-picker--2ATryhW.js → time-range-picker-B9K0oYAh.js} +1 -1
  295. package/dist/client/assets/{toggle-group-DduyGFUi.js → toggle-group-epTzYWN_.js} +1 -1
  296. package/dist/client/assets/{tool-namespace-6L147wmT.js → tool-namespace-BnR-5HvH.js} +1 -1
  297. package/dist/client/assets/{toolbar-icon-button-CJNt4JSM.js → toolbar-icon-button-BtdQ071s.js} +1 -1
  298. package/dist/client/assets/{tooltip-DLcu2pQg.js → tooltip-BFWyx7Tu.js} +1 -1
  299. package/dist/client/assets/{tooltipContext-DCi7f8uY.js → tooltipContext-HIsDwgpv.js} +1 -1
  300. package/dist/client/assets/{track-Dy2j0QPi.js → track-D-nJPAhp.js} +1 -1
  301. package/dist/client/assets/{types-ulH2EtVa.js → types-Bg6xzMsU.js} +1 -1
  302. package/dist/client/assets/{url-slug-Dth3-7Lg.js → url-slug-CtldY3Fc.js} +1 -1
  303. package/dist/client/assets/{usage-stats-BsWORl3Y.js → usage-stats-BmyhY2hQ.js} +1 -1
  304. package/dist/client/assets/{use-ai-providers-CDuQs1Ba.js → use-ai-providers-D9fgOV9l.js} +1 -1
  305. package/dist/client/assets/{use-apply-named-rule-DX5HKcUc.js → use-apply-named-rule-IXYmBDIE.js} +1 -1
  306. package/dist/client/assets/{use-automations-BkQQphI-.js → use-automations-C69NPUwP.js} +1 -1
  307. package/dist/client/assets/{use-autosave-COKIMqY3.js → use-autosave-CTJSaQ0_.js} +1 -1
  308. package/dist/client/assets/{use-chat-layout-state-q8zIlEKg.js → use-chat-layout-state-CJZYxlgv.js} +1 -1
  309. package/dist/client/assets/{use-clock-tick-DvR_TVIp.js → use-clock-tick-DREB10jn.js} +1 -1
  310. package/dist/client/assets/{use-cms-publish-actions-CtPjI-ot.js → use-cms-publish-actions-DMKczmsK.js} +1 -1
  311. package/dist/client/assets/{use-connect-companion-Cp6JhT2N.js → use-connect-companion-BjwYn44-.js} +1 -1
  312. package/dist/client/assets/{use-connection-Db-d2gM4.js → use-connection-K2ZmGfOt.js} +1 -1
  313. package/dist/client/assets/{use-copy-CFaa1ury.js → use-copy-BaUwV4kr.js} +1 -1
  314. package/dist/client/assets/{use-create-virtual-mcp-2eMz1ync.js → use-create-virtual-mcp-BwVPiDjw.js} +1 -1
  315. package/dist/client/assets/{use-date-fns-locale-BHD_nJoW.js → use-date-fns-locale-DENjQBhy.js} +1 -1
  316. package/dist/client/assets/{use-debounced-autosave-D6U_Nh6G.js → use-debounced-autosave-dbZuRAQA.js} +1 -1
  317. package/dist/client/assets/{use-debounced-value-CG9ZLPPy.js → use-debounced-value-FWET2Ehv.js} +1 -1
  318. package/dist/client/assets/{use-deco-credits-BnbotBEA.js → use-deco-credits-1VNQ8RMw.js} +1 -1
  319. package/dist/client/assets/{use-decopilot-events-ksPa8i5N.js → use-decopilot-events-CUD4NK1e.js} +1 -1
  320. package/dist/client/assets/{use-delete-connection-oEmkyu4y.js → use-delete-connection-CgFangVs.js} +1 -1
  321. package/dist/client/assets/{use-deployment-admin-D3CEjNIr.js → use-deployment-admin-zH7DDGue.js} +1 -1
  322. package/dist/client/assets/{use-fast-preview-draft-url-ZoCxf2ZD.js → use-fast-preview-draft-url-DoiFL4L5.js} +1 -1
  323. package/dist/client/assets/{use-file-configs-B44eMCbV.js → use-file-configs-DUC_lmME.js} +1 -1
  324. package/dist/client/assets/{use-inbox-feed-BfLIAiPb.js → use-inbox-feed-CqYC-MvT.js} +1 -1
  325. package/dist/client/assets/{use-infinite-scroll-DBF3UBOd.js → use-infinite-scroll-Ch7Ei01m.js} +1 -1
  326. package/dist/client/assets/{use-join-requests-DkoaB_8d.js → use-join-requests-DErzm4wT.js} +1 -1
  327. package/dist/client/assets/{use-main-panel-tabs-CSwFtAqH.js → use-main-panel-tabs-BSyzNm2k.js} +1 -1
  328. package/dist/client/assets/{use-mcp-auth-status-IG57wBXS.js → use-mcp-auth-status-k4owDbnR.js} +1 -1
  329. package/dist/client/assets/{use-mcp-client-D6ElS18M.js → use-mcp-client-DogzcDtd.js} +1 -1
  330. package/dist/client/assets/{use-mcp-prompts-mpX7ubid.js → use-mcp-prompts-BWPx5MeN.js} +1 -1
  331. package/dist/client/assets/{use-mcp-tools-RoAM8bpH.js → use-mcp-tools-DdYwCCdP.js} +1 -1
  332. package/dist/client/assets/{use-mobile-BhX1NLy5.js → use-mobile-DcPhAAsp.js} +1 -1
  333. package/dist/client/assets/{use-move-blocks-Dh_gfkYv.js → use-move-blocks-DWaZEG7l.js} +1 -1
  334. package/dist/client/assets/{use-navigate-to-agent-DvIbqsvD.js → use-navigate-to-agent-IXTtvMGy.js} +1 -1
  335. package/dist/client/assets/{use-open-billing-url-BhG-chrX.js → use-open-billing-url-NkAi-AAT.js} +1 -1
  336. package/dist/client/assets/{use-org-fs-D0eNRBo9.js → use-org-fs-DjqN5PQk.js} +1 -1
  337. package/dist/client/assets/{use-org-repo-syncs-DsydKk88.js → use-org-repo-syncs-Cb1LW2ou.js} +1 -1
  338. package/dist/client/assets/{use-org-sso-UCXyI2OA.js → use-org-sso-C5KRT8Da.js} +1 -1
  339. package/dist/client/assets/{use-organization-roles-Bjl-mDvF.js → use-organization-roles-D7Za_lux.js} +1 -1
  340. package/dist/client/assets/{use-organization-settings-D8VzrTTn.js → use-organization-settings-DR7d93_z.js} +1 -1
  341. package/dist/client/assets/{use-panel-navigate-DEgeFNQE.js → use-panel-navigate-BCKq-TfH.js} +1 -1
  342. package/dist/client/assets/{use-project-native-view-presence-CaoNxrcp.js → use-project-native-view-presence-CJUNczNu.js} +1 -1
  343. package/dist/client/assets/{use-project-scope-CgFUZ469.js → use-project-scope-B0et_e8n.js} +1 -1
  344. package/dist/client/assets/{use-recent-apps-SJDHdi4L.js → use-recent-apps-4hKksVnL.js} +1 -1
  345. package/dist/client/assets/{use-releases-fWajfQaL.js → use-releases-Brxi4pIf.js} +1 -1
  346. package/dist/client/assets/{use-reports-diagnostic-D_npl6GZ.js → use-reports-diagnostic-BrQisY2f.js} +1 -1
  347. package/dist/client/assets/{use-sandbox-events-BMnvtQwc.js → use-sandbox-events-BY2iUkYN.js} +1 -1
  348. package/dist/client/assets/{use-secrets-JASayNqi.js → use-secrets-BadtzYAw.js} +1 -1
  349. package/dist/client/assets/{use-section-preview-base-ohDfhWi5.js → use-section-preview-base-dBughhn0.js} +1 -1
  350. package/dist/client/assets/{use-session-runtime-DryciBRX.js → use-session-runtime-B4KIbkK7.js} +1 -1
  351. package/dist/client/assets/{use-sidebar-collapsed-CQK6aXTW.js → use-sidebar-collapsed-cT1Flise.js} +1 -1
  352. package/dist/client/assets/{use-tags-o7wc3HiD.js → use-tags-TSeOGije.js} +1 -1
  353. package/dist/client/assets/{use-task-board-analytics-bsWF1h2C.js → use-task-board-analytics-DDlJfCk9.js} +1 -1
  354. package/dist/client/assets/{use-task-board-events-SAn8PfW_.js → use-task-board-events-DgTjbss7.js} +1 -1
  355. package/dist/client/assets/{use-task-board-item-prs-D-umSt3D.js → use-task-board-item-prs-JnKytEtF.js} +1 -1
  356. package/dist/client/assets/{use-task-metadata-DA-WZVqc.js → use-task-metadata-CqY7HgDo.js} +1 -1
  357. package/dist/client/assets/{use-thread-analytics-KDFFr__j.js → use-thread-analytics-BPVVv0U5.js} +1 -1
  358. package/dist/client/assets/{use-thread-outputs-B_UwhMzs.js → use-thread-outputs-CjJgHscq.js} +1 -1
  359. package/dist/client/assets/useInfiniteQuery-DocXgAgp.js +1 -0
  360. package/dist/client/assets/{useQueries-CosN8kAH.js → useQueries-BxI-y7oE.js} +1 -1
  361. package/dist/client/assets/useSuspenseInfiniteQuery-DfsNYX5W.js +1 -0
  362. package/dist/client/assets/{users-C_8K5Z80.js → users-DgL9fzoZ.js} +1 -1
  363. package/dist/client/assets/{utils-Bt7oFx0a.js → utils-CEKLHG87.js} +1 -1
  364. package/dist/client/assets/{variant-calendar-HAwNz-2g.js → variant-calendar-rECJW6F2.js} +1 -1
  365. package/dist/client/assets/{variant-matcher-override-Dr4jtjND.js → variant-matcher-override-B10eyFaR.js} +1 -1
  366. package/dist/client/assets/{view-header-BQwancqI.js → view-header-CnoXEZ6r.js} +1 -1
  367. package/dist/client/assets/{virtual-mcp-BBtFX4b6.js → virtual-mcp-skvwiaad.js} +1 -1
  368. package/dist/client/assets/{watch-sse-pool-Br6EL-rz.js → watch-sse-pool-BD6-sAKH.js} +1 -1
  369. package/dist/client/index.html +2 -2
  370. package/dist/server/server.js +613 -613
  371. package/package.json +1 -1
  372. package/dist/client/assets/agent-analytics-DbjlHcVD.js +0 -2
  373. package/dist/client/assets/agent-app-DOt96j6b.js +0 -1
  374. package/dist/client/assets/agent-assets-nbJB8Oj2.js +0 -1
  375. package/dist/client/assets/agent-automations-D6sZ_uH1.js +0 -1
  376. package/dist/client/assets/agent-calendar-BeZfFvdy.js +0 -1
  377. package/dist/client/assets/agent-connect-sources-DPusFnZo.js +0 -1
  378. package/dist/client/assets/agent-deck-DHKRFst_.js +0 -1
  379. package/dist/client/assets/agent-e2e-R0CFT0l9.js +0 -1
  380. package/dist/client/assets/agent-experiments-CCB9X1v6.js +0 -1
  381. package/dist/client/assets/agent-file-CcNzA3hw.js +0 -1
  382. package/dist/client/assets/agent-hosting-DxbirQPV.js +0 -1
  383. package/dist/client/assets/agent-library-BEvE_-Ti.js +0 -1
  384. package/dist/client/assets/agent-library-file-CN9ZdgKY.js +0 -1
  385. package/dist/client/assets/agent-monitor-Bsotvv6A.js +0 -1
  386. package/dist/client/assets/agent-overview-Vo6g6VkH.js +0 -1
  387. package/dist/client/assets/agent-releases-ewE3U_5H.js +0 -2
  388. package/dist/client/assets/agent-settings-CLevnhNd.js +0 -1
  389. package/dist/client/assets/agent-site-editor-code-BSOZTg5X.js +0 -2
  390. package/dist/client/assets/agent-site-editor-content-ygftdw-u.js +0 -1
  391. package/dist/client/assets/agent-site-editor-preview-vZkvWMtS.js +0 -1
  392. package/dist/client/assets/agent-view-_KtaC3vc.js +0 -1
  393. package/dist/client/assets/api-keys-B2jnNbq9.js +0 -1
  394. package/dist/client/assets/app-editor-B-xgwIvk.js +0 -1
  395. package/dist/client/assets/category-editor-TaYKSOTk.js +0 -1
  396. package/dist/client/assets/cms-settings-editor-DdSslz-Q.js +0 -1
  397. package/dist/client/assets/collection-detail-D2cp8f3g.js +0 -1
  398. package/dist/client/assets/context-E79zhaXJ.js +0 -1
  399. package/dist/client/assets/discover-CFZrxFV0.js +0 -1
  400. package/dist/client/assets/file-explorer-rhDqu7jb.js +0 -2
  401. package/dist/client/assets/home-s82JYS5_.js +0 -1
  402. package/dist/client/assets/index-u-z_8GjU.css +0 -1
  403. package/dist/client/assets/library-DgTUGukD.js +0 -1
  404. package/dist/client/assets/monitoring-DMfNbo9x.js +0 -1
  405. package/dist/client/assets/plan-DKdj8O1S.js +0 -1
  406. package/dist/client/assets/post-calendar-BNad5FW9.js +0 -1
  407. package/dist/client/assets/project-app-view-BTP5n96V.js +0 -1
  408. package/dist/client/assets/project-reports-BpBTuHCJ.js +0 -1
  409. package/dist/client/assets/project-tasks-BWT7BsyY.js +0 -1
  410. package/dist/client/assets/record-editor-yA5vPrbM.js +0 -1
  411. package/dist/client/assets/redirect-editor-vrMsWLvF.js +0 -1
  412. package/dist/client/assets/reports-9FYZncTq.js +0 -1
  413. package/dist/client/assets/reports-tab-dQtRjvhB.js +0 -2
  414. package/dist/client/assets/repositories-qqa6gdmW.js +0 -1
  415. package/dist/client/assets/roles-CY77O_Rd.js +0 -1
  416. package/dist/client/assets/route-B9i-fUii.js +0 -1
  417. package/dist/client/assets/route-BpU761sd.js +0 -1
  418. package/dist/client/assets/route-DBRYZRDx.js +0 -1
  419. package/dist/client/assets/sections-editor-sY02MOga.js +0 -1
  420. package/dist/client/assets/seo-editor-BaTgHacI.js +0 -1
  421. package/dist/client/assets/settings-tab-CUKwi17R.js +0 -1
  422. package/dist/client/assets/shell-layout-DGAwwzx5.js +0 -1
  423. package/dist/client/assets/site-editor-BCqGKNmQ.js +0 -1
  424. package/dist/client/assets/taskboard-analytics-D_b8yWyw.js +0 -1
  425. package/dist/client/assets/tasks-DpdKZV3j.js +0 -1
  426. package/dist/client/assets/thread-analytics-B3XBAn3B.js +0 -1
  427. package/dist/client/assets/useInfiniteQuery-CcUhW7AW.js +0 -1
  428. 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};