@openhands/agent-canvas 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1105) hide show
  1. package/README.md +1 -1
  2. package/README.windows.md +2 -2
  3. package/build/assets/{acp-providers-C921BlYB.js → acp-providers-DLe_gVDY.js} +1 -1
  4. package/build/assets/active-backend-context-B0wI7OzM.js +2 -0
  5. package/build/assets/agent-context-settings-CaQtdNA-.js +1 -0
  6. package/build/assets/{agent-profiles-settings-BymJf3EP.js → agent-profiles-settings-CvuErjp6.js} +1 -1
  7. package/build/assets/agent-server-conversation-service.api-km_8sOVf.js +41 -0
  8. package/build/assets/{agent-settings-WzqXk6B4.js → agent-settings-UE-U4Xii.js} +2 -2
  9. package/build/assets/agent-settings-nmO-KSXr.js +1 -0
  10. package/build/assets/alert-banner-BMaOtTCG.js +1 -0
  11. package/build/assets/{api-key-entry-screen-DI0I04O3.js → api-key-entry-screen-Cy66vT4D.js} +1 -1
  12. package/build/assets/{app-settings-DGistSFV.js → app-settings-9ok42bV6.js} +1 -1
  13. package/build/assets/automation-detail-fuITm6i3.js +3 -0
  14. package/build/assets/automation-export-CRq40mux.js +2 -0
  15. package/build/assets/automation-setup-route-EXDazOHW.js +1 -0
  16. package/build/assets/automation-templates-BArZsaxP.js +1 -0
  17. package/build/assets/automations-list-CG4HKOTn.js +1 -0
  18. package/build/assets/{back-nav-button-D4ngzpSh.js → back-nav-button-BZB6H7xz.js} +1 -1
  19. package/build/assets/{backend-form-modal-B8D5hBzK.js → backend-form-modal-B_lXjOGa.js} +1 -1
  20. package/build/assets/{backend-synced-settings-badge-BnzI8Ysj.js → backend-synced-settings-badge-B_NXJ3u1.js} +1 -1
  21. package/build/assets/{badge-1Mf1iPcX.js → badge-C64c-7PO.js} +1 -1
  22. package/build/assets/{base-modal-BBuy0WQQ.js → base-modal-C0RQPug5.js} +1 -1
  23. package/build/assets/bot-DuN83i3p.js +1 -0
  24. package/build/assets/{brand-button-DGN6Y9o6.js → brand-button-DJmFCyMK.js} +1 -1
  25. package/build/assets/{browser-D_ekTlTS.js → browser-D3gd2n83.js} +2 -2
  26. package/build/assets/{browser-tab-D4a4Ou_w.js → browser-tab-BicAWuJ1.js} +1 -1
  27. package/build/assets/{chat-send-button-CgbcjD97.js → chat-send-button-CCrH1E8u.js} +1 -1
  28. package/build/assets/check-DLOKoFU9.js +1 -0
  29. package/build/assets/{checkmark-CxdXtM3b.js → checkmark-XZyokq_Y.js} +1 -1
  30. package/build/assets/chevron-down-CnIbtM6i.js +1 -0
  31. package/build/assets/circle-check-CxCYJrpZ.js +1 -0
  32. package/build/assets/{circle-plus-check-toggle-yTAS-nX3.js → circle-plus-check-toggle-CB_sNERY.js} +1 -1
  33. package/build/assets/{close-CDAVqnTn.js → close-ScPlnwyq.js} +1 -1
  34. package/build/assets/{cloud-funnel-analytics-CEOl5Gxr.js → cloud-funnel-analytics-XynamQGU.js} +1 -1
  35. package/build/assets/{combobox-caret-Bd2yySnF.js → combobox-caret-Bwiifgjs.js} +1 -1
  36. package/build/assets/command-menu-CA3IjGNc.js +1 -0
  37. package/build/assets/condenser-settings-cNGy75gq.js +1 -0
  38. package/build/assets/{confirmation-modal-NCUPr2-O.js → confirmation-modal-BATFmFyP.js} +1 -1
  39. package/build/assets/context-menu-list-item-DhJCcBA0.js +1 -0
  40. package/build/assets/conversation-B6t6EiVp.js +1 -0
  41. package/build/assets/{conversation-CUJ0Vo8g.js → conversation-Csdxh9Xt.js} +7 -7
  42. package/build/assets/conversation-panel-B6t6EiVp.js +1 -0
  43. package/build/assets/{conversation-state-store-F62HvuI1.js → conversation-state-store-C2QzhPaK.js} +1 -1
  44. package/build/assets/{conversation-store-C6hSXHw0.js → conversation-store-B8Eahyeg.js} +1 -1
  45. package/build/assets/{conversation-tab-empty-state-BCZ7rUMH.js → conversation-tab-empty-state-D3fb5xIA.js} +1 -1
  46. package/build/assets/{copy-DCmZtz6n.js → copy-DaHuDtG4.js} +1 -1
  47. package/build/assets/{copy-z7idLzWO.js → copy-Drmhc2jD.js} +1 -1
  48. package/build/assets/{copy-to-clipboard-button-D_Lp6-Fl.js → copy-to-clipboard-button-c4MQwKGj.js} +1 -1
  49. package/build/assets/{device-verify-DLmolX8Q.js → device-verify-oFpQoLgm.js} +1 -1
  50. package/build/assets/{dist-hOnv1nn2.js → dist-Bl64nBZL.js} +1 -1
  51. package/build/assets/{dropdown-classes-BB8rzqXL.js → dropdown-classes-f91ARMV1.js} +1 -1
  52. package/build/assets/entry.client-BCzY2Bf3.js +2 -0
  53. package/build/assets/enum-filter-dropdown-HG3q3rkV.js +1 -0
  54. package/build/assets/{environment-switch-overlay-BepBBX66.js → environment-switch-overlay-CquZXolz.js} +1 -1
  55. package/build/assets/{extensions-hub-R3KNv-5V.js → extensions-hub-BeweE0PW.js} +1 -1
  56. package/build/assets/{extensions-navigation-CfWFmI1I.js → extensions-navigation-Dd58NlUF.js} +1 -1
  57. package/build/assets/{external-link-BdBSg8rk.js → external-link-zWbg5KXS.js} +1 -1
  58. package/build/assets/file-text-RecuaId_.js +1 -0
  59. package/build/assets/files-tab-CLLG55-q.js +1 -0
  60. package/build/assets/{folder-C86qXV7M.js → folder-C1ou4_DT.js} +1 -1
  61. package/build/assets/{form-control-classes-DAfsCJTe.js → form-control-classes-pHtZUI6K.js} +1 -1
  62. package/build/assets/format-relative-time-6-3uvOXe.js +1 -0
  63. package/build/assets/format-time-delta-BIR5Os7T.js +1 -0
  64. package/build/assets/{git-provider-icon-BZqqUPlm.js → git-provider-icon-wg7ShB98.js} +1 -1
  65. package/build/assets/{git-repo-dropdown-DEpOwUez.js → git-repo-dropdown-CWnaUyxL.js} +1 -1
  66. package/build/assets/git-repo-dropdown-TzOuG5Ef.js +1 -0
  67. package/build/assets/{highlighted-source-view-CX9oIoVT.js → highlighted-source-view-DBtI3por.js} +1 -1
  68. package/build/assets/home-BpZQkDWM.js +1 -0
  69. package/build/assets/home-OEx0XtfP.js +1 -0
  70. package/build/assets/{home-store-Ch1ErdBc.js → home-store-DM4qw1lF.js} +1 -1
  71. package/build/assets/{iconBase-B2rQun3J.js → iconBase-C2sR-uAp.js} +1 -1
  72. package/build/assets/index-home-OEx0XtfP.js +1 -0
  73. package/build/assets/info-C9lpK5pw.js +1 -0
  74. package/build/assets/install-server-modal-DnjZrJUy.js +1 -0
  75. package/build/assets/kebab-menu-item-content-By16Tm_0.js +1 -0
  76. package/build/assets/{launch-B1POpHuP.js → launch-C9uijypN.js} +1 -1
  77. package/build/assets/{link-external-BDBCz-_z.js → link-external-BNZzCM1I.js} +1 -1
  78. package/build/assets/list-filter-C86CBRDE.js +1 -0
  79. package/build/assets/{list-todo-DtiL3lTp.js → list-todo-CheUtB7F.js} +1 -1
  80. package/build/assets/llm-not-configured-banner-DrBrhfN0.js +27 -0
  81. package/build/assets/{llm-settings-CXo8iPNW.js → llm-settings-CRsLqxgu.js} +1 -1
  82. package/build/assets/llm-settings-RBm_3kNm.js +1 -0
  83. package/build/assets/{llm-subscription-service-DBJbfd8Z.js → llm-subscription-service-DwjJ8-_X.js} +1 -1
  84. package/build/assets/loader-circle-C5AnEN8r.js +1 -0
  85. package/build/assets/{loading-spinner-DfZ_bhV7.js → loading-spinner-6Yj-YyoS.js} +1 -1
  86. package/build/assets/{manage-backends-modal-CwyWsiag.js → manage-backends-modal-DrwErS0N.js} +1 -1
  87. package/build/assets/manifest-c352d453.js +1 -0
  88. package/build/assets/manifest-subpage-layout-CtqVwIvJ.js +1 -0
  89. package/build/assets/{markdown-renderer-DgiLLhW6.js → markdown-renderer-lsvsp7jn.js} +4 -4
  90. package/build/assets/mcp-DD4hPTRE.js +9 -0
  91. package/build/assets/mcp-marketplace-utils-BMnYz0Gc.js +1 -0
  92. package/build/assets/messages-Dt77e0qi.js +40 -0
  93. package/build/assets/{modal-backdrop-X-vKo61e.js → modal-backdrop-BSzNhM4r.js} +1 -1
  94. package/build/assets/{modal-body-CMsDpalT.js → modal-body-BHGCSAtj.js} +1 -1
  95. package/build/assets/{modal-classes-B6PDrxXo.js → modal-classes-DSTLuxkA.js} +1 -1
  96. package/build/assets/{modal-close-button-DyxBZaAb.js → modal-close-button-dheWZ2ys.js} +1 -1
  97. package/build/assets/mouse-pointer-click-Px-dXWcS.js +1 -0
  98. package/build/assets/{navigation-context-BOGzIng3.js → navigation-context-CQZwH_tC.js} +1 -1
  99. package/build/assets/navigation-link-Bxo3-4vo.js +1 -0
  100. package/build/assets/onboarding-5CZvRBbh.js +1 -0
  101. package/build/assets/onboarding-modal-CD2ehuxt.js +1 -0
  102. package/build/assets/{openhands-logo-CmYvJXBa.js → openhands-logo-BS-Epajy.js} +1 -1
  103. package/build/assets/{organization-service.api-UDy63-oC.js → organization-service.api-Dsuoep0g.js} +1 -1
  104. package/build/assets/{pencil-BjgtZmWp.js → pencil-Bl3GWhgq.js} +1 -1
  105. package/build/assets/{planner-tab-BWk8885v.js → planner-tab-DeO7Thb0.js} +1 -1
  106. package/build/assets/{plugins-management-service-CjkgF2dd.js → plugins-management-service-C9f75R6X.js} +1 -1
  107. package/build/assets/plus-CtzlyAoF.js +1 -0
  108. package/build/assets/{profiles-service.api-CukSFLzz.js → profiles-service.api-Dl20_2IM.js} +1 -1
  109. package/build/assets/{providers-CqUWC85T.js → providers-CeuhK46N.js} +1 -1
  110. package/build/assets/{proxy-BBUG3sd2.js → proxy-CIGI9zQC.js} +1 -1
  111. package/build/assets/{puzzle-BoNc6zZ8.js → puzzle-B3v361yY.js} +1 -1
  112. package/build/assets/recommended-automations-launcher-6xmbf7lh.js +1 -0
  113. package/build/assets/{refresh-cw-BrM5ZAZD.js → refresh-cw-B9GhC3QC.js} +1 -1
  114. package/build/assets/root-BQPNqNvD.js +2 -0
  115. package/build/assets/root-BeuHFY2s.css +1 -0
  116. package/build/assets/root-layout-Dl_2CDoq.js +3 -0
  117. package/build/assets/{schema-field-nImDoY6-.js → schema-field-z2vSLuLo.js} +1 -1
  118. package/build/assets/{sdk-section-page-BxMrtUNV.js → sdk-section-page-BnCXAytf.js} +1 -1
  119. package/build/assets/{search-7DRiGm4Z.js → search-BatSpWed.js} +1 -1
  120. package/build/assets/search-CYaiKHRp.js +1 -0
  121. package/build/assets/{secrets-service-Dhjh3HhH.js → secrets-service-DGUNlwQd.js} +1 -1
  122. package/build/assets/{secrets-settings-CPdxceT_.js → secrets-settings-DUmML_dK.js} +1 -1
  123. package/build/assets/{segmented-toggle-Do6oyepX.js → segmented-toggle-eSofF7gn.js} +1 -1
  124. package/build/assets/settings-CWFxymAf.js +1 -0
  125. package/build/assets/{settings-BRbnfKEm.js → settings-Co-M5bK9.js} +1 -1
  126. package/build/assets/{settings-dropdown-input-DYCULKpp.js → settings-dropdown-input-Cx4g7Xfl.js} +1 -1
  127. package/build/assets/{settings-gear-TYXnELES.js → settings-gear-DaJj6Pde.js} +1 -1
  128. package/build/assets/{settings-index-C9o2NBO0.js → settings-index-BECdgecg.js} +1 -1
  129. package/build/assets/{settings-input-B-q2gkVy.js → settings-input-BQY115xH.js} +1 -1
  130. package/build/assets/settings-like-page-layout-classes-Cw4Yzv_P.js +1 -0
  131. package/build/assets/{settings-list-classes-WpQi0q1L.js → settings-list-classes-C9cLrrcc.js} +1 -1
  132. package/build/assets/{settings-modal-CEK0AIx6.js → settings-modal-ChBJNTdd.js} +1 -1
  133. package/build/assets/{settings-section-header-context-CnIIQAUn.js → settings-section-header-context-BOJ_Fbak.js} +1 -1
  134. package/build/assets/settings-service.api-Dz9cZyvx.js +1 -0
  135. package/build/assets/{settings-switch-LqKdGxHL.js → settings-switch-BIodMVz9.js} +1 -1
  136. package/build/assets/{shared-conversation-Bu-dQlgp.js → shared-conversation-CSF0aTuE.js} +1 -1
  137. package/build/assets/{sidebar-layout-oHBGQmLh.js → sidebar-layout-DEycoFd_.js} +1 -1
  138. package/build/assets/sidebar-mobile-menu-toggle-DeRvTupV.js +1 -0
  139. package/build/assets/{sidebar-nav-link-CrujNA09.js → sidebar-nav-link-BjpQ-NVc.js} +1 -1
  140. package/build/assets/{sidebar-store-Bui-WNEr.js → sidebar-store-B04sX8aP.js} +1 -1
  141. package/build/assets/{skill-card-pill-row-CZBI7OqH.js → skill-card-pill-row-BH6fPGba.js} +1 -1
  142. package/build/assets/{skill-icon-badge-BOov_phZ.js → skill-icon-badge-D4uznfjU.js} +1 -1
  143. package/build/assets/skill-scope-DH_AUUUP.js +1 -0
  144. package/build/assets/{skills-CYFLsN5U.js → skills-B0IliMxw.js} +1 -1
  145. package/build/assets/{skills-plugins-D0PiHWAD.js → skills-plugins-vfvOk34h.js} +1 -1
  146. package/build/assets/skills-settings-DnbIu2eO.js +2 -0
  147. package/build/assets/sparkles-g7y3r-Ut.js +1 -0
  148. package/build/assets/{styled-tooltip-C7grwnOX.js → styled-tooltip-CQ9JEFiO.js} +1 -1
  149. package/build/assets/{switch-skeleton-BQoOhQTB.js → switch-skeleton-DwOoCqaL.js} +1 -1
  150. package/build/assets/{syntax-highlighter-B92AFGMy.js → syntax-highlighter-BGDg_7w9.js} +1 -1
  151. package/build/assets/{task-list-tab-R3ac6m7O.js → task-list-tab-DeF_uXdw.js} +1 -1
  152. package/build/assets/{terminal-cMS3RgVE.js → terminal-BUpID2wS.js} +1 -1
  153. package/build/assets/{terminal-yqkNdEAx.js → terminal-DRc4rup7.js} +1 -1
  154. package/build/assets/{toggle-switch-BeSrbgCg.js → toggle-switch--8n8NeV_.js} +1 -1
  155. package/build/assets/{trash-2-wW5TWcdN.js → trash-2-CzDVN-Iw.js} +1 -1
  156. package/build/assets/{typography-iYhzLlHO.js → typography-BSbUhJPn.js} +1 -1
  157. package/build/assets/{u-check-circle-DBEvndTS.js → u-check-circle-BKn1spCL.js} +1 -1
  158. package/build/assets/{u-edit-809W9D9T.js → u-edit-DAkcF52u.js} +1 -1
  159. package/build/assets/{u-robot-CJtSzy5X.js → u-robot-BvAOA2ZD.js} +1 -1
  160. package/build/assets/{use-acp-credential-form-DUxbxmbq.js → use-acp-credential-form-BGKFi1VL.js} +1 -1
  161. package/build/assets/{use-activate-agent-profile-CDHA52tC.js → use-activate-agent-profile-2nvALjC-.js} +1 -1
  162. package/build/assets/{use-agent-profiles-TsOdIyw5.js → use-agent-profiles-BlQA67MW.js} +1 -1
  163. package/build/assets/{use-breakpoint-DA7JqsRN.js → use-breakpoint-DWtihr9g.js} +1 -1
  164. package/build/assets/{use-can-manage-org-profiles-Bt1M71u5.js → use-can-manage-org-profiles-Clw5Dh1s.js} +1 -1
  165. package/build/assets/{use-click-outside-element-DKqpqEEm.js → use-click-outside-element-W6Os4Nlb.js} +1 -1
  166. package/build/assets/{use-cloud-current-user-id-DWt7HCgf.js → use-cloud-current-user-id-B8AQSQFM.js} +1 -1
  167. package/build/assets/{use-config-CxlEdf_v.js → use-config-C3zGuUQI.js} +1 -1
  168. package/build/assets/{use-create-conversation-nOJ6Um5h.js → use-create-conversation-FaP0kUpg.js} +1 -1
  169. package/build/assets/{use-create-secret-Dj5ang9x.js → use-create-secret-CgQ3pXd6.js} +1 -1
  170. package/build/assets/use-is-authed-Bka89Xmm.js +1 -0
  171. package/build/assets/{use-is-creating-conversation-CAggrM75.js → use-is-creating-conversation-CVefC9Ns.js} +1 -1
  172. package/build/assets/{use-launch-skill-in-chat-DKzCTMt0.js → use-launch-skill-in-chat-BcKNjxxd.js} +1 -1
  173. package/build/assets/use-llm-profiles-C-tDO6UB.js +1 -0
  174. package/build/assets/use-manifest-capabilities-DLP5wCxp.js +1 -0
  175. package/build/assets/{use-onboarding-completion-gxQlcEy2.js → use-onboarding-completion-BiCdXvlU.js} +1 -1
  176. package/build/assets/{use-plugins-marketplace-CVO7sXYR.js → use-plugins-marketplace-DRFNLBlr.js} +1 -1
  177. package/build/assets/use-save-agent-profile-CaGVAudI.js +1 -0
  178. package/build/assets/{use-save-settings-L3aMaDeS.js → use-save-settings-C9B8Y-h3.js} +1 -1
  179. package/build/assets/{use-settings-8nt3DGxW.js → use-settings-3RcgdUuZ.js} +1 -1
  180. package/build/assets/{use-settings-nav-items-DHAAD-zk.js → use-settings-nav-items-y-Oyc93G.js} +2 -2
  181. package/build/assets/use-tracking-CTtkLAmx.js +3 -0
  182. package/build/assets/{use-user-conversation-BIIpGUgM.js → use-user-conversation-Bei82QsZ.js} +1 -1
  183. package/build/assets/{useInfiniteQuery-BLRVmVPU.js → useInfiniteQuery-DbCv0Jzd.js} +1 -1
  184. package/build/assets/{useMutation-CaSHLnX0.js → useMutation-ChpkYxI5.js} +1 -1
  185. package/build/assets/{useQueries--d_WWAzc.js → useQueries-Cjv3E8_1.js} +1 -1
  186. package/build/assets/useQuery-BCnzy4LX.js +1 -0
  187. package/build/assets/utils-BX9XJ0IE.js +1 -0
  188. package/build/assets/{vendor-markdown-BML7QbqS.js → vendor-markdown-j0kYzV48.js} +1 -1
  189. package/build/assets/{vendor-styling-Bcgpimp9.js → vendor-styling-Ck5D_A2Q.js} +6 -6
  190. package/build/assets/{vendor~browser-jaN4ilxM.js → vendor~browser-C6uXH-dw.js} +2 -2
  191. package/build/assets/vendor~browser-DJ1pl_wn.js +47 -0
  192. package/build/assets/{vendor~browser-tab-_-VCXq8n.js → vendor~browser-tab-C5uuAxZX.js} +1 -1
  193. package/build/assets/vendor~entry.client-CgNUwtQL.js +1 -0
  194. package/build/assets/{vendor~entry.client-BcYIVQvB.js → vendor~entry.client-zSIea5EO.js} +2 -2
  195. package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~cy4jtuc2-rfV8mQ9m.js +1 -0
  196. package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~b0bpqexo-CbTboogo.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kv3pap4j-oGvLV0dO.js} +4 -4
  197. package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~lq5hicxx-cHFhpUBq.js +26 -0
  198. package/build/assets/{vendor~files-tab-C7RmQJwN.js → vendor~files-tab-C87pjSpi.js} +1 -1
  199. package/build/assets/{vendor~index-home~home~conversation-panel~conversation-Bqp1ZqJM.js → vendor~index-home~home~conversation-panel~conversation-DiXf0dkj.js} +1 -1
  200. package/build/assets/{vendor~conversation-panel~conversation~alert-banner-BNzz5FuZ.js → vendor~index-home~home~conversation-panel~conversation~alert-banner-B3qC_oj8.js} +1 -1
  201. package/build/assets/{vendor~launch-ChXCOGw8.js → vendor~launch-CHwEQG6e.js} +1 -1
  202. package/build/assets/vendor~module-DyG7x7JT.js +2 -0
  203. package/build/assets/{vendor~root-layout~conversation-panel~conversation-BCn8lzeG.js → vendor~root-layout~conversation-panel~conversation-DEzjR4K7.js} +1 -1
  204. package/build/assets/{vendor~root-layout~conversation-panel~conversation~shared-conversation-DRblkyXD.js → vendor~root-layout~conversation-panel~conversation~shared-conversation-DOuig0C0.js} +1 -1
  205. package/build/assets/vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-U-xdsAEx.js +1 -0
  206. package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~automation-setup-route-B_L-gcOG.js → vendor~root-layout~index-home~home~conversation-panel~conversation~automation-setup-route-CjECvSl5.js} +1 -1
  207. package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-sjx0x5ac.js → vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-CQR5Sa0H.js} +1 -1
  208. package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~gy8zbn65-CGt6bWRT.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~gxu4j2ea-Cwhh3zLe.js} +1 -1
  209. package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~dfc8ddxy-tTyxnjXT.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hjcjabwg-CuQhkiS7.js} +1 -1
  210. package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~9pstowjp-BOVIFA_g.js +73 -0
  211. package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~dufan6ng-Dtdw8H0q.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~ht43enc2-C0JXQb_q.js} +162 -54
  212. package/build/assets/{verification-settings-DBsnSXC3.js → verification-settings-nD61Ijph.js} +1 -1
  213. package/build/assets/wrench-DRitTfwe.js +1 -0
  214. package/build/assets/x-RYDBg-e2.js +1 -0
  215. package/build/assets/{x-mark-jcTkPiOB.js → x-mark-BopmFoBq.js} +1 -1
  216. package/build/assets/zap-tbKDzCe3.js +1 -0
  217. package/build/index.html +4 -4
  218. package/build/locales/ar/openhands.json +70 -4
  219. package/build/locales/ca/openhands.json +70 -4
  220. package/build/locales/de/openhands.json +70 -4
  221. package/build/locales/en/openhands.json +70 -4
  222. package/build/locales/es/openhands.json +70 -4
  223. package/build/locales/fr/openhands.json +70 -4
  224. package/build/locales/it/openhands.json +70 -4
  225. package/build/locales/ja/openhands.json +70 -4
  226. package/build/locales/ko-KR/openhands.json +70 -4
  227. package/build/locales/no/openhands.json +70 -4
  228. package/build/locales/pt/openhands.json +70 -4
  229. package/build/locales/tr/openhands.json +70 -4
  230. package/build/locales/uk/openhands.json +70 -4
  231. package/build/locales/zh-CN/openhands.json +70 -4
  232. package/build/locales/zh-TW/openhands.json +70 -4
  233. package/build/mockServiceWorker.js +21 -9
  234. package/config/defaults.json +3 -3
  235. package/dist/api/automation-service/automation-service.api.cjs +1 -1
  236. package/dist/api/automation-service/automation-service.api.cjs.map +1 -1
  237. package/dist/api/automation-service/automation-service.api.d.ts +5 -0
  238. package/dist/api/automation-service/automation-service.api.js +11 -0
  239. package/dist/api/automation-service/automation-service.api.js.map +1 -1
  240. package/dist/api/backend-registry/active-store.cjs +1 -1
  241. package/dist/api/backend-registry/active-store.cjs.map +1 -1
  242. package/dist/api/backend-registry/active-store.js +36 -31
  243. package/dist/api/backend-registry/active-store.js.map +1 -1
  244. package/dist/api/backend-registry/url-selection.cjs +2 -0
  245. package/dist/api/backend-registry/url-selection.cjs.map +1 -0
  246. package/dist/api/backend-registry/url-selection.d.ts +31 -0
  247. package/dist/api/backend-registry/url-selection.js +29 -0
  248. package/dist/api/backend-registry/url-selection.js.map +1 -0
  249. package/dist/api/mcp-service/mcp-redacted-credentials.cjs +1 -1
  250. package/dist/api/mcp-service/mcp-redacted-credentials.cjs.map +1 -1
  251. package/dist/api/mcp-service/mcp-redacted-credentials.d.ts +3 -2
  252. package/dist/api/mcp-service/mcp-redacted-credentials.js +32 -27
  253. package/dist/api/mcp-service/mcp-redacted-credentials.js.map +1 -1
  254. package/dist/api/mcp-service/mcp-service.api.cjs +1 -1
  255. package/dist/api/mcp-service/mcp-service.api.cjs.map +1 -1
  256. package/dist/api/mcp-service/mcp-service.api.js +19 -19
  257. package/dist/api/mcp-service/mcp-service.api.js.map +1 -1
  258. package/dist/api/settings-service/settings-service.api.cjs +1 -1
  259. package/dist/api/settings-service/settings-service.api.cjs.map +1 -1
  260. package/dist/api/settings-service/settings-service.api.d.ts +10 -0
  261. package/dist/api/settings-service/settings-service.api.js +90 -100
  262. package/dist/api/settings-service/settings-service.api.js.map +1 -1
  263. package/dist/api/skills-service.cjs +1 -1
  264. package/dist/api/skills-service.cjs.map +1 -1
  265. package/dist/api/skills-service.js +1 -0
  266. package/dist/api/skills-service.js.map +1 -1
  267. package/dist/assets/chevron-left.d.ts +1 -1
  268. package/dist/assets/chevron-right.d.ts +1 -1
  269. package/dist/components/conversation-events/chat/event-message-components/collapsible-thinking.d.ts +2 -1
  270. package/dist/components/conversation-events/chat/event-message-components/critic-result-display.d.ts +2 -1
  271. package/dist/components/conversation-events/chat/event-message-components/error-event-message.d.ts +2 -1
  272. package/dist/components/conversation-events/chat/event-message-components/event-group.d.ts +1 -1
  273. package/dist/components/conversation-events/chat/event-message-components/finish-event-message.d.ts +1 -1
  274. package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.d.ts +1 -1
  275. package/dist/components/conversation-events/chat/event-message-components/observation-pair-event-message.d.ts +2 -1
  276. package/dist/components/conversation-events/chat/event-message-components/skill-item-expanded.d.ts +1 -1
  277. package/dist/components/conversation-events/chat/event-message-components/skill-ready-content-list.d.ts +2 -1
  278. package/dist/components/conversation-events/chat/event-message-components/thought-event-message.d.ts +1 -1
  279. package/dist/components/conversation-events/chat/event-message-components/user-assistant-event-message.d.ts +2 -1
  280. package/dist/components/conversation-events/chat/event-message.d.ts +2 -1
  281. package/dist/components/conversation-events/chat/task-tracking/task-item.d.ts +1 -1
  282. package/dist/components/conversation-events/chat/task-tracking/task-list-section.d.ts +1 -1
  283. package/dist/components/features/alerts/alert-banner.d.ts +1 -1
  284. package/dist/components/features/analytics/telemetry-consent-banner.d.ts +2 -1
  285. package/dist/components/features/automations/add-automation-modal.d.ts +1 -1
  286. package/dist/components/features/automations/automation-card-skeleton.d.ts +1 -1
  287. package/dist/components/features/automations/automation-card.d.ts +9 -1
  288. package/dist/components/features/automations/automation-group.d.ts +9 -1
  289. package/dist/components/features/automations/automation-health-badge.d.ts +8 -0
  290. package/dist/components/features/automations/automation-list-row.d.ts +3 -1
  291. package/dist/components/features/automations/automation-run-insights.d.ts +17 -0
  292. package/dist/components/features/automations/automation-view-toggle.d.ts +1 -1
  293. package/dist/components/features/automations/backend-not-configured.d.ts +1 -1
  294. package/dist/components/features/automations/create-instructions.d.ts +2 -2
  295. package/dist/components/features/automations/dashboard/automations-dashboard-controls.d.ts +18 -0
  296. package/dist/components/features/automations/dashboard/automations-filtered-empty-state.d.ts +9 -0
  297. package/dist/components/features/automations/dashboard/use-automation-sub-page-nav.d.ts +12 -0
  298. package/dist/components/features/automations/delete-confirmation-modal.d.ts +1 -1
  299. package/dist/components/features/automations/detail/active-status-badge.d.ts +1 -1
  300. package/dist/components/features/automations/detail/activity-log-item.d.ts +1 -1
  301. package/dist/components/features/automations/detail/activity-log-section.d.ts +3 -1
  302. package/dist/components/features/automations/detail/activity-section.d.ts +1 -1
  303. package/dist/components/features/automations/detail/back-link.d.ts +1 -1
  304. package/dist/components/features/automations/detail/branch-badge.d.ts +1 -1
  305. package/dist/components/features/automations/detail/config-field.d.ts +1 -1
  306. package/dist/components/features/automations/detail/configuration-section.d.ts +1 -1
  307. package/dist/components/features/automations/detail/debug-automation-button.d.ts +1 -1
  308. package/dist/components/features/automations/detail/detail-header.d.ts +1 -1
  309. package/dist/components/features/automations/detail/detail-skeleton.d.ts +1 -1
  310. package/dist/components/features/automations/detail/edit-automation-modal.d.ts +1 -1
  311. package/dist/components/features/automations/detail/not-found-state.d.ts +1 -1
  312. package/dist/components/features/automations/detail/plugin-chip.d.ts +1 -1
  313. package/dist/components/features/automations/detail/plugins-section.d.ts +1 -1
  314. package/dist/components/features/automations/detail/prompt-section.d.ts +2 -1
  315. package/dist/components/features/automations/detail/run-logs-modal.d.ts +1 -1
  316. package/dist/components/features/automations/detail/run-status-badge.d.ts +10 -1
  317. package/dist/components/features/automations/detail/section-card.d.ts +1 -1
  318. package/dist/components/features/automations/empty-state.d.ts +1 -1
  319. package/dist/components/features/automations/error-state.d.ts +1 -1
  320. package/dist/components/features/automations/import-automation-modal.d.ts +1 -1
  321. package/dist/components/features/automations/kebab-menu-item-content.d.ts +1 -1
  322. package/dist/components/features/automations/kebab-menu.d.ts +1 -1
  323. package/dist/components/features/automations/metadata-chip.d.ts +1 -1
  324. package/dist/components/features/automations/recommended-automations-launcher.d.ts +1 -1
  325. package/dist/components/features/automations/recommended-automations-section.d.ts +1 -1
  326. package/dist/components/features/automations/responder-deployment-modal.d.ts +1 -1
  327. package/dist/components/features/automations/search-input.d.ts +1 -1
  328. package/dist/components/features/automations/status-badge.d.ts +1 -1
  329. package/dist/components/features/automations/turn-off-confirmation-modal.d.ts +8 -0
  330. package/dist/components/features/automations/view-menu-item-content.d.ts +1 -1
  331. package/dist/components/features/backends/add-backend-modal.d.ts +1 -1
  332. package/dist/components/features/backends/api-key-entry-screen.d.ts +2 -1
  333. package/dist/components/features/backends/backend-form-modal.d.ts +3 -3
  334. package/dist/components/features/backends/backend-row.d.ts +1 -1
  335. package/dist/components/features/backends/backend-selector.d.ts +2 -1
  336. package/dist/components/features/backends/backend-status-dot.d.ts +2 -1
  337. package/dist/components/features/backends/backend-version.d.ts +1 -1
  338. package/dist/components/features/backends/device-flow-auth.d.ts +1 -1
  339. package/dist/components/features/backends/manage-backends-modal.d.ts +2 -1
  340. package/dist/components/features/browser/browser-chrome-bar.d.ts +1 -1
  341. package/dist/components/features/browser/browser-snapshot.d.ts +1 -1
  342. package/dist/components/features/browser/browser.d.ts +1 -1
  343. package/dist/components/features/browser/empty-browser-message.d.ts +1 -1
  344. package/dist/components/features/chat/btw-messages.d.ts +1 -1
  345. package/dist/components/features/chat/change-agent-button.d.ts +2 -1
  346. package/dist/components/features/chat/change-agent-context-menu.d.ts +1 -1
  347. package/dist/components/features/chat/chat-action-tooltip.d.ts +1 -1
  348. package/dist/components/features/chat/chat-add-file-button.d.ts +2 -1
  349. package/dist/components/features/chat/chat-interface.d.ts +2 -1
  350. package/dist/components/features/chat/chat-message.d.ts +1 -1
  351. package/dist/components/features/chat/chat-messages-skeleton.d.ts +2 -1
  352. package/dist/components/features/chat/chat-play-button.d.ts +1 -1
  353. package/dist/components/features/chat/chat-send-button.d.ts +1 -1
  354. package/dist/components/features/chat/chat-status-indicator.d.ts +1 -1
  355. package/dist/components/features/chat/chat-stop-button.d.ts +1 -1
  356. package/dist/components/features/chat/chat-suggestions.d.ts +1 -1
  357. package/dist/components/features/chat/components/chat-input-actions.d.ts +2 -1
  358. package/dist/components/features/chat/components/chat-input-container.d.ts +1 -1
  359. package/dist/components/features/chat/components/chat-input-field.d.ts +1 -1
  360. package/dist/components/features/chat/components/chat-input-grip.d.ts +1 -1
  361. package/dist/components/features/chat/components/chat-input-llm-profile-picker.d.ts +3 -2
  362. package/dist/components/features/chat/components/chat-input-model.d.ts +3 -2
  363. package/dist/components/features/chat/components/chat-input-profile-picker.d.ts +1 -1
  364. package/dist/components/features/chat/components/chat-input-row.d.ts +1 -1
  365. package/dist/components/features/chat/components/hidden-file-input.d.ts +1 -1
  366. package/dist/components/features/chat/components/slash-command-menu.d.ts +2 -1
  367. package/dist/components/features/chat/confirmation-mode-enabled.d.ts +1 -1
  368. package/dist/components/features/chat/custom-chat-input.d.ts +1 -1
  369. package/dist/components/features/chat/drag-over.d.ts +1 -1
  370. package/dist/components/features/chat/error-message-banner.d.ts +2 -1
  371. package/dist/components/features/chat/error-message.d.ts +2 -1
  372. package/dist/components/features/chat/generic-event-message.d.ts +1 -1
  373. package/dist/components/features/chat/git-control-bar-branch-button.d.ts +1 -1
  374. package/dist/components/features/chat/git-control-bar-pr-button.d.ts +1 -1
  375. package/dist/components/features/chat/git-control-bar-pull-button.d.ts +1 -1
  376. package/dist/components/features/chat/git-control-bar-push-button.d.ts +1 -1
  377. package/dist/components/features/chat/git-control-bar-repo-button.d.ts +1 -1
  378. package/dist/components/features/chat/git-control-bar-tooltip-wrapper.d.ts +1 -1
  379. package/dist/components/features/chat/git-control-bar.d.ts +1 -1
  380. package/dist/components/features/chat/git-external-link-icon.d.ts +1 -1
  381. package/dist/components/features/chat/goal-status-banner.d.ts +1 -1
  382. package/dist/components/features/chat/goal-status-content.d.ts +1 -1
  383. package/dist/components/features/chat/got-it-button.d.ts +1 -1
  384. package/dist/components/features/chat/interactive-chat-box.d.ts +1 -1
  385. package/dist/components/features/chat/model-messages.d.ts +2 -1
  386. package/dist/components/features/chat/mono-component.d.ts +1 -1
  387. package/dist/components/features/chat/open-repository-modal.d.ts +2 -1
  388. package/dist/components/features/chat/pasted-image-upload-as-file-button.d.ts +1 -1
  389. package/dist/components/features/chat/path-component.d.ts +1 -1
  390. package/dist/components/features/chat/pending-stop-icon.d.ts +1 -1
  391. package/dist/components/features/chat/pending-user-messages.d.ts +2 -1
  392. package/dist/components/features/chat/plan-preview.d.ts +1 -1
  393. package/dist/components/features/chat/remove-file-button.d.ts +1 -1
  394. package/dist/components/features/chat/skill-install-restart-banner.d.ts +1 -1
  395. package/dist/components/features/chat/success-indicator.d.ts +1 -1
  396. package/dist/components/features/chat/task-tracking/status-badge.d.ts +1 -1
  397. package/dist/components/features/chat/task-tracking/status-icon.d.ts +1 -1
  398. package/dist/components/features/chat/task-tracking/task-item.d.ts +1 -1
  399. package/dist/components/features/chat/task-tracking/task-list-section.d.ts +1 -1
  400. package/dist/components/features/chat/tool-visualizers/primitives/code-block.d.ts +2 -1
  401. package/dist/components/features/chat/tool-visualizers/primitives/diff-view.d.ts +2 -1
  402. package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.d.ts +2 -1
  403. package/dist/components/features/chat/tool-visualizers/primitives/key-value-grid.d.ts +1 -1
  404. package/dist/components/features/chat/tool-visualizers/primitives/output-pane.d.ts +2 -1
  405. package/dist/components/features/chat/typing-indicator.d.ts +1 -1
  406. package/dist/components/features/chat/uploaded-file.d.ts +1 -1
  407. package/dist/components/features/chat/uploaded-files.d.ts +1 -1
  408. package/dist/components/features/chat/uploaded-image.d.ts +2 -1
  409. package/dist/components/features/chat/user-message-body.d.ts +2 -2
  410. package/dist/components/features/chat/waiting-for-runtime-message.d.ts +1 -1
  411. package/dist/components/features/chat/workspace-mode-icon.d.ts +1 -1
  412. package/dist/components/features/chat/workspace-mode-selector.d.ts +1 -1
  413. package/dist/components/features/command-menu/command-menu-trigger.d.ts +2 -1
  414. package/dist/components/features/context-menu/archived-disabled-tooltip.d.ts +1 -1
  415. package/dist/components/features/context-menu/context-menu-icon-text-with-description.d.ts +1 -1
  416. package/dist/components/features/context-menu/context-menu-icon-text.d.ts +1 -1
  417. package/dist/components/features/context-menu/context-menu-list-item.cjs +1 -1
  418. package/dist/components/features/context-menu/context-menu-list-item.cjs.map +1 -1
  419. package/dist/components/features/context-menu/context-menu-list-item.d.ts +2 -1
  420. package/dist/components/features/context-menu/context-menu-list-item.js +2 -1
  421. package/dist/components/features/context-menu/context-menu-list-item.js.map +1 -1
  422. package/dist/components/features/controls/agent-loading.d.ts +1 -1
  423. package/dist/components/features/controls/agent-status.d.ts +1 -1
  424. package/dist/components/features/controls/git-tools-submenu.d.ts +1 -1
  425. package/dist/components/features/controls/macros-submenu.d.ts +1 -1
  426. package/dist/components/features/controls/server-status-context-menu-icon-text.d.ts +1 -1
  427. package/dist/components/features/controls/server-status-context-menu.d.ts +1 -1
  428. package/dist/components/features/controls/server-status.d.ts +1 -1
  429. package/dist/components/features/controls/tools-context-menu-icon-text.d.ts +1 -1
  430. package/dist/components/features/controls/tools-context-menu.d.ts +1 -1
  431. package/dist/components/features/controls/tools.d.ts +2 -1
  432. package/dist/components/features/conversation/conversation-loading.d.ts +1 -1
  433. package/dist/components/features/conversation/conversation-main/chat-interface-wrapper.d.ts +1 -1
  434. package/dist/components/features/conversation/conversation-main/conversation-main.d.ts +1 -1
  435. package/dist/components/features/conversation/conversation-main/conversation-mobile-panel-page.d.ts +2 -1
  436. package/dist/components/features/conversation/conversation-name-context-menu-icon-text.d.ts +1 -1
  437. package/dist/components/features/conversation/conversation-name-context-menu.d.ts +1 -1
  438. package/dist/components/features/conversation/conversation-name-with-status.d.ts +2 -1
  439. package/dist/components/features/conversation/conversation-name.d.ts +2 -1
  440. package/dist/components/features/conversation/conversation-tab-empty-state.d.ts +1 -1
  441. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content-crossfade.d.ts +1 -1
  442. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.d.ts +1 -1
  443. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/suspense-pending-fallback.d.ts +1 -1
  444. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/tab-container.d.ts +1 -1
  445. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/tab-content-area.d.ts +1 -1
  446. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/tab-wrapper.d.ts +1 -1
  447. package/dist/components/features/conversation/conversation-tabs/conversation-tab-nav.d.ts +1 -1
  448. package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.d.ts +1 -1
  449. package/dist/components/features/conversation/conversation-tabs/conversation-tabs.d.ts +1 -1
  450. package/dist/components/features/conversation/conversation-tabs/drawer-vscode-link.d.ts +1 -1
  451. package/dist/components/features/conversation/metrics-modal/context-window-section.d.ts +1 -1
  452. package/dist/components/features/conversation/metrics-modal/cost-section.d.ts +1 -1
  453. package/dist/components/features/conversation/metrics-modal/empty-state.d.ts +1 -1
  454. package/dist/components/features/conversation/metrics-modal/metric-row.d.ts +1 -1
  455. package/dist/components/features/conversation/metrics-modal/metrics-modal-header.d.ts +1 -1
  456. package/dist/components/features/conversation/metrics-modal/metrics-modal.d.ts +1 -1
  457. package/dist/components/features/conversation/metrics-modal/usage-section.d.ts +1 -1
  458. package/dist/components/features/conversation/right-panel-toggle.d.ts +1 -1
  459. package/dist/components/features/conversation/transcript-export-modal.d.ts +2 -1
  460. package/dist/components/features/conversation-panel/budget-display.d.ts +2 -1
  461. package/dist/components/features/conversation-panel/budget-progress-bar.d.ts +1 -1
  462. package/dist/components/features/conversation-panel/budget-usage-text.d.ts +2 -1
  463. package/dist/components/features/conversation-panel/cloud-new-conversation-menu.d.ts +1 -1
  464. package/dist/components/features/conversation-panel/compact-conversation-row.cjs +1 -1
  465. package/dist/components/features/conversation-panel/compact-conversation-row.cjs.map +1 -1
  466. package/dist/components/features/conversation-panel/compact-conversation-row.d.ts +2 -1
  467. package/dist/components/features/conversation-panel/compact-conversation-row.js +38 -37
  468. package/dist/components/features/conversation-panel/compact-conversation-row.js.map +1 -1
  469. package/dist/components/features/conversation-panel/confirm-delete-modal.d.ts +1 -1
  470. package/dist/components/features/conversation-panel/confirm-stop-modal.d.ts +1 -1
  471. package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.d.ts +1 -1
  472. package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.d.ts +1 -1
  473. package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.d.ts +1 -1
  474. package/dist/components/features/conversation-panel/conversation-card/conversation-card-header.d.ts +1 -1
  475. package/dist/components/features/conversation-panel/conversation-card/conversation-card-preview.d.ts +1 -1
  476. package/dist/components/features/conversation-panel/conversation-card/conversation-card-skeleton.d.ts +1 -1
  477. package/dist/components/features/conversation-panel/conversation-card/conversation-card-title.d.ts +1 -1
  478. package/dist/components/features/conversation-panel/conversation-card/conversation-card.d.ts +2 -1
  479. package/dist/components/features/conversation-panel/conversation-card/conversation-repo-link.d.ts +1 -1
  480. package/dist/components/features/conversation-panel/conversation-card/conversation-status-badges.d.ts +1 -1
  481. package/dist/components/features/conversation-panel/conversation-card/no-repository.d.ts +1 -1
  482. package/dist/components/features/conversation-panel/conversation-group-folder-list.d.ts +1 -1
  483. package/dist/components/features/conversation-panel/conversation-group-folder-row.d.ts +1 -1
  484. package/dist/components/features/conversation-panel/conversation-panel-filter-menu.d.ts +1 -1
  485. package/dist/components/features/conversation-panel/conversation-panel-new-thread-picker.d.ts +1 -1
  486. package/dist/components/features/conversation-panel/conversation-panel-pinned-section.d.ts +1 -1
  487. package/dist/components/features/conversation-panel/conversation-panel.cjs +1 -1
  488. package/dist/components/features/conversation-panel/conversation-panel.cjs.map +1 -1
  489. package/dist/components/features/conversation-panel/conversation-panel.d.ts +2 -1
  490. package/dist/components/features/conversation-panel/conversation-panel.js +221 -220
  491. package/dist/components/features/conversation-panel/conversation-panel.js.map +1 -1
  492. package/dist/components/features/conversation-panel/conversation-status-dot.d.ts +1 -1
  493. package/dist/components/features/conversation-panel/exit-conversation-modal.d.ts +1 -1
  494. package/dist/components/features/conversation-panel/hook-event-item.d.ts +1 -1
  495. package/dist/components/features/conversation-panel/hook-matcher-content.d.ts +1 -1
  496. package/dist/components/features/conversation-panel/hooks-empty-state.d.ts +1 -1
  497. package/dist/components/features/conversation-panel/hooks-loading-state.d.ts +1 -1
  498. package/dist/components/features/conversation-panel/hooks-modal-header.d.ts +1 -1
  499. package/dist/components/features/conversation-panel/hooks-modal.d.ts +1 -1
  500. package/dist/components/features/conversation-panel/local-new-conversation-menu.d.ts +1 -1
  501. package/dist/components/features/conversation-panel/menu-heading.d.ts +1 -1
  502. package/dist/components/features/conversation-panel/menu-row.d.ts +1 -1
  503. package/dist/components/features/conversation-panel/menu-separator.d.ts +1 -1
  504. package/dist/components/features/conversation-panel/new-conversation-button.d.ts +2 -1
  505. package/dist/components/features/conversation-panel/plugins-modal.d.ts +1 -1
  506. package/dist/components/features/conversation-panel/runtime-waiting-state.d.ts +1 -1
  507. package/dist/components/features/conversation-panel/skill-content.d.ts +1 -1
  508. package/dist/components/features/conversation-panel/skill-item.d.ts +1 -1
  509. package/dist/components/features/conversation-panel/skill-triggers.d.ts +1 -1
  510. package/dist/components/features/conversation-panel/skills-empty-state.d.ts +1 -1
  511. package/dist/components/features/conversation-panel/skills-loading-state.d.ts +1 -1
  512. package/dist/components/features/conversation-panel/skills-modal-header.d.ts +1 -1
  513. package/dist/components/features/conversation-panel/skills-modal-section.d.ts +1 -1
  514. package/dist/components/features/conversation-panel/skills-modal.d.ts +1 -1
  515. package/dist/components/features/conversation-panel/start-task-card/start-task-card-footer.d.ts +1 -1
  516. package/dist/components/features/conversation-panel/start-task-card/start-task-card-header.d.ts +1 -1
  517. package/dist/components/features/conversation-panel/start-task-card/start-task-card.d.ts +1 -1
  518. package/dist/components/features/conversation-panel/start-task-card/start-task-status-badge.d.ts +1 -1
  519. package/dist/components/features/conversation-panel/start-task-card/start-task-status-indicator.d.ts +1 -1
  520. package/dist/components/features/conversation-panel/system-message-modal/empty-tools-state.d.ts +1 -1
  521. package/dist/components/features/conversation-panel/system-message-modal/system-message-content.d.ts +1 -1
  522. package/dist/components/features/conversation-panel/system-message-modal/system-message-header.d.ts +1 -1
  523. package/dist/components/features/conversation-panel/system-message-modal/tab-button.d.ts +1 -1
  524. package/dist/components/features/conversation-panel/system-message-modal/tab-content.d.ts +1 -1
  525. package/dist/components/features/conversation-panel/system-message-modal/tab-navigation.d.ts +1 -1
  526. package/dist/components/features/conversation-panel/system-message-modal/toggle-button.d.ts +1 -1
  527. package/dist/components/features/conversation-panel/system-message-modal/tool-item.d.ts +1 -1
  528. package/dist/components/features/conversation-panel/system-message-modal/tool-parameters.d.ts +1 -1
  529. package/dist/components/features/conversation-panel/system-message-modal/tools-list.d.ts +1 -1
  530. package/dist/components/features/conversation-panel/system-message-modal.d.ts +1 -1
  531. package/dist/components/features/diff-viewer/commit-list.d.ts +2 -1
  532. package/dist/components/features/diff-viewer/commit-row.d.ts +2 -1
  533. package/dist/components/features/diff-viewer/diff-drawer-icon.d.ts +1 -1
  534. package/dist/components/features/diff-viewer/editor-container.d.ts +1 -1
  535. package/dist/components/features/diff-viewer/empty-changes-message.d.ts +1 -1
  536. package/dist/components/features/diff-viewer/file-diff-viewer.d.ts +2 -1
  537. package/dist/components/features/diff-viewer/loading-spinner.d.ts +1 -1
  538. package/dist/components/features/files/file-item.d.ts +1 -1
  539. package/dist/components/features/files/file-list.d.ts +2 -1
  540. package/dist/components/features/files-tab/file-content-viewer.d.ts +1 -1
  541. package/dist/components/features/files-tab/file-quick-row.d.ts +1 -1
  542. package/dist/components/features/files-tab/file-tree-view.d.ts +1 -1
  543. package/dist/components/features/files-tab/highlighted-source-view.d.ts +1 -1
  544. package/dist/components/features/files-tab/no-file-selected-message.d.ts +1 -1
  545. package/dist/components/features/files-tab/segmented-toggle.d.ts +1 -1
  546. package/dist/components/features/files-tab/tree-node.d.ts +1 -1
  547. package/dist/components/features/home/featured-automations/automation-health-indicator.d.ts +11 -0
  548. package/dist/components/features/home/featured-automations/automation-run-activity-metrics.d.ts +18 -0
  549. package/dist/components/features/home/featured-automations/automation-run-activity-sparkline.d.ts +14 -0
  550. package/dist/components/features/home/featured-automations/automation-run-health.d.ts +25 -0
  551. package/dist/components/features/home/featured-automations/build-home-automation-menu-items.d.ts +39 -0
  552. package/dist/components/features/home/featured-automations/build-pinned-automation-menu-items.d.ts +22 -0
  553. package/dist/components/features/home/featured-automations/home-automation-activity.d.ts +23 -0
  554. package/dist/components/features/home/featured-automations/home-automation-menu.d.ts +13 -0
  555. package/dist/components/features/home/featured-automations/home-automation-run-tooltip.d.ts +12 -0
  556. package/dist/components/features/home/featured-automations/pinned-automation-card.d.ts +21 -0
  557. package/dist/components/features/home/featured-automations/pinned-automations-dashboard.d.ts +6 -0
  558. package/dist/components/features/home/featured-automations/running-automations-list.d.ts +6 -0
  559. package/dist/components/features/home/git-branch-dropdown/branch-dropdown-menu.d.ts +1 -1
  560. package/dist/components/features/home/git-branch-dropdown/git-branch-dropdown.d.ts +2 -1
  561. package/dist/components/features/home/git-provider-dropdown/git-provider-dropdown.d.ts +2 -1
  562. package/dist/components/features/home/git-repo-dropdown/git-repo-dropdown.d.ts +2 -1
  563. package/dist/components/features/home/home-chat-launcher.d.ts +1 -1
  564. package/dist/components/features/home/home-git-control-bar-preview.d.ts +1 -1
  565. package/dist/components/features/home/home-header/guide-message.d.ts +1 -1
  566. package/dist/components/features/home/home-header/home-header-title.d.ts +1 -1
  567. package/dist/components/features/home/home-header/home-header.d.ts +1 -1
  568. package/dist/components/features/home/llm-not-configured-banner.d.ts +1 -1
  569. package/dist/components/features/home/new-conversation/create-conversation-button.d.ts +1 -1
  570. package/dist/components/features/home/new-conversation/new-conversation.d.ts +1 -1
  571. package/dist/components/features/home/new-conversation.d.ts +1 -1
  572. package/dist/components/features/home/open-launcher-button.d.ts +1 -1
  573. package/dist/components/features/home/open-repository-dialog.d.ts +1 -1
  574. package/dist/components/features/home/open-workspace-dialog.d.ts +1 -1
  575. package/dist/components/features/home/repo-selection-form.d.ts +2 -1
  576. package/dist/components/features/home/shared/clear-button.d.ts +2 -1
  577. package/dist/components/features/home/shared/dropdown-item.d.ts +1 -1
  578. package/dist/components/features/home/shared/empty-state.d.ts +2 -1
  579. package/dist/components/features/home/shared/error-message.d.ts +2 -1
  580. package/dist/components/features/home/shared/generic-dropdown-menu.d.ts +1 -1
  581. package/dist/components/features/home/shared/loading-spinner.d.ts +2 -1
  582. package/dist/components/features/home/shared/toggle-button.d.ts +1 -1
  583. package/dist/components/features/home/tasks/task-card.d.ts +1 -1
  584. package/dist/components/features/home/tasks/task-group.d.ts +1 -1
  585. package/dist/components/features/home/tasks/task-issue-number.d.ts +1 -1
  586. package/dist/components/features/home/tasks/task-item-title.d.ts +1 -1
  587. package/dist/components/features/home/tasks/task-suggestions-skeleton.d.ts +1 -1
  588. package/dist/components/features/home/tasks/task-suggestions.d.ts +1 -1
  589. package/dist/components/features/home/workspace-dropdown/folder-browser-modal.d.ts +2 -1
  590. package/dist/components/features/home/workspace-dropdown/manage-workspaces-modal.d.ts +2 -1
  591. package/dist/components/features/home/workspace-dropdown/workspace-dropdown.d.ts +2 -1
  592. package/dist/components/features/home/workspace-selection-form.d.ts +2 -1
  593. package/dist/components/features/images/image-carousel.d.ts +2 -1
  594. package/dist/components/features/images/image-preview.d.ts +1 -1
  595. package/dist/components/features/images/thumbnail.d.ts +1 -1
  596. package/dist/components/features/launch/plugin-launch-modal.d.ts +2 -1
  597. package/dist/components/features/launch/plugin-launch-parameter-input.d.ts +1 -1
  598. package/dist/components/features/launch/plugin-launch-plugin-section.d.ts +1 -1
  599. package/dist/components/features/manifest/manifest-form-field.d.ts +1 -1
  600. package/dist/components/features/manifest/manifest-icons.d.ts +13 -0
  601. package/dist/components/features/manifest/manifest-overview-tiles.d.ts +19 -0
  602. package/dist/components/features/manifest/manifest-prerequisites-step.d.ts +1 -1
  603. package/dist/components/features/manifest/manifest-review-step.d.ts +1 -1
  604. package/dist/components/features/manifest/manifest-setup-dialog.d.ts +1 -1
  605. package/dist/components/features/manifest/manifest-subpage-layout.d.ts +23 -0
  606. package/dist/components/features/markdown/anchor.d.ts +1 -1
  607. package/dist/components/features/markdown/blockquote.d.ts +1 -1
  608. package/dist/components/features/markdown/code.d.ts +1 -1
  609. package/dist/components/features/markdown/headings.d.ts +6 -6
  610. package/dist/components/features/markdown/horizontal-rule.d.ts +1 -1
  611. package/dist/components/features/markdown/list.d.ts +3 -3
  612. package/dist/components/features/markdown/markdown-renderer.d.ts +1 -1
  613. package/dist/components/features/markdown/markdown-table-scroll.d.ts +1 -1
  614. package/dist/components/features/markdown/paragraph.d.ts +1 -1
  615. package/dist/components/features/markdown/plan-components.d.ts +36 -36
  616. package/dist/components/features/markdown/table.d.ts +3 -3
  617. package/dist/components/features/mcp-logo-badge.d.ts +1 -1
  618. package/dist/components/features/mcp-page/custom-server-editor.cjs +1 -1
  619. package/dist/components/features/mcp-page/custom-server-editor.cjs.map +1 -1
  620. package/dist/components/features/mcp-page/custom-server-editor.d.ts +2 -1
  621. package/dist/components/features/mcp-page/custom-server-editor.js +5 -0
  622. package/dist/components/features/mcp-page/custom-server-editor.js.map +1 -1
  623. package/dist/components/features/mcp-page/install-server-modal.cjs +1 -1
  624. package/dist/components/features/mcp-page/install-server-modal.cjs.map +1 -1
  625. package/dist/components/features/mcp-page/install-server-modal.d.ts +2 -1
  626. package/dist/components/features/mcp-page/install-server-modal.js +117 -118
  627. package/dist/components/features/mcp-page/install-server-modal.js.map +1 -1
  628. package/dist/components/features/mcp-page/installed-server-card.d.ts +2 -1
  629. package/dist/components/features/mcp-page/installed-servers-section.d.ts +1 -1
  630. package/dist/components/features/mcp-page/marketplace-card.d.ts +1 -1
  631. package/dist/components/features/mcp-page/marketplace-section.d.ts +1 -1
  632. package/dist/components/features/mcp-page/mcp-logo-stack-badge.d.ts +1 -1
  633. package/dist/components/features/mcp-page/mcp-section-filter-dropdown.d.ts +1 -1
  634. package/dist/components/features/mcp-page/mcp-server-health.d.ts +2 -1
  635. package/dist/components/features/mcp-page/mcp-toolbar.d.ts +1 -1
  636. package/dist/components/features/mcp-page/save-as-secret-toggle.d.ts +1 -1
  637. package/dist/components/features/onboarding/onboarding-host.d.ts +1 -1
  638. package/dist/components/features/onboarding/onboarding-modal.d.ts +2 -1
  639. package/dist/components/features/onboarding/onboarding-progress-bar.d.ts +1 -1
  640. package/dist/components/features/onboarding/steps/check-backend-step.d.ts +2 -1
  641. package/dist/components/features/onboarding/steps/choose-agent-step.d.ts +3 -2
  642. package/dist/components/features/onboarding/steps/say-hello-step.d.ts +2 -1
  643. package/dist/components/features/onboarding/steps/setup-acp-secrets-step.d.ts +2 -1
  644. package/dist/components/features/onboarding/steps/setup-llm-step.d.ts +2 -1
  645. package/dist/components/features/plugins/add-plugin-modal.d.ts +2 -1
  646. package/dist/components/features/plugins/plugin-card.d.ts +2 -1
  647. package/dist/components/features/plugins/plugin-detail-modal.d.ts +1 -1
  648. package/dist/components/features/plugins/plugin-files-section.d.ts +2 -1
  649. package/dist/components/features/plugins/plugin-picker-card.d.ts +1 -1
  650. package/dist/components/features/plugins/plugin-picker-modal.d.ts +1 -1
  651. package/dist/components/features/plugins/plugin-picker-trigger.d.ts +1 -1
  652. package/dist/components/features/plugins/plugin-picker.d.ts +1 -1
  653. package/dist/components/features/plugins/plugins-toolbar.d.ts +1 -1
  654. package/dist/components/features/settings/acp-auth-status-banner.d.ts +1 -1
  655. package/dist/components/features/settings/acp-conflict-warnings.d.ts +2 -1
  656. package/dist/components/features/settings/acp-credentials-section.d.ts +1 -1
  657. package/dist/components/features/settings/acp-secret-field.d.ts +2 -1
  658. package/dist/components/features/settings/agent-canvas-update-card.d.ts +1 -1
  659. package/dist/components/features/settings/agent-profiles/agent-profile-actions-menu.d.ts +1 -1
  660. package/dist/components/features/settings/agent-profiles/agent-profile-row.d.ts +1 -1
  661. package/dist/components/features/settings/agent-profiles/agent-profiles-body.d.ts +1 -1
  662. package/dist/components/features/settings/agent-profiles/agent-profiles-local-view.d.ts +1 -1
  663. package/dist/components/features/settings/agent-profiles/agent-profiles-manager.d.ts +1 -1
  664. package/dist/components/features/settings/agent-profiles/delete-agent-profile-modal.d.ts +1 -1
  665. package/dist/components/features/settings/agent-server-onboarding.d.ts +2 -1
  666. package/dist/components/features/settings/api-key-modal-base.d.ts +1 -1
  667. package/dist/components/features/settings/app-settings/app-settings-inputs-skeleton.d.ts +1 -1
  668. package/dist/components/features/settings/app-settings/language-input.d.ts +1 -1
  669. package/dist/components/features/settings/app-settings/theme-input.d.ts +2 -1
  670. package/dist/components/features/settings/backend-synced-settings-badge.d.ts +1 -1
  671. package/dist/components/features/settings/banner-message.d.ts +1 -1
  672. package/dist/components/features/settings/cloud-settings-link.d.ts +1 -1
  673. package/dist/components/features/settings/input-skeleton.d.ts +1 -1
  674. package/dist/components/features/settings/integrations-settings-link.d.ts +1 -1
  675. package/dist/components/features/settings/key-status-icon.d.ts +1 -1
  676. package/dist/components/features/settings/llm-profiles/delete-profile-modal.d.ts +1 -1
  677. package/dist/components/features/settings/llm-profiles/llm-profiles-manager.d.ts +1 -1
  678. package/dist/components/features/settings/llm-profiles/llm-settings-local-view.d.ts +2 -1
  679. package/dist/components/features/settings/llm-profiles/profile-actions-menu-item.d.ts +1 -1
  680. package/dist/components/features/settings/llm-profiles/profile-actions-menu.d.ts +1 -1
  681. package/dist/components/features/settings/llm-profiles/profile-row.d.ts +1 -1
  682. package/dist/components/features/settings/llm-profiles/profiles-body.d.ts +1 -1
  683. package/dist/components/features/settings/llm-profiles/rename-profile-modal.d.ts +1 -1
  684. package/dist/components/features/settings/llm-settings/llm-settings-inputs-skeleton.d.ts +1 -1
  685. package/dist/components/features/settings/llm-settings/openai-subscription-auth-card.d.ts +2 -1
  686. package/dist/components/features/settings/mcp-settings/mcp-server-form.cjs +1 -1
  687. package/dist/components/features/settings/mcp-settings/mcp-server-form.cjs.map +1 -1
  688. package/dist/components/features/settings/mcp-settings/mcp-server-form.d.ts +2 -1
  689. package/dist/components/features/settings/mcp-settings/mcp-server-form.js +2 -1
  690. package/dist/components/features/settings/mcp-settings/mcp-server-form.js.map +1 -1
  691. package/dist/components/features/settings/mcp-settings/mcp-server-list-item.d.ts +1 -1
  692. package/dist/components/features/settings/mcp-settings/mcp-server-list.d.ts +1 -1
  693. package/dist/components/features/settings/mobile-header.d.ts +1 -1
  694. package/dist/components/features/settings/optional-tag.d.ts +1 -1
  695. package/dist/components/features/settings/sdk-settings/field-help.d.ts +1 -1
  696. package/dist/components/features/settings/sdk-settings/schema-field.d.ts +2 -1
  697. package/dist/components/features/settings/sdk-settings/sdk-section-page.d.ts +1 -1
  698. package/dist/components/features/settings/sdk-settings/view-toggle.d.ts +1 -1
  699. package/dist/components/features/settings/secrets-settings/secret-form.d.ts +2 -1
  700. package/dist/components/features/settings/secrets-settings/secret-list-item.d.ts +2 -2
  701. package/dist/components/features/settings/settings-desktop-sidebar.d.ts +1 -1
  702. package/dist/components/features/settings/settings-dropdown-input.d.ts +1 -1
  703. package/dist/components/features/settings/settings-layout.d.ts +1 -1
  704. package/dist/components/features/settings/settings-mobile-drawer.d.ts +1 -1
  705. package/dist/components/features/settings/settings-mobile-hub.d.ts +1 -1
  706. package/dist/components/features/settings/settings-nav-divider.d.ts +1 -1
  707. package/dist/components/features/settings/settings-nav-header.d.ts +1 -1
  708. package/dist/components/features/settings/settings-nav-link.d.ts +1 -1
  709. package/dist/components/features/settings/settings-navigation.d.ts +1 -1
  710. package/dist/components/features/settings/settings-switch.d.ts +1 -1
  711. package/dist/components/features/settings/subtext-skeleton.d.ts +1 -1
  712. package/dist/components/features/settings/switch-skeleton.d.ts +1 -1
  713. package/dist/components/features/settings/upgrade-banner.d.ts +1 -1
  714. package/dist/components/features/settings/upgrade-button.d.ts +1 -1
  715. package/dist/components/features/sidebar/avatar.d.ts +1 -1
  716. package/dist/components/features/sidebar/sidebar-collapsed-icon-slot.d.ts +1 -1
  717. package/dist/components/features/sidebar/sidebar-conversation-list.d.ts +1 -1
  718. package/dist/components/features/sidebar/sidebar-mobile-menu-bar.d.ts +1 -1
  719. package/dist/components/features/sidebar/sidebar-mobile-menu-toggle.d.ts +1 -1
  720. package/dist/components/features/sidebar/sidebar-mobile-nav-context.d.ts +1 -1
  721. package/dist/components/features/sidebar/sidebar-nav-link.d.ts +1 -1
  722. package/dist/components/features/sidebar/sidebar-rail-body.d.ts +1 -1
  723. package/dist/components/features/sidebar/sidebar.d.ts +2 -1
  724. package/dist/components/features/sidebar/user-avatar.d.ts +1 -1
  725. package/dist/components/features/skills/add-skill-modal.d.ts +2 -1
  726. package/dist/components/features/skills/extensions-mobile-hub.d.ts +1 -1
  727. package/dist/components/features/skills/extensions-navigation.d.ts +1 -1
  728. package/dist/components/features/skills/skill-card-pill-row.d.ts +1 -1
  729. package/dist/components/features/skills/skill-card.d.ts +2 -1
  730. package/dist/components/features/skills/skill-detail-modal.d.ts +2 -1
  731. package/dist/components/features/skills/skill-facet-rail.d.ts +8 -0
  732. package/dist/components/features/skills/skill-facet-row.d.ts +13 -0
  733. package/dist/components/features/skills/skill-filter.d.ts +34 -0
  734. package/dist/components/features/skills/skill-filters-modal.d.ts +10 -0
  735. package/dist/components/features/skills/skill-icon-badge.d.ts +1 -1
  736. package/dist/components/features/skills/skill-type-badge.d.ts +1 -1
  737. package/dist/components/features/skills/skills-toolbar.d.ts +3 -4
  738. package/dist/components/features/suggestions/suggestion-item.d.ts +1 -1
  739. package/dist/components/features/suggestions/suggestions.d.ts +1 -1
  740. package/dist/components/features/terminal/empty-terminal-message.d.ts +1 -1
  741. package/dist/components/features/terminal/terminal.d.ts +1 -1
  742. package/dist/components/features/tips/random-tip.d.ts +2 -1
  743. package/dist/components/providers/agent-server-ui-providers.d.ts +1 -1
  744. package/dist/components/providers/agent-server-ui-root.d.ts +1 -1
  745. package/dist/components/providers/telemetry-provider.d.ts +1 -1
  746. package/dist/components/shared/action-tooltip.d.ts +1 -1
  747. package/dist/components/shared/agent-brand-icon.d.ts +1 -1
  748. package/dist/components/shared/badge.d.ts +1 -1
  749. package/dist/components/shared/buttons/back-nav-button-content.d.ts +1 -1
  750. package/dist/components/shared/buttons/circle-plus-check-toggle.d.ts +3 -2
  751. package/dist/components/shared/buttons/conversation-confirmation-buttons.d.ts +1 -1
  752. package/dist/components/shared/buttons/copy-to-clipboard-button.d.ts +1 -1
  753. package/dist/components/shared/buttons/copyable-content-wrapper.d.ts +1 -1
  754. package/dist/components/shared/buttons/modal-button.d.ts +1 -1
  755. package/dist/components/shared/buttons/openhands-logo-button.d.ts +1 -1
  756. package/dist/components/shared/buttons/remove-button.d.ts +1 -1
  757. package/dist/components/shared/buttons/scroll-to-bottom-button.d.ts +1 -1
  758. package/dist/components/shared/buttons/styled-tooltip.d.ts +1 -1
  759. package/dist/components/shared/filters/enum-filter-dropdown.cjs +1 -1
  760. package/dist/components/shared/filters/enum-filter-dropdown.cjs.map +1 -1
  761. package/dist/components/shared/filters/enum-filter-dropdown.d.ts +6 -2
  762. package/dist/components/shared/filters/enum-filter-dropdown.js +13 -13
  763. package/dist/components/shared/filters/enum-filter-dropdown.js.map +1 -1
  764. package/dist/components/shared/git-provider-icon.d.ts +1 -1
  765. package/dist/components/shared/hook-execution-event-message.d.ts +2 -1
  766. package/dist/components/shared/loading-spinner.d.ts +1 -1
  767. package/dist/components/shared/modals/confirmation-modal.d.ts +1 -1
  768. package/dist/components/shared/modals/confirmation-modals/base-modal.d.ts +3 -3
  769. package/dist/components/shared/modals/confirmation-modals/danger-modal.d.ts +1 -1
  770. package/dist/components/shared/modals/modal-body.d.ts +1 -1
  771. package/dist/components/shared/modals/modal-close-button.d.ts +1 -1
  772. package/dist/components/shared/modals/settings/model-selector.d.ts +2 -1
  773. package/dist/components/shared/modals/settings/settings-form.d.ts +2 -1
  774. package/dist/components/shared/modals/settings/settings-modal.d.ts +1 -1
  775. package/dist/components/shared/navigation-link.cjs +1 -1
  776. package/dist/components/shared/navigation-link.cjs.map +1 -1
  777. package/dist/components/shared/navigation-link.js +11 -7
  778. package/dist/components/shared/navigation-link.js.map +1 -1
  779. package/dist/components/shared/risk-alert.d.ts +1 -1
  780. package/dist/components/shared/text-shimmer.d.ts +1 -1
  781. package/dist/components/ui/resize-handle.d.ts +1 -1
  782. package/dist/config/defaults.cjs +1 -1
  783. package/dist/config/defaults.cjs.map +1 -1
  784. package/dist/config/defaults.js +3 -3
  785. package/dist/config/defaults.js.map +1 -1
  786. package/dist/context/navigation-context.d.ts +1 -1
  787. package/dist/context/scroll-context.d.ts +1 -1
  788. package/dist/contexts/active-backend-context.d.ts +1 -1
  789. package/dist/contexts/conversation-websocket-context.d.ts +1 -1
  790. package/dist/contexts/settings-section-header-context.d.ts +1 -1
  791. package/dist/contexts/websocket-provider-wrapper.d.ts +1 -1
  792. package/dist/fixtures/home-automations-demo.d.ts +19 -0
  793. package/dist/hooks/mutation/use-add-mcp-server.cjs +1 -1
  794. package/dist/hooks/mutation/use-add-mcp-server.cjs.map +1 -1
  795. package/dist/hooks/mutation/use-add-mcp-server.js +10 -14
  796. package/dist/hooks/mutation/use-add-mcp-server.js.map +1 -1
  797. package/dist/hooks/mutation/use-delete-mcp-server.cjs +1 -1
  798. package/dist/hooks/mutation/use-delete-mcp-server.cjs.map +1 -1
  799. package/dist/hooks/mutation/use-delete-mcp-server.d.ts +2 -7
  800. package/dist/hooks/mutation/use-delete-mcp-server.js +8 -34
  801. package/dist/hooks/mutation/use-delete-mcp-server.js.map +1 -1
  802. package/dist/hooks/mutation/use-save-settings.cjs +1 -1
  803. package/dist/hooks/mutation/use-save-settings.cjs.map +1 -1
  804. package/dist/hooks/mutation/use-save-settings.js +8 -4
  805. package/dist/hooks/mutation/use-save-settings.js.map +1 -1
  806. package/dist/hooks/mutation/use-update-mcp-server.cjs +1 -1
  807. package/dist/hooks/mutation/use-update-mcp-server.cjs.map +1 -1
  808. package/dist/hooks/mutation/use-update-mcp-server.d.ts +1 -1
  809. package/dist/hooks/mutation/use-update-mcp-server.js +31 -16
  810. package/dist/hooks/mutation/use-update-mcp-server.js.map +1 -1
  811. package/dist/hooks/query/use-active-conversation.d.ts +1 -1
  812. package/dist/hooks/query/use-agent-profiles.d.ts +1 -1
  813. package/dist/hooks/query/use-app-installations.d.ts +1 -1
  814. package/dist/hooks/query/use-automation-detail.d.ts +2 -2
  815. package/dist/hooks/query/use-automation-health.d.ts +2 -0
  816. package/dist/hooks/query/use-automations.d.ts +5 -1
  817. package/dist/hooks/query/use-bash-command-logs.d.ts +1 -1
  818. package/dist/hooks/query/use-cloud-sandbox.d.ts +1 -1
  819. package/dist/hooks/query/use-commit-changes.d.ts +1 -1
  820. package/dist/hooks/query/use-config.d.ts +1 -1
  821. package/dist/hooks/query/use-conversation-history.d.ts +1 -1
  822. package/dist/hooks/query/use-conversation-hooks.d.ts +1 -1
  823. package/dist/hooks/query/use-conversation-skills.d.ts +1 -1
  824. package/dist/hooks/query/use-get-secrets.d.ts +1 -1
  825. package/dist/hooks/query/use-home-automations.d.ts +20 -0
  826. package/dist/hooks/query/use-latest-automation-runs.d.ts +19 -0
  827. package/dist/hooks/query/use-llm-profiles.d.ts +1 -1
  828. package/dist/hooks/query/use-llm-subscription-models.d.ts +1 -1
  829. package/dist/hooks/query/use-llm-subscription-status.d.ts +1 -1
  830. package/dist/hooks/query/use-local-git-info.d.ts +1 -1
  831. package/dist/hooks/query/use-local-workspaces.d.ts +1 -1
  832. package/dist/hooks/query/use-manifest-capabilities.d.ts +2 -0
  833. package/dist/hooks/query/use-plugin-file-content.d.ts +1 -1
  834. package/dist/hooks/query/use-plugins-marketplace.d.ts +1 -1
  835. package/dist/hooks/query/use-provider-models.d.ts +1 -1
  836. package/dist/hooks/query/use-search-branches.d.ts +1 -1
  837. package/dist/hooks/query/use-search-providers.d.ts +1 -1
  838. package/dist/hooks/query/use-search-repositories.d.ts +1 -1
  839. package/dist/hooks/query/use-search-subdirs.d.ts +2 -2
  840. package/dist/hooks/query/use-settings.d.ts +2 -2
  841. package/dist/hooks/query/use-skills.d.ts +1 -1
  842. package/dist/hooks/query/use-start-tasks.d.ts +1 -1
  843. package/dist/hooks/query/use-sub-conversation-task-polling.d.ts +1 -1
  844. package/dist/hooks/query/use-sub-conversations.d.ts +1 -1
  845. package/dist/hooks/query/use-suggested-tasks.d.ts +1 -1
  846. package/dist/hooks/query/use-task-polling.d.ts +2 -2
  847. package/dist/hooks/query/use-unified-get-git-changes.d.ts +1 -1
  848. package/dist/hooks/query/use-unified-git-diff.d.ts +1 -1
  849. package/dist/hooks/query/use-user-conversation.d.ts +1 -1
  850. package/dist/hooks/query/use-workspace-file-content.d.ts +1 -1
  851. package/dist/hooks/use-backend-scoped-path.cjs +2 -0
  852. package/dist/hooks/use-backend-scoped-path.cjs.map +1 -0
  853. package/dist/hooks/use-backend-scoped-path.d.ts +10 -0
  854. package/dist/hooks/use-backend-scoped-path.js +13 -0
  855. package/dist/hooks/use-backend-scoped-path.js.map +1 -0
  856. package/dist/hooks/use-home-automation-actions.d.ts +23 -0
  857. package/dist/hooks/use-home-pinned-automations.d.ts +26 -0
  858. package/dist/hooks/use-tracking.cjs +1 -1
  859. package/dist/hooks/use-tracking.cjs.map +1 -1
  860. package/dist/hooks/use-tracking.d.ts +4 -0
  861. package/dist/hooks/use-tracking.js +6 -0
  862. package/dist/hooks/use-tracking.js.map +1 -1
  863. package/dist/i18n/declaration.cjs +1 -1
  864. package/dist/i18n/declaration.cjs.map +1 -1
  865. package/dist/i18n/declaration.d.ts +68 -2
  866. package/dist/i18n/declaration.js +1 -1
  867. package/dist/i18n/declaration.js.map +1 -1
  868. package/dist/i18n/translation.cjs +2 -2
  869. package/dist/i18n/translation.cjs.map +1 -1
  870. package/dist/i18n/translation.js +1169 -47
  871. package/dist/i18n/translation.js.map +1 -1
  872. package/dist/icons/code-pill.d.ts +1 -1
  873. package/dist/locales/ar/openhands.json +70 -4
  874. package/dist/locales/ca/openhands.json +70 -4
  875. package/dist/locales/de/openhands.json +70 -4
  876. package/dist/locales/en/openhands.json +70 -4
  877. package/dist/locales/es/openhands.json +70 -4
  878. package/dist/locales/fr/openhands.json +70 -4
  879. package/dist/locales/it/openhands.json +70 -4
  880. package/dist/locales/ja/openhands.json +70 -4
  881. package/dist/locales/ko-KR/openhands.json +70 -4
  882. package/dist/locales/no/openhands.json +70 -4
  883. package/dist/locales/pt/openhands.json +70 -4
  884. package/dist/locales/tr/openhands.json +70 -4
  885. package/dist/locales/uk/openhands.json +70 -4
  886. package/dist/locales/zh-CN/openhands.json +70 -4
  887. package/dist/locales/zh-TW/openhands.json +70 -4
  888. package/dist/manifests/automation-insights.d.ts +64 -0
  889. package/dist/manifests/automation-interface.cjs +1 -1
  890. package/dist/manifests/automation-interface.cjs.map +1 -1
  891. package/dist/manifests/automation-interface.d.ts +33 -1
  892. package/dist/manifests/automation-interface.js +2 -1
  893. package/dist/manifests/automation-interface.js.map +1 -1
  894. package/dist/manifests/interface-validation.cjs +1 -1
  895. package/dist/manifests/interface-validation.cjs.map +1 -1
  896. package/dist/manifests/interface-validation.js +228 -50
  897. package/dist/manifests/interface-validation.js.map +1 -1
  898. package/dist/manifests/manifest-template.d.ts +2 -0
  899. package/dist/manifests/manifest-validation.cjs.map +1 -1
  900. package/dist/manifests/manifest-validation.js.map +1 -1
  901. package/dist/manifests/types.cjs +1 -1
  902. package/dist/manifests/types.cjs.map +1 -1
  903. package/dist/manifests/types.d.ts +128 -0
  904. package/dist/manifests/types.js +35 -2
  905. package/dist/manifests/types.js.map +1 -1
  906. package/dist/mockServiceWorker.js +21 -9
  907. package/dist/node_modules/@openhands/extensions/automations/catalog/upstream-fork-sync/manifest.cjs +9 -0
  908. package/dist/node_modules/@openhands/extensions/automations/catalog/upstream-fork-sync/manifest.cjs.map +1 -0
  909. package/dist/node_modules/@openhands/extensions/automations/catalog/upstream-fork-sync/manifest.js +74 -0
  910. package/dist/node_modules/@openhands/extensions/automations/catalog/upstream-fork-sync/manifest.js.map +1 -0
  911. package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs +1 -1
  912. package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs.map +1 -1
  913. package/dist/node_modules/@openhands/extensions/automations/catalog-index.js +6 -4
  914. package/dist/node_modules/@openhands/extensions/automations/catalog-index.js.map +1 -1
  915. package/dist/node_modules/@openhands/extensions/automations/interface.cjs +1 -1
  916. package/dist/node_modules/@openhands/extensions/automations/interface.cjs.map +1 -1
  917. package/dist/node_modules/@openhands/extensions/automations/interface.js +126 -5
  918. package/dist/node_modules/@openhands/extensions/automations/interface.js.map +1 -1
  919. package/dist/node_modules/@openhands/extensions/skills/index.cjs +161 -53
  920. package/dist/node_modules/@openhands/extensions/skills/index.cjs.map +1 -1
  921. package/dist/node_modules/@openhands/extensions/skills/index.js +112 -50
  922. package/dist/node_modules/@openhands/extensions/skills/index.js.map +1 -1
  923. package/dist/node_modules/@tanstack/query-core/build/modern/utils.cjs +1 -1
  924. package/dist/node_modules/@tanstack/query-core/build/modern/utils.cjs.map +1 -1
  925. package/dist/node_modules/@tanstack/query-core/build/modern/utils.js +12 -1
  926. package/dist/node_modules/@tanstack/query-core/build/modern/utils.js.map +1 -1
  927. package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.cjs +1 -1
  928. package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.cjs.map +1 -1
  929. package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js +14 -12
  930. package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js.map +1 -1
  931. package/dist/node_modules/html-parse-stringify/dist/esm/html-parse-stringify.cjs +2 -0
  932. package/dist/node_modules/html-parse-stringify/dist/esm/html-parse-stringify.cjs.map +1 -0
  933. package/dist/node_modules/html-parse-stringify/dist/esm/html-parse-stringify.js +177 -0
  934. package/dist/node_modules/html-parse-stringify/dist/esm/html-parse-stringify.js.map +1 -0
  935. package/dist/node_modules/i18next/dist/esm/i18next.cjs +1 -1
  936. package/dist/node_modules/i18next/dist/esm/i18next.cjs.map +1 -1
  937. package/dist/node_modules/i18next/dist/esm/i18next.js +31 -24
  938. package/dist/node_modules/i18next/dist/esm/i18next.js.map +1 -1
  939. package/dist/node_modules/posthog-js/dist/module.cjs +2 -2
  940. package/dist/node_modules/posthog-js/dist/module.cjs.map +1 -1
  941. package/dist/node_modules/posthog-js/dist/module.js +2055 -1929
  942. package/dist/node_modules/posthog-js/dist/module.js.map +1 -1
  943. package/dist/node_modules/react-i18next/dist/es/TransWithoutContext.cjs +1 -1
  944. package/dist/node_modules/react-i18next/dist/es/TransWithoutContext.cjs.map +1 -1
  945. package/dist/node_modules/react-i18next/dist/es/TransWithoutContext.js +43 -62
  946. package/dist/node_modules/react-i18next/dist/es/TransWithoutContext.js.map +1 -1
  947. package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs +1 -1
  948. package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs.map +1 -1
  949. package/dist/node_modules/react-i18next/dist/es/useTranslation.js +12 -6
  950. package/dist/node_modules/react-i18next/dist/es/useTranslation.js.map +1 -1
  951. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -1
  952. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -1
  953. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +352 -310
  954. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  955. package/dist/package.cjs +1 -1
  956. package/dist/package.cjs.map +1 -1
  957. package/dist/package.js +34 -33
  958. package/dist/package.js.map +1 -1
  959. package/dist/routes/agent-settings.d.ts +3 -2
  960. package/dist/routes/app-settings.d.ts +2 -1
  961. package/dist/routes/browser-tab.d.ts +1 -1
  962. package/dist/routes/changes-tab.d.ts +2 -1
  963. package/dist/routes/commits-tab.d.ts +1 -1
  964. package/dist/routes/conversation.d.ts +2 -1
  965. package/dist/routes/files-tab.d.ts +1 -1
  966. package/dist/routes/llm-settings.d.ts +3 -2
  967. package/dist/routes/mcp.cjs +1 -1
  968. package/dist/routes/mcp.cjs.map +1 -1
  969. package/dist/routes/mcp.d.ts +2 -1
  970. package/dist/routes/mcp.js +1 -1
  971. package/dist/routes/mcp.js.map +1 -1
  972. package/dist/routes/planner-tab.d.ts +2 -1
  973. package/dist/routes/secrets-settings.d.ts +2 -1
  974. package/dist/routes/task-list-tab.d.ts +1 -1
  975. package/dist/services/settings.cjs +1 -1
  976. package/dist/services/settings.cjs.map +1 -1
  977. package/dist/services/settings.js +3 -7
  978. package/dist/services/settings.js.map +1 -1
  979. package/dist/types/automation.d.ts +16 -1
  980. package/dist/types/mcp-auth.cjs.map +1 -1
  981. package/dist/types/mcp-auth.d.ts +5 -41
  982. package/dist/types/mcp-auth.js.map +1 -1
  983. package/dist/types/mcp-server.d.ts +17 -32
  984. package/dist/types/settings.d.ts +8 -28
  985. package/dist/ui/card-title.d.ts +1 -1
  986. package/dist/ui/card.d.ts +1 -1
  987. package/dist/ui/combobox-caret.d.ts +3 -3
  988. package/dist/ui/context-menu.cjs +1 -1
  989. package/dist/ui/context-menu.cjs.map +1 -1
  990. package/dist/ui/context-menu.d.ts +3 -2
  991. package/dist/ui/context-menu.js +10 -9
  992. package/dist/ui/context-menu.js.map +1 -1
  993. package/dist/ui/divider.d.ts +1 -1
  994. package/dist/ui/dropdown/clear-button.d.ts +1 -1
  995. package/dist/ui/dropdown/dropdown-input.d.ts +1 -1
  996. package/dist/ui/dropdown/dropdown-menu.d.ts +1 -1
  997. package/dist/ui/dropdown/dropdown.d.ts +1 -1
  998. package/dist/ui/dropdown/loading-spinner.d.ts +1 -1
  999. package/dist/ui/dropdown/toggle-button.d.ts +1 -1
  1000. package/dist/ui/help-link.d.ts +1 -1
  1001. package/dist/ui/pre.d.ts +1 -1
  1002. package/dist/ui/toggle-switch.d.ts +2 -2
  1003. package/dist/ui/typography.d.ts +7 -7
  1004. package/dist/utils/automation-activity-log-export.d.ts +17 -0
  1005. package/dist/utils/automation-timeout.d.ts +4 -6
  1006. package/dist/utils/custom-toast-handlers.d.ts +2 -2
  1007. package/dist/utils/format-relative-time.d.ts +3 -0
  1008. package/dist/utils/mcp-config.cjs +1 -1
  1009. package/dist/utils/mcp-config.cjs.map +1 -1
  1010. package/dist/utils/mcp-config.d.ts +12 -29
  1011. package/dist/utils/mcp-config.js +161 -143
  1012. package/dist/utils/mcp-config.js.map +1 -1
  1013. package/dist/utils/mcp-installed-servers.cjs +1 -1
  1014. package/dist/utils/mcp-installed-servers.cjs.map +1 -1
  1015. package/dist/utils/mcp-installed-servers.d.ts +2 -2
  1016. package/dist/utils/mcp-installed-servers.js +21 -32
  1017. package/dist/utils/mcp-installed-servers.js.map +1 -1
  1018. package/dist/utils/mcp-server-health-key.cjs.map +1 -1
  1019. package/dist/utils/mcp-server-health-key.d.ts +2 -4
  1020. package/dist/utils/mcp-server-health-key.js.map +1 -1
  1021. package/dist/utils/settings-like-page-layout-classes.cjs +1 -1
  1022. package/dist/utils/settings-like-page-layout-classes.cjs.map +1 -1
  1023. package/dist/utils/settings-like-page-layout-classes.d.ts +6 -2
  1024. package/dist/utils/settings-like-page-layout-classes.js +1 -1
  1025. package/dist/utils/settings-like-page-layout-classes.js.map +1 -1
  1026. package/dist/utils/skill-category.d.ts +12 -0
  1027. package/package.json +36 -33
  1028. package/scripts/check-sdk-version-sync.mjs +6 -6
  1029. package/scripts/dev-safe.mjs +2 -2
  1030. package/scripts/dev-with-automation.mjs +3 -2
  1031. package/build/assets/Trans-Bwpzk1wT.js +0 -1
  1032. package/build/assets/active-backend-context-BiwzkzDy.js +0 -2
  1033. package/build/assets/agent-context-settings-DXNT_dcw.js +0 -1
  1034. package/build/assets/agent-server-conversation-service.api-CYSWw-2g.js +0 -41
  1035. package/build/assets/agent-settings-BjgQQe-_.js +0 -1
  1036. package/build/assets/alert-banner-DR8EVyZM.js +0 -1
  1037. package/build/assets/api-error-message-e16L1kwH.js +0 -1
  1038. package/build/assets/automation-detail-DY6x2FW1.js +0 -2
  1039. package/build/assets/automation-export-C09f-Lua.js +0 -2
  1040. package/build/assets/automation-setup-route-CqKp0717.js +0 -1
  1041. package/build/assets/automations-list-CqWJ7qXW.js +0 -1
  1042. package/build/assets/check-CPLXgluF.js +0 -1
  1043. package/build/assets/chevron-down-CP4QHvyc.js +0 -1
  1044. package/build/assets/circle-check-Dpy2_xSI.js +0 -1
  1045. package/build/assets/command-menu-Bj6X4ckE.js +0 -1
  1046. package/build/assets/condenser-settings-EAXQNR2E.js +0 -1
  1047. package/build/assets/context-menu-list-item-CrCrYuPF.js +0 -1
  1048. package/build/assets/conversation-BzyIcSwr.js +0 -1
  1049. package/build/assets/conversation-panel-BzyIcSwr.js +0 -1
  1050. package/build/assets/entry.client-BbIYOsIg.js +0 -2
  1051. package/build/assets/enum-filter-dropdown-C08-srev.js +0 -1
  1052. package/build/assets/files-tab-DEq8MbHu.js +0 -1
  1053. package/build/assets/format-time-delta-CxfPJpzC.js +0 -1
  1054. package/build/assets/git-repo-dropdown-9WKINV6J.js +0 -1
  1055. package/build/assets/home-CY0JaxiY.js +0 -1
  1056. package/build/assets/home-CaNWlVvB.js +0 -1
  1057. package/build/assets/index-home-CaNWlVvB.js +0 -1
  1058. package/build/assets/info-CmWQXtRQ.js +0 -1
  1059. package/build/assets/install-server-modal-BWrudmZU.js +0 -1
  1060. package/build/assets/llm-not-configured-banner-3tMsM4K6.js +0 -27
  1061. package/build/assets/llm-settings-D0W8mJDk.js +0 -1
  1062. package/build/assets/loader-circle-B4QDBARx.js +0 -1
  1063. package/build/assets/manifest-39f4789d.js +0 -1
  1064. package/build/assets/mcp-DXG9LWrI.js +0 -9
  1065. package/build/assets/mcp-marketplace-utils-DFmhKc5s.js +0 -1
  1066. package/build/assets/messages-kBjKaAeA.js +0 -40
  1067. package/build/assets/navigation-link-Bxmn-pCs.js +0 -1
  1068. package/build/assets/onboarding-47hh2IHA.js +0 -1
  1069. package/build/assets/onboarding-modal-9BuvvROo.js +0 -1
  1070. package/build/assets/plus-DrKuuvMe.js +0 -1
  1071. package/build/assets/recommended-automations-launcher-ejxy1P27.js +0 -1
  1072. package/build/assets/root-5S-M8SYa.js +0 -2
  1073. package/build/assets/root-DZ39lS5f.css +0 -1
  1074. package/build/assets/root-layout-BPqoa0gv.js +0 -3
  1075. package/build/assets/search-Dc2qR4O2.js +0 -1
  1076. package/build/assets/settings-Chfn5xTD.js +0 -1
  1077. package/build/assets/settings-like-page-layout-classes-DyxyJ0k4.js +0 -1
  1078. package/build/assets/settings-service.api-CZiPD8__.js +0 -1
  1079. package/build/assets/sidebar-mobile-menu-toggle-ND-hgygu.js +0 -1
  1080. package/build/assets/skills-settings-B43KArIz.js +0 -2
  1081. package/build/assets/use-is-authed-BT7Iud4U.js +0 -1
  1082. package/build/assets/use-llm-profiles-2Wc2db8u.js +0 -1
  1083. package/build/assets/use-save-agent-profile-D0wC5ExW.js +0 -1
  1084. package/build/assets/use-skills-CE6miQ3r.js +0 -1
  1085. package/build/assets/use-tracking-BGboadaZ.js +0 -68
  1086. package/build/assets/useQuery-DiPh8LRJ.js +0 -1
  1087. package/build/assets/utils-BgGG1znF.js +0 -1
  1088. package/build/assets/v4-DDdyfk2q.js +0 -1
  1089. package/build/assets/vendor~browser-IVYgIgG1.js +0 -47
  1090. package/build/assets/vendor~entry.client-CXM9oiAk.js +0 -1
  1091. package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~d4by102p-C2f0ZhS-.js +0 -26
  1092. package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~emdr2jt4-BrmgjeOw.js +0 -1
  1093. package/build/assets/vendor~module-BZXjBMvd.js +0 -2
  1094. package/build/assets/x-omAzpXkl.js +0 -1
  1095. package/dist/components/features/skills/skill-type-filter.d.ts +0 -3
  1096. package/dist/components/features/skills/skills-type-filter-dropdown.d.ts +0 -7
  1097. package/dist/node_modules/html-parse-stringify/dist/html-parse-stringify.module.cjs +0 -2
  1098. package/dist/node_modules/html-parse-stringify/dist/html-parse-stringify.module.cjs.map +0 -1
  1099. package/dist/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js +0 -81
  1100. package/dist/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js.map +0 -1
  1101. package/dist/node_modules/void-elements/index.cjs +0 -2
  1102. package/dist/node_modules/void-elements/index.cjs.map +0 -1
  1103. package/dist/node_modules/void-elements/index.js +0 -25
  1104. package/dist/node_modules/void-elements/index.js.map +0 -1
  1105. /package/build/assets/{vendor~root-layout~index-home~home~mcp~automations-list~automation-setup-route~onboarding-modal-D7IDevqN.js → vendor~root-layout~index-home~home~mcp~automations-list~automation-templates~automation-set~bxsimjx0-D7IDevqN.js} +0 -0
@@ -3,62 +3,63 @@ import { I18nKey as t } from "../../../i18n/declaration.js";
3
3
  import { cn as n } from "../../../utils/utils.js";
4
4
  import { tooltip_default as r } from "../../../node_modules/@heroui/tooltip/dist/chunk-AUA5GDXN.js";
5
5
  import { NavigationLink as i } from "../../shared/navigation-link.js";
6
- import { ConversationStatusDot as a } from "./conversation-status-dot.js";
7
- import { ConversationCardFooter as o } from "./conversation-card/conversation-card-footer.js";
6
+ import { useBackendScopedPath as a } from "../../../hooks/use-backend-scoped-path.js";
7
+ import { ConversationStatusDot as o } from "./conversation-status-dot.js";
8
+ import { ConversationCardFooter as s } from "./conversation-card/conversation-card-footer.js";
8
9
  import "react";
9
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
10
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
10
11
  //#region src/components/features/conversation-panel/compact-conversation-row.tsx
11
- function l({ conversationId: l, title: u, selectedRepository: d, executionStatus: f, sandboxStatus: p, lastUpdatedAt: m, createdAt: h, workspaceWorkingDir: g, isActive: _ = !1, onClose: v, showRepositoryMetadata: y = !0, llmModel: b = null, showLlmProfiles: x = !1, agentKind: S = null, acpServer: C = null, tags: w = null, showTags: T = !1 }) {
12
- let { t: E } = e("openhands");
13
- return /* @__PURE__ */ s(r, {
14
- content: /* @__PURE__ */ c("div", {
12
+ function u({ conversationId: u, title: d, selectedRepository: f, executionStatus: p, sandboxStatus: m, lastUpdatedAt: h, createdAt: g, workspaceWorkingDir: _, isActive: v = !1, onClose: y, showRepositoryMetadata: b = !0, llmModel: x = null, showLlmProfiles: S = !1, agentKind: C = null, acpServer: w = null, tags: T = null, showTags: E = !1 }) {
13
+ let { t: D } = e("openhands"), O = a();
14
+ return /* @__PURE__ */ c(r, {
15
+ content: /* @__PURE__ */ l("div", {
15
16
  className: "w-[260px] p-3",
16
- children: [/* @__PURE__ */ c("div", {
17
+ children: [/* @__PURE__ */ l("div", {
17
18
  className: "flex items-center gap-2 mb-1",
18
- children: [/* @__PURE__ */ s(a, {
19
- executionStatus: f,
20
- sandboxStatus: p,
19
+ children: [/* @__PURE__ */ c(o, {
20
+ executionStatus: p,
21
+ sandboxStatus: m,
21
22
  showTooltip: !1
22
- }), /* @__PURE__ */ s("span", {
23
+ }), /* @__PURE__ */ c("span", {
23
24
  className: "text-sm font-medium text-white truncate",
24
- title: u,
25
- children: u || E(t.CONVERSATION$UNTITLED)
25
+ title: d,
26
+ children: d || D(t.CONVERSATION$UNTITLED)
26
27
  })]
27
- }), /* @__PURE__ */ s(o, {
28
- selectedRepository: d,
29
- lastUpdatedAt: m,
30
- createdAt: h,
31
- executionStatus: f,
32
- workspaceWorkingDir: g,
33
- showRepositoryMetadata: y,
34
- llmModel: b,
35
- showAgentChip: x,
36
- agentKind: S,
37
- acpServer: C,
38
- tags: w,
39
- showTags: T
28
+ }), /* @__PURE__ */ c(s, {
29
+ selectedRepository: f,
30
+ lastUpdatedAt: h,
31
+ createdAt: g,
32
+ executionStatus: p,
33
+ workspaceWorkingDir: _,
34
+ showRepositoryMetadata: b,
35
+ llmModel: x,
36
+ showAgentChip: S,
37
+ agentKind: C,
38
+ acpServer: w,
39
+ tags: T,
40
+ showTags: E
40
41
  })]
41
42
  }),
42
43
  placement: "right",
43
44
  closeDelay: 100,
44
45
  className: "bg-[var(--oh-surface)] text-white border border-[var(--oh-border-subtle)] shadow-xl p-0",
45
46
  disableAnimation: !1,
46
- children: /* @__PURE__ */ s(i, {
47
- to: `/conversations/${l}`,
48
- onClick: v,
47
+ children: /* @__PURE__ */ c(i, {
48
+ to: O(`/conversations/${u}`),
49
+ onClick: y,
49
50
  "data-testid": "compact-conversation-row",
50
- "data-conversation-id": l,
51
- "aria-label": u || l,
52
- className: ({ isActive: e }) => n("flex items-center justify-center w-10 h-9 mx-auto rounded-md", "transition-colors cursor-pointer", e || _ ? "bg-tertiary" : "hover:bg-[var(--oh-surface-raised)]"),
53
- children: /* @__PURE__ */ s(a, {
54
- executionStatus: f,
55
- sandboxStatus: p,
51
+ "data-conversation-id": u,
52
+ "aria-label": d || u,
53
+ className: ({ isActive: e }) => n("flex items-center justify-center w-10 h-9 mx-auto rounded-md", "transition-colors cursor-pointer", e || v ? "bg-tertiary" : "hover:bg-[var(--oh-surface-raised)]"),
54
+ children: /* @__PURE__ */ c(o, {
55
+ executionStatus: p,
56
+ sandboxStatus: m,
56
57
  showTooltip: !1
57
58
  })
58
59
  })
59
60
  });
60
61
  }
61
62
  //#endregion
62
- export { l as CompactConversationRow };
63
+ export { u as CompactConversationRow };
63
64
 
64
65
  //# sourceMappingURL=compact-conversation-row.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"compact-conversation-row.js","names":[],"sources":["../../../../src/components/features/conversation-panel/compact-conversation-row.tsx"],"sourcesContent":["import React from \"react\";\nimport { Tooltip } from \"@heroui/react\";\nimport { useTranslation } from \"react-i18next\";\nimport { NavigationLink } from \"#/components/shared/navigation-link\";\nimport { ExecutionStatus } from \"#/types/agent-server/core/base/common\";\nimport { SandboxStatus } from \"#/api/conversation-service/agent-server-conversation-service.types\";\nimport { RepositorySelection } from \"#/api/open-hands.types\";\nimport { cn } from \"#/utils/utils\";\nimport { ConversationStatusDot } from \"./conversation-status-dot\";\nimport { ConversationCardFooter } from \"./conversation-card/conversation-card-footer\";\nimport { I18nKey } from \"#/i18n/declaration\";\n\ninterface CompactConversationRowProps {\n conversationId: string;\n title: string;\n selectedRepository: RepositorySelection | null;\n executionStatus?: ExecutionStatus | null;\n sandboxStatus?: SandboxStatus | null;\n lastUpdatedAt: string;\n createdAt?: string;\n workspaceWorkingDir?: string | null;\n isActive?: boolean;\n onClose?: () => void;\n showRepositoryMetadata?: boolean;\n llmModel?: string | null;\n showLlmProfiles?: boolean;\n agentKind?: \"openhands\" | \"acp\" | null;\n acpServer?: string | null;\n tags?: Record<string, string> | null;\n showTags?: boolean;\n}\n\n/**\n * Minimal one-row presentation of a conversation used by the collapsed\n * sidebar. The row itself is just the agent status dot; hovering it shows a\n * floating preview with the conversation's title, repo and timestamp.\n */\nexport function CompactConversationRow({\n conversationId,\n title,\n selectedRepository,\n executionStatus,\n sandboxStatus,\n lastUpdatedAt,\n createdAt,\n workspaceWorkingDir,\n isActive = false,\n onClose,\n showRepositoryMetadata = true,\n llmModel = null,\n showLlmProfiles = false,\n agentKind = null,\n acpServer = null,\n tags = null,\n showTags = false,\n}: CompactConversationRowProps) {\n const { t } = useTranslation(\"openhands\");\n const disableAnimation = import.meta.env.MODE === \"test\";\n\n const preview = (\n <div className=\"w-[260px] p-3\">\n <div className=\"flex items-center gap-2 mb-1\">\n <ConversationStatusDot\n executionStatus={executionStatus}\n sandboxStatus={sandboxStatus}\n showTooltip={false}\n />\n <span className=\"text-sm font-medium text-white truncate\" title={title}>\n {title || t(I18nKey.CONVERSATION$UNTITLED)}\n </span>\n </div>\n <ConversationCardFooter\n selectedRepository={selectedRepository}\n lastUpdatedAt={lastUpdatedAt}\n createdAt={createdAt}\n executionStatus={executionStatus}\n workspaceWorkingDir={workspaceWorkingDir}\n showRepositoryMetadata={showRepositoryMetadata}\n llmModel={llmModel}\n showAgentChip={showLlmProfiles}\n agentKind={agentKind}\n acpServer={acpServer}\n tags={tags}\n showTags={showTags}\n />\n </div>\n );\n\n return (\n <Tooltip\n content={preview}\n placement=\"right\"\n closeDelay={100}\n className=\"bg-[var(--oh-surface)] text-white border border-[var(--oh-border-subtle)] shadow-xl p-0\"\n disableAnimation={disableAnimation}\n >\n <NavigationLink\n to={`/conversations/${conversationId}`}\n onClick={onClose}\n data-testid=\"compact-conversation-row\"\n data-conversation-id={conversationId}\n aria-label={title || conversationId}\n className={({ isActive: navActive }) =>\n cn(\n \"flex items-center justify-center w-10 h-9 mx-auto rounded-md\",\n \"transition-colors cursor-pointer\",\n navActive || isActive\n ? \"bg-tertiary\"\n : \"hover:bg-[var(--oh-surface-raised)]\",\n )\n }\n >\n <ConversationStatusDot\n executionStatus={executionStatus}\n sandboxStatus={sandboxStatus}\n showTooltip={false}\n />\n </NavigationLink>\n </Tooltip>\n );\n}\n"],"mappings":";;;;;;;;;;AAqCA,SAAgB,EAAuB,EACrC,mBACA,UACA,uBACA,oBACA,kBACA,kBACA,cACA,wBACA,cAAW,IACX,YACA,4BAAyB,IACzB,cAAW,MACX,qBAAkB,IAClB,eAAY,MACZ,eAAY,MACZ,UAAO,MACP,cAAW,MACmB;CAC9B,IAAM,EAAE,SAAM,EAAe,WAAW;CAgCxC,OACE,kBAAC,GAAD;EACE,SA9BF,kBAAC,OAAD;GAAK,WAAU;aAAf,CACE,kBAAC,OAAD;IAAK,WAAU;cAAf,CACE,kBAAC,GAAD;KACmB;KACF;KACf,aAAa;IACd,CAAA,GACD,kBAAC,QAAD;KAAM,WAAU;KAAiD;eAC9D,KAAS,EAAE,EAAQ,qBAAqB;IACrC,CAAA,CACH;OACL,kBAAC,GAAD;IACsB;IACL;IACJ;IACM;IACI;IACG;IACd;IACV,eAAe;IACJ;IACA;IACL;IACI;GACX,CAAA,CACE;GAKM;EACT,WAAU;EACV,YAAY;EACZ,WAAU;EACQ,kBAAA;YAElB,kBAAC,GAAD;GACE,IAAI,kBAAkB;GACtB,SAAS;GACT,eAAY;GACZ,wBAAsB;GACtB,cAAY,KAAS;GACrB,YAAY,EAAE,UAAU,QACtB,EACE,gEACA,oCACA,KAAa,IACT,gBACA,qCACN;aAGF,kBAAC,GAAD;IACmB;IACF;IACf,aAAa;GACd,CAAA;EACa,CAAA;CACT,CAAA;AAEb"}
1
+ {"version":3,"file":"compact-conversation-row.js","names":[],"sources":["../../../../src/components/features/conversation-panel/compact-conversation-row.tsx"],"sourcesContent":["import React from \"react\";\nimport { Tooltip } from \"@heroui/react\";\nimport { useTranslation } from \"react-i18next\";\nimport { NavigationLink } from \"#/components/shared/navigation-link\";\nimport { ExecutionStatus } from \"#/types/agent-server/core/base/common\";\nimport { SandboxStatus } from \"#/api/conversation-service/agent-server-conversation-service.types\";\nimport { RepositorySelection } from \"#/api/open-hands.types\";\nimport { cn } from \"#/utils/utils\";\nimport { ConversationStatusDot } from \"./conversation-status-dot\";\nimport { ConversationCardFooter } from \"./conversation-card/conversation-card-footer\";\nimport { I18nKey } from \"#/i18n/declaration\";\nimport { useBackendScopedPath } from \"#/hooks/use-backend-scoped-path\";\n\ninterface CompactConversationRowProps {\n conversationId: string;\n title: string;\n selectedRepository: RepositorySelection | null;\n executionStatus?: ExecutionStatus | null;\n sandboxStatus?: SandboxStatus | null;\n lastUpdatedAt: string;\n createdAt?: string;\n workspaceWorkingDir?: string | null;\n isActive?: boolean;\n onClose?: () => void;\n showRepositoryMetadata?: boolean;\n llmModel?: string | null;\n showLlmProfiles?: boolean;\n agentKind?: \"openhands\" | \"acp\" | null;\n acpServer?: string | null;\n tags?: Record<string, string> | null;\n showTags?: boolean;\n}\n\n/**\n * Minimal one-row presentation of a conversation used by the collapsed\n * sidebar. The row itself is just the agent status dot; hovering it shows a\n * floating preview with the conversation's title, repo and timestamp.\n */\nexport function CompactConversationRow({\n conversationId,\n title,\n selectedRepository,\n executionStatus,\n sandboxStatus,\n lastUpdatedAt,\n createdAt,\n workspaceWorkingDir,\n isActive = false,\n onClose,\n showRepositoryMetadata = true,\n llmModel = null,\n showLlmProfiles = false,\n agentKind = null,\n acpServer = null,\n tags = null,\n showTags = false,\n}: CompactConversationRowProps) {\n const { t } = useTranslation(\"openhands\");\n const backendScopedPath = useBackendScopedPath();\n const disableAnimation = import.meta.env.MODE === \"test\";\n\n const preview = (\n <div className=\"w-[260px] p-3\">\n <div className=\"flex items-center gap-2 mb-1\">\n <ConversationStatusDot\n executionStatus={executionStatus}\n sandboxStatus={sandboxStatus}\n showTooltip={false}\n />\n <span className=\"text-sm font-medium text-white truncate\" title={title}>\n {title || t(I18nKey.CONVERSATION$UNTITLED)}\n </span>\n </div>\n <ConversationCardFooter\n selectedRepository={selectedRepository}\n lastUpdatedAt={lastUpdatedAt}\n createdAt={createdAt}\n executionStatus={executionStatus}\n workspaceWorkingDir={workspaceWorkingDir}\n showRepositoryMetadata={showRepositoryMetadata}\n llmModel={llmModel}\n showAgentChip={showLlmProfiles}\n agentKind={agentKind}\n acpServer={acpServer}\n tags={tags}\n showTags={showTags}\n />\n </div>\n );\n\n return (\n <Tooltip\n content={preview}\n placement=\"right\"\n closeDelay={100}\n className=\"bg-[var(--oh-surface)] text-white border border-[var(--oh-border-subtle)] shadow-xl p-0\"\n disableAnimation={disableAnimation}\n >\n <NavigationLink\n to={backendScopedPath(`/conversations/${conversationId}`)}\n onClick={onClose}\n data-testid=\"compact-conversation-row\"\n data-conversation-id={conversationId}\n aria-label={title || conversationId}\n className={({ isActive: navActive }) =>\n cn(\n \"flex items-center justify-center w-10 h-9 mx-auto rounded-md\",\n \"transition-colors cursor-pointer\",\n navActive || isActive\n ? \"bg-tertiary\"\n : \"hover:bg-[var(--oh-surface-raised)]\",\n )\n }\n >\n <ConversationStatusDot\n executionStatus={executionStatus}\n sandboxStatus={sandboxStatus}\n showTooltip={false}\n />\n </NavigationLink>\n </Tooltip>\n );\n}\n"],"mappings":";;;;;;;;;;;AAsCA,SAAgB,EAAuB,EACrC,mBACA,UACA,uBACA,oBACA,kBACA,kBACA,cACA,wBACA,cAAW,IACX,YACA,4BAAyB,IACzB,cAAW,MACX,qBAAkB,IAClB,eAAY,MACZ,eAAY,MACZ,UAAO,MACP,cAAW,MACmB;CAC9B,IAAM,EAAE,SAAM,EAAe,WAAW,GAClC,IAAoB,EAAqB;CAgC/C,OACE,kBAAC,GAAD;EACE,SA9BF,kBAAC,OAAD;GAAK,WAAU;aAAf,CACE,kBAAC,OAAD;IAAK,WAAU;cAAf,CACE,kBAAC,GAAD;KACmB;KACF;KACf,aAAa;IACd,CAAA,GACD,kBAAC,QAAD;KAAM,WAAU;KAAiD;eAC9D,KAAS,EAAE,EAAQ,qBAAqB;IACrC,CAAA,CACH;OACL,kBAAC,GAAD;IACsB;IACL;IACJ;IACM;IACI;IACG;IACd;IACV,eAAe;IACJ;IACA;IACL;IACI;GACX,CAAA,CACE;GAKM;EACT,WAAU;EACV,YAAY;EACZ,WAAU;EACQ,kBAAA;YAElB,kBAAC,GAAD;GACE,IAAI,EAAkB,kBAAkB,GAAgB;GACxD,SAAS;GACT,eAAY;GACZ,wBAAsB;GACtB,cAAY,KAAS;GACrB,YAAY,EAAE,UAAU,QACtB,EACE,gEACA,oCACA,KAAa,IACT,gBACA,qCACN;aAGF,kBAAC,GAAD;IACmB;IACF;IACf,aAAa;GACd,CAAA;EACa,CAAA;CACT,CAAA;AAEb"}
@@ -6,5 +6,5 @@ interface ConfirmDeleteModalProps {
6
6
  title?: string;
7
7
  description?: React.ReactNode;
8
8
  }
9
- export declare function ConfirmDeleteModal({ onConfirm, onCancel, conversationTitle, title, description, }: ConfirmDeleteModalProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ConfirmDeleteModal({ onConfirm, onCancel, conversationTitle, title, description, }: ConfirmDeleteModalProps): React.JSX.Element;
10
10
  export {};
@@ -2,5 +2,5 @@ interface ConfirmStopModalProps {
2
2
  onConfirm: () => void;
3
3
  onCancel: () => void;
4
4
  }
5
- export declare function ConfirmStopModal({ onConfirm, onCancel, }: ConfirmStopModalProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ConfirmStopModal({ onConfirm, onCancel, }: ConfirmStopModalProps): import("react").JSX.Element;
6
6
  export {};
@@ -12,5 +12,5 @@ interface ConversationCardActionsProps {
12
12
  conversationId?: string;
13
13
  showOptions?: boolean;
14
14
  }
15
- export declare function ConversationCardActions({ contextMenuOpen, onContextMenuToggle, onDelete, onStop, onEdit, onDownloadViaVSCode, onDownloadConversation, executionStatus, conversationId, showOptions, }: ConversationCardActionsProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function ConversationCardActions({ contextMenuOpen, onContextMenuToggle, onDelete, onStop, onEdit, onDownloadViaVSCode, onDownloadConversation, executionStatus, conversationId, showOptions, }: ConversationCardActionsProps): React.JSX.Element;
16
16
  export {};
@@ -17,5 +17,5 @@ interface ConversationCardContextMenuProps {
17
17
  floatingStyle?: React.CSSProperties;
18
18
  ignoreOutsideClickRef?: React.RefObject<HTMLElement | null>;
19
19
  }
20
- export declare function ConversationCardContextMenu({ onClose, onDelete, onStop, onEdit, onDisplayCost, onShowAgentTools, onShowSkills, onDownloadViaVSCode, onDownloadConversation, position, floatingStyle, ignoreOutsideClickRef, }: ConversationCardContextMenuProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function ConversationCardContextMenu({ onClose, onDelete, onStop, onEdit, onDisplayCost, onShowAgentTools, onShowSkills, onDownloadViaVSCode, onDownloadConversation, position, floatingStyle, ignoreOutsideClickRef, }: ConversationCardContextMenuProps): React.JSX.Element;
21
21
  export {};
@@ -48,5 +48,5 @@ interface ConversationCardFooterProps {
48
48
  */
49
49
  showTags?: boolean;
50
50
  }
51
- export declare function ConversationCardFooter({ selectedRepository, lastUpdatedAt, createdAt, executionStatus, workspaceWorkingDir, showRepositoryMetadata, showTimestamp, llmModel, showAgentChip, agentKind, acpServer, tags, showTags, }: ConversationCardFooterProps): import("react/jsx-runtime").JSX.Element;
51
+ export declare function ConversationCardFooter({ selectedRepository, lastUpdatedAt, createdAt, executionStatus, workspaceWorkingDir, showRepositoryMetadata, showTimestamp, llmModel, showAgentChip, agentKind, acpServer, tags, showTags, }: ConversationCardFooterProps): import("react").JSX.Element;
52
52
  export {};
@@ -7,5 +7,5 @@ interface ConversationCardHeaderProps {
7
7
  executionStatus?: ExecutionStatus | null;
8
8
  sandboxStatus?: SandboxStatus | null;
9
9
  }
10
- export declare function ConversationCardHeader({ title, titleMode, onTitleSave, executionStatus, sandboxStatus, }: ConversationCardHeaderProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function ConversationCardHeader({ title, titleMode, onTitleSave, executionStatus, sandboxStatus, }: ConversationCardHeaderProps): import("react").JSX.Element;
11
11
  export {};
@@ -10,5 +10,5 @@ interface ConversationCardPreviewProps {
10
10
  llmModel?: string | null;
11
11
  createdAt?: string;
12
12
  }
13
- export declare function ConversationCardPreview({ title, executionStatus, sandboxStatus, selectedRepository, workspaceWorkingDir, llmModel, createdAt, }: ConversationCardPreviewProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function ConversationCardPreview({ title, executionStatus, sandboxStatus, selectedRepository, workspaceWorkingDir, llmModel, createdAt, }: ConversationCardPreviewProps): import("react").JSX.Element;
14
14
  export {};
@@ -6,5 +6,5 @@ interface ConversationCardSkeletonProps {
6
6
  * compact: three small bars for the icon rail. Pulse stagger comes from
7
7
  * `.skeleton-stagger` in `tailwind.css`.
8
8
  */
9
- export declare function ConversationCardSkeleton({ compact, }: ConversationCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ConversationCardSkeleton({ compact, }: ConversationCardSkeletonProps): import("react").JSX.Element;
10
10
  export {};
@@ -5,4 +5,4 @@ export type ConversationCardTitleProps = {
5
5
  onSave: (title: string) => void;
6
6
  isConversationArchived?: boolean;
7
7
  };
8
- export declare function ConversationCardTitle({ titleMode, title, onSave, isConversationArchived, }: ConversationCardTitleProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ConversationCardTitle({ titleMode, title, onSave, isConversationArchived, }: ConversationCardTitleProps): import("react").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ExecutionStatus } from "#/types/agent-server/core/base/common";
2
3
  import { SandboxStatus } from "#/api/conversation-service/agent-server-conversation-service.types";
3
4
  import { RepositorySelection } from "#/api/open-hands.types";
@@ -31,5 +32,5 @@ interface ConversationCardProps {
31
32
  /** When true and pinned, keep the pin icon visible without hovering. */
32
33
  alwaysShowPinIcon?: boolean;
33
34
  }
34
- export declare function ConversationCard({ onClick, onDelete, onStop, onChangeTitle, showOptions, title, selectedRepository, lastUpdatedAt, createdAt, conversationId, executionStatus, sandboxStatus, contextMenuOpen, onContextMenuToggle, isActive, workspaceWorkingDir, showRepositoryMetadata, llmModel, showLlmProfiles, agentKind, acpServer, tags, showTags, isPinned, onTogglePin, alwaysShowPinIcon, }: ConversationCardProps): import("react/jsx-runtime").JSX.Element;
35
+ export declare function ConversationCard({ onClick, onDelete, onStop, onChangeTitle, showOptions, title, selectedRepository, lastUpdatedAt, createdAt, conversationId, executionStatus, sandboxStatus, contextMenuOpen, onContextMenuToggle, isActive, workspaceWorkingDir, showRepositoryMetadata, llmModel, showLlmProfiles, agentKind, acpServer, tags, showTags, isPinned, onTogglePin, alwaysShowPinIcon, }: ConversationCardProps): React.JSX.Element;
35
36
  export {};
@@ -2,5 +2,5 @@ import { RepositorySelection } from "#/api/open-hands.types";
2
2
  interface ConversationRepoLinkProps {
3
3
  selectedRepository: RepositorySelection;
4
4
  }
5
- export declare function ConversationRepoLink({ selectedRepository, }: ConversationRepoLinkProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ConversationRepoLink({ selectedRepository, }: ConversationRepoLinkProps): import("react").JSX.Element;
6
6
  export {};
@@ -1,2 +1,2 @@
1
1
  /** Error sandbox pill beside the conversation title (archived uses the status column icon only). */
2
- export declare function ConversationStatusBadges(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function ConversationStatusBadges(): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  interface NoRepositoryProps {
2
2
  workspaceWorkingDir?: string | null;
3
3
  }
4
- export declare function NoRepository({ workspaceWorkingDir }: NoRepositoryProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function NoRepository({ workspaceWorkingDir }: NoRepositoryProps): import("react").JSX.Element;
5
5
  export {};
@@ -21,5 +21,5 @@ interface ConversationGroupFolderListProps {
21
21
  onLaunchFromGroup: (launch: ConversationGroupLaunch) => void;
22
22
  renderConversationCard: (conversation: AppConversation) => ReactNode;
23
23
  }
24
- export declare function ConversationGroupFolderList({ groups, groupIds, groupFolderOrder, setGroupFolderOrder, collapsedGroupIds, expandedGroupPreviewIds, onToggleGroupCollapsed, onToggleGroupPreviewExpanded, isCreatingConversationFlow, activeConversationId, onLaunchFromGroup, renderConversationCard, }: ConversationGroupFolderListProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function ConversationGroupFolderList({ groups, groupIds, groupFolderOrder, setGroupFolderOrder, collapsedGroupIds, expandedGroupPreviewIds, onToggleGroupCollapsed, onToggleGroupPreviewExpanded, isCreatingConversationFlow, activeConversationId, onLaunchFromGroup, renderConversationCard, }: ConversationGroupFolderListProps): import("react").JSX.Element;
25
25
  export {};
@@ -26,5 +26,5 @@ interface ConversationGroupFolderRowProps {
26
26
  onLaunchFromGroup: () => void;
27
27
  renderConversationCard: (conversation: AppConversation) => ReactNode;
28
28
  }
29
- export declare function ConversationGroupFolderRow({ group, expanded, previewExpanded, isDragging, dropIndicatorPosition, animateLayout, isCreatingConversationFlow, activeConversationId, onToggleExpanded, onDragStart, onDragEnd, onDragOver, onDragLeave, onDrop, onTogglePreviewExpanded, onLaunchFromGroup, renderConversationCard, }: ConversationGroupFolderRowProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function ConversationGroupFolderRow({ group, expanded, previewExpanded, isDragging, dropIndicatorPosition, animateLayout, isCreatingConversationFlow, activeConversationId, onToggleExpanded, onDragStart, onDragEnd, onDragOver, onDragLeave, onDrop, onTogglePreviewExpanded, onLaunchFromGroup, renderConversationCard, }: ConversationGroupFolderRowProps): import("react").JSX.Element;
30
30
  export {};
@@ -25,4 +25,4 @@ export interface ConversationPanelFilterMenuProps {
25
25
  totalConversationsCount: number;
26
26
  onRequestDeleteAll: () => void;
27
27
  }
28
- export declare function ConversationPanelFilterMenu({ filterMenuOpen, setFilterMenuOpen, menuRef, backendKind, organizeMode, setOrganizeMode, conversationSort, setConversationSort, threadScope, setThreadScope, showOlderConversations, toggleShowOlderConversations, showRepoBranchMetadata, toggleShowRepoBranchMetadata, showLlmProfiles, toggleShowLlmProfiles, showTagsMetadata, toggleShowTagsMetadata, showHoverMetadata, toggleShowHoverMetadata, totalConversationsCount, onRequestDeleteAll, }: ConversationPanelFilterMenuProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function ConversationPanelFilterMenu({ filterMenuOpen, setFilterMenuOpen, menuRef, backendKind, organizeMode, setOrganizeMode, conversationSort, setConversationSort, threadScope, setThreadScope, showOlderConversations, toggleShowOlderConversations, showRepoBranchMetadata, toggleShowRepoBranchMetadata, showLlmProfiles, toggleShowLlmProfiles, showTagsMetadata, toggleShowTagsMetadata, showHoverMetadata, toggleShowHoverMetadata, totalConversationsCount, onRequestDeleteAll, }: ConversationPanelFilterMenuProps): React.JSX.Element;
@@ -6,4 +6,4 @@ import type { BackendKind } from "#/api/backend-registry/types";
6
6
  */
7
7
  export declare function ConversationPanelNewThreadPicker({ backendKind, }: {
8
8
  backendKind: BackendKind;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ }): import("react").JSX.Element;
@@ -8,5 +8,5 @@ interface ConversationPanelPinnedSectionProps {
8
8
  showDivider?: boolean;
9
9
  renderConversationCard: (conversation: AppConversation) => React.ReactNode;
10
10
  }
11
- export declare function ConversationPanelPinnedSection({ pinnedConversations, isPreviewExpanded, onTogglePreviewExpanded, activeConversationId, showDivider, renderConversationCard, }: ConversationPanelPinnedSectionProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function ConversationPanelPinnedSection({ pinnedConversations, isPreviewExpanded, onTogglePreviewExpanded, activeConversationId, showDivider, renderConversationCard, }: ConversationPanelPinnedSectionProps): React.JSX.Element;
12
12
  export {};
@@ -1,2 +1,2 @@
1
- const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/react-i18next/dist/es/useTranslation.cjs"),n=require("../../../i18n/declaration.cjs"),r=require("../../../utils/status.cjs"),i=require("../../../utils/utils.cjs"),ee=require("../../../context/navigation-context.cjs"),te=require("../../../utils/custom-toast-handlers.cjs"),ne=require("../../../contexts/active-backend-context.cjs"),re=require("../../../node_modules/@heroui/tooltip/dist/chunk-AUA5GDXN.cjs"),ie=require("../../../hooks/use-click-outside-element.cjs"),ae=require("../../../hooks/mutation/use-create-conversation.cjs"),oe=require("../../shared/navigation-link.cjs"),se=require("../../../hooks/mutation/use-delete-conversation.cjs"),ce=require("../../../hooks/mutation/use-unified-stop-conversation.cjs"),le=require("../../../hooks/use-is-creating-conversation.cjs"),ue=require("../../../hooks/mutation/use-update-conversation.cjs"),de=require("./confirm-delete-modal.cjs"),fe=require("./confirm-stop-modal.cjs"),pe=require("../../../hooks/query/use-paginated-conversations.cjs"),me=require("../../../hooks/query/use-start-tasks.cjs"),he=require("./exit-conversation-modal.cjs"),ge=require("./conversation-card/conversation-card.cjs"),_e=require("./conversation-card/conversation-card-preview.cjs"),ve=require("./start-task-card/start-task-card.cjs"),ye=require("./conversation-card/conversation-card-skeleton.cjs"),be=require("./compact-conversation-row.cjs"),a=require("../../../stores/conversation-panel-preferences-store.cjs"),xe=require("./conversation-panel-filter-menu.cjs"),Se=require("./conversation-panel-new-thread-picker.cjs"),o=require("./conversation-panel-list-helpers.cjs"),Ce=require("./conversation-group-folder-list.cjs"),we=require("./conversation-panel-pinned-section.cjs"),s=require("../../../stores/pinned-conversations-store.cjs");let c=require("react");c=e.__toESM(c,1);let l=require("react/jsx-runtime");var Te=()=>{},Ee=[],u=3600*1e3,De=e=>{let t=Date.now()-u,n=[],r=[];for(let i of e){let e=i.updated_at?Date.parse(i.updated_at):NaN;Number.isFinite(e)&&e<t?r.push(i):n.push(i)}return{recent:n,older:r}};function d({onClose:e,compact:u=!1}){let{t:d}=t.useTranslation(`openhands`),{conversationId:f,navigate:p}=ee.useNavigation(),{backend:m}=ne.useActiveBackend(),Oe=ie.useClickOutsideElement(e??Te),[ke,h]=c.default.useState(!1),[Ae,g]=c.default.useState(!1),[je,Me]=c.default.useState(!1),[Ne,_]=c.default.useState(!1),v=a.useConversationPanelPreferencesStore(e=>e.showOlderConversations),Pe=a.useConversationPanelPreferencesStore(e=>e.toggleShowOlderConversations),y=a.useConversationPanelPreferencesStore(e=>e.showRepoBranchMetadata),Fe=a.useConversationPanelPreferencesStore(e=>e.toggleShowRepoBranchMetadata),b=a.useConversationPanelPreferencesStore(e=>e.showLlmProfiles),Ie=a.useConversationPanelPreferencesStore(e=>e.toggleShowLlmProfiles),x=a.useConversationPanelPreferencesStore(e=>e.showTagsMetadata),Le=a.useConversationPanelPreferencesStore(e=>e.toggleShowTagsMetadata),S=a.useConversationPanelPreferencesStore(e=>e.showHoverMetadata),Re=a.useConversationPanelPreferencesStore(e=>e.toggleShowHoverMetadata),C=a.useConversationPanelPreferencesStore(e=>e.organizeMode),ze=a.useConversationPanelPreferencesStore(e=>e.setOrganizeMode),w=a.useConversationPanelPreferencesStore(e=>e.conversationSort),Be=a.useConversationPanelPreferencesStore(e=>e.setConversationSort),T=a.useConversationPanelPreferencesStore(e=>e.threadScope),Ve=a.useConversationPanelPreferencesStore(e=>e.setThreadScope),E=a.useConversationPanelPreferencesStore(e=>e.groupFolderOrder),He=a.useConversationPanelPreferencesStore(e=>e.setGroupFolderOrder),[Ue,D]=c.default.useState(!1),[We,Ge]=c.default.useState(!1),Ke=ie.useClickOutsideElement(()=>{D(!1)}),[qe,O]=c.default.useState(()=>new Set),[Je,k]=c.default.useState(()=>new Set),[Ye,Xe]=c.default.useState(!1),A=s.usePinnedConversationsStore(e=>e.pinsByBackendId[m.id]??Ee),Ze=s.usePinnedConversationsStore(e=>e.togglePin),Qe=s.usePinnedConversationsStore(e=>e.pruneMissingConversations),$e=c.default.useCallback(e=>{O(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),et=c.default.useCallback(e=>{k(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]);c.default.useEffect(()=>{C!==`grouped`&&(O(new Set),k(new Set))},[C]);let tt=c.default.useRef(null),[j,nt]=c.default.useState(null),[rt,M]=c.default.useState(null),[N,it]=c.default.useState(null),{data:P,isLoading:at,isFetched:F,hasNextPage:I,isFetching:L,isFetchingNextPage:R,fetchNextPage:z}=pe.usePaginatedConversations(),{data:B}=me.useStartTasks(),V=c.default.useMemo(()=>{let e=P?.pages.flatMap(e=>e.items)??[],t=new Set;return e.filter(e=>t.has(e.id)?!1:(t.add(e.id),!0))},[P]),H=c.default.useMemo(()=>o.resolvePinnedConversations(A,V),[V,A]);c.default.useEffect(()=>{F&&Qe(m.id,V.map(e=>e.id))},[m.id,V,F,Qe]),c.default.useEffect(()=>{A.length===0&&Xe(!1)},[A.length]);let U=c.default.useMemo(()=>{let e=T===`relevant`?V.filter(e=>r.isExecutionActive(e.execution_status)):V;return u?e:o.filterOutPinnedConversations(e,A)},[u,V,A,T]),{recent:W,older:G}=c.default.useMemo(()=>De(U),[U]),ot=c.default.useMemo(()=>o.sortConversationsByField(v?[...W,...G]:W,w),[W,G,v,w]),st=c.default.useMemo(()=>({emptyWorkspace:d(n.I18nKey.CONVERSATION_PANEL$NO_WORKSPACE),emptyRepository:d(n.I18nKey.CONVERSATION_PANEL$NO_REPOSITORY)}),[d]),K=c.default.useMemo(()=>u||C!==`grouped`?null:o.groupConversations([...W,...v?G:[]],m.kind,w,st),[m.kind,u,w,st,G,C,W,v]),q=c.default.useMemo(()=>K?o.applyGroupFolderOrder(K,E):null,[K,E]),ct=c.default.useMemo(()=>K?.map(e=>e.id)??[],[K]),lt=c.default.useMemo(()=>o.sortConversationsByField(W.filter(e=>r.isExecutionActive(e.execution_status)),w),[w,W]),ut=ot.length,dt=c.default.useMemo(()=>q?q.reduce((e,t)=>e+t.conversations.length,0):0,[q]),ft=C===`grouped`&&!u?dt===0:ut===0,J=C===`grouped`&&!u?dt:ut,[Y,X]=c.default.useState(null),pt=c.default.useRef(J);pt.current=J;let mt=c.default.useCallback(()=>{I&&X(pt.current)},[I]);c.default.useEffect(()=>{if(Y!==null){if(J>Y){X(null);return}if(!I){X(null);return}L||R||z()}},[Y,J,I,L,R,z]);let ht=Y!==null||R,{mutate:gt,mutateAsync:_t}=se.useDeleteConversation(),{mutate:vt}=ce.useUnifiedPauseConversation(),{mutate:yt}=ue.useUpdateConversation(),bt=G.length>0&&!v,xt=!!I&&!bt&&!u&&!ft,{mutate:St}=ae.useCreateConversation(),Z=le.useIsCreatingConversation(),Ct=c.default.useCallback(e=>{Z||St({workingDir:e.workingDir,repository:e.repository,entryPoint:`sidebar_relaunch_project`},{onSuccess:e=>{p(`/conversations/${e.conversation_id}`)}})},[St,Z,p]),wt=c.default.useCallback((e,t)=>{h(!0),nt(e),M(t)},[]),Tt=c.default.useCallback(e=>{g(!0),nt(e)},[]),Et=c.default.useCallback((e,t)=>{yt({conversationId:e,newTitle:t},{onSuccess:()=>{te.displaySuccessToast(d(n.I18nKey.CONVERSATION$TITLE_UPDATED))}})},[d,yt]),Dt=()=>{j&&gt({conversationId:j},{onSuccess:()=>{j===f&&p(`/conversations`)}})},Ot=()=>{j&&vt({conversationId:j})},kt=async()=>{let e=V.map(e=>e.id),t=await Promise.allSettled(e.map(e=>_t({conversationId:e}))),n=t.flatMap((t,n)=>t.status===`fulfilled`?[e[n]]:[]),r=t.length-n.length;f!==null&&n.includes(f)&&p(`/conversations`),r>0&&te.displayErrorToast(`${r} conversation${r===1?``:`s`} could not be deleted.`)},Q=c.default.useCallback((t,n)=>{let r=A.includes(t.id);return u?(0,l.jsx)(be.CompactConversationRow,{conversationId:t.id,title:t.title??``,selectedRepository:{selected_repository:t.selected_repository,selected_branch:t.selected_branch,git_provider:t.git_provider},executionStatus:t.execution_status,sandboxStatus:t.sandbox_status,lastUpdatedAt:t.updated_at,createdAt:t.created_at,workspaceWorkingDir:t.selected_workspace??t.workspace?.working_dir,isActive:t.id===f,onClose:e,showRepositoryMetadata:y,llmModel:t.llm_model,showLlmProfiles:b,agentKind:t.agent_kind,acpServer:t.acp_server,tags:t.tags,showTags:x},t.id):(0,l.jsx)(re.tooltip_default,{placement:`right-start`,delay:1e3,closeDelay:100,isDisabled:!S||N===t.id,disableAnimation:!1,className:`rounded-xl border border-[var(--oh-border)] bg-base-secondary p-0 text-white shadow-xl`,content:(0,l.jsx)(_e.ConversationCardPreview,{title:t.title??``,executionStatus:t.execution_status,sandboxStatus:t.sandbox_status,selectedRepository:{selected_repository:t.selected_repository,selected_branch:t.selected_branch,git_provider:t.git_provider},workspaceWorkingDir:t.selected_workspace??t.workspace?.working_dir,llmModel:t.llm_model,createdAt:t.created_at}),children:(0,l.jsx)(oe.NavigationLink,{to:`/conversations/${t.id}`,onClick:e,className:i.cn(`block rounded-md transition-colors`,N!==t.id&&`hover:bg-[var(--oh-surface)]`,(t.id===f||N===t.id)&&`bg-[var(--oh-surface)]`),children:(0,l.jsx)(ge.ConversationCard,{onDelete:()=>wt(t.id,t.title??``),onStop:()=>Tt(t.id),onChangeTitle:e=>Et(t.id,e),title:t.title??``,selectedRepository:{selected_repository:t.selected_repository,selected_branch:t.selected_branch,git_provider:t.git_provider},lastUpdatedAt:t.updated_at,createdAt:t.created_at,executionStatus:t.execution_status,sandboxStatus:t.sandbox_status,conversationId:t.id,contextMenuOpen:N===t.id,onContextMenuToggle:e=>it(e?t.id:null),isActive:t.id===f,workspaceWorkingDir:t.selected_workspace??t.workspace?.working_dir,showRepositoryMetadata:y,llmModel:t.llm_model,showLlmProfiles:b,agentKind:t.agent_kind,acpServer:t.acp_server,tags:t.tags,showTags:x,isPinned:r,onTogglePin:()=>Ze(m.id,t.id),alwaysShowPinIcon:r&&!n?.inPinnedSection})})},t.id)},[m.id,u,f,Et,wt,Tt,e,N,A,y,b,x,S,Ze]),$=at||!F,At=!u&&!$&&H.length>0,jt=F&&!at&&!u&&ft&&!At&&!B?.length;return(0,l.jsxs)(`div`,{ref:Oe,"data-testid":`conversation-panel`,className:`flex h-full min-h-0 w-full flex-col`,children:[!u&&(0,l.jsx)(`div`,{className:i.cn(`-ml-2.5 w-[calc(100%+0.625rem)] max-w-none box-border border-b`,We?`border-[var(--oh-border)]`:`border-transparent`),children:(0,l.jsxs)(`div`,{"data-testid":`older-conversations-summary`,className:`flex min-w-0 flex-nowrap items-center gap-x-2 py-2 pl-4 pr-2.5 text-[var(--oh-muted)]`,children:[(0,l.jsx)(`span`,{className:`min-w-0 truncate text-sm font-medium text-[var(--oh-muted)]`,children:d(n.I18nKey.SIDEBAR$CONVERSATIONS)}),(0,l.jsxs)(`div`,{className:`ml-auto flex shrink-0 items-center gap-0.5`,children:[(0,l.jsx)(Se.ConversationPanelNewThreadPicker,{backendKind:m.kind}),(0,l.jsx)(xe.ConversationPanelFilterMenu,{filterMenuOpen:Ue,setFilterMenuOpen:D,menuRef:Ke,backendKind:m.kind,organizeMode:C,setOrganizeMode:ze,conversationSort:w,setConversationSort:Be,threadScope:T,setThreadScope:Ve,showOlderConversations:v,toggleShowOlderConversations:Pe,showRepoBranchMetadata:y,toggleShowRepoBranchMetadata:Fe,showLlmProfiles:b,toggleShowLlmProfiles:Ie,showTagsMetadata:x,toggleShowTagsMetadata:Le,showHoverMetadata:S,toggleShowHoverMetadata:Re,totalConversationsCount:V.length,onRequestDeleteAll:()=>_(!0)})]})]})}),(0,l.jsxs)(`div`,{ref:tt,"data-testid":`conversation-panel-list-scroll`,onScroll:e=>{Ge(e.currentTarget.scrollTop>0)},className:i.cn(`flex min-h-0 flex-1 flex-col overflow-y-auto overflow-x-hidden overscroll-contain custom-scrollbar-always`,!u&&`conversation-panel-list-scroll`),children:[$&&(0,l.jsx)(ye.ConversationCardSkeleton,{compact:u}),!u&&jt&&(0,l.jsx)(`div`,{"data-testid":`conversation-panel-empty-state`,className:`flex min-h-0 flex-1 flex-col items-center justify-center px-4 py-8`,children:(0,l.jsx)(`p`,{className:`text-xs text-[var(--oh-muted)]`,children:d(n.I18nKey.CONVERSATION$NO_CONVERSATIONS)})}),At?(0,l.jsx)(we.ConversationPanelPinnedSection,{pinnedConversations:H,isPreviewExpanded:Ye,onTogglePreviewExpanded:()=>Xe(e=>!e),activeConversationId:f,showDivider:!u&&C===`chronological`,renderConversationCard:e=>Q(e,{inPinnedSection:!0})}):null,!u&&B?.map(t=>(0,l.jsx)(oe.NavigationLink,{to:`/conversations/task-${t.id}`,onClick:e,className:`block`,children:(0,l.jsx)(ve.StartTaskCard,{task:t})},t.id)),!$&&u?lt.map(e=>Q(e)):null,!$&&!u&&C===`grouped`&&q&&q.length>0?(0,l.jsx)(Ce.ConversationGroupFolderList,{groups:q,groupIds:ct,groupFolderOrder:E,setGroupFolderOrder:He,collapsedGroupIds:qe,expandedGroupPreviewIds:Je,onToggleGroupCollapsed:$e,onToggleGroupPreviewExpanded:et,isCreatingConversationFlow:Z,activeConversationId:f,onLaunchFromGroup:Ct,renderConversationCard:e=>Q(e)}):null,!$&&!u&&C===`chronological`?(0,l.jsx)(`div`,{className:`space-y-0.5`,children:ot.map(e=>Q(e))}):null,xt&&(ht?(0,l.jsx)(`div`,{className:`py-1`,children:(0,l.jsx)(ye.ConversationCardSkeleton,{compact:u})}):(0,l.jsx)(`div`,{className:`flex justify-center py-4`,children:(0,l.jsx)(`button`,{type:`button`,"data-testid":`load-more-conversations`,onClick:mt,className:`text-xs text-[var(--oh-muted)] hover:text-white`,children:d(n.I18nKey.CONVERSATION$LOAD_MORE)})}))]}),ke&&(0,l.jsx)(de.ConfirmDeleteModal,{onConfirm:()=>{Dt(),h(!1),M(null)},onCancel:()=>{h(!1),M(null)},conversationTitle:rt??void 0}),Ne&&(0,l.jsx)(de.ConfirmDeleteModal,{title:d(n.I18nKey.CONVERSATION$CONFIRM_DELETE_ALL_TITLE),description:d(n.I18nKey.CONVERSATION$CONFIRM_DELETE_ALL_DESC,{count:V.length}),onConfirm:async()=>{await kt(),_(!1)},onCancel:()=>_(!1)}),Ae&&(0,l.jsx)(fe.ConfirmStopModal,{onConfirm:()=>{Ot(),g(!1)},onCancel:()=>g(!1)}),je&&(0,l.jsx)(he.ExitConversationModal,{onConfirm:()=>{e?.()},onClose:()=>Me(!1),onCancel:()=>Me(!1)})]})}exports.ConversationPanel=d;
1
+ const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/react-i18next/dist/es/useTranslation.cjs"),n=require("../../../i18n/declaration.cjs"),r=require("../../../utils/status.cjs"),i=require("../../../utils/utils.cjs"),ee=require("../../../context/navigation-context.cjs"),te=require("../../../utils/custom-toast-handlers.cjs"),ne=require("../../../contexts/active-backend-context.cjs"),re=require("../../../node_modules/@heroui/tooltip/dist/chunk-AUA5GDXN.cjs"),ie=require("../../../hooks/use-click-outside-element.cjs"),ae=require("../../../hooks/mutation/use-create-conversation.cjs"),oe=require("../../shared/navigation-link.cjs"),se=require("../../../hooks/mutation/use-delete-conversation.cjs"),ce=require("../../../hooks/mutation/use-unified-stop-conversation.cjs"),le=require("../../../hooks/use-is-creating-conversation.cjs"),ue=require("../../../hooks/mutation/use-update-conversation.cjs"),a=require("./confirm-delete-modal.cjs"),de=require("./confirm-stop-modal.cjs"),fe=require("../../../hooks/use-backend-scoped-path.cjs"),pe=require("../../../hooks/query/use-paginated-conversations.cjs"),me=require("../../../hooks/query/use-start-tasks.cjs"),he=require("./exit-conversation-modal.cjs"),ge=require("./conversation-card/conversation-card.cjs"),_e=require("./conversation-card/conversation-card-preview.cjs"),ve=require("./start-task-card/start-task-card.cjs"),o=require("./conversation-card/conversation-card-skeleton.cjs"),ye=require("./compact-conversation-row.cjs"),s=require("../../../stores/conversation-panel-preferences-store.cjs"),be=require("./conversation-panel-filter-menu.cjs"),xe=require("./conversation-panel-new-thread-picker.cjs"),c=require("./conversation-panel-list-helpers.cjs"),Se=require("./conversation-group-folder-list.cjs"),Ce=require("./conversation-panel-pinned-section.cjs"),l=require("../../../stores/pinned-conversations-store.cjs");let u=require("react");u=e.__toESM(u,1);let d=require("react/jsx-runtime");var we=()=>{},Te=[],f=3600*1e3,Ee=e=>{let t=Date.now()-f,n=[],r=[];for(let i of e){let e=i.updated_at?Date.parse(i.updated_at):NaN;Number.isFinite(e)&&e<t?r.push(i):n.push(i)}return{recent:n,older:r}};function p({onClose:e,compact:f=!1}){let{t:p}=t.useTranslation(`openhands`),{conversationId:m,navigate:h}=ee.useNavigation(),{backend:g}=ne.useActiveBackend(),De=fe.useBackendScopedPath(),Oe=ie.useClickOutsideElement(e??we),[ke,_]=u.default.useState(!1),[Ae,v]=u.default.useState(!1),[je,y]=u.default.useState(!1),[Me,b]=u.default.useState(!1),x=s.useConversationPanelPreferencesStore(e=>e.showOlderConversations),Ne=s.useConversationPanelPreferencesStore(e=>e.toggleShowOlderConversations),S=s.useConversationPanelPreferencesStore(e=>e.showRepoBranchMetadata),Pe=s.useConversationPanelPreferencesStore(e=>e.toggleShowRepoBranchMetadata),C=s.useConversationPanelPreferencesStore(e=>e.showLlmProfiles),Fe=s.useConversationPanelPreferencesStore(e=>e.toggleShowLlmProfiles),w=s.useConversationPanelPreferencesStore(e=>e.showTagsMetadata),Ie=s.useConversationPanelPreferencesStore(e=>e.toggleShowTagsMetadata),T=s.useConversationPanelPreferencesStore(e=>e.showHoverMetadata),Le=s.useConversationPanelPreferencesStore(e=>e.toggleShowHoverMetadata),E=s.useConversationPanelPreferencesStore(e=>e.organizeMode),Re=s.useConversationPanelPreferencesStore(e=>e.setOrganizeMode),D=s.useConversationPanelPreferencesStore(e=>e.conversationSort),ze=s.useConversationPanelPreferencesStore(e=>e.setConversationSort),O=s.useConversationPanelPreferencesStore(e=>e.threadScope),Be=s.useConversationPanelPreferencesStore(e=>e.setThreadScope),k=s.useConversationPanelPreferencesStore(e=>e.groupFolderOrder),Ve=s.useConversationPanelPreferencesStore(e=>e.setGroupFolderOrder),[He,A]=u.default.useState(!1),[Ue,We]=u.default.useState(!1),Ge=ie.useClickOutsideElement(()=>{A(!1)}),[Ke,j]=u.default.useState(()=>new Set),[qe,M]=u.default.useState(()=>new Set),[Je,N]=u.default.useState(!1),P=l.usePinnedConversationsStore(e=>e.pinsByBackendId[g.id]??Te),F=l.usePinnedConversationsStore(e=>e.togglePin),Ye=l.usePinnedConversationsStore(e=>e.pruneMissingConversations),Xe=u.default.useCallback(e=>{j(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),Ze=u.default.useCallback(e=>{M(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]);u.default.useEffect(()=>{E!==`grouped`&&(j(new Set),M(new Set))},[E]);let Qe=u.default.useRef(null),[I,$e]=u.default.useState(null),[et,L]=u.default.useState(null),[R,tt]=u.default.useState(null),{data:nt,isLoading:rt,isFetched:z,hasNextPage:B,isFetching:it,isFetchingNextPage:V,fetchNextPage:at}=pe.usePaginatedConversations(),{data:ot}=me.useStartTasks(),H=u.default.useMemo(()=>{let e=nt?.pages.flatMap(e=>e.items)??[],t=new Set;return e.filter(e=>t.has(e.id)?!1:(t.add(e.id),!0))},[nt]),st=u.default.useMemo(()=>c.resolvePinnedConversations(P,H),[H,P]);u.default.useEffect(()=>{z&&Ye(g.id,H.map(e=>e.id))},[g.id,H,z,Ye]),u.default.useEffect(()=>{P.length===0&&N(!1)},[P.length]);let ct=u.default.useMemo(()=>{let e=O===`relevant`?H.filter(e=>r.isExecutionActive(e.execution_status)):H;return f?e:c.filterOutPinnedConversations(e,P)},[f,H,P,O]),{recent:U,older:W}=u.default.useMemo(()=>Ee(ct),[ct]),lt=u.default.useMemo(()=>c.sortConversationsByField(x?[...U,...W]:U,D),[U,W,x,D]),ut=u.default.useMemo(()=>({emptyWorkspace:p(n.I18nKey.CONVERSATION_PANEL$NO_WORKSPACE),emptyRepository:p(n.I18nKey.CONVERSATION_PANEL$NO_REPOSITORY)}),[p]),G=u.default.useMemo(()=>f||E!==`grouped`?null:c.groupConversations([...U,...x?W:[]],g.kind,D,ut),[g.kind,f,D,ut,W,E,U,x]),K=u.default.useMemo(()=>G?c.applyGroupFolderOrder(G,k):null,[G,k]),dt=u.default.useMemo(()=>G?.map(e=>e.id)??[],[G]),ft=u.default.useMemo(()=>c.sortConversationsByField(U.filter(e=>r.isExecutionActive(e.execution_status)),D),[D,U]),pt=lt.length,mt=u.default.useMemo(()=>K?K.reduce((e,t)=>e+t.conversations.length,0):0,[K]),ht=E===`grouped`&&!f?mt===0:pt===0,q=E===`grouped`&&!f?mt:pt,[J,Y]=u.default.useState(null),gt=u.default.useRef(q);gt.current=q;let _t=u.default.useCallback(()=>{B&&Y(gt.current)},[B]);u.default.useEffect(()=>{if(J!==null){if(q>J){Y(null);return}if(!B){Y(null);return}it||V||at()}},[J,q,B,it,V,at]);let vt=J!==null||V,{mutate:yt,mutateAsync:bt}=se.useDeleteConversation(),{mutate:xt}=ce.useUnifiedPauseConversation(),{mutate:St}=ue.useUpdateConversation(),Ct=W.length>0&&!x,wt=!!B&&!Ct&&!f&&!ht,{mutate:Tt}=ae.useCreateConversation(),X=le.useIsCreatingConversation(),Et=u.default.useCallback(e=>{X||Tt({workingDir:e.workingDir,repository:e.repository,entryPoint:`sidebar_relaunch_project`},{onSuccess:e=>{h(`/conversations/${e.conversation_id}`)}})},[Tt,X,h]),Dt=u.default.useCallback((e,t)=>{_(!0),$e(e),L(t)},[]),Ot=u.default.useCallback(e=>{v(!0),$e(e)},[]),kt=u.default.useCallback((e,t)=>{St({conversationId:e,newTitle:t},{onSuccess:()=>{te.displaySuccessToast(p(n.I18nKey.CONVERSATION$TITLE_UPDATED))}})},[p,St]),At=()=>{I&&yt({conversationId:I},{onSuccess:()=>{I===m&&h(`/conversations`)}})},jt=()=>{I&&xt({conversationId:I})},Mt=async()=>{let e=H.map(e=>e.id),t=await Promise.allSettled(e.map(e=>bt({conversationId:e}))),n=t.flatMap((t,n)=>t.status===`fulfilled`?[e[n]]:[]),r=t.length-n.length;m!==null&&n.includes(m)&&h(`/conversations`),r>0&&te.displayErrorToast(`${r} conversation${r===1?``:`s`} could not be deleted.`)},Z=u.default.useCallback((t,n)=>{let r=P.includes(t.id);return f?(0,d.jsx)(ye.CompactConversationRow,{conversationId:t.id,title:t.title??``,selectedRepository:{selected_repository:t.selected_repository,selected_branch:t.selected_branch,git_provider:t.git_provider},executionStatus:t.execution_status,sandboxStatus:t.sandbox_status,lastUpdatedAt:t.updated_at,createdAt:t.created_at,workspaceWorkingDir:t.selected_workspace??t.workspace?.working_dir,isActive:t.id===m,onClose:e,showRepositoryMetadata:S,llmModel:t.llm_model,showLlmProfiles:C,agentKind:t.agent_kind,acpServer:t.acp_server,tags:t.tags,showTags:w},t.id):(0,d.jsx)(re.tooltip_default,{placement:`right-start`,delay:1e3,closeDelay:100,isDisabled:!T||R===t.id,disableAnimation:!1,className:`rounded-xl border border-[var(--oh-border)] bg-base-secondary p-0 text-white shadow-xl`,content:(0,d.jsx)(_e.ConversationCardPreview,{title:t.title??``,executionStatus:t.execution_status,sandboxStatus:t.sandbox_status,selectedRepository:{selected_repository:t.selected_repository,selected_branch:t.selected_branch,git_provider:t.git_provider},workspaceWorkingDir:t.selected_workspace??t.workspace?.working_dir,llmModel:t.llm_model,createdAt:t.created_at}),children:(0,d.jsx)(oe.NavigationLink,{to:De(`/conversations/${t.id}`),onClick:e,className:i.cn(`block rounded-md transition-colors`,R!==t.id&&`hover:bg-[var(--oh-surface)]`,(t.id===m||R===t.id)&&`bg-[var(--oh-surface)]`),children:(0,d.jsx)(ge.ConversationCard,{onDelete:()=>Dt(t.id,t.title??``),onStop:()=>Ot(t.id),onChangeTitle:e=>kt(t.id,e),title:t.title??``,selectedRepository:{selected_repository:t.selected_repository,selected_branch:t.selected_branch,git_provider:t.git_provider},lastUpdatedAt:t.updated_at,createdAt:t.created_at,executionStatus:t.execution_status,sandboxStatus:t.sandbox_status,conversationId:t.id,contextMenuOpen:R===t.id,onContextMenuToggle:e=>tt(e?t.id:null),isActive:t.id===m,workspaceWorkingDir:t.selected_workspace??t.workspace?.working_dir,showRepositoryMetadata:S,llmModel:t.llm_model,showLlmProfiles:C,agentKind:t.agent_kind,acpServer:t.acp_server,tags:t.tags,showTags:w,isPinned:r,onTogglePin:()=>F(g.id,t.id),alwaysShowPinIcon:r&&!n?.inPinnedSection})})},t.id)},[g.id,f,m,kt,Dt,Ot,e,R,P,S,C,w,T,F]),Q=rt||!z,$=!f&&!Q&&st.length>0,Nt=z&&!rt&&!f&&ht&&!$&&!ot?.length;return(0,d.jsxs)(`div`,{ref:Oe,"data-testid":`conversation-panel`,className:`flex h-full min-h-0 w-full flex-col`,children:[!f&&(0,d.jsx)(`div`,{className:i.cn(`-ml-2.5 w-[calc(100%+0.625rem)] max-w-none box-border border-b`,Ue?`border-[var(--oh-border)]`:`border-transparent`),children:(0,d.jsxs)(`div`,{"data-testid":`older-conversations-summary`,className:`flex min-w-0 flex-nowrap items-center gap-x-2 py-2 pl-4 pr-2.5 text-[var(--oh-muted)]`,children:[(0,d.jsx)(`span`,{className:`min-w-0 truncate text-sm font-medium text-[var(--oh-muted)]`,children:p(n.I18nKey.SIDEBAR$CONVERSATIONS)}),(0,d.jsxs)(`div`,{className:`ml-auto flex shrink-0 items-center gap-0.5`,children:[(0,d.jsx)(xe.ConversationPanelNewThreadPicker,{backendKind:g.kind}),(0,d.jsx)(be.ConversationPanelFilterMenu,{filterMenuOpen:He,setFilterMenuOpen:A,menuRef:Ge,backendKind:g.kind,organizeMode:E,setOrganizeMode:Re,conversationSort:D,setConversationSort:ze,threadScope:O,setThreadScope:Be,showOlderConversations:x,toggleShowOlderConversations:Ne,showRepoBranchMetadata:S,toggleShowRepoBranchMetadata:Pe,showLlmProfiles:C,toggleShowLlmProfiles:Fe,showTagsMetadata:w,toggleShowTagsMetadata:Ie,showHoverMetadata:T,toggleShowHoverMetadata:Le,totalConversationsCount:H.length,onRequestDeleteAll:()=>b(!0)})]})]})}),(0,d.jsxs)(`div`,{ref:Qe,"data-testid":`conversation-panel-list-scroll`,onScroll:e=>{We(e.currentTarget.scrollTop>0)},className:i.cn(`flex min-h-0 flex-1 flex-col overflow-y-auto overflow-x-hidden overscroll-contain custom-scrollbar-always`,!f&&`conversation-panel-list-scroll`),children:[Q&&(0,d.jsx)(o.ConversationCardSkeleton,{compact:f}),!f&&Nt&&(0,d.jsx)(`div`,{"data-testid":`conversation-panel-empty-state`,className:`flex min-h-0 flex-1 flex-col items-center justify-center px-4 py-8`,children:(0,d.jsx)(`p`,{className:`text-xs text-[var(--oh-muted)]`,children:p(n.I18nKey.CONVERSATION$NO_CONVERSATIONS)})}),$?(0,d.jsx)(Ce.ConversationPanelPinnedSection,{pinnedConversations:st,isPreviewExpanded:Je,onTogglePreviewExpanded:()=>N(e=>!e),activeConversationId:m,showDivider:!f&&E===`chronological`,renderConversationCard:e=>Z(e,{inPinnedSection:!0})}):null,!f&&ot?.map(t=>(0,d.jsx)(oe.NavigationLink,{to:De(`/conversations/task-${t.id}`),onClick:e,className:`block`,children:(0,d.jsx)(ve.StartTaskCard,{task:t})},t.id)),!Q&&f?ft.map(e=>Z(e)):null,!Q&&!f&&E===`grouped`&&K&&K.length>0?(0,d.jsx)(Se.ConversationGroupFolderList,{groups:K,groupIds:dt,groupFolderOrder:k,setGroupFolderOrder:Ve,collapsedGroupIds:Ke,expandedGroupPreviewIds:qe,onToggleGroupCollapsed:Xe,onToggleGroupPreviewExpanded:Ze,isCreatingConversationFlow:X,activeConversationId:m,onLaunchFromGroup:Et,renderConversationCard:e=>Z(e)}):null,!Q&&!f&&E===`chronological`?(0,d.jsx)(`div`,{className:`space-y-0.5`,children:lt.map(e=>Z(e))}):null,wt&&(vt?(0,d.jsx)(`div`,{className:`py-1`,children:(0,d.jsx)(o.ConversationCardSkeleton,{compact:f})}):(0,d.jsx)(`div`,{className:`flex justify-center py-4`,children:(0,d.jsx)(`button`,{type:`button`,"data-testid":`load-more-conversations`,onClick:_t,className:`text-xs text-[var(--oh-muted)] hover:text-white`,children:p(n.I18nKey.CONVERSATION$LOAD_MORE)})}))]}),ke&&(0,d.jsx)(a.ConfirmDeleteModal,{onConfirm:()=>{At(),_(!1),L(null)},onCancel:()=>{_(!1),L(null)},conversationTitle:et??void 0}),Me&&(0,d.jsx)(a.ConfirmDeleteModal,{title:p(n.I18nKey.CONVERSATION$CONFIRM_DELETE_ALL_TITLE),description:p(n.I18nKey.CONVERSATION$CONFIRM_DELETE_ALL_DESC,{count:H.length}),onConfirm:async()=>{await Mt(),b(!1)},onCancel:()=>b(!1)}),Ae&&(0,d.jsx)(de.ConfirmStopModal,{onConfirm:()=>{jt(),v(!1)},onCancel:()=>v(!1)}),je&&(0,d.jsx)(he.ExitConversationModal,{onConfirm:()=>{e?.()},onClose:()=>y(!1),onCancel:()=>y(!1)})]})}exports.ConversationPanel=p;
2
2
  //# sourceMappingURL=conversation-panel.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-panel.cjs","names":[],"sources":["../../../../src/components/features/conversation-panel/conversation-panel.tsx"],"sourcesContent":["import React from \"react\";\nimport { Tooltip } from \"@heroui/react\";\nimport { useTranslation } from \"react-i18next\";\nimport { I18nKey } from \"#/i18n/declaration\";\nimport { useNavigation } from \"#/context/navigation-context\";\nimport { useActiveBackend } from \"#/contexts/active-backend-context\";\nimport { usePaginatedConversations } from \"#/hooks/query/use-paginated-conversations\";\nimport { useStartTasks } from \"#/hooks/query/use-start-tasks\";\nimport { useDeleteConversation } from \"#/hooks/mutation/use-delete-conversation\";\nimport { useUnifiedPauseConversation } from \"#/hooks/mutation/use-unified-stop-conversation\";\nimport { ConfirmDeleteModal } from \"./confirm-delete-modal\";\nimport { ConfirmStopModal } from \"./confirm-stop-modal\";\nimport { NavigationLink } from \"#/components/shared/navigation-link\";\nimport { ExitConversationModal } from \"./exit-conversation-modal\";\nimport { useClickOutsideElement } from \"#/hooks/use-click-outside-element\";\nimport { Provider } from \"#/types/settings\";\nimport { useUpdateConversation } from \"#/hooks/mutation/use-update-conversation\";\nimport {\n displayErrorToast,\n displaySuccessToast,\n} from \"#/utils/custom-toast-handlers\";\nimport { isExecutionActive } from \"#/utils/status\";\nimport { useCreateConversation } from \"#/hooks/mutation/use-create-conversation\";\nimport { useIsCreatingConversation } from \"#/hooks/use-is-creating-conversation\";\nimport { ConversationCard } from \"./conversation-card/conversation-card\";\nimport { ConversationCardPreview } from \"./conversation-card/conversation-card-preview\";\nimport { StartTaskCard } from \"./start-task-card/start-task-card\";\nimport { ConversationCardSkeleton } from \"./conversation-card/conversation-card-skeleton\";\nimport { CompactConversationRow } from \"./compact-conversation-row\";\nimport { useConversationPanelPreferencesStore } from \"#/stores/conversation-panel-preferences-store\";\nimport { cn } from \"#/utils/utils\";\nimport { ConversationPanelFilterMenu } from \"./conversation-panel-filter-menu\";\nimport { ConversationPanelNewThreadPicker } from \"./conversation-panel-new-thread-picker\";\nimport { ConversationGroupFolderList } from \"./conversation-group-folder-list\";\nimport { ConversationPanelPinnedSection } from \"./conversation-panel-pinned-section\";\nimport {\n applyGroupFolderOrder,\n filterOutPinnedConversations,\n groupConversations,\n resolvePinnedConversations,\n sortConversationsByField,\n type ConversationGroupLaunch,\n} from \"./conversation-panel-list-helpers\";\nimport { usePinnedConversationsStore } from \"#/stores/pinned-conversations-store\";\n\ninterface ConversationPanelProps {\n onClose?: () => void;\n /**\n * Render a minimal icon-only variant of each conversation row (used by the\n * collapsed sidebar). Each row is a single status dot with a hover preview\n * containing the full card content.\n */\n compact?: boolean;\n}\n\nconst noop = () => {};\n\nconst EMPTY_PINNED_CONVERSATION_IDS: readonly string[] = [];\n\nconst ONE_HOUR_MS = 60 * 60 * 1000;\n\nconst partitionByCutoff = <T extends { updated_at: string }>(\n items: readonly T[],\n): { recent: T[]; older: T[] } => {\n // The cutoff is intentionally relative to \"now\" each time the list is\n // recomputed, so conversations naturally age into the older bucket as the\n // conversations query refreshes.\n const cutoff = Date.now() - ONE_HOUR_MS;\n const recent: T[] = [];\n const older: T[] = [];\n for (const item of items) {\n const updatedAt = item.updated_at ? Date.parse(item.updated_at) : NaN;\n // Missing or unparseable timestamps stay in the \"recent\" bucket so we\n // do not accidentally hide them behind the older-conversations toggle.\n if (Number.isFinite(updatedAt) && updatedAt < cutoff) {\n older.push(item);\n } else {\n recent.push(item);\n }\n }\n return { recent, older };\n};\n\nexport function ConversationPanel({\n onClose,\n compact = false,\n}: ConversationPanelProps) {\n const { t } = useTranslation(\"openhands\");\n const { conversationId: currentConversationId, navigate } = useNavigation();\n const { backend: activeBackend } = useActiveBackend();\n // Click-outside is only relevant in the legacy drawer mode where an\n // onClose handler is provided. When the panel is rendered inline (e.g.\n // as the always-visible conversation list pane), clicking outside should\n // not dismiss the list, so we pass a no-op callback in that case.\n const ref = useClickOutsideElement<HTMLDivElement>(onClose ?? noop);\n\n const [confirmDeleteModalVisible, setConfirmDeleteModalVisible] =\n React.useState(false);\n const [confirmStopModalVisible, setConfirmStopModalVisible] =\n React.useState(false);\n const [\n confirmExitConversationModalVisible,\n setConfirmExitConversationModalVisible,\n ] = React.useState(false);\n const [confirmDeleteAllVisible, setConfirmDeleteAllVisible] =\n React.useState(false);\n const showOlderConversations = useConversationPanelPreferencesStore(\n (state) => state.showOlderConversations,\n );\n const toggleShowOlderConversations = useConversationPanelPreferencesStore(\n (state) => state.toggleShowOlderConversations,\n );\n const showRepoBranchMetadata = useConversationPanelPreferencesStore(\n (state) => state.showRepoBranchMetadata,\n );\n const toggleShowRepoBranchMetadata = useConversationPanelPreferencesStore(\n (state) => state.toggleShowRepoBranchMetadata,\n );\n const showLlmProfiles = useConversationPanelPreferencesStore(\n (state) => state.showLlmProfiles,\n );\n const toggleShowLlmProfiles = useConversationPanelPreferencesStore(\n (state) => state.toggleShowLlmProfiles,\n );\n const showTagsMetadata = useConversationPanelPreferencesStore(\n (state) => state.showTagsMetadata,\n );\n const toggleShowTagsMetadata = useConversationPanelPreferencesStore(\n (state) => state.toggleShowTagsMetadata,\n );\n const showHoverMetadata = useConversationPanelPreferencesStore(\n (state) => state.showHoverMetadata,\n );\n const toggleShowHoverMetadata = useConversationPanelPreferencesStore(\n (state) => state.toggleShowHoverMetadata,\n );\n const organizeMode = useConversationPanelPreferencesStore(\n (state) => state.organizeMode,\n );\n const setOrganizeMode = useConversationPanelPreferencesStore(\n (state) => state.setOrganizeMode,\n );\n const conversationSort = useConversationPanelPreferencesStore(\n (state) => state.conversationSort,\n );\n const setConversationSort = useConversationPanelPreferencesStore(\n (state) => state.setConversationSort,\n );\n const threadScope = useConversationPanelPreferencesStore(\n (state) => state.threadScope,\n );\n const setThreadScope = useConversationPanelPreferencesStore(\n (state) => state.setThreadScope,\n );\n const groupFolderOrder = useConversationPanelPreferencesStore(\n (state) => state.groupFolderOrder,\n );\n const setGroupFolderOrder = useConversationPanelPreferencesStore(\n (state) => state.setGroupFolderOrder,\n );\n const [filterMenuOpen, setFilterMenuOpen] = React.useState(false);\n const [isListScrolled, setIsListScrolled] = React.useState(false);\n const filterMenuRef = useClickOutsideElement<HTMLDivElement>(() => {\n setFilterMenuOpen(false);\n });\n const [collapsedGroupIds, setCollapsedGroupIds] = React.useState<\n ReadonlySet<string>\n >(() => new Set());\n const [expandedGroupPreviewIds, setExpandedGroupPreviewIds] = React.useState<\n ReadonlySet<string>\n >(() => new Set());\n const [expandedPinnedPreview, setExpandedPinnedPreview] =\n React.useState(false);\n\n const pinnedIds = usePinnedConversationsStore(\n (state) =>\n state.pinsByBackendId[activeBackend.id] ?? EMPTY_PINNED_CONVERSATION_IDS,\n );\n const togglePin = usePinnedConversationsStore((state) => state.togglePin);\n const pruneMissingPinnedConversations = usePinnedConversationsStore(\n (state) => state.pruneMissingConversations,\n );\n\n const toggleGroupCollapsed = React.useCallback((groupId: string) => {\n setCollapsedGroupIds((prev) => {\n const next = new Set(prev);\n if (next.has(groupId)) {\n next.delete(groupId);\n } else {\n next.add(groupId);\n }\n return next;\n });\n }, []);\n\n const toggleGroupPreviewExpanded = React.useCallback((groupId: string) => {\n setExpandedGroupPreviewIds((prev) => {\n const next = new Set(prev);\n if (next.has(groupId)) {\n next.delete(groupId);\n } else {\n next.add(groupId);\n }\n return next;\n });\n }, []);\n\n React.useEffect(() => {\n if (organizeMode !== \"grouped\") {\n setCollapsedGroupIds(new Set());\n setExpandedGroupPreviewIds(new Set());\n }\n }, [organizeMode]);\n\n const scrollContainerRef = React.useRef<HTMLDivElement>(null);\n\n const [selectedConversationId, setSelectedConversationId] = React.useState<\n string | null\n >(null);\n const [selectedConversationTitle, setSelectedConversationTitle] =\n React.useState<string | null>(null);\n const [openContextMenuId, setOpenContextMenuId] = React.useState<\n string | null\n >(null);\n\n const {\n data,\n isLoading,\n isFetched,\n hasNextPage,\n isFetching,\n isFetchingNextPage,\n fetchNextPage,\n } = usePaginatedConversations();\n\n // Fetch in-progress start tasks\n const { data: startTasks } = useStartTasks();\n\n const conversations = React.useMemo(() => {\n const all = data?.pages.flatMap((page) => page.items) ?? [];\n // The 10s background refetch re-fetches every loaded page with the\n // `UPDATED_AT_DESC` cursor. If a conversation's `updated_at` shifts between\n // page fetches, a later page can overlap an earlier one and surface the\n // same conversation twice. Dedupe by id (keeping the first/freshest copy)\n // so the rendered count reflects real growth and React keys stay unique.\n const seen = new Set<string>();\n return all.filter((conversation) => {\n if (seen.has(conversation.id)) {\n return false;\n }\n seen.add(conversation.id);\n return true;\n });\n }, [data]);\n\n const pinnedConversations = React.useMemo(\n () => resolvePinnedConversations(pinnedIds, conversations),\n [conversations, pinnedIds],\n );\n\n React.useEffect(() => {\n if (!isFetched) {\n return;\n }\n pruneMissingPinnedConversations(\n activeBackend.id,\n conversations.map((conversation) => conversation.id),\n );\n }, [\n activeBackend.id,\n conversations,\n isFetched,\n pruneMissingPinnedConversations,\n ]);\n\n React.useEffect(() => {\n if (pinnedIds.length === 0) {\n setExpandedPinnedPreview(false);\n }\n }, [pinnedIds.length]);\n\n const scopedConversations = React.useMemo(() => {\n const scopeFiltered =\n threadScope === \"relevant\"\n ? conversations.filter((c) => isExecutionActive(c.execution_status))\n : conversations;\n\n // In the expanded panel, pinned conversations should only appear inside\n // the dedicated pinned section (not duplicated in grouped/flat lists).\n if (compact) {\n return scopeFiltered;\n }\n\n return filterOutPinnedConversations(scopeFiltered, pinnedIds);\n }, [compact, conversations, pinnedIds, threadScope]);\n\n const { recent: recentScoped, older: olderScoped } = React.useMemo(\n () => partitionByCutoff(scopedConversations),\n [scopedConversations],\n );\n\n // Sort the full visible set as one list. The recent/older partition is\n // still computed (it gates the \"Show older\" toggle and \"Load more\"\n // visibility), but the rendering must not use it as a visual boundary —\n // when sorting by `created`, a stale-but-recently-touched conversation\n // would otherwise land in `recent` and render above an actually-newer-\n // by-`created_at` conversation sitting in `older`.\n const sortedVisibleConversations = React.useMemo(() => {\n const visible = showOlderConversations\n ? [...recentScoped, ...olderScoped]\n : recentScoped;\n return sortConversationsByField(visible, conversationSort);\n }, [recentScoped, olderScoped, showOlderConversations, conversationSort]);\n\n const groupLabels = React.useMemo(\n () => ({\n emptyWorkspace: t(I18nKey.CONVERSATION_PANEL$NO_WORKSPACE),\n emptyRepository: t(I18nKey.CONVERSATION_PANEL$NO_REPOSITORY),\n }),\n [t],\n );\n\n const conversationGroups = React.useMemo(() => {\n if (compact || organizeMode !== \"grouped\") {\n return null;\n }\n // Use the unsorted partitions: groupConversations sorts each bucket\n // internally by `sortField`, so pre-sorting the merged input is wasted\n // work in grouped mode (the per-group sort overrides any global order).\n const merged = [\n ...recentScoped,\n ...(showOlderConversations ? olderScoped : []),\n ];\n return groupConversations(\n merged,\n activeBackend.kind,\n conversationSort,\n groupLabels,\n );\n }, [\n activeBackend.kind,\n compact,\n conversationSort,\n groupLabels,\n olderScoped,\n organizeMode,\n recentScoped,\n showOlderConversations,\n ]);\n\n const orderedConversationGroups = React.useMemo(() => {\n if (!conversationGroups) {\n return null;\n }\n return applyGroupFolderOrder(conversationGroups, groupFolderOrder);\n }, [conversationGroups, groupFolderOrder]);\n\n const conversationGroupIds = React.useMemo(\n () => conversationGroups?.map((group) => group.id) ?? [],\n [conversationGroups],\n );\n\n const compactVisibleConversations = React.useMemo(\n () =>\n sortConversationsByField(\n recentScoped.filter((conversation) =>\n isExecutionActive(conversation.execution_status),\n ),\n conversationSort,\n ),\n [conversationSort, recentScoped],\n );\n\n const visibleFlatCount = sortedVisibleConversations.length;\n\n const visibleGroupedCount = React.useMemo(() => {\n if (!orderedConversationGroups) {\n return 0;\n }\n return orderedConversationGroups.reduce(\n (n, g) => n + g.conversations.length,\n 0,\n );\n }, [orderedConversationGroups]);\n\n const listIsEffectivelyEmpty =\n organizeMode === \"grouped\" && !compact\n ? visibleGroupedCount === 0\n : visibleFlatCount === 0;\n\n // Number of conversations actually rendered in the list right now, in the\n // current organize mode. \"Load more\" succeeds only when this number grows.\n const visibleCount =\n organizeMode === \"grouped\" && !compact\n ? visibleGroupedCount\n : visibleFlatCount;\n\n // KNOWN ISSUE (unresolved as of 2026-05-29): users still report that the\n // sidebar \"Load more\" sometimes requires two clicks before new conversations\n // appear. The mitigation below (dedupe by id in `conversations`, plus the\n // floor-tracking driver that keeps fetching until the visible count grows)\n // reduced but did NOT fully eliminate the symptom in manual testing. Likely\n // remaining suspects to investigate next: the agent-server cursor pagination\n // returning an overlapping/short page under `UPDATED_AT_DESC` while the 10s\n // `refetchInterval` reorders pages (see `usePaginatedConversations`), or a\n // React Query state lag where `hasNextPage`/`isFetching` settle a render\n // after the click. If you pick this up, reproduce against a backend with\n // >40 conversations and watch the `/api/conversations/search` cursors.\n //\n // Robust \"Load more\" driver. A single click can fail to surface new rows for\n // two reasons: (1) `fetchNextPage()` is silently dropped while the 10s\n // background refetch is in flight, and (2) a fetched page can yield zero\n // *visible* rows (filtered out by the active scope, or deduped as overlap),\n // so the list does not appear to grow. We capture the visible count at click\n // time and keep fetching pages — once the query is idle — until the visible\n // count actually increases or there are no more pages.\n const [loadMoreFloor, setLoadMoreFloor] = React.useState<number | null>(null);\n const visibleCountRef = React.useRef(visibleCount);\n visibleCountRef.current = visibleCount;\n\n const requestLoadMore = React.useCallback(() => {\n if (hasNextPage) {\n setLoadMoreFloor(visibleCountRef.current);\n }\n }, [hasNextPage]);\n\n React.useEffect(() => {\n if (loadMoreFloor === null) {\n return;\n }\n // Goal met: the visible list grew past where it was when the user clicked.\n if (visibleCount > loadMoreFloor) {\n setLoadMoreFloor(null);\n return;\n }\n // Nothing more to fetch — stop waiting even if the list did not grow.\n if (!hasNextPage) {\n setLoadMoreFloor(null);\n return;\n }\n // Wait for any in-flight fetch (including the background refetch) to settle\n // before requesting the next page, otherwise the request is dropped.\n if (isFetching || isFetchingNextPage) {\n return;\n }\n fetchNextPage();\n }, [\n loadMoreFloor,\n visibleCount,\n hasNextPage,\n isFetching,\n isFetchingNextPage,\n fetchNextPage,\n ]);\n\n const isLoadingMore = loadMoreFloor !== null || isFetchingNextPage;\n\n const { mutate: deleteConversation, mutateAsync: deleteConversationAsync } =\n useDeleteConversation();\n const { mutate: pauseConversation } = useUnifiedPauseConversation();\n const { mutate: updateConversation } = useUpdateConversation();\n\n // The next page of conversations is loaded only via the explicit \"Load\n // more\" link rendered at the end of the list — there is no scroll-driven\n // pagination, which previously caused the panel to feel like it had stray\n // scrollable space at the bottom.\n const olderHidden = olderScoped.length > 0 && !showOlderConversations;\n // Compact mode also hides \"Load more\" — paginating into archived\n // conversations contradicts the \"active only\" intent of the icon rail.\n // Do not show when the visible list is empty (e.g. filters hide every\n // loaded conversation) — that state already shows \"No conversations found\".\n const showLoadMore =\n !!hasNextPage && !olderHidden && !compact && !listIsEffectivelyEmpty;\n\n const { mutate: createConversation } = useCreateConversation();\n const isCreatingConversationFlow = useIsCreatingConversation();\n\n const launchFromGroup = React.useCallback(\n (launch: ConversationGroupLaunch) => {\n if (isCreatingConversationFlow) return;\n createConversation(\n {\n workingDir: launch.workingDir,\n repository: launch.repository,\n entryPoint: \"sidebar_relaunch_project\",\n },\n {\n onSuccess: (data) => {\n navigate(`/conversations/${data.conversation_id}`);\n },\n },\n );\n },\n [createConversation, isCreatingConversationFlow, navigate],\n );\n\n const handleDeleteProject = React.useCallback(\n (conversationId: string, title: string) => {\n setConfirmDeleteModalVisible(true);\n setSelectedConversationId(conversationId);\n setSelectedConversationTitle(title);\n },\n [],\n );\n\n const handleStopConversation = React.useCallback((conversationId: string) => {\n setConfirmStopModalVisible(true);\n setSelectedConversationId(conversationId);\n }, []);\n\n const handleConversationTitleChange = React.useCallback(\n (conversationId: string, newTitle: string) => {\n updateConversation(\n { conversationId, newTitle },\n {\n onSuccess: () => {\n displaySuccessToast(t(I18nKey.CONVERSATION$TITLE_UPDATED));\n },\n },\n );\n },\n [t, updateConversation],\n );\n\n const handleConfirmDelete = () => {\n if (selectedConversationId) {\n deleteConversation(\n { conversationId: selectedConversationId },\n {\n onSuccess: () => {\n if (selectedConversationId === currentConversationId) {\n navigate(\"/conversations\");\n }\n },\n },\n );\n }\n };\n\n const handleConfirmStop = () => {\n if (selectedConversationId) {\n pauseConversation({\n conversationId: selectedConversationId,\n });\n }\n };\n\n const handleConfirmDeleteAll = async () => {\n const idsToDelete = conversations.map((c) => c.id);\n const results = await Promise.allSettled(\n idsToDelete.map((conversationId) =>\n deleteConversationAsync({ conversationId }),\n ),\n );\n\n const deletedIds = results.flatMap((result, index) =>\n result.status === \"fulfilled\" ? [idsToDelete[index]] : [],\n );\n const failedCount = results.length - deletedIds.length;\n\n if (\n currentConversationId !== null &&\n deletedIds.includes(currentConversationId)\n ) {\n navigate(\"/conversations\");\n }\n\n if (failedCount > 0) {\n displayErrorToast(\n `${failedCount} conversation${failedCount === 1 ? \"\" : \"s\"} could not be deleted.`,\n );\n }\n };\n\n const renderConversationCard = React.useCallback(\n (\n conversation: (typeof conversations)[number],\n options?: { inPinnedSection?: boolean },\n ) => {\n const isPinned = pinnedIds.includes(conversation.id);\n if (compact) {\n return (\n <CompactConversationRow\n key={conversation.id}\n conversationId={conversation.id}\n title={conversation.title ?? \"\"}\n selectedRepository={{\n selected_repository: conversation.selected_repository,\n selected_branch: conversation.selected_branch,\n git_provider: conversation.git_provider as Provider,\n }}\n executionStatus={conversation.execution_status}\n sandboxStatus={conversation.sandbox_status}\n lastUpdatedAt={conversation.updated_at}\n createdAt={conversation.created_at}\n workspaceWorkingDir={\n conversation.selected_workspace ??\n conversation.workspace?.working_dir\n }\n isActive={conversation.id === currentConversationId}\n onClose={onClose}\n showRepositoryMetadata={showRepoBranchMetadata}\n llmModel={conversation.llm_model}\n showLlmProfiles={showLlmProfiles}\n agentKind={conversation.agent_kind}\n acpServer={conversation.acp_server}\n tags={conversation.tags}\n showTags={showTagsMetadata}\n />\n );\n }\n return (\n <Tooltip\n key={conversation.id}\n placement=\"right-start\"\n delay={1000}\n closeDelay={100}\n isDisabled={\n !showHoverMetadata || openContextMenuId === conversation.id\n }\n disableAnimation={import.meta.env.MODE === \"test\"}\n className=\"rounded-xl border border-[var(--oh-border)] bg-base-secondary p-0 text-white shadow-xl\"\n content={\n <ConversationCardPreview\n title={conversation.title ?? \"\"}\n executionStatus={conversation.execution_status}\n sandboxStatus={conversation.sandbox_status}\n selectedRepository={{\n selected_repository: conversation.selected_repository,\n selected_branch: conversation.selected_branch,\n git_provider: conversation.git_provider as Provider,\n }}\n workspaceWorkingDir={\n conversation.selected_workspace ??\n conversation.workspace?.working_dir\n }\n llmModel={conversation.llm_model}\n createdAt={conversation.created_at}\n />\n }\n >\n <NavigationLink\n to={`/conversations/${conversation.id}`}\n onClick={onClose}\n className={cn(\n \"block rounded-md transition-colors\",\n openContextMenuId !== conversation.id &&\n \"hover:bg-[var(--oh-surface)]\",\n (conversation.id === currentConversationId ||\n openContextMenuId === conversation.id) &&\n \"bg-[var(--oh-surface)]\",\n )}\n >\n <ConversationCard\n onDelete={() =>\n handleDeleteProject(conversation.id, conversation.title ?? \"\")\n }\n onStop={() => handleStopConversation(conversation.id)}\n onChangeTitle={(title) =>\n handleConversationTitleChange(conversation.id, title)\n }\n title={conversation.title ?? \"\"}\n selectedRepository={{\n selected_repository: conversation.selected_repository,\n selected_branch: conversation.selected_branch,\n git_provider: conversation.git_provider as Provider,\n }}\n lastUpdatedAt={conversation.updated_at}\n createdAt={conversation.created_at}\n executionStatus={conversation.execution_status}\n sandboxStatus={conversation.sandbox_status}\n conversationId={conversation.id}\n contextMenuOpen={openContextMenuId === conversation.id}\n onContextMenuToggle={(isOpen) =>\n setOpenContextMenuId(isOpen ? conversation.id : null)\n }\n isActive={conversation.id === currentConversationId}\n workspaceWorkingDir={\n conversation.selected_workspace ??\n conversation.workspace?.working_dir\n }\n showRepositoryMetadata={showRepoBranchMetadata}\n llmModel={conversation.llm_model}\n showLlmProfiles={showLlmProfiles}\n agentKind={conversation.agent_kind}\n acpServer={conversation.acp_server}\n tags={conversation.tags}\n showTags={showTagsMetadata}\n isPinned={isPinned}\n onTogglePin={() => togglePin(activeBackend.id, conversation.id)}\n alwaysShowPinIcon={isPinned && !options?.inPinnedSection}\n />\n </NavigationLink>\n </Tooltip>\n );\n },\n [\n activeBackend.id,\n compact,\n currentConversationId,\n handleConversationTitleChange,\n handleDeleteProject,\n handleStopConversation,\n onClose,\n openContextMenuId,\n pinnedIds,\n showRepoBranchMetadata,\n showLlmProfiles,\n showTagsMetadata,\n showHoverMetadata,\n togglePin,\n ],\n );\n\n // Standard layout: panel fills its slot in the sidebar; the inner scroll\n // child fills the panel and scrolls when its content overflows. Modals are\n // siblings of the scroll element and are `position: fixed`, so they don't\n // participate in the panel's scroll geometry.\n // Gate on `isLoading` / `!isFetched` (true only until the first fetch settles),\n // not `isFetching` — the latter flips back to true on every 10s background\n // refetch, causing the skeleton/empty-state to flicker when the list is empty.\n const showInitialSkeleton = isLoading || !isFetched;\n const showPinnedSection =\n !compact && !showInitialSkeleton && pinnedConversations.length > 0;\n const showEmptyState =\n isFetched &&\n !isLoading &&\n !compact &&\n listIsEffectivelyEmpty &&\n !showPinnedSection &&\n !startTasks?.length;\n\n const showConversationHeader = !compact;\n\n return (\n <div\n ref={ref}\n data-testid=\"conversation-panel\"\n className=\"flex h-full min-h-0 w-full flex-col\"\n >\n {showConversationHeader && (\n <div\n className={cn(\n // Pull flush to the sidebar edges: `-ml-2.5` matches aside `pl-2.5`;\n // width extends by that inset on the right now that aside is `pr-0`.\n \"-ml-2.5 w-[calc(100%+0.625rem)] max-w-none box-border border-b\",\n isListScrolled ? \"border-[var(--oh-border)]\" : \"border-transparent\",\n )}\n >\n <div\n data-testid=\"older-conversations-summary\"\n className=\"flex min-w-0 flex-nowrap items-center gap-x-2 py-2 pl-4 pr-2.5 text-[var(--oh-muted)]\"\n >\n <span className=\"min-w-0 truncate text-sm font-medium text-[var(--oh-muted)]\">\n {t(I18nKey.SIDEBAR$CONVERSATIONS)}\n </span>\n <div className=\"ml-auto flex shrink-0 items-center gap-0.5\">\n <ConversationPanelNewThreadPicker\n backendKind={activeBackend.kind}\n />\n <ConversationPanelFilterMenu\n filterMenuOpen={filterMenuOpen}\n setFilterMenuOpen={setFilterMenuOpen}\n menuRef={filterMenuRef}\n backendKind={activeBackend.kind}\n organizeMode={organizeMode}\n setOrganizeMode={setOrganizeMode}\n conversationSort={conversationSort}\n setConversationSort={setConversationSort}\n threadScope={threadScope}\n setThreadScope={setThreadScope}\n showOlderConversations={showOlderConversations}\n toggleShowOlderConversations={toggleShowOlderConversations}\n showRepoBranchMetadata={showRepoBranchMetadata}\n toggleShowRepoBranchMetadata={toggleShowRepoBranchMetadata}\n showLlmProfiles={showLlmProfiles}\n toggleShowLlmProfiles={toggleShowLlmProfiles}\n showTagsMetadata={showTagsMetadata}\n toggleShowTagsMetadata={toggleShowTagsMetadata}\n showHoverMetadata={showHoverMetadata}\n toggleShowHoverMetadata={toggleShowHoverMetadata}\n totalConversationsCount={conversations.length}\n onRequestDeleteAll={() => setConfirmDeleteAllVisible(true)}\n />\n </div>\n </div>\n </div>\n )}\n\n <div\n ref={scrollContainerRef}\n data-testid=\"conversation-panel-list-scroll\"\n onScroll={(event) => {\n setIsListScrolled(event.currentTarget.scrollTop > 0);\n }}\n className={cn(\n \"flex min-h-0 flex-1 flex-col overflow-y-auto overflow-x-hidden overscroll-contain custom-scrollbar-always\",\n !compact && \"conversation-panel-list-scroll\",\n )}\n >\n {showInitialSkeleton && <ConversationCardSkeleton compact={compact} />}\n\n {!compact && showEmptyState && (\n <div\n data-testid=\"conversation-panel-empty-state\"\n className=\"flex min-h-0 flex-1 flex-col items-center justify-center px-4 py-8\"\n >\n <p className=\"text-xs text-[var(--oh-muted)]\">\n {t(I18nKey.CONVERSATION$NO_CONVERSATIONS)}\n </p>\n </div>\n )}\n\n {showPinnedSection ? (\n <ConversationPanelPinnedSection\n pinnedConversations={pinnedConversations}\n isPreviewExpanded={expandedPinnedPreview}\n onTogglePreviewExpanded={() =>\n setExpandedPinnedPreview((current) => !current)\n }\n activeConversationId={currentConversationId}\n showDivider={!compact && organizeMode === \"chronological\"}\n renderConversationCard={(conversation) =>\n renderConversationCard(conversation, { inPinnedSection: true })\n }\n />\n ) : null}\n\n {/* Render in-progress start tasks first (skipped in compact mode —\n their rich card layout doesn't fit in the icon rail). */}\n {!compact &&\n startTasks?.map((task) => (\n <NavigationLink\n key={task.id}\n to={`/conversations/task-${task.id}`}\n onClick={onClose}\n className=\"block\"\n >\n <StartTaskCard task={task} />\n </NavigationLink>\n ))}\n\n {!showInitialSkeleton && compact\n ? compactVisibleConversations.map((conversation) =>\n renderConversationCard(conversation),\n )\n : null}\n\n {!showInitialSkeleton &&\n !compact &&\n organizeMode === \"grouped\" &&\n orderedConversationGroups &&\n orderedConversationGroups.length > 0 ? (\n <ConversationGroupFolderList\n groups={orderedConversationGroups}\n groupIds={conversationGroupIds}\n groupFolderOrder={groupFolderOrder}\n setGroupFolderOrder={setGroupFolderOrder}\n collapsedGroupIds={collapsedGroupIds}\n expandedGroupPreviewIds={expandedGroupPreviewIds}\n onToggleGroupCollapsed={toggleGroupCollapsed}\n onToggleGroupPreviewExpanded={toggleGroupPreviewExpanded}\n isCreatingConversationFlow={isCreatingConversationFlow}\n activeConversationId={currentConversationId}\n onLaunchFromGroup={launchFromGroup}\n renderConversationCard={(conversation) =>\n renderConversationCard(conversation)\n }\n />\n ) : null}\n\n {!showInitialSkeleton &&\n !compact &&\n organizeMode === \"chronological\" ? (\n <div className=\"space-y-0.5\">\n {sortedVisibleConversations.map((conversation) =>\n renderConversationCard(conversation),\n )}\n </div>\n ) : null}\n\n {/* Explicit \"Load more\" trigger. Only shown when more pages exist\n *and* the older list is currently visible (or there are no older\n conversations to begin with) — otherwise the next page would be\n populated mostly with conversations the user has chosen to hide. */}\n {showLoadMore &&\n (isLoadingMore ? (\n <div className=\"py-1\">\n <ConversationCardSkeleton compact={compact} />\n </div>\n ) : (\n <div className=\"flex justify-center py-4\">\n <button\n type=\"button\"\n data-testid=\"load-more-conversations\"\n onClick={requestLoadMore}\n className=\"text-xs text-[var(--oh-muted)] hover:text-white\"\n >\n {t(I18nKey.CONVERSATION$LOAD_MORE)}\n </button>\n </div>\n ))}\n </div>\n\n {confirmDeleteModalVisible && (\n <ConfirmDeleteModal\n onConfirm={() => {\n handleConfirmDelete();\n setConfirmDeleteModalVisible(false);\n setSelectedConversationTitle(null);\n }}\n onCancel={() => {\n setConfirmDeleteModalVisible(false);\n setSelectedConversationTitle(null);\n }}\n conversationTitle={selectedConversationTitle ?? undefined}\n />\n )}\n\n {confirmDeleteAllVisible && (\n <ConfirmDeleteModal\n title={t(I18nKey.CONVERSATION$CONFIRM_DELETE_ALL_TITLE)}\n description={t(I18nKey.CONVERSATION$CONFIRM_DELETE_ALL_DESC, {\n count: conversations.length,\n })}\n onConfirm={async () => {\n await handleConfirmDeleteAll();\n setConfirmDeleteAllVisible(false);\n }}\n onCancel={() => setConfirmDeleteAllVisible(false)}\n />\n )}\n\n {confirmStopModalVisible && (\n <ConfirmStopModal\n onConfirm={() => {\n handleConfirmStop();\n setConfirmStopModalVisible(false);\n }}\n onCancel={() => setConfirmStopModalVisible(false)}\n />\n )}\n\n {confirmExitConversationModalVisible && (\n <ExitConversationModal\n onConfirm={() => {\n onClose?.();\n }}\n onClose={() => setConfirmExitConversationModalVisible(false)}\n onCancel={() => setConfirmExitConversationModalVisible(false)}\n />\n )}\n </div>\n );\n}\n"],"mappings":"84DAuDA,IAAM,OAAa,CAAC,EAEd,GAAmD,CAAC,EAEpD,EAAc,KAAU,IAExB,GACJ,GACgC,CAIhC,IAAM,EAAS,KAAK,IAAI,EAAI,EACtB,EAAc,CAAC,EACf,EAAa,CAAC,EACpB,IAAK,IAAM,KAAQ,EAAO,CACxB,IAAM,EAAY,EAAK,WAAa,KAAK,MAAM,EAAK,UAAU,EAAI,IAG9D,OAAO,SAAS,CAAS,GAAK,EAAY,EAC5C,EAAM,KAAK,CAAI,EAEf,EAAO,KAAK,CAAI,C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oB,EACpB,EAA6B,EAAK,EAClC,EAA6B,IAAI,CACnC,EACA,aAAgB,CACd,EAA6B,EAAK,EAClC,EAA6B,IAAI,CACnC,EACA,kBAAmB,IAA6B,IAAA,EACjD,CAAA,EAGF,KACC,EAAA,EAAA,KAAC,GAAA,mBAAD,CACE,MAAO,EAAE,EAAA,QAAQ,qCAAqC,EACtD,YAAa,EAAE,EAAA,QAAQ,qCAAsC,CAC3D,MAAO,EAAc,MACvB,CAAC,EACD,UAAW,SAAY,CACrB,MAAM,GAAuB,EAC7B,EAA2B,EAAK,CAClC,EACA,aAAgB,EAA2B,EAAK,CACjD,CAAA,EAGF,KACC,EAAA,EAAA,KAAC,GAAA,iBAAD,CACE,cAAiB,CACf,GAAkB,EAClB,EAA2B,EAAK,CAClC,EACA,aAAgB,EAA2B,EAAK,CACjD,CAAA,EAGF,KACC,EAAA,EAAA,KAAC,GAAA,sBAAD,CACE,cAAiB,CACf,IAAU,CACZ,EACA,YAAe,GAAuC,EAAK,EAC3D,aAAgB,GAAuC,EAAK,CAC7D,CAAA,CAEA,GAET"}
1
+ {"version":3,"file":"conversation-panel.cjs","names":[],"sources":["../../../../src/components/features/conversation-panel/conversation-panel.tsx"],"sourcesContent":["import React from \"react\";\nimport { Tooltip } from \"@heroui/react\";\nimport { useTranslation } from \"react-i18next\";\nimport { I18nKey } from \"#/i18n/declaration\";\nimport { useNavigation } from \"#/context/navigation-context\";\nimport { useActiveBackend } from \"#/contexts/active-backend-context\";\nimport { useBackendScopedPath } from \"#/hooks/use-backend-scoped-path\";\nimport { usePaginatedConversations } from \"#/hooks/query/use-paginated-conversations\";\nimport { useStartTasks } from \"#/hooks/query/use-start-tasks\";\nimport { useDeleteConversation } from \"#/hooks/mutation/use-delete-conversation\";\nimport { useUnifiedPauseConversation } from \"#/hooks/mutation/use-unified-stop-conversation\";\nimport { ConfirmDeleteModal } from \"./confirm-delete-modal\";\nimport { ConfirmStopModal } from \"./confirm-stop-modal\";\nimport { NavigationLink } from \"#/components/shared/navigation-link\";\nimport { ExitConversationModal } from \"./exit-conversation-modal\";\nimport { useClickOutsideElement } from \"#/hooks/use-click-outside-element\";\nimport { Provider } from \"#/types/settings\";\nimport { useUpdateConversation } from \"#/hooks/mutation/use-update-conversation\";\nimport {\n displayErrorToast,\n displaySuccessToast,\n} from \"#/utils/custom-toast-handlers\";\nimport { isExecutionActive } from \"#/utils/status\";\nimport { useCreateConversation } from \"#/hooks/mutation/use-create-conversation\";\nimport { useIsCreatingConversation } from \"#/hooks/use-is-creating-conversation\";\nimport { ConversationCard } from \"./conversation-card/conversation-card\";\nimport { ConversationCardPreview } from \"./conversation-card/conversation-card-preview\";\nimport { StartTaskCard } from \"./start-task-card/start-task-card\";\nimport { ConversationCardSkeleton } from \"./conversation-card/conversation-card-skeleton\";\nimport { CompactConversationRow } from \"./compact-conversation-row\";\nimport { useConversationPanelPreferencesStore } from \"#/stores/conversation-panel-preferences-store\";\nimport { cn } from \"#/utils/utils\";\nimport { ConversationPanelFilterMenu } from \"./conversation-panel-filter-menu\";\nimport { ConversationPanelNewThreadPicker } from \"./conversation-panel-new-thread-picker\";\nimport { ConversationGroupFolderList } from \"./conversation-group-folder-list\";\nimport { ConversationPanelPinnedSection } from \"./conversation-panel-pinned-section\";\nimport {\n applyGroupFolderOrder,\n filterOutPinnedConversations,\n groupConversations,\n resolvePinnedConversations,\n sortConversationsByField,\n type ConversationGroupLaunch,\n} from \"./conversation-panel-list-helpers\";\nimport { usePinnedConversationsStore } from \"#/stores/pinned-conversations-store\";\n\ninterface ConversationPanelProps {\n onClose?: () => void;\n /**\n * Render a minimal icon-only variant of each conversation row (used by the\n * collapsed sidebar). Each row is a single status dot with a hover preview\n * containing the full card content.\n */\n compact?: boolean;\n}\n\nconst noop = () => {};\n\nconst EMPTY_PINNED_CONVERSATION_IDS: readonly string[] = [];\n\nconst ONE_HOUR_MS = 60 * 60 * 1000;\n\nconst partitionByCutoff = <T extends { updated_at: string }>(\n items: readonly T[],\n): { recent: T[]; older: T[] } => {\n // The cutoff is intentionally relative to \"now\" each time the list is\n // recomputed, so conversations naturally age into the older bucket as the\n // conversations query refreshes.\n const cutoff = Date.now() - ONE_HOUR_MS;\n const recent: T[] = [];\n const older: T[] = [];\n for (const item of items) {\n const updatedAt = item.updated_at ? Date.parse(item.updated_at) : NaN;\n // Missing or unparseable timestamps stay in the \"recent\" bucket so we\n // do not accidentally hide them behind the older-conversations toggle.\n if (Number.isFinite(updatedAt) && updatedAt < cutoff) {\n older.push(item);\n } else {\n recent.push(item);\n }\n }\n return { recent, older };\n};\n\nexport function ConversationPanel({\n onClose,\n compact = false,\n}: ConversationPanelProps) {\n const { t } = useTranslation(\"openhands\");\n const { conversationId: currentConversationId, navigate } = useNavigation();\n const { backend: activeBackend } = useActiveBackend();\n const backendScopedPath = useBackendScopedPath();\n // Click-outside is only relevant in the legacy drawer mode where an\n // onClose handler is provided. When the panel is rendered inline (e.g.\n // as the always-visible conversation list pane), clicking outside should\n // not dismiss the list, so we pass a no-op callback in that case.\n const ref = useClickOutsideElement<HTMLDivElement>(onClose ?? noop);\n\n const [confirmDeleteModalVisible, setConfirmDeleteModalVisible] =\n React.useState(false);\n const [confirmStopModalVisible, setConfirmStopModalVisible] =\n React.useState(false);\n const [\n confirmExitConversationModalVisible,\n setConfirmExitConversationModalVisible,\n ] = React.useState(false);\n const [confirmDeleteAllVisible, setConfirmDeleteAllVisible] =\n React.useState(false);\n const showOlderConversations = useConversationPanelPreferencesStore(\n (state) => state.showOlderConversations,\n );\n const toggleShowOlderConversations = useConversationPanelPreferencesStore(\n (state) => state.toggleShowOlderConversations,\n );\n const showRepoBranchMetadata = useConversationPanelPreferencesStore(\n (state) => state.showRepoBranchMetadata,\n );\n const toggleShowRepoBranchMetadata = useConversationPanelPreferencesStore(\n (state) => state.toggleShowRepoBranchMetadata,\n );\n const showLlmProfiles = useConversationPanelPreferencesStore(\n (state) => state.showLlmProfiles,\n );\n const toggleShowLlmProfiles = useConversationPanelPreferencesStore(\n (state) => state.toggleShowLlmProfiles,\n );\n const showTagsMetadata = useConversationPanelPreferencesStore(\n (state) => state.showTagsMetadata,\n );\n const toggleShowTagsMetadata = useConversationPanelPreferencesStore(\n (state) => state.toggleShowTagsMetadata,\n );\n const showHoverMetadata = useConversationPanelPreferencesStore(\n (state) => state.showHoverMetadata,\n );\n const toggleShowHoverMetadata = useConversationPanelPreferencesStore(\n (state) => state.toggleShowHoverMetadata,\n );\n const organizeMode = useConversationPanelPreferencesStore(\n (state) => state.organizeMode,\n );\n const setOrganizeMode = useConversationPanelPreferencesStore(\n (state) => state.setOrganizeMode,\n );\n const conversationSort = useConversationPanelPreferencesStore(\n (state) => state.conversationSort,\n );\n const setConversationSort = useConversationPanelPreferencesStore(\n (state) => state.setConversationSort,\n );\n const threadScope = useConversationPanelPreferencesStore(\n (state) => state.threadScope,\n );\n const setThreadScope = useConversationPanelPreferencesStore(\n (state) => state.setThreadScope,\n );\n const groupFolderOrder = useConversationPanelPreferencesStore(\n (state) => state.groupFolderOrder,\n );\n const setGroupFolderOrder = useConversationPanelPreferencesStore(\n (state) => state.setGroupFolderOrder,\n );\n const [filterMenuOpen, setFilterMenuOpen] = React.useState(false);\n const [isListScrolled, setIsListScrolled] = React.useState(false);\n const filterMenuRef = useClickOutsideElement<HTMLDivElement>(() => {\n setFilterMenuOpen(false);\n });\n const [collapsedGroupIds, setCollapsedGroupIds] = React.useState<\n ReadonlySet<string>\n >(() => new Set());\n const [expandedGroupPreviewIds, setExpandedGroupPreviewIds] = React.useState<\n ReadonlySet<string>\n >(() => new Set());\n const [expandedPinnedPreview, setExpandedPinnedPreview] =\n React.useState(false);\n\n const pinnedIds = usePinnedConversationsStore(\n (state) =>\n state.pinsByBackendId[activeBackend.id] ?? EMPTY_PINNED_CONVERSATION_IDS,\n );\n const togglePin = usePinnedConversationsStore((state) => state.togglePin);\n const pruneMissingPinnedConversations = usePinnedConversationsStore(\n (state) => state.pruneMissingConversations,\n );\n\n const toggleGroupCollapsed = React.useCallback((groupId: string) => {\n setCollapsedGroupIds((prev) => {\n const next = new Set(prev);\n if (next.has(groupId)) {\n next.delete(groupId);\n } else {\n next.add(groupId);\n }\n return next;\n });\n }, []);\n\n const toggleGroupPreviewExpanded = React.useCallback((groupId: string) => {\n setExpandedGroupPreviewIds((prev) => {\n const next = new Set(prev);\n if (next.has(groupId)) {\n next.delete(groupId);\n } else {\n next.add(groupId);\n }\n return next;\n });\n }, []);\n\n React.useEffect(() => {\n if (organizeMode !== \"grouped\") {\n setCollapsedGroupIds(new Set());\n setExpandedGroupPreviewIds(new Set());\n }\n }, [organizeMode]);\n\n const scrollContainerRef = React.useRef<HTMLDivElement>(null);\n\n const [selectedConversationId, setSelectedConversationId] = React.useState<\n string | null\n >(null);\n const [selectedConversationTitle, setSelectedConversationTitle] =\n React.useState<string | null>(null);\n const [openContextMenuId, setOpenContextMenuId] = React.useState<\n string | null\n >(null);\n\n const {\n data,\n isLoading,\n isFetched,\n hasNextPage,\n isFetching,\n isFetchingNextPage,\n fetchNextPage,\n } = usePaginatedConversations();\n\n // Fetch in-progress start tasks\n const { data: startTasks } = useStartTasks();\n\n const conversations = React.useMemo(() => {\n const all = data?.pages.flatMap((page) => page.items) ?? [];\n // The 10s background refetch re-fetches every loaded page with the\n // `UPDATED_AT_DESC` cursor. If a conversation's `updated_at` shifts between\n // page fetches, a later page can overlap an earlier one and surface the\n // same conversation twice. Dedupe by id (keeping the first/freshest copy)\n // so the rendered count reflects real growth and React keys stay unique.\n const seen = new Set<string>();\n return all.filter((conversation) => {\n if (seen.has(conversation.id)) {\n return false;\n }\n seen.add(conversation.id);\n return true;\n });\n }, [data]);\n\n const pinnedConversations = React.useMemo(\n () => resolvePinnedConversations(pinnedIds, conversations),\n [conversations, pinnedIds],\n );\n\n React.useEffect(() => {\n if (!isFetched) {\n return;\n }\n pruneMissingPinnedConversations(\n activeBackend.id,\n conversations.map((conversation) => conversation.id),\n );\n }, [\n activeBackend.id,\n conversations,\n isFetched,\n pruneMissingPinnedConversations,\n ]);\n\n React.useEffect(() => {\n if (pinnedIds.length === 0) {\n setExpandedPinnedPreview(false);\n }\n }, [pinnedIds.length]);\n\n const scopedConversations = React.useMemo(() => {\n const scopeFiltered =\n threadScope === \"relevant\"\n ? conversations.filter((c) => isExecutionActive(c.execution_status))\n : conversations;\n\n // In the expanded panel, pinned conversations should only appear inside\n // the dedicated pinned section (not duplicated in grouped/flat lists).\n if (compact) {\n return scopeFiltered;\n }\n\n return filterOutPinnedConversations(scopeFiltered, pinnedIds);\n }, [compact, conversations, pinnedIds, threadScope]);\n\n const { recent: recentScoped, older: olderScoped } = React.useMemo(\n () => partitionByCutoff(scopedConversations),\n [scopedConversations],\n );\n\n // Sort the full visible set as one list. The recent/older partition is\n // still computed (it gates the \"Show older\" toggle and \"Load more\"\n // visibility), but the rendering must not use it as a visual boundary —\n // when sorting by `created`, a stale-but-recently-touched conversation\n // would otherwise land in `recent` and render above an actually-newer-\n // by-`created_at` conversation sitting in `older`.\n const sortedVisibleConversations = React.useMemo(() => {\n const visible = showOlderConversations\n ? [...recentScoped, ...olderScoped]\n : recentScoped;\n return sortConversationsByField(visible, conversationSort);\n }, [recentScoped, olderScoped, showOlderConversations, conversationSort]);\n\n const groupLabels = React.useMemo(\n () => ({\n emptyWorkspace: t(I18nKey.CONVERSATION_PANEL$NO_WORKSPACE),\n emptyRepository: t(I18nKey.CONVERSATION_PANEL$NO_REPOSITORY),\n }),\n [t],\n );\n\n const conversationGroups = React.useMemo(() => {\n if (compact || organizeMode !== \"grouped\") {\n return null;\n }\n // Use the unsorted partitions: groupConversations sorts each bucket\n // internally by `sortField`, so pre-sorting the merged input is wasted\n // work in grouped mode (the per-group sort overrides any global order).\n const merged = [\n ...recentScoped,\n ...(showOlderConversations ? olderScoped : []),\n ];\n return groupConversations(\n merged,\n activeBackend.kind,\n conversationSort,\n groupLabels,\n );\n }, [\n activeBackend.kind,\n compact,\n conversationSort,\n groupLabels,\n olderScoped,\n organizeMode,\n recentScoped,\n showOlderConversations,\n ]);\n\n const orderedConversationGroups = React.useMemo(() => {\n if (!conversationGroups) {\n return null;\n }\n return applyGroupFolderOrder(conversationGroups, groupFolderOrder);\n }, [conversationGroups, groupFolderOrder]);\n\n const conversationGroupIds = React.useMemo(\n () => conversationGroups?.map((group) => group.id) ?? [],\n [conversationGroups],\n );\n\n const compactVisibleConversations = React.useMemo(\n () =>\n sortConversationsByField(\n recentScoped.filter((conversation) =>\n isExecutionActive(conversation.execution_status),\n ),\n conversationSort,\n ),\n [conversationSort, recentScoped],\n );\n\n const visibleFlatCount = sortedVisibleConversations.length;\n\n const visibleGroupedCount = React.useMemo(() => {\n if (!orderedConversationGroups) {\n return 0;\n }\n return orderedConversationGroups.reduce(\n (n, g) => n + g.conversations.length,\n 0,\n );\n }, [orderedConversationGroups]);\n\n const listIsEffectivelyEmpty =\n organizeMode === \"grouped\" && !compact\n ? visibleGroupedCount === 0\n : visibleFlatCount === 0;\n\n // Number of conversations actually rendered in the list right now, in the\n // current organize mode. \"Load more\" succeeds only when this number grows.\n const visibleCount =\n organizeMode === \"grouped\" && !compact\n ? visibleGroupedCount\n : visibleFlatCount;\n\n // KNOWN ISSUE (unresolved as of 2026-05-29): users still report that the\n // sidebar \"Load more\" sometimes requires two clicks before new conversations\n // appear. The mitigation below (dedupe by id in `conversations`, plus the\n // floor-tracking driver that keeps fetching until the visible count grows)\n // reduced but did NOT fully eliminate the symptom in manual testing. Likely\n // remaining suspects to investigate next: the agent-server cursor pagination\n // returning an overlapping/short page under `UPDATED_AT_DESC` while the 10s\n // `refetchInterval` reorders pages (see `usePaginatedConversations`), or a\n // React Query state lag where `hasNextPage`/`isFetching` settle a render\n // after the click. If you pick this up, reproduce against a backend with\n // >40 conversations and watch the `/api/conversations/search` cursors.\n //\n // Robust \"Load more\" driver. A single click can fail to surface new rows for\n // two reasons: (1) `fetchNextPage()` is silently dropped while the 10s\n // background refetch is in flight, and (2) a fetched page can yield zero\n // *visible* rows (filtered out by the active scope, or deduped as overlap),\n // so the list does not appear to grow. We capture the visible count at click\n // time and keep fetching pages — once the query is idle — until the visible\n // count actually increases or there are no more pages.\n const [loadMoreFloor, setLoadMoreFloor] = React.useState<number | null>(null);\n const visibleCountRef = React.useRef(visibleCount);\n visibleCountRef.current = visibleCount;\n\n const requestLoadMore = React.useCallback(() => {\n if (hasNextPage) {\n setLoadMoreFloor(visibleCountRef.current);\n }\n }, [hasNextPage]);\n\n React.useEffect(() => {\n if (loadMoreFloor === null) {\n return;\n }\n // Goal met: the visible list grew past where it was when the user clicked.\n if (visibleCount > loadMoreFloor) {\n setLoadMoreFloor(null);\n return;\n }\n // Nothing more to fetch — stop waiting even if the list did not grow.\n if (!hasNextPage) {\n setLoadMoreFloor(null);\n return;\n }\n // Wait for any in-flight fetch (including the background refetch) to settle\n // before requesting the next page, otherwise the request is dropped.\n if (isFetching || isFetchingNextPage) {\n return;\n }\n fetchNextPage();\n }, [\n loadMoreFloor,\n visibleCount,\n hasNextPage,\n isFetching,\n isFetchingNextPage,\n fetchNextPage,\n ]);\n\n const isLoadingMore = loadMoreFloor !== null || isFetchingNextPage;\n\n const { mutate: deleteConversation, mutateAsync: deleteConversationAsync } =\n useDeleteConversation();\n const { mutate: pauseConversation } = useUnifiedPauseConversation();\n const { mutate: updateConversation } = useUpdateConversation();\n\n // The next page of conversations is loaded only via the explicit \"Load\n // more\" link rendered at the end of the list — there is no scroll-driven\n // pagination, which previously caused the panel to feel like it had stray\n // scrollable space at the bottom.\n const olderHidden = olderScoped.length > 0 && !showOlderConversations;\n // Compact mode also hides \"Load more\" — paginating into archived\n // conversations contradicts the \"active only\" intent of the icon rail.\n // Do not show when the visible list is empty (e.g. filters hide every\n // loaded conversation) — that state already shows \"No conversations found\".\n const showLoadMore =\n !!hasNextPage && !olderHidden && !compact && !listIsEffectivelyEmpty;\n\n const { mutate: createConversation } = useCreateConversation();\n const isCreatingConversationFlow = useIsCreatingConversation();\n\n const launchFromGroup = React.useCallback(\n (launch: ConversationGroupLaunch) => {\n if (isCreatingConversationFlow) return;\n createConversation(\n {\n workingDir: launch.workingDir,\n repository: launch.repository,\n entryPoint: \"sidebar_relaunch_project\",\n },\n {\n onSuccess: (data) => {\n navigate(`/conversations/${data.conversation_id}`);\n },\n },\n );\n },\n [createConversation, isCreatingConversationFlow, navigate],\n );\n\n const handleDeleteProject = React.useCallback(\n (conversationId: string, title: string) => {\n setConfirmDeleteModalVisible(true);\n setSelectedConversationId(conversationId);\n setSelectedConversationTitle(title);\n },\n [],\n );\n\n const handleStopConversation = React.useCallback((conversationId: string) => {\n setConfirmStopModalVisible(true);\n setSelectedConversationId(conversationId);\n }, []);\n\n const handleConversationTitleChange = React.useCallback(\n (conversationId: string, newTitle: string) => {\n updateConversation(\n { conversationId, newTitle },\n {\n onSuccess: () => {\n displaySuccessToast(t(I18nKey.CONVERSATION$TITLE_UPDATED));\n },\n },\n );\n },\n [t, updateConversation],\n );\n\n const handleConfirmDelete = () => {\n if (selectedConversationId) {\n deleteConversation(\n { conversationId: selectedConversationId },\n {\n onSuccess: () => {\n if (selectedConversationId === currentConversationId) {\n navigate(\"/conversations\");\n }\n },\n },\n );\n }\n };\n\n const handleConfirmStop = () => {\n if (selectedConversationId) {\n pauseConversation({\n conversationId: selectedConversationId,\n });\n }\n };\n\n const handleConfirmDeleteAll = async () => {\n const idsToDelete = conversations.map((c) => c.id);\n const results = await Promise.allSettled(\n idsToDelete.map((conversationId) =>\n deleteConversationAsync({ conversationId }),\n ),\n );\n\n const deletedIds = results.flatMap((result, index) =>\n result.status === \"fulfilled\" ? [idsToDelete[index]] : [],\n );\n const failedCount = results.length - deletedIds.length;\n\n if (\n currentConversationId !== null &&\n deletedIds.includes(currentConversationId)\n ) {\n navigate(\"/conversations\");\n }\n\n if (failedCount > 0) {\n displayErrorToast(\n `${failedCount} conversation${failedCount === 1 ? \"\" : \"s\"} could not be deleted.`,\n );\n }\n };\n\n const renderConversationCard = React.useCallback(\n (\n conversation: (typeof conversations)[number],\n options?: { inPinnedSection?: boolean },\n ) => {\n const isPinned = pinnedIds.includes(conversation.id);\n if (compact) {\n return (\n <CompactConversationRow\n key={conversation.id}\n conversationId={conversation.id}\n title={conversation.title ?? \"\"}\n selectedRepository={{\n selected_repository: conversation.selected_repository,\n selected_branch: conversation.selected_branch,\n git_provider: conversation.git_provider as Provider,\n }}\n executionStatus={conversation.execution_status}\n sandboxStatus={conversation.sandbox_status}\n lastUpdatedAt={conversation.updated_at}\n createdAt={conversation.created_at}\n workspaceWorkingDir={\n conversation.selected_workspace ??\n conversation.workspace?.working_dir\n }\n isActive={conversation.id === currentConversationId}\n onClose={onClose}\n showRepositoryMetadata={showRepoBranchMetadata}\n llmModel={conversation.llm_model}\n showLlmProfiles={showLlmProfiles}\n agentKind={conversation.agent_kind}\n acpServer={conversation.acp_server}\n tags={conversation.tags}\n showTags={showTagsMetadata}\n />\n );\n }\n return (\n <Tooltip\n key={conversation.id}\n placement=\"right-start\"\n delay={1000}\n closeDelay={100}\n isDisabled={\n !showHoverMetadata || openContextMenuId === conversation.id\n }\n disableAnimation={import.meta.env.MODE === \"test\"}\n className=\"rounded-xl border border-[var(--oh-border)] bg-base-secondary p-0 text-white shadow-xl\"\n content={\n <ConversationCardPreview\n title={conversation.title ?? \"\"}\n executionStatus={conversation.execution_status}\n sandboxStatus={conversation.sandbox_status}\n selectedRepository={{\n selected_repository: conversation.selected_repository,\n selected_branch: conversation.selected_branch,\n git_provider: conversation.git_provider as Provider,\n }}\n workspaceWorkingDir={\n conversation.selected_workspace ??\n conversation.workspace?.working_dir\n }\n llmModel={conversation.llm_model}\n createdAt={conversation.created_at}\n />\n }\n >\n <NavigationLink\n to={backendScopedPath(`/conversations/${conversation.id}`)}\n onClick={onClose}\n className={cn(\n \"block rounded-md transition-colors\",\n openContextMenuId !== conversation.id &&\n \"hover:bg-[var(--oh-surface)]\",\n (conversation.id === currentConversationId ||\n openContextMenuId === conversation.id) &&\n \"bg-[var(--oh-surface)]\",\n )}\n >\n <ConversationCard\n onDelete={() =>\n handleDeleteProject(conversation.id, conversation.title ?? \"\")\n }\n onStop={() => handleStopConversation(conversation.id)}\n onChangeTitle={(title) =>\n handleConversationTitleChange(conversation.id, title)\n }\n title={conversation.title ?? \"\"}\n selectedRepository={{\n selected_repository: conversation.selected_repository,\n selected_branch: conversation.selected_branch,\n git_provider: conversation.git_provider as Provider,\n }}\n lastUpdatedAt={conversation.updated_at}\n createdAt={conversation.created_at}\n executionStatus={conversation.execution_status}\n sandboxStatus={conversation.sandbox_status}\n conversationId={conversation.id}\n contextMenuOpen={openContextMenuId === conversation.id}\n onContextMenuToggle={(isOpen) =>\n setOpenContextMenuId(isOpen ? conversation.id : null)\n }\n isActive={conversation.id === currentConversationId}\n workspaceWorkingDir={\n conversation.selected_workspace ??\n conversation.workspace?.working_dir\n }\n showRepositoryMetadata={showRepoBranchMetadata}\n llmModel={conversation.llm_model}\n showLlmProfiles={showLlmProfiles}\n agentKind={conversation.agent_kind}\n acpServer={conversation.acp_server}\n tags={conversation.tags}\n showTags={showTagsMetadata}\n isPinned={isPinned}\n onTogglePin={() => togglePin(activeBackend.id, conversation.id)}\n alwaysShowPinIcon={isPinned && !options?.inPinnedSection}\n />\n </NavigationLink>\n </Tooltip>\n );\n },\n [\n activeBackend.id,\n compact,\n currentConversationId,\n handleConversationTitleChange,\n handleDeleteProject,\n handleStopConversation,\n onClose,\n openContextMenuId,\n pinnedIds,\n showRepoBranchMetadata,\n showLlmProfiles,\n showTagsMetadata,\n showHoverMetadata,\n togglePin,\n ],\n );\n\n // Standard layout: panel fills its slot in the sidebar; the inner scroll\n // child fills the panel and scrolls when its content overflows. Modals are\n // siblings of the scroll element and are `position: fixed`, so they don't\n // participate in the panel's scroll geometry.\n // Gate on `isLoading` / `!isFetched` (true only until the first fetch settles),\n // not `isFetching` — the latter flips back to true on every 10s background\n // refetch, causing the skeleton/empty-state to flicker when the list is empty.\n const showInitialSkeleton = isLoading || !isFetched;\n const showPinnedSection =\n !compact && !showInitialSkeleton && pinnedConversations.length > 0;\n const showEmptyState =\n isFetched &&\n !isLoading &&\n !compact &&\n listIsEffectivelyEmpty &&\n !showPinnedSection &&\n !startTasks?.length;\n\n const showConversationHeader = !compact;\n\n return (\n <div\n ref={ref}\n data-testid=\"conversation-panel\"\n className=\"flex h-full min-h-0 w-full flex-col\"\n >\n {showConversationHeader && (\n <div\n className={cn(\n // Pull flush to the sidebar edges: `-ml-2.5` matches aside `pl-2.5`;\n // width extends by that inset on the right now that aside is `pr-0`.\n \"-ml-2.5 w-[calc(100%+0.625rem)] max-w-none box-border border-b\",\n isListScrolled ? \"border-[var(--oh-border)]\" : \"border-transparent\",\n )}\n >\n <div\n data-testid=\"older-conversations-summary\"\n className=\"flex min-w-0 flex-nowrap items-center gap-x-2 py-2 pl-4 pr-2.5 text-[var(--oh-muted)]\"\n >\n <span className=\"min-w-0 truncate text-sm font-medium text-[var(--oh-muted)]\">\n {t(I18nKey.SIDEBAR$CONVERSATIONS)}\n </span>\n <div className=\"ml-auto flex shrink-0 items-center gap-0.5\">\n <ConversationPanelNewThreadPicker\n backendKind={activeBackend.kind}\n />\n <ConversationPanelFilterMenu\n filterMenuOpen={filterMenuOpen}\n setFilterMenuOpen={setFilterMenuOpen}\n menuRef={filterMenuRef}\n backendKind={activeBackend.kind}\n organizeMode={organizeMode}\n setOrganizeMode={setOrganizeMode}\n conversationSort={conversationSort}\n setConversationSort={setConversationSort}\n threadScope={threadScope}\n setThreadScope={setThreadScope}\n showOlderConversations={showOlderConversations}\n toggleShowOlderConversations={toggleShowOlderConversations}\n showRepoBranchMetadata={showRepoBranchMetadata}\n toggleShowRepoBranchMetadata={toggleShowRepoBranchMetadata}\n showLlmProfiles={showLlmProfiles}\n toggleShowLlmProfiles={toggleShowLlmProfiles}\n showTagsMetadata={showTagsMetadata}\n toggleShowTagsMetadata={toggleShowTagsMetadata}\n showHoverMetadata={showHoverMetadata}\n toggleShowHoverMetadata={toggleShowHoverMetadata}\n totalConversationsCount={conversations.length}\n onRequestDeleteAll={() => setConfirmDeleteAllVisible(true)}\n />\n </div>\n </div>\n </div>\n )}\n\n <div\n ref={scrollContainerRef}\n data-testid=\"conversation-panel-list-scroll\"\n onScroll={(event) => {\n setIsListScrolled(event.currentTarget.scrollTop > 0);\n }}\n className={cn(\n \"flex min-h-0 flex-1 flex-col overflow-y-auto overflow-x-hidden overscroll-contain custom-scrollbar-always\",\n !compact && \"conversation-panel-list-scroll\",\n )}\n >\n {showInitialSkeleton && <ConversationCardSkeleton compact={compact} />}\n\n {!compact && showEmptyState && (\n <div\n data-testid=\"conversation-panel-empty-state\"\n className=\"flex min-h-0 flex-1 flex-col items-center justify-center px-4 py-8\"\n >\n <p className=\"text-xs text-[var(--oh-muted)]\">\n {t(I18nKey.CONVERSATION$NO_CONVERSATIONS)}\n </p>\n </div>\n )}\n\n {showPinnedSection ? (\n <ConversationPanelPinnedSection\n pinnedConversations={pinnedConversations}\n isPreviewExpanded={expandedPinnedPreview}\n onTogglePreviewExpanded={() =>\n setExpandedPinnedPreview((current) => !current)\n }\n activeConversationId={currentConversationId}\n showDivider={!compact && organizeMode === \"chronological\"}\n renderConversationCard={(conversation) =>\n renderConversationCard(conversation, { inPinnedSection: true })\n }\n />\n ) : null}\n\n {/* Render in-progress start tasks first (skipped in compact mode —\n their rich card layout doesn't fit in the icon rail). */}\n {!compact &&\n startTasks?.map((task) => (\n <NavigationLink\n key={task.id}\n to={backendScopedPath(`/conversations/task-${task.id}`)}\n onClick={onClose}\n className=\"block\"\n >\n <StartTaskCard task={task} />\n </NavigationLink>\n ))}\n\n {!showInitialSkeleton && compact\n ? compactVisibleConversations.map((conversation) =>\n renderConversationCard(conversation),\n )\n : null}\n\n {!showInitialSkeleton &&\n !compact &&\n organizeMode === \"grouped\" &&\n orderedConversationGroups &&\n orderedConversationGroups.length > 0 ? (\n <ConversationGroupFolderList\n groups={orderedConversationGroups}\n groupIds={conversationGroupIds}\n groupFolderOrder={groupFolderOrder}\n setGroupFolderOrder={setGroupFolderOrder}\n collapsedGroupIds={collapsedGroupIds}\n expandedGroupPreviewIds={expandedGroupPreviewIds}\n onToggleGroupCollapsed={toggleGroupCollapsed}\n onToggleGroupPreviewExpanded={toggleGroupPreviewExpanded}\n isCreatingConversationFlow={isCreatingConversationFlow}\n activeConversationId={currentConversationId}\n onLaunchFromGroup={launchFromGroup}\n renderConversationCard={(conversation) =>\n renderConversationCard(conversation)\n }\n />\n ) : null}\n\n {!showInitialSkeleton &&\n !compact &&\n organizeMode === \"chronological\" ? (\n <div className=\"space-y-0.5\">\n {sortedVisibleConversations.map((conversation) =>\n renderConversationCard(conversation),\n )}\n </div>\n ) : null}\n\n {/* Explicit \"Load more\" trigger. Only shown when more pages exist\n *and* the older list is currently visible (or there are no older\n conversations to begin with) — otherwise the next page would be\n populated mostly with conversations the user has chosen to hide. */}\n {showLoadMore &&\n (isLoadingMore ? (\n <div className=\"py-1\">\n <ConversationCardSkeleton compact={compact} />\n </div>\n ) : (\n <div className=\"flex justify-center py-4\">\n <button\n type=\"button\"\n data-testid=\"load-more-conversations\"\n onClick={requestLoadMore}\n className=\"text-xs text-[var(--oh-muted)] hover:text-white\"\n >\n {t(I18nKey.CONVERSATION$LOAD_MORE)}\n </button>\n </div>\n ))}\n </div>\n\n {confirmDeleteModalVisible && (\n <ConfirmDeleteModal\n onConfirm={() => {\n handleConfirmDelete();\n setConfirmDeleteModalVisible(false);\n setSelectedConversationTitle(null);\n }}\n onCancel={() => {\n setConfirmDeleteModalVisible(false);\n setSelectedConversationTitle(null);\n }}\n conversationTitle={selectedConversationTitle ?? undefined}\n />\n )}\n\n {confirmDeleteAllVisible && (\n <ConfirmDeleteModal\n title={t(I18nKey.CONVERSATION$CONFIRM_DELETE_ALL_TITLE)}\n description={t(I18nKey.CONVERSATION$CONFIRM_DELETE_ALL_DESC, {\n count: conversations.length,\n })}\n onConfirm={async () => {\n await handleConfirmDeleteAll();\n setConfirmDeleteAllVisible(false);\n }}\n onCancel={() => setConfirmDeleteAllVisible(false)}\n />\n )}\n\n {confirmStopModalVisible && (\n <ConfirmStopModal\n onConfirm={() => {\n handleConfirmStop();\n setConfirmStopModalVisible(false);\n }}\n onCancel={() => setConfirmStopModalVisible(false)}\n />\n )}\n\n {confirmExitConversationModalVisible && (\n <ExitConversationModal\n onConfirm={() => {\n onClose?.();\n }}\n onClose={() => setConfirmExitConversationModalVisible(false)}\n onCancel={() => setConfirmExitConversationModalVisible(false)}\n />\n )}\n </div>\n );\n}\n"],"mappings":"q8DAwDA,IAAM,OAAa,CAAC,EAEd,GAAmD,CAAC,EAEpD,EAAc,KAAU,IAExB,GACJ,GACgC,CAIhC,IAAM,EAAS,KAAK,IAAI,EAAI,EACtB,EAAc,CAAC,EACf,EAAa,CAAC,EACpB,IAAK,IAAM,KAAQ,EAAO,CACxB,IAAM,EAAY,EAAK,WAAa,KAAK,MAAM,EAAK,UAAU,EAAI,IAG9D,OAAO,SAAS,CAAS,GAAK,EAAY,EAC5C,EAAM,KAAK,CAAI,EAEf,EAAO,KAAK,CAAI,CAEpB,CACA,MAAO,CAAE,SAAQ,OAAM,CACzB,EAEA,SAAgB,EAAkB,CAChC,UACA,UAAU,IACe,CACzB,GAAM,CAAE,KAAM,EAAA,eAAe,WAAW,EAClC,CAAE,eAAgB,EAAuB,YAAa,GAAA,cAAc,EACpE,CAAE,QAAS,GAAkB,GAAA,iBAAiB,EAC9C,GAAoB,GAAA,qBAAqB,EAKzC,GAAM,GAAA,uBAAuC,GAAW,EAAI,EAE5D,CAAC,GAA2B,GAChC,EAAA,QAAM,SAAS,EAAK,EAChB,CAAC,GAAyB,GAC9B,EAAA,QAAM,SAAS,EAAK,EAChB,CACJ,GACA,GACE,EAAA,QAAM,SAAS,EAAK,EAClB,CAAC,GAAyB,GAC9B,EAAA,QAAM,SAAS,EAAK,EAChB,EAAyB,EAAA,qCAC5B,GAAU,EAAM,sBACnB,EACM,GAA+B,EAAA,qCAClC,GAAU,EAAM,4BACnB,EACM,EAAyB,EAAA,qCAC5B,GAAU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