@openhands/agent-canvas 1.11.0 → 1.13.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 (766) hide show
  1. package/README.md +1 -1
  2. package/README.windows.md +2 -2
  3. package/build/assets/{acp-providers-BkL3HWa3.js → acp-providers-D1PORKc0.js} +1 -1
  4. package/build/assets/active-backend-context-IqOjobNK.js +2 -0
  5. package/build/assets/{agent-context-settings-Bno1nwPL.js → agent-context-settings-DMrObcIS.js} +1 -1
  6. package/build/assets/agent-profiles-settings-DororXN5.js +1 -0
  7. package/build/assets/agent-server-conversation-service.api-DWBe0rbX.js +86 -0
  8. package/build/assets/{agent-settings-h8hQz-IU.js → agent-settings-BJVk92PU.js} +1 -1
  9. package/build/assets/agent-settings-COfJsQ1d.js +1 -0
  10. package/build/assets/{alert-banner-lrK-2_0Y.js → alert-banner-CzZsm7ms.js} +1 -1
  11. package/build/assets/{api-key-entry-screen-Qsb83VX1.js → api-key-entry-screen-D8Fade_-.js} +1 -1
  12. package/build/assets/app-settings-CpyGB3AT.js +1 -0
  13. package/build/assets/{automation-detail-7LkL91j9.js → automation-detail-B-jQ39Mm.js} +1 -1
  14. package/build/assets/{automation-export-U2QNyNy6.js → automation-export-B1dywoqk.js} +1 -1
  15. package/build/assets/{automation-setup-route-Bel9_Lue.js → automation-setup-route-C-bWUZBi.js} +1 -1
  16. package/build/assets/{automation-templates-CRLDssaI.js → automation-templates-DgpCGOJV.js} +1 -1
  17. package/build/assets/{automations-list-B2iV3ZKW.js → automations-list-DnMxlxsL.js} +1 -1
  18. package/build/assets/{back-nav-button-B3pYwmUJ.js → back-nav-button-HHEneWMw.js} +1 -1
  19. package/build/assets/backend-form-modal-DiVrD4Cm.js +1 -0
  20. package/build/assets/{backend-synced-settings-badge-DB4717Iu.js → backend-synced-settings-badge-7MIjpr8M.js} +1 -1
  21. package/build/assets/{badge-yR53enbU.js → badge-CpYmcVZV.js} +1 -1
  22. package/build/assets/{base-modal-3NmIOKDm.js → base-modal-Fnh6Uln9.js} +1 -1
  23. package/build/assets/bot-BQZx8e2i.js +1 -0
  24. package/build/assets/{brand-button-CJcwjnfb.js → brand-button-swT1RyO0.js} +1 -1
  25. package/build/assets/browser-B9AbV6kG.js +7 -0
  26. package/build/assets/{browser-tab-A94o33Vn.js → browser-tab-zAY12m_i.js} +1 -1
  27. package/build/assets/{chat-send-button-B8n6-DQA.js → chat-send-button-DsJtivmL.js} +1 -1
  28. package/build/assets/check-WAFXrrs_.js +1 -0
  29. package/build/assets/chevron-down-CifNWzme.js +1 -0
  30. package/build/assets/circle-check-CtnimJa8.js +1 -0
  31. package/build/assets/{circle-plus-check-toggle-BVzv5EkZ.js → circle-plus-check-toggle-Cuzx55bo.js} +1 -1
  32. package/build/assets/{cloud-funnel-analytics-CBQdPZl_.js → cloud-funnel-analytics-86CwNdSh.js} +1 -1
  33. package/build/assets/{combobox-caret-BlmRwiM8.js → combobox-caret-D0fRotFi.js} +1 -1
  34. package/build/assets/{command-menu-PsRXVBz2.js → command-menu-BXy03FBl.js} +1 -1
  35. package/build/assets/{condenser-settings-w7L3EFvm.js → condenser-settings-BmZa0ui_.js} +1 -1
  36. package/build/assets/{confirmation-modal-DAH0XtOp.js → confirmation-modal-BgoN6lbN.js} +1 -1
  37. package/build/assets/{context-menu-list-item-BQhmFVEK.js → context-menu-list-item-Bq02tc-P.js} +1 -1
  38. package/build/assets/conversation-BPo8SvLN.js +1 -0
  39. package/build/assets/conversation-CPCVsCUY.js +90 -0
  40. package/build/assets/conversation-panel-BPo8SvLN.js +1 -0
  41. package/build/assets/{conversation-state-store-Bs8gA263.js → conversation-state-store-C5YpjMNy.js} +1 -1
  42. package/build/assets/conversation-store-Blc5xysY.js +6 -0
  43. package/build/assets/{conversation-tab-empty-state-C9sfDOlt.js → conversation-tab-empty-state-CMqo_0Bd.js} +1 -1
  44. package/build/assets/{copy-to-clipboard-button-DatoElj8.js → copy-to-clipboard-button-Cg1pF0xn.js} +1 -1
  45. package/build/assets/{device-verify-BIjXeW9N.js → device-verify-BfQLgNyq.js} +1 -1
  46. package/build/assets/{dropdown-classes-zFW7qPSK.js → dropdown-classes-BIqQr5mx.js} +1 -1
  47. package/build/assets/{entry.client-DzbDyLkV.js → entry.client-CxFjRYqH.js} +2 -2
  48. package/build/assets/{enum-filter-dropdown-CctILg5t.js → enum-filter-dropdown-C_yV4_bo.js} +1 -1
  49. package/build/assets/{environment-switch-overlay-Cvmo6clk.js → environment-switch-overlay-Bi4qbh2g.js} +1 -1
  50. package/build/assets/{extensions-hub-DOmHPGTA.js → extensions-hub-BqUINAhp.js} +1 -1
  51. package/build/assets/{extensions-navigation-6zU5M1pa.js → extensions-navigation-lraj88Wk.js} +1 -1
  52. package/build/assets/external-link-CgtpA_a1.js +1 -0
  53. package/build/assets/{file-text-RecuaId_.js → file-text-DEK4LSVw.js} +1 -1
  54. package/build/assets/files-tab-DV0L-lFE.js +1 -0
  55. package/build/assets/{form-control-classes-DLN3Qgub.js → form-control-classes-7yFSQJq_.js} +1 -1
  56. package/build/assets/format-model-name-BN_rx1Y3.js +1 -0
  57. package/build/assets/{format-relative-time-DGPQlPx0.js → format-relative-time-DSErAuVr.js} +1 -1
  58. package/build/assets/git-provider-icon-BvlLAche.js +1 -0
  59. package/build/assets/{git-repo-dropdown-B7RvO70z.js → git-repo-dropdown-ByMzpNko.js} +1 -1
  60. package/build/assets/git-repo-dropdown-C6R7hgM8.js +1 -0
  61. package/build/assets/{highlighted-source-view-CgJfD5VT.js → highlighted-source-view-C_sfncLZ.js} +1 -1
  62. package/build/assets/{home-DEZaZqYv.js → home-BOrlwLqG.js} +1 -1
  63. package/build/assets/home-BvMNC6E-.js +1 -0
  64. package/build/assets/{home-store-D7CjMN_-.js → home-store-CxqsY9Fi.js} +1 -1
  65. package/build/assets/index-home-BvMNC6E-.js +1 -0
  66. package/build/assets/info-BRVcJAUg.js +1 -0
  67. package/build/assets/{install-server-modal-BTwK5lbi.js → install-server-modal-Bl4G1zF4.js} +1 -1
  68. package/build/assets/{kebab-menu-item-content-C4CkeiJO.js → kebab-menu-item-content-BGoGFEAg.js} +1 -1
  69. package/build/assets/{launch-DVlx4v9o.js → launch-CkqiSCqi.js} +1 -1
  70. package/build/assets/{list-todo-CheUtB7F.js → list-todo-DNWlzfaM.js} +1 -1
  71. package/build/assets/llm-not-configured-banner-DLw_tu-G.js +27 -0
  72. package/build/assets/llm-settings-B-pkVCrt.js +1 -0
  73. package/build/assets/llm-settings-DSC0-IQ7.js +1 -0
  74. package/build/assets/llm-subscription-service-BAdOl5Xx.js +1 -0
  75. package/build/assets/loader-circle-B47W9XqT.js +1 -0
  76. package/build/assets/{loading-spinner-CN3riY7k.js → loading-spinner-xhnrGP4Y.js} +1 -1
  77. package/build/assets/{manage-backends-modal-HNWKLYhq.js → manage-backends-modal-DhGk5mJt.js} +1 -1
  78. package/build/assets/manifest-653b89aa.js +1 -0
  79. package/build/assets/{manifest-subpage-layout-D-m-h8_t.js → manifest-subpage-layout-CKWvL2ig.js} +1 -1
  80. package/build/assets/{map-provider-7Bp2aih5.js → map-provider-Mx8mZuE-.js} +1 -1
  81. package/build/assets/markdown-renderer-DUmk7pFc.js +8 -0
  82. package/build/assets/{mcp-gLgPP7AS.js → mcp-DCkvl6K0.js} +2 -2
  83. package/build/assets/mcp-marketplace-utils-DEbMXlQr.js +1 -0
  84. package/build/assets/messages-DSXvyc21.js +40 -0
  85. package/build/assets/{modal-body-duRaxj_K.js → modal-body-gIe21fDv.js} +1 -1
  86. package/build/assets/{modal-classes-CLEXO6dj.js → modal-classes-D66dlgZ7.js} +1 -1
  87. package/build/assets/{modal-close-button-D0aT02hs.js → modal-close-button-B6iOGYpI.js} +1 -1
  88. package/build/assets/{mouse-pointer-click-Px-dXWcS.js → mouse-pointer-click-BYX1Pw5W.js} +1 -1
  89. package/build/assets/{npm-DRzJF5Zn.js → npm-DLckoeJc.js} +1 -1
  90. package/build/assets/{onboarding-DSr8hOpk.js → onboarding-D7WDG66N.js} +1 -1
  91. package/build/assets/{onboarding-modal-C6Euf7N4.js → onboarding-modal-C_xVrFNv.js} +1 -1
  92. package/build/assets/{organization-service.api-C4GYWwj9.js → organization-service.api-D-s9z18a.js} +1 -1
  93. package/build/assets/pencil-BGOCPRyu.js +1 -0
  94. package/build/assets/{planner-tab-CZcguxTK.js → planner-tab-AKaXIIfg.js} +1 -1
  95. package/build/assets/{plugins-management-service-BmDzOQsd.js → plugins-management-service-wtmY4QQw.js} +1 -1
  96. package/build/assets/plus-zNEL8rcX.js +1 -0
  97. package/build/assets/{profiles-service.api-CoLTwjc1.js → profiles-service.api-DCMYxHMi.js} +1 -1
  98. package/build/assets/{providers-tBzTpz1w.js → providers-BjrtjX4L.js} +1 -1
  99. package/build/assets/{proxy-DCI9S-LA.js → proxy-9Z_WZggZ.js} +1 -1
  100. package/build/assets/{puzzle-B3v361yY.js → puzzle-BWLmN8z4.js} +1 -1
  101. package/build/assets/recommended-automations-launcher-CFlzhu1o.js +1 -0
  102. package/build/assets/refresh-cw-CXtFWpwv.js +1 -0
  103. package/build/assets/root-CanxKlNV.css +1 -0
  104. package/build/assets/root-DkfG_UWR.js +2 -0
  105. package/build/assets/root-layout-D75LHYhh.js +2 -0
  106. package/build/assets/{schema-field-zhsVDllR.js → schema-field-OnM5Uob_.js} +1 -1
  107. package/build/assets/{sdk-section-page-CS4GWn0y.js → sdk-section-page-m5WQm2sy.js} +1 -1
  108. package/build/assets/search-CycosyjN.js +1 -0
  109. package/build/assets/{secrets-service-DjgGduXk.js → secrets-service-B26R61C1.js} +1 -1
  110. package/build/assets/{secrets-settings-f-qahfbi.js → secrets-settings-CbLYCKOX.js} +1 -1
  111. package/build/assets/{segmented-toggle-SmvsR3jW.js → segmented-toggle-DCspm2U5.js} +1 -1
  112. package/build/assets/{settings-DQd0xLEw.js → settings-BJQI_iBM.js} +1 -1
  113. package/build/assets/{settings-dropdown-input-TWIeiG02.js → settings-dropdown-input-BI8V_Nov.js} +1 -1
  114. package/build/assets/{settings-index-BVwy9JEp.js → settings-index-BiTqJoH7.js} +1 -1
  115. package/build/assets/{settings-input-D61Vzp9e.js → settings-input-Cz62hWVW.js} +1 -1
  116. package/build/assets/{settings-list-classes-sE0ASr1s.js → settings-list-classes-z_3FW5H3.js} +1 -1
  117. package/build/assets/{settings-modal-D6D5ngET.js → settings-modal-BIrIVn97.js} +1 -1
  118. package/build/assets/{settings-service.api-DZp7E7A9.js → settings-service.api--rJmnuLa.js} +1 -1
  119. package/build/assets/{settings-switch-Drt-rF5s.js → settings-switch-BRsSI8Vs.js} +1 -1
  120. package/build/assets/{settings-utils-gw2ppAvw.js → settings-utils-Ba7vel6T.js} +1 -1
  121. package/build/assets/shared-conversation-CQK_PqHx.js +1 -0
  122. package/build/assets/shield-check-T3JsDJiM.js +1 -0
  123. package/build/assets/{sidebar-layout-Dxg6zc2K.js → sidebar-layout-Bhi3hVcu.js} +1 -1
  124. package/build/assets/{sidebar-mobile-menu-toggle-OoZBHxaT.js → sidebar-mobile-menu-toggle-YWJNRN4p.js} +1 -1
  125. package/build/assets/{sidebar-nav-link-CxLoG-dG.js → sidebar-nav-link-BSUlY5Ml.js} +1 -1
  126. package/build/assets/{sidebar-store-BJeYY-E9.js → sidebar-store-Cl1cUv_F.js} +1 -1
  127. package/build/assets/{skill-card-pill-row-B_BYBONu.js → skill-card-pill-row-BXz8L8Rn.js} +1 -1
  128. package/build/assets/{skill-icon-badge-CN41Hy9l.js → skill-icon-badge-QgfKv31M.js} +1 -1
  129. package/build/assets/{skill-scope-B1Per5XI.js → skill-scope-Dc3JPW-8.js} +1 -1
  130. package/build/assets/{skills-plugins-B3AO6sMz.js → skills-plugins-CpTV27n3.js} +1 -1
  131. package/build/assets/{skills-settings-DmmgJ6CT.js → skills-settings-CSW__IW4.js} +1 -1
  132. package/build/assets/{sparkles-g7y3r-Ut.js → sparkles-TJ0mdECe.js} +1 -1
  133. package/build/assets/{styled-tooltip-C5C07RQC.js → styled-tooltip-BUMSbgrF.js} +1 -1
  134. package/build/assets/{task-list-tab-C19Q_JNf.js → task-list-tab-mAHMOkUz.js} +1 -1
  135. package/build/assets/{terminal-CbuMRYal.js → terminal-BzxBaHx2.js} +1 -1
  136. package/build/assets/{toggle-switch-CIioisto.js → toggle-switch-O5v1FgxW.js} +1 -1
  137. package/build/assets/trash-2-C0xNVp9c.js +1 -0
  138. package/build/assets/{typography-D9tiHct7.js → typography-NOKSk9_R.js} +1 -1
  139. package/build/assets/usage-tab-tEmVN0KD.js +1 -0
  140. package/build/assets/{use-acp-credential-form-DJmmJKMo.js → use-acp-credential-form-BPNi0Zbm.js} +1 -1
  141. package/build/assets/{use-activate-agent-profile-CeFfYwu_.js → use-activate-agent-profile-D9YRQPTF.js} +1 -1
  142. package/build/assets/{use-agent-profiles-BHLkLbRR.js → use-agent-profiles-Cb2zUW3l.js} +1 -1
  143. package/build/assets/{use-can-manage-org-profiles-Bu4y8gSx.js → use-can-manage-org-profiles-Dxzq2AEd.js} +1 -1
  144. package/build/assets/{use-cloud-current-user-id-QD9x3ySO.js → use-cloud-current-user-id-Co2eJk2A.js} +1 -1
  145. package/build/assets/{use-config-CPwqciXN.js → use-config-DKAMiI5R.js} +1 -1
  146. package/build/assets/use-create-conversation-CoHTiCbI.js +1 -0
  147. package/build/assets/{use-create-secret-BsOfOLvg.js → use-create-secret-2zBlCDsF.js} +1 -1
  148. package/build/assets/use-is-authed-C52-ivnB.js +1 -0
  149. package/build/assets/{use-is-creating-conversation-CVefC9Ns.js → use-is-creating-conversation-DdaAE6jV.js} +1 -1
  150. package/build/assets/{use-launch-skill-in-chat-BcKNjxxd.js → use-launch-skill-in-chat-COnDpxCQ.js} +1 -1
  151. package/build/assets/use-llm-profiles-C_BHue65.js +1 -0
  152. package/build/assets/{use-manifest-capabilities-DBYPjyV6.js → use-manifest-capabilities-DPrQsaPP.js} +1 -1
  153. package/build/assets/{use-onboarding-completion-CtNJxkXG.js → use-onboarding-completion-CCE8OQgV.js} +1 -1
  154. package/build/assets/{use-plugins-marketplace-ZEA-gyM9.js → use-plugins-marketplace-CEiak69h.js} +1 -1
  155. package/build/assets/use-save-agent-profile-DK9idD6a.js +1 -0
  156. package/build/assets/{use-save-settings-pSjRhD_m.js → use-save-settings-DNmnbG6f.js} +1 -1
  157. package/build/assets/{use-settings-nav-items-CQgkxUbV.js → use-settings-nav-items-BlFL7YhM.js} +1 -1
  158. package/build/assets/{use-settings-BHWsOcIG.js → use-settings-wCwPaSIv.js} +1 -1
  159. package/build/assets/{use-tracking-CGCsBWhg.js → use-tracking-CVwPmhlX.js} +1 -1
  160. package/build/assets/{use-user-conversation-DRfEU8x0.js → use-user-conversation-DVtfg0B_.js} +1 -1
  161. package/build/assets/{useInfiniteQuery-DbCv0Jzd.js → useInfiniteQuery-p1xq35r2.js} +1 -1
  162. package/build/assets/{useMutation-ChpkYxI5.js → useMutation-BFDQmgk9.js} +1 -1
  163. package/build/assets/{useQueries-Cjv3E8_1.js → useQueries-DF1NAAeC.js} +1 -1
  164. package/build/assets/{useQuery-BCnzy4LX.js → useQuery-DRv--6bK.js} +1 -1
  165. package/build/assets/utils-zxEjKE70.js +1 -0
  166. package/build/assets/{vendor~browser-DJ1pl_wn.js → vendor~browser-B-fae1JU.js} +14 -14
  167. package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kv3pap4j-oGvLV0dO.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kv3pap4j-B8i84bh4.js} +3 -3
  168. package/build/assets/{vendor~files-tab-C87pjSpi.js → vendor~files-tab-D9wR9yM2.js} +1 -1
  169. package/build/assets/vendor~index-home~home~conversation-panel~conversation-Ipoe6hvY.js +13 -0
  170. package/build/assets/vendor~root-layout-C-IgVx6e.js +1 -0
  171. package/build/assets/{vendor~root-layout~conversation-panel~conversation-DEzjR4K7.js → vendor~root-layout~conversation-panel~conversation-Dhd_I4H4.js} +1 -1
  172. package/build/assets/{vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-U-xdsAEx.js → vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-Cc0f9kPP.js} +1 -1
  173. package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-CQR5Sa0H.js → vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-d7svw-BB.js} +1 -1
  174. package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~gxu4j2ea-Cwhh3zLe.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~gxu4j2ea-D5DWZVc7.js} +1 -1
  175. package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hjcjabwg-CuQhkiS7.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hjcjabwg-4WsUP-tz.js} +2 -2
  176. package/build/assets/{verification-settings-BItwt998.js → verification-settings-B8UMQ7MG.js} +1 -1
  177. package/build/assets/{wrench-B1_H-tL1.js → wrench-DIka3hCq.js} +1 -1
  178. package/build/assets/x-BWKA2Ver.js +1 -0
  179. package/build/assets/zap-DHddTPc0.js +1 -0
  180. package/build/index.html +4 -4
  181. package/build/locales/ar/openhands.json +28 -1
  182. package/build/locales/ca/openhands.json +28 -1
  183. package/build/locales/de/openhands.json +28 -1
  184. package/build/locales/en/openhands.json +28 -1
  185. package/build/locales/es/openhands.json +28 -1
  186. package/build/locales/fr/openhands.json +28 -1
  187. package/build/locales/it/openhands.json +28 -1
  188. package/build/locales/ja/openhands.json +28 -1
  189. package/build/locales/ko-KR/openhands.json +28 -1
  190. package/build/locales/no/openhands.json +28 -1
  191. package/build/locales/pt/openhands.json +28 -1
  192. package/build/locales/tr/openhands.json +28 -1
  193. package/build/locales/uk/openhands.json +28 -1
  194. package/build/locales/zh-CN/openhands.json +28 -1
  195. package/build/locales/zh-TW/openhands.json +28 -1
  196. package/config/defaults.json +3 -3
  197. package/dist/api/agent-server-compatibility.cjs +1 -1
  198. package/dist/api/agent-server-compatibility.cjs.map +1 -1
  199. package/dist/api/agent-server-compatibility.js +1 -1
  200. package/dist/api/agent-server-compatibility.js.map +1 -1
  201. package/dist/api/conversation-service/agent-server-conversation-service.api.cjs +1 -1
  202. package/dist/api/conversation-service/agent-server-conversation-service.api.cjs.map +1 -1
  203. package/dist/api/conversation-service/agent-server-conversation-service.api.d.ts +24 -1
  204. package/dist/api/conversation-service/agent-server-conversation-service.api.js +116 -97
  205. package/dist/api/conversation-service/agent-server-conversation-service.api.js.map +1 -1
  206. package/dist/api/llm-balance-service.cjs +2 -0
  207. package/dist/api/llm-balance-service.cjs.map +1 -0
  208. package/dist/api/llm-balance-service.d.ts +33 -0
  209. package/dist/api/llm-balance-service.js +53 -0
  210. package/dist/api/llm-balance-service.js.map +1 -0
  211. package/dist/api/llm-subscription-service.cjs +1 -1
  212. package/dist/api/llm-subscription-service.cjs.map +1 -1
  213. package/dist/api/llm-subscription-service.js +42 -34
  214. package/dist/api/llm-subscription-service.js.map +1 -1
  215. package/dist/components/conversation/index.cjs +1 -1
  216. package/dist/components/conversation/index.d.ts +0 -1
  217. package/dist/components/conversation/index.js +0 -1
  218. package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.cjs +1 -1
  219. package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.cjs.map +1 -1
  220. package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.js +1 -1
  221. package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.js.map +1 -1
  222. package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.cjs +1 -1
  223. package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.cjs.map +1 -1
  224. package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.js +24 -23
  225. package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.js.map +1 -1
  226. package/dist/components/conversation-events/chat/group-events.cjs +1 -1
  227. package/dist/components/conversation-events/chat/group-events.cjs.map +1 -1
  228. package/dist/components/conversation-events/chat/group-events.d.ts +3 -3
  229. package/dist/components/conversation-events/chat/group-events.js +27 -26
  230. package/dist/components/conversation-events/chat/group-events.js.map +1 -1
  231. package/dist/components/features/automations/recommended-automations-section.d.ts +7 -0
  232. package/dist/components/features/chat/components/chat-input-actions.cjs +1 -1
  233. package/dist/components/features/chat/components/chat-input-actions.cjs.map +1 -1
  234. package/dist/components/features/chat/components/chat-input-actions.js +123 -118
  235. package/dist/components/features/chat/components/chat-input-actions.js.map +1 -1
  236. package/dist/components/features/chat/components/chat-input-grip.cjs +1 -1
  237. package/dist/components/features/chat/components/chat-input-grip.cjs.map +1 -1
  238. package/dist/components/features/chat/components/chat-input-grip.d.ts +2 -1
  239. package/dist/components/features/chat/components/chat-input-grip.js +7 -7
  240. package/dist/components/features/chat/components/chat-input-grip.js.map +1 -1
  241. package/dist/components/features/chat/components/chat-input-llm-profile-picker.cjs +1 -1
  242. package/dist/components/features/chat/components/chat-input-llm-profile-picker.cjs.map +1 -1
  243. package/dist/components/features/chat/components/chat-input-llm-profile-picker.js +61 -60
  244. package/dist/components/features/chat/components/chat-input-llm-profile-picker.js.map +1 -1
  245. package/dist/components/features/chat/components/context-window-meter.cjs +2 -0
  246. package/dist/components/features/chat/components/context-window-meter.cjs.map +1 -0
  247. package/dist/components/features/chat/components/context-window-meter.d.ts +2 -0
  248. package/dist/components/features/chat/components/context-window-meter.js +131 -0
  249. package/dist/components/features/chat/components/context-window-meter.js.map +1 -0
  250. package/dist/components/features/chat/components/context-window-ring.cjs +2 -0
  251. package/dist/components/features/chat/components/context-window-ring.cjs.map +1 -0
  252. package/dist/components/features/chat/components/context-window-ring.d.ts +26 -0
  253. package/dist/components/features/chat/components/context-window-ring.js +45 -0
  254. package/dist/components/features/chat/components/context-window-ring.js.map +1 -0
  255. package/dist/components/features/chat/custom-chat-input.cjs +1 -1
  256. package/dist/components/features/chat/custom-chat-input.cjs.map +1 -1
  257. package/dist/components/features/chat/custom-chat-input.js +68 -67
  258. package/dist/components/features/chat/custom-chat-input.js.map +1 -1
  259. package/dist/components/features/chat/model-messages.cjs +1 -1
  260. package/dist/components/features/chat/model-messages.cjs.map +1 -1
  261. package/dist/components/features/chat/model-messages.js +26 -25
  262. package/dist/components/features/chat/model-messages.js.map +1 -1
  263. package/dist/components/features/chat/path-component.cjs +1 -1
  264. package/dist/components/features/chat/path-component.cjs.map +1 -1
  265. package/dist/components/features/chat/path-component.js +9 -6
  266. package/dist/components/features/chat/path-component.js.map +1 -1
  267. package/dist/components/features/chat/plan-preview.cjs +1 -1
  268. package/dist/components/features/chat/plan-preview.js +4 -4
  269. package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.cjs +1 -1
  270. package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.cjs.map +1 -1
  271. package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.d.ts +0 -8
  272. package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.js +92 -50
  273. package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.js.map +1 -1
  274. package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.cjs +1 -1
  275. package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.cjs.map +1 -1
  276. package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.d.ts +7 -2
  277. package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.js +15 -9
  278. package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.js.map +1 -1
  279. package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.cjs +2 -0
  280. package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.cjs.map +1 -0
  281. package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.d.ts +20 -0
  282. package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.js +76 -0
  283. package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.js.map +1 -0
  284. package/dist/components/features/controls/server-status-context-menu.cjs +1 -1
  285. package/dist/components/features/controls/server-status-context-menu.cjs.map +1 -1
  286. package/dist/components/features/controls/server-status-context-menu.d.ts +5 -3
  287. package/dist/components/features/controls/server-status-context-menu.js +8 -8
  288. package/dist/components/features/controls/server-status-context-menu.js.map +1 -1
  289. package/dist/components/features/conversation/conversation-name-context-menu.cjs +1 -1
  290. package/dist/components/features/conversation/conversation-name-context-menu.cjs.map +1 -1
  291. package/dist/components/features/conversation/conversation-name-context-menu.js +58 -61
  292. package/dist/components/features/conversation/conversation-name-context-menu.js.map +1 -1
  293. package/dist/components/features/conversation/conversation-name-with-status.cjs +1 -1
  294. package/dist/components/features/conversation/conversation-name-with-status.cjs.map +1 -1
  295. package/dist/components/features/conversation/conversation-name-with-status.js +74 -46
  296. package/dist/components/features/conversation/conversation-name-with-status.js.map +1 -1
  297. package/dist/components/features/conversation/conversation-name.cjs +1 -1
  298. package/dist/components/features/conversation/conversation-name.cjs.map +1 -1
  299. package/dist/components/features/conversation/conversation-name.js +69 -71
  300. package/dist/components/features/conversation/conversation-name.js.map +1 -1
  301. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.cjs +1 -1
  302. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.cjs.map +1 -1
  303. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.js +7 -6
  304. package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.js.map +1 -1
  305. package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.cjs +1 -1
  306. package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.cjs.map +1 -1
  307. package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.js +92 -86
  308. package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.js.map +1 -1
  309. package/dist/components/features/conversation/conversation-tabs/conversation-tabs.cjs +1 -1
  310. package/dist/components/features/conversation/conversation-tabs/conversation-tabs.cjs.map +1 -1
  311. package/dist/components/features/conversation/conversation-tabs/conversation-tabs.js +81 -71
  312. package/dist/components/features/conversation/conversation-tabs/conversation-tabs.js.map +1 -1
  313. package/dist/components/features/conversation/metrics-modal/cost-section.cjs +1 -1
  314. package/dist/components/features/conversation/metrics-modal/cost-section.cjs.map +1 -1
  315. package/dist/components/features/conversation/metrics-modal/cost-section.js +6 -6
  316. package/dist/components/features/conversation/metrics-modal/cost-section.js.map +1 -1
  317. package/dist/components/features/conversation/metrics-modal/metric-row.cjs +1 -1
  318. package/dist/components/features/conversation/metrics-modal/metric-row.cjs.map +1 -1
  319. package/dist/components/features/conversation/metrics-modal/metric-row.d.ts +2 -1
  320. package/dist/components/features/conversation/metrics-modal/metric-row.js +10 -9
  321. package/dist/components/features/conversation/metrics-modal/metric-row.js.map +1 -1
  322. package/dist/components/features/conversation/metrics-modal/usage-section.cjs +1 -1
  323. package/dist/components/features/conversation/metrics-modal/usage-section.cjs.map +1 -1
  324. package/dist/components/features/conversation/metrics-modal/usage-section.js +2 -1
  325. package/dist/components/features/conversation/metrics-modal/usage-section.js.map +1 -1
  326. package/dist/components/features/conversation/usage-panel/compact-context-button.cjs +2 -0
  327. package/dist/components/features/conversation/usage-panel/compact-context-button.cjs.map +1 -0
  328. package/dist/components/features/conversation/usage-panel/compact-context-button.d.ts +16 -0
  329. package/dist/components/features/conversation/usage-panel/compact-context-button.js +59 -0
  330. package/dist/components/features/conversation/usage-panel/compact-context-button.js.map +1 -0
  331. package/dist/components/features/conversation/usage-panel/context-meter.cjs +2 -0
  332. package/dist/components/features/conversation/usage-panel/context-meter.cjs.map +1 -0
  333. package/dist/components/features/conversation/usage-panel/context-meter.d.ts +19 -0
  334. package/dist/components/features/conversation/usage-panel/context-meter.js +46 -0
  335. package/dist/components/features/conversation/usage-panel/context-meter.js.map +1 -0
  336. package/dist/components/features/conversation/usage-panel/provider-balance-card.cjs +2 -0
  337. package/dist/components/features/conversation/usage-panel/provider-balance-card.cjs.map +1 -0
  338. package/dist/components/features/conversation/usage-panel/provider-balance-card.d.ts +7 -0
  339. package/dist/components/features/conversation/usage-panel/provider-balance-card.js +57 -0
  340. package/dist/components/features/conversation/usage-panel/provider-balance-card.js.map +1 -0
  341. package/dist/components/features/conversation/usage-panel/usage-panel.cjs +2 -0
  342. package/dist/components/features/conversation/usage-panel/usage-panel.cjs.map +1 -0
  343. package/dist/components/features/conversation/usage-panel/usage-panel.d.ts +9 -0
  344. package/dist/components/features/conversation/usage-panel/usage-panel.js +68 -0
  345. package/dist/components/features/conversation/usage-panel/usage-panel.js.map +1 -0
  346. package/dist/components/features/conversation-panel/budget-display.cjs +1 -1
  347. package/dist/components/features/conversation-panel/budget-display.cjs.map +1 -1
  348. package/dist/components/features/conversation-panel/budget-display.js +10 -13
  349. package/dist/components/features/conversation-panel/budget-display.js.map +1 -1
  350. package/dist/components/features/conversation-panel/budget-progress-bar.cjs +1 -1
  351. package/dist/components/features/conversation-panel/budget-progress-bar.cjs.map +1 -1
  352. package/dist/components/features/conversation-panel/budget-progress-bar.js +2 -2
  353. package/dist/components/features/conversation-panel/budget-progress-bar.js.map +1 -1
  354. package/dist/components/features/conversation-panel/confirm-archive-modal.cjs +2 -0
  355. package/dist/components/features/conversation-panel/confirm-archive-modal.cjs.map +1 -0
  356. package/dist/components/features/conversation-panel/confirm-archive-modal.d.ts +8 -0
  357. package/dist/components/features/conversation-panel/confirm-archive-modal.js +48 -0
  358. package/dist/components/features/conversation-panel/confirm-archive-modal.js.map +1 -0
  359. package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.cjs +1 -1
  360. package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.cjs.map +1 -1
  361. package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.d.ts +3 -1
  362. package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.js +39 -34
  363. package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.js.map +1 -1
  364. package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.cjs +1 -1
  365. package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.cjs.map +1 -1
  366. package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.d.ts +3 -1
  367. package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.js +104 -80
  368. package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.js.map +1 -1
  369. package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.cjs +1 -1
  370. package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.cjs.map +1 -1
  371. package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.d.ts +7 -1
  372. package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.js +28 -20
  373. package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.js.map +1 -1
  374. package/dist/components/features/conversation-panel/conversation-card/conversation-card.cjs +1 -1
  375. package/dist/components/features/conversation-panel/conversation-card/conversation-card.cjs.map +1 -1
  376. package/dist/components/features/conversation-panel/conversation-card/conversation-card.d.ts +9 -1
  377. package/dist/components/features/conversation-panel/conversation-card/conversation-card.js +94 -84
  378. package/dist/components/features/conversation-panel/conversation-card/conversation-card.js.map +1 -1
  379. package/dist/components/features/conversation-panel/conversation-group-folder-list.cjs +1 -1
  380. package/dist/components/features/conversation-panel/conversation-group-folder-list.cjs.map +1 -1
  381. package/dist/components/features/conversation-panel/conversation-group-folder-list.d.ts +2 -1
  382. package/dist/components/features/conversation-panel/conversation-group-folder-list.js +32 -31
  383. package/dist/components/features/conversation-panel/conversation-group-folder-list.js.map +1 -1
  384. package/dist/components/features/conversation-panel/conversation-group-folder-row.cjs +1 -1
  385. package/dist/components/features/conversation-panel/conversation-group-folder-row.cjs.map +1 -1
  386. package/dist/components/features/conversation-panel/conversation-group-folder-row.d.ts +2 -1
  387. package/dist/components/features/conversation-panel/conversation-group-folder-row.js +27 -26
  388. package/dist/components/features/conversation-panel/conversation-group-folder-row.js.map +1 -1
  389. package/dist/components/features/conversation-panel/conversation-panel-filter-menu.cjs +1 -1
  390. package/dist/components/features/conversation-panel/conversation-panel-filter-menu.cjs.map +1 -1
  391. package/dist/components/features/conversation-panel/conversation-panel-filter-menu.d.ts +3 -1
  392. package/dist/components/features/conversation-panel/conversation-panel-filter-menu.js +116 -106
  393. package/dist/components/features/conversation-panel/conversation-panel-filter-menu.js.map +1 -1
  394. package/dist/components/features/conversation-panel/conversation-panel-list-helpers.cjs +1 -1
  395. package/dist/components/features/conversation-panel/conversation-panel-list-helpers.cjs.map +1 -1
  396. package/dist/components/features/conversation-panel/conversation-panel-list-helpers.d.ts +27 -0
  397. package/dist/components/features/conversation-panel/conversation-panel-list-helpers.js +69 -46
  398. package/dist/components/features/conversation-panel/conversation-panel-list-helpers.js.map +1 -1
  399. package/dist/components/features/conversation-panel/conversation-panel.cjs +1 -1
  400. package/dist/components/features/conversation-panel/conversation-panel.cjs.map +1 -1
  401. package/dist/components/features/conversation-panel/conversation-panel.js +230 -165
  402. package/dist/components/features/conversation-panel/conversation-panel.js.map +1 -1
  403. package/dist/components/features/files-tab/file-content-viewer.cjs +1 -1
  404. package/dist/components/features/files-tab/file-content-viewer.cjs.map +1 -1
  405. package/dist/components/features/files-tab/file-content-viewer.js +22 -25
  406. package/dist/components/features/files-tab/file-content-viewer.js.map +1 -1
  407. package/dist/components/features/markdown/markdown-table-scroll.cjs +1 -1
  408. package/dist/components/features/markdown/markdown-table-scroll.cjs.map +1 -1
  409. package/dist/components/features/markdown/markdown-table-scroll.js +2 -2
  410. package/dist/components/features/markdown/markdown-table-scroll.js.map +1 -1
  411. package/dist/components/features/settings/llm-profiles/profile-row.cjs +1 -1
  412. package/dist/components/features/settings/llm-profiles/profile-row.js +1 -0
  413. package/dist/components/shared/buttons/conversation-confirmation-buttons.cjs +1 -1
  414. package/dist/components/shared/buttons/conversation-confirmation-buttons.cjs.map +1 -1
  415. package/dist/components/shared/buttons/conversation-confirmation-buttons.js +2 -2
  416. package/dist/components/shared/buttons/conversation-confirmation-buttons.js.map +1 -1
  417. package/dist/components/shared/modals/confirmation-modals/base-modal.cjs +1 -1
  418. package/dist/components/shared/modals/confirmation-modals/base-modal.cjs.map +1 -1
  419. package/dist/components/shared/modals/confirmation-modals/base-modal.js +1 -1
  420. package/dist/components/shared/modals/confirmation-modals/base-modal.js.map +1 -1
  421. package/dist/components/shared/modals/settings/model-selector.cjs +1 -1
  422. package/dist/components/shared/modals/settings/model-selector.cjs.map +1 -1
  423. package/dist/components/shared/modals/settings/model-selector.js +154 -98
  424. package/dist/components/shared/modals/settings/model-selector.js.map +1 -1
  425. package/dist/config/defaults.cjs +1 -1
  426. package/dist/config/defaults.cjs.map +1 -1
  427. package/dist/config/defaults.js +3 -3
  428. package/dist/config/defaults.js.map +1 -1
  429. package/dist/constants/llm-balance.cjs +2 -0
  430. package/dist/constants/llm-balance.cjs.map +1 -0
  431. package/dist/constants/llm-balance.d.ts +13 -0
  432. package/dist/constants/llm-balance.js +6 -0
  433. package/dist/constants/llm-balance.js.map +1 -0
  434. package/dist/contexts/conversation-websocket-context.cjs +2 -2
  435. package/dist/contexts/conversation-websocket-context.cjs.map +1 -1
  436. package/dist/contexts/conversation-websocket-context.js +217 -209
  437. package/dist/contexts/conversation-websocket-context.js.map +1 -1
  438. package/dist/hooks/chat/use-grip-resize.cjs +1 -1
  439. package/dist/hooks/chat/use-grip-resize.cjs.map +1 -1
  440. package/dist/hooks/chat/use-grip-resize.d.ts +1 -0
  441. package/dist/hooks/chat/use-grip-resize.js +39 -30
  442. package/dist/hooks/chat/use-grip-resize.js.map +1 -1
  443. package/dist/hooks/chat/use-slash-command.cjs +1 -1
  444. package/dist/hooks/chat/use-slash-command.cjs.map +1 -1
  445. package/dist/hooks/chat/use-slash-command.js +61 -60
  446. package/dist/hooks/chat/use-slash-command.js.map +1 -1
  447. package/dist/hooks/mutation/use-condense-conversation.cjs +2 -0
  448. package/dist/hooks/mutation/use-condense-conversation.cjs.map +1 -0
  449. package/dist/hooks/mutation/use-condense-conversation.d.ts +12 -0
  450. package/dist/hooks/mutation/use-condense-conversation.js +17 -0
  451. package/dist/hooks/mutation/use-condense-conversation.js.map +1 -0
  452. package/dist/hooks/mutation/use-create-conversation.cjs +1 -1
  453. package/dist/hooks/mutation/use-create-conversation.cjs.map +1 -1
  454. package/dist/hooks/mutation/use-create-conversation.js +30 -21
  455. package/dist/hooks/mutation/use-create-conversation.js.map +1 -1
  456. package/dist/hooks/mutation/use-new-conversation-command.cjs +1 -1
  457. package/dist/hooks/mutation/use-new-conversation-command.cjs.map +1 -1
  458. package/dist/hooks/mutation/use-new-conversation-command.js +1 -1
  459. package/dist/hooks/mutation/use-new-conversation-command.js.map +1 -1
  460. package/dist/hooks/query/use-conversation-metrics.cjs +1 -1
  461. package/dist/hooks/query/use-conversation-metrics.cjs.map +1 -1
  462. package/dist/hooks/query/use-conversation-metrics.js +1 -1
  463. package/dist/hooks/query/use-conversation-metrics.js.map +1 -1
  464. package/dist/hooks/query/use-llm-balance.cjs +2 -0
  465. package/dist/hooks/query/use-llm-balance.cjs.map +1 -0
  466. package/dist/hooks/query/use-llm-balance.d.ts +10 -0
  467. package/dist/hooks/query/use-llm-balance.js +24 -0
  468. package/dist/hooks/query/use-llm-balance.js.map +1 -0
  469. package/dist/hooks/query/use-search-providers.cjs +1 -1
  470. package/dist/hooks/query/use-search-providers.cjs.map +1 -1
  471. package/dist/hooks/query/use-search-providers.js +1 -1
  472. package/dist/hooks/query/use-search-providers.js.map +1 -1
  473. package/dist/hooks/use-await-context-compaction.cjs +2 -0
  474. package/dist/hooks/use-await-context-compaction.cjs.map +1 -0
  475. package/dist/hooks/use-await-context-compaction.d.ts +38 -0
  476. package/dist/hooks/use-await-context-compaction.js +61 -0
  477. package/dist/hooks/use-await-context-compaction.js.map +1 -0
  478. package/dist/hooks/use-compact-context-action.cjs +2 -0
  479. package/dist/hooks/use-compact-context-action.cjs.map +1 -0
  480. package/dist/hooks/use-compact-context-action.d.ts +10 -0
  481. package/dist/hooks/use-compact-context-action.js +61 -0
  482. package/dist/hooks/use-compact-context-action.js.map +1 -0
  483. package/dist/hooks/use-context-window-usage.cjs +2 -0
  484. package/dist/hooks/use-context-window-usage.cjs.map +1 -0
  485. package/dist/hooks/use-context-window-usage.d.ts +5 -0
  486. package/dist/hooks/use-context-window-usage.js +20 -0
  487. package/dist/hooks/use-context-window-usage.js.map +1 -0
  488. package/dist/hooks/use-conversation-name-context-menu.cjs +1 -1
  489. package/dist/hooks/use-conversation-name-context-menu.cjs.map +1 -1
  490. package/dist/hooks/use-conversation-name-context-menu.d.ts +0 -3
  491. package/dist/hooks/use-conversation-name-context-menu.js +54 -57
  492. package/dist/hooks/use-conversation-name-context-menu.js.map +1 -1
  493. package/dist/hooks/use-drag-resize.cjs +1 -1
  494. package/dist/hooks/use-drag-resize.cjs.map +1 -1
  495. package/dist/hooks/use-drag-resize.d.ts +8 -0
  496. package/dist/hooks/use-drag-resize.js +21 -18
  497. package/dist/hooks/use-drag-resize.js.map +1 -1
  498. package/dist/hooks/use-live-conversation-metrics.cjs +2 -0
  499. package/dist/hooks/use-live-conversation-metrics.cjs.map +1 -0
  500. package/dist/hooks/use-live-conversation-metrics.d.ts +18 -0
  501. package/dist/hooks/use-live-conversation-metrics.js +37 -0
  502. package/dist/hooks/use-live-conversation-metrics.js.map +1 -0
  503. package/dist/hooks/use-select-conversation-tab.cjs +1 -1
  504. package/dist/hooks/use-select-conversation-tab.cjs.map +1 -1
  505. package/dist/hooks/use-select-conversation-tab.js +2 -2
  506. package/dist/hooks/use-select-conversation-tab.js.map +1 -1
  507. package/dist/i18n/declaration.cjs +1 -1
  508. package/dist/i18n/declaration.cjs.map +1 -1
  509. package/dist/i18n/declaration.d.ts +27 -0
  510. package/dist/i18n/declaration.js +1 -1
  511. package/dist/i18n/declaration.js.map +1 -1
  512. package/dist/i18n/translation.cjs +2 -2
  513. package/dist/i18n/translation.cjs.map +1 -1
  514. package/dist/i18n/translation.js +474 -15
  515. package/dist/i18n/translation.js.map +1 -1
  516. package/dist/index.cjs +1 -1
  517. package/dist/index.js +28 -29
  518. package/dist/lib/index.cjs +1 -1
  519. package/dist/lib/index.js +0 -1
  520. package/dist/locales/ar/openhands.json +28 -1
  521. package/dist/locales/ca/openhands.json +28 -1
  522. package/dist/locales/de/openhands.json +28 -1
  523. package/dist/locales/en/openhands.json +28 -1
  524. package/dist/locales/es/openhands.json +28 -1
  525. package/dist/locales/fr/openhands.json +28 -1
  526. package/dist/locales/it/openhands.json +28 -1
  527. package/dist/locales/ja/openhands.json +28 -1
  528. package/dist/locales/ko-KR/openhands.json +28 -1
  529. package/dist/locales/no/openhands.json +28 -1
  530. package/dist/locales/pt/openhands.json +28 -1
  531. package/dist/locales/tr/openhands.json +28 -1
  532. package/dist/locales/uk/openhands.json +28 -1
  533. package/dist/locales/zh-CN/openhands.json +28 -1
  534. package/dist/locales/zh-TW/openhands.json +28 -1
  535. package/dist/node_modules/@microlink/react-json-view/dist/main.cjs +5 -5
  536. package/dist/node_modules/@microlink/react-json-view/dist/main.cjs.map +1 -1
  537. package/dist/node_modules/@microlink/react-json-view/dist/main.js +5194 -5187
  538. package/dist/node_modules/@microlink/react-json-view/dist/main.js.map +1 -1
  539. package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs +2 -1
  540. package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs.map +1 -0
  541. package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js +21 -1
  542. package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js.map +1 -0
  543. package/dist/node_modules/@openhands/typescript-client/dist/client/hooks-client.cjs +2 -1
  544. package/dist/node_modules/@openhands/typescript-client/dist/client/hooks-client.cjs.map +1 -0
  545. package/dist/node_modules/@openhands/typescript-client/dist/client/hooks-client.js +22 -1
  546. package/dist/node_modules/@openhands/typescript-client/dist/client/hooks-client.js.map +1 -0
  547. package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.cjs +2 -1
  548. package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.cjs.map +1 -0
  549. package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.js +33 -1
  550. package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.js.map +1 -0
  551. package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.cjs +1 -1
  552. package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.cjs.map +1 -1
  553. package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.js +56 -22
  554. package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.js.map +1 -1
  555. package/dist/node_modules/@openhands/typescript-client/dist/client/profiles-client.cjs +1 -1
  556. package/dist/node_modules/@openhands/typescript-client/dist/client/profiles-client.cjs.map +1 -1
  557. package/dist/node_modules/@openhands/typescript-client/dist/client/profiles-client.js +3 -0
  558. package/dist/node_modules/@openhands/typescript-client/dist/client/profiles-client.js.map +1 -1
  559. package/dist/node_modules/@openhands/typescript-client/dist/client/shared-client.cjs +2 -1
  560. package/dist/node_modules/@openhands/typescript-client/dist/client/shared-client.cjs.map +1 -0
  561. package/dist/node_modules/@openhands/typescript-client/dist/client/shared-client.js +31 -1
  562. package/dist/node_modules/@openhands/typescript-client/dist/client/shared-client.js.map +1 -0
  563. package/dist/node_modules/@openhands/typescript-client/dist/client/sub-agents-client.cjs +2 -1
  564. package/dist/node_modules/@openhands/typescript-client/dist/client/sub-agents-client.cjs.map +1 -0
  565. package/dist/node_modules/@openhands/typescript-client/dist/client/sub-agents-client.js +21 -1
  566. package/dist/node_modules/@openhands/typescript-client/dist/client/sub-agents-client.js.map +1 -0
  567. package/dist/node_modules/@openhands/typescript-client/dist/client/tool-client.cjs +2 -1
  568. package/dist/node_modules/@openhands/typescript-client/dist/client/tool-client.cjs.map +1 -0
  569. package/dist/node_modules/@openhands/typescript-client/dist/client/tool-client.js +21 -1
  570. package/dist/node_modules/@openhands/typescript-client/dist/client/tool-client.js.map +1 -0
  571. package/dist/node_modules/@openhands/typescript-client/dist/conversation/local-conversation.cjs.map +1 -1
  572. package/dist/node_modules/@openhands/typescript-client/dist/conversation/local-conversation.js.map +1 -1
  573. package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.cjs +1 -1
  574. package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.cjs.map +1 -1
  575. package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.js +9 -5
  576. package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.js.map +1 -1
  577. package/dist/node_modules/i18next-http-backend/esm/index.cjs +1 -1
  578. package/dist/node_modules/i18next-http-backend/esm/index.cjs.map +1 -1
  579. package/dist/node_modules/i18next-http-backend/esm/index.js +2 -2
  580. package/dist/node_modules/i18next-http-backend/esm/index.js.map +1 -1
  581. package/dist/node_modules/lucide-react/dist/esm/icons/archive-restore.cjs +2 -0
  582. package/dist/node_modules/lucide-react/dist/esm/icons/archive-restore.cjs.map +1 -0
  583. package/dist/node_modules/lucide-react/dist/esm/icons/archive-restore.js +31 -0
  584. package/dist/node_modules/lucide-react/dist/esm/icons/archive-restore.js.map +1 -0
  585. package/dist/node_modules/lucide-react/dist/esm/icons/archive.cjs +2 -0
  586. package/dist/node_modules/lucide-react/dist/esm/icons/archive.cjs.map +1 -0
  587. package/dist/node_modules/lucide-react/dist/esm/icons/archive.js +23 -0
  588. package/dist/node_modules/lucide-react/dist/esm/icons/archive.js.map +1 -0
  589. package/dist/node_modules/lucide-react/dist/esm/icons/gauge.cjs +2 -0
  590. package/dist/node_modules/lucide-react/dist/esm/icons/gauge.cjs.map +1 -0
  591. package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +12 -0
  592. package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js.map +1 -0
  593. package/dist/node_modules/lucide-react/dist/esm/icons/minimize.cjs +2 -0
  594. package/dist/node_modules/lucide-react/dist/esm/icons/minimize.cjs.map +1 -0
  595. package/dist/node_modules/lucide-react/dist/esm/icons/minimize.js +23 -0
  596. package/dist/node_modules/lucide-react/dist/esm/icons/minimize.js.map +1 -0
  597. package/dist/node_modules/zustand/esm/middleware.cjs +3 -3
  598. package/dist/node_modules/zustand/esm/middleware.cjs.map +1 -1
  599. package/dist/node_modules/zustand/esm/middleware.js +33 -31
  600. package/dist/node_modules/zustand/esm/middleware.js.map +1 -1
  601. package/dist/package.cjs +1 -1
  602. package/dist/package.cjs.map +1 -1
  603. package/dist/package.js +17 -16
  604. package/dist/package.js.map +1 -1
  605. package/dist/routes/app-settings.cjs +1 -1
  606. package/dist/routes/app-settings.cjs.map +1 -1
  607. package/dist/routes/app-settings.js +94 -93
  608. package/dist/routes/app-settings.js.map +1 -1
  609. package/dist/routes/llm-settings.cjs +1 -1
  610. package/dist/routes/llm-settings.cjs.map +1 -1
  611. package/dist/routes/llm-settings.js +131 -119
  612. package/dist/routes/llm-settings.js.map +1 -1
  613. package/dist/routes/usage-tab.cjs +2 -0
  614. package/dist/routes/usage-tab.cjs.map +1 -0
  615. package/dist/routes/usage-tab.d.ts +2 -0
  616. package/dist/routes/usage-tab.js +10 -0
  617. package/dist/routes/usage-tab.js.map +1 -0
  618. package/dist/services/child-conversation-launch.cjs +1 -1
  619. package/dist/services/child-conversation-launch.cjs.map +1 -1
  620. package/dist/services/child-conversation-launch.js +11 -5
  621. package/dist/services/child-conversation-launch.js.map +1 -1
  622. package/dist/stores/archived-conversations-store.cjs +2 -0
  623. package/dist/stores/archived-conversations-store.cjs.map +1 -0
  624. package/dist/stores/archived-conversations-store.d.ts +24 -0
  625. package/dist/stores/archived-conversations-store.js +33 -0
  626. package/dist/stores/archived-conversations-store.js.map +1 -0
  627. package/dist/stores/conversation-panel-preferences-store.cjs +1 -1
  628. package/dist/stores/conversation-panel-preferences-store.cjs.map +1 -1
  629. package/dist/stores/conversation-panel-preferences-store.d.ts +3 -0
  630. package/dist/stores/conversation-panel-preferences-store.js +4 -0
  631. package/dist/stores/conversation-panel-preferences-store.js.map +1 -1
  632. package/dist/stores/conversation-store.cjs.map +1 -1
  633. package/dist/stores/conversation-store.d.ts +1 -1
  634. package/dist/stores/conversation-store.js.map +1 -1
  635. package/dist/stores/metrics-store.cjs +1 -1
  636. package/dist/stores/metrics-store.cjs.map +1 -1
  637. package/dist/stores/metrics-store.d.ts +1 -0
  638. package/dist/stores/metrics-store.js +7 -4
  639. package/dist/stores/metrics-store.js.map +1 -1
  640. package/dist/types/agent-server/core/events/condensation-event.d.ts +3 -0
  641. package/dist/types/agent-server/core/events/conversation-state-event.d.ts +4 -6
  642. package/dist/types/agent-server/type-guards.cjs +1 -1
  643. package/dist/types/agent-server/type-guards.cjs.map +1 -1
  644. package/dist/types/agent-server/type-guards.d.ts +5 -0
  645. package/dist/types/agent-server/type-guards.js +3 -3
  646. package/dist/types/agent-server/type-guards.js.map +1 -1
  647. package/dist/utils/conversation-local-storage.cjs +1 -1
  648. package/dist/utils/conversation-local-storage.cjs.map +1 -1
  649. package/dist/utils/conversation-local-storage.js +2 -1
  650. package/dist/utils/conversation-local-storage.js.map +1 -1
  651. package/dist/utils/format-model-name.cjs +1 -1
  652. package/dist/utils/format-model-name.cjs.map +1 -1
  653. package/dist/utils/format-model-name.d.ts +11 -0
  654. package/dist/utils/format-model-name.js +11 -3
  655. package/dist/utils/format-model-name.js.map +1 -1
  656. package/dist/utils/format-token-count.cjs +2 -0
  657. package/dist/utils/format-token-count.cjs.map +1 -0
  658. package/dist/utils/format-token-count.d.ts +3 -0
  659. package/dist/utils/format-token-count.js +19 -0
  660. package/dist/utils/format-token-count.js.map +1 -0
  661. package/dist/utils/hover-reveal-classes.cjs +2 -0
  662. package/dist/utils/hover-reveal-classes.cjs.map +1 -0
  663. package/dist/utils/hover-reveal-classes.d.ts +34 -0
  664. package/dist/utils/hover-reveal-classes.js +41 -0
  665. package/dist/utils/hover-reveal-classes.js.map +1 -0
  666. package/dist/utils/is-markdown-file-path.cjs +2 -0
  667. package/dist/utils/is-markdown-file-path.cjs.map +1 -0
  668. package/dist/utils/is-markdown-file-path.d.ts +4 -0
  669. package/dist/utils/is-markdown-file-path.js +14 -0
  670. package/dist/utils/is-markdown-file-path.js.map +1 -0
  671. package/dist/utils/mcp-marketplace-utils.cjs +1 -1
  672. package/dist/utils/mcp-marketplace-utils.cjs.map +1 -1
  673. package/dist/utils/mcp-marketplace-utils.d.ts +7 -0
  674. package/dist/utils/mcp-marketplace-utils.js +19 -16
  675. package/dist/utils/mcp-marketplace-utils.js.map +1 -1
  676. package/dist/utils/transcript-export/index.cjs +3 -3
  677. package/dist/utils/transcript-export/index.cjs.map +1 -1
  678. package/dist/utils/transcript-export/index.js +12 -12
  679. package/dist/utils/transcript-export/index.js.map +1 -1
  680. package/dist/utils/transcript-export/load-complete-events.cjs +1 -1
  681. package/dist/utils/transcript-export/load-complete-events.cjs.map +1 -1
  682. package/dist/utils/transcript-export/load-complete-events.js +4 -4
  683. package/dist/utils/transcript-export/load-complete-events.js.map +1 -1
  684. package/dist/utils/workspace-relative-path.cjs +2 -0
  685. package/dist/utils/workspace-relative-path.cjs.map +1 -0
  686. package/dist/utils/workspace-relative-path.d.ts +10 -0
  687. package/dist/utils/workspace-relative-path.js +22 -0
  688. package/dist/utils/workspace-relative-path.js.map +1 -0
  689. package/package.json +17 -16
  690. package/scripts/check-sdk-version-sync.mjs +6 -6
  691. package/scripts/dev-process-utils.mjs +6 -1
  692. package/scripts/dev-safe.mjs +57 -2
  693. package/build/assets/active-backend-context-BBvP-bI2.js +0 -2
  694. package/build/assets/agent-profiles-settings-DqoS7RL3.js +0 -1
  695. package/build/assets/agent-server-conversation-service.api-0RztSdJJ.js +0 -86
  696. package/build/assets/agent-settings-BJHryp65.js +0 -1
  697. package/build/assets/app-settings-r1RUbgGi.js +0 -1
  698. package/build/assets/backend-form-modal-OroTqnAv.js +0 -1
  699. package/build/assets/bot-DuN83i3p.js +0 -1
  700. package/build/assets/browser--eoQOo4M.js +0 -6
  701. package/build/assets/check-DLOKoFU9.js +0 -1
  702. package/build/assets/chevron-down-CnIbtM6i.js +0 -1
  703. package/build/assets/circle-check-CxCYJrpZ.js +0 -1
  704. package/build/assets/conversation-BUzBZAc-.js +0 -90
  705. package/build/assets/conversation-panel-pzAKsSDb.js +0 -1
  706. package/build/assets/conversation-pzAKsSDb.js +0 -1
  707. package/build/assets/conversation-store-B8Eahyeg.js +0 -6
  708. package/build/assets/external-link-zWbg5KXS.js +0 -1
  709. package/build/assets/files-tab-BzofBmF4.js +0 -1
  710. package/build/assets/git-provider-icon-BLMlwy02.js +0 -1
  711. package/build/assets/git-repo-dropdown-B_PTq4ol.js +0 -1
  712. package/build/assets/home-r89Vj2td.js +0 -1
  713. package/build/assets/index-home-r89Vj2td.js +0 -1
  714. package/build/assets/llm-not-configured-banner-CwKu8C6g.js +0 -27
  715. package/build/assets/llm-settings-BJotLQND.js +0 -1
  716. package/build/assets/llm-settings-CDM-5H2A.js +0 -1
  717. package/build/assets/llm-subscription-service-7eVfDIE1.js +0 -1
  718. package/build/assets/loader-circle-C5AnEN8r.js +0 -1
  719. package/build/assets/manifest-2a36a8f8.js +0 -1
  720. package/build/assets/markdown-renderer-BiiiIznl.js +0 -8
  721. package/build/assets/mcp-marketplace-utils-Dr_HG_ol.js +0 -1
  722. package/build/assets/messages-D1cbVhRK.js +0 -40
  723. package/build/assets/pencil-Bl3GWhgq.js +0 -1
  724. package/build/assets/plus-CtzlyAoF.js +0 -1
  725. package/build/assets/recommended-automations-launcher-BbJAJVED.js +0 -1
  726. package/build/assets/refresh-cw-B9GhC3QC.js +0 -1
  727. package/build/assets/root-BfM_kC_d.css +0 -1
  728. package/build/assets/root-gstBEjty.js +0 -2
  729. package/build/assets/root-layout-BIAFLP9p.js +0 -2
  730. package/build/assets/search-CYaiKHRp.js +0 -1
  731. package/build/assets/shared-conversation-DIxZjElr.js +0 -1
  732. package/build/assets/shield-check-D2cpEpv3.js +0 -1
  733. package/build/assets/trash-2-CzDVN-Iw.js +0 -1
  734. package/build/assets/use-create-conversation-DWaSVUOB.js +0 -1
  735. package/build/assets/use-is-authed-Bka89Xmm.js +0 -1
  736. package/build/assets/use-llm-profiles-CU8ah1pz.js +0 -1
  737. package/build/assets/use-save-agent-profile-DgI_Uz9a.js +0 -1
  738. package/build/assets/utils-DPQfkd-7.js +0 -1
  739. package/build/assets/vendor~index-home~home~conversation-panel~conversation-DiXf0dkj.js +0 -13
  740. package/build/assets/x-RYDBg-e2.js +0 -1
  741. package/build/assets/zap-tbKDzCe3.js +0 -1
  742. package/dist/components/features/conversation/metrics-modal/context-window-section.cjs +0 -2
  743. package/dist/components/features/conversation/metrics-modal/context-window-section.cjs.map +0 -1
  744. package/dist/components/features/conversation/metrics-modal/context-window-section.d.ts +0 -6
  745. package/dist/components/features/conversation/metrics-modal/context-window-section.js +0 -46
  746. package/dist/components/features/conversation/metrics-modal/context-window-section.js.map +0 -1
  747. package/dist/components/features/conversation/metrics-modal/empty-state.cjs +0 -2
  748. package/dist/components/features/conversation/metrics-modal/empty-state.cjs.map +0 -1
  749. package/dist/components/features/conversation/metrics-modal/empty-state.d.ts +0 -1
  750. package/dist/components/features/conversation/metrics-modal/empty-state.js +0 -18
  751. package/dist/components/features/conversation/metrics-modal/empty-state.js.map +0 -1
  752. package/dist/components/features/conversation/metrics-modal/metrics-modal-header.cjs +0 -2
  753. package/dist/components/features/conversation/metrics-modal/metrics-modal-header.cjs.map +0 -1
  754. package/dist/components/features/conversation/metrics-modal/metrics-modal-header.d.ts +0 -5
  755. package/dist/components/features/conversation/metrics-modal/metrics-modal-header.js +0 -20
  756. package/dist/components/features/conversation/metrics-modal/metrics-modal-header.js.map +0 -1
  757. package/dist/components/features/conversation/metrics-modal/metrics-modal.cjs +0 -2
  758. package/dist/components/features/conversation/metrics-modal/metrics-modal.cjs.map +0 -1
  759. package/dist/components/features/conversation/metrics-modal/metrics-modal.d.ts +0 -6
  760. package/dist/components/features/conversation/metrics-modal/metrics-modal.js +0 -57
  761. package/dist/components/features/conversation/metrics-modal/metrics-modal.js.map +0 -1
  762. package/dist/icons/u-credit-card.cjs +0 -2
  763. package/dist/icons/u-credit-card.cjs.map +0 -1
  764. package/dist/icons/u-credit-card.js +0 -21
  765. package/dist/icons/u-credit-card.js.map +0 -1
  766. /package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~cy4jtuc2-rfV8mQ9m.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~dh9v73sa-rfV8mQ9m.js} +0 -0
@@ -13,28 +13,30 @@ import { useDeleteConversation as se } from "../../../hooks/mutation/use-delete-
13
13
  import { useUnifiedPauseConversation as ce } from "../../../hooks/mutation/use-unified-stop-conversation.js";
14
14
  import { useIsCreatingConversation as le } from "../../../hooks/use-is-creating-conversation.js";
15
15
  import { useUpdateConversation as ue } from "../../../hooks/mutation/use-update-conversation.js";
16
- import { ConfirmDeleteModal as a } from "./confirm-delete-modal.js";
17
- import { ConfirmStopModal as de } from "./confirm-stop-modal.js";
18
- import { useBackendScopedPath as fe } from "../../../hooks/use-backend-scoped-path.js";
19
- import { usePaginatedConversations as pe } from "../../../hooks/query/use-paginated-conversations.js";
20
- import { useStartTasks as me } from "../../../hooks/query/use-start-tasks.js";
21
- import { ExitConversationModal as he } from "./exit-conversation-modal.js";
22
- import { ConversationCard as ge } from "./conversation-card/conversation-card.js";
23
- import { ConversationCardPreview as _e } from "./conversation-card/conversation-card-preview.js";
24
- import { StartTaskCard as ve } from "./start-task-card/start-task-card.js";
25
- import { ConversationCardSkeleton as ye } from "./conversation-card/conversation-card-skeleton.js";
26
- import { CompactConversationRow as be } from "./compact-conversation-row.js";
27
- import { useConversationPanelPreferencesStore as o } from "../../../stores/conversation-panel-preferences-store.js";
28
- import { applyAutomationConversationFilter as xe, applyGroupFolderOrder as Se, collectAutomationNameFacets as Ce, filterOutPinnedConversations as we, groupConversations as Te, resolvePinnedConversations as Ee, sortConversationsByField as De } from "./conversation-panel-list-helpers.js";
29
- import { ConversationPanelFilterMenu as Oe } from "./conversation-panel-filter-menu.js";
30
- import { ConversationPanelNewThreadPicker as ke } from "./conversation-panel-new-thread-picker.js";
31
- import { ConversationGroupFolderList as Ae } from "./conversation-group-folder-list.js";
32
- import { ConversationPanelPinnedSection as je } from "./conversation-panel-pinned-section.js";
16
+ import { ConfirmDeleteModal as de } from "./confirm-delete-modal.js";
17
+ import { ConfirmStopModal as fe } from "./confirm-stop-modal.js";
18
+ import { useBackendScopedPath as pe } from "../../../hooks/use-backend-scoped-path.js";
19
+ import { usePaginatedConversations as me } from "../../../hooks/query/use-paginated-conversations.js";
20
+ import { useStartTasks as he } from "../../../hooks/query/use-start-tasks.js";
21
+ import { ConfirmArchiveModal as ge } from "./confirm-archive-modal.js";
22
+ import { ExitConversationModal as _e } from "./exit-conversation-modal.js";
23
+ import { ConversationCard as ve } from "./conversation-card/conversation-card.js";
24
+ import { ConversationCardPreview as ye } from "./conversation-card/conversation-card-preview.js";
25
+ import { StartTaskCard as be } from "./start-task-card/start-task-card.js";
26
+ import { ConversationCardSkeleton as xe } from "./conversation-card/conversation-card-skeleton.js";
27
+ import { CompactConversationRow as Se } from "./compact-conversation-row.js";
28
+ import { useConversationPanelPreferencesStore as a } from "../../../stores/conversation-panel-preferences-store.js";
29
+ import { applyAutomationConversationFilter as Ce, applyGroupFolderOrder as we, collectAutomationNameFacets as Te, filterOutPinnedConversations as Ee, getGroupDiscoveryConversationIds as De, groupConversations as Oe, resolvePinnedConversations as ke, sortConversationsByField as Ae } from "./conversation-panel-list-helpers.js";
30
+ import { ConversationPanelFilterMenu as je } from "./conversation-panel-filter-menu.js";
31
+ import { ConversationPanelNewThreadPicker as Me } from "./conversation-panel-new-thread-picker.js";
32
+ import { ConversationGroupFolderList as Ne } from "./conversation-group-folder-list.js";
33
+ import { ConversationPanelPinnedSection as Pe } from "./conversation-panel-pinned-section.js";
34
+ import { useArchivedConversationsStore as o } from "../../../stores/archived-conversations-store.js";
33
35
  import { usePinnedConversationsStore as s } from "../../../stores/pinned-conversations-store.js";
34
36
  import c from "react";
35
37
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
36
38
  //#region src/components/features/conversation-panel/conversation-panel.tsx
37
- var Me = () => {}, Ne = [], d = 3600 * 1e3, Pe = (e) => {
39
+ var Fe = () => {}, Ie = [], d = 3600 * 1e3, Le = (e) => {
38
40
  let t = Date.now() - d, n = [], r = [];
39
41
  for (let i of e) {
40
42
  let e = i.updated_at ? Date.parse(i.updated_at) : NaN;
@@ -46,93 +48,128 @@ var Me = () => {}, Ne = [], d = 3600 * 1e3, Pe = (e) => {
46
48
  };
47
49
  };
48
50
  function f({ onClose: d, compact: f = !1 }) {
49
- let { t: p } = e("openhands"), { conversationId: m, navigate: h } = i(), { backend: g } = ne(), Fe = fe(), Ie = ie(d ?? Me), [Le, _] = c.useState(!1), [Re, v] = c.useState(!1), [ze, Be] = c.useState(!1), [Ve, y] = c.useState(!1), b = o((e) => e.showOlderConversations), He = o((e) => e.toggleShowOlderConversations), x = o((e) => e.showRepoBranchMetadata), Ue = o((e) => e.toggleShowRepoBranchMetadata), S = o((e) => e.showLlmProfiles), We = o((e) => e.toggleShowLlmProfiles), C = o((e) => e.showTagsMetadata), Ge = o((e) => e.toggleShowTagsMetadata), w = o((e) => e.showHoverMetadata), Ke = o((e) => e.toggleShowHoverMetadata), T = o((e) => e.organizeMode), qe = o((e) => e.setOrganizeMode), E = o((e) => e.conversationSort), Je = o((e) => e.setConversationSort), D = o((e) => e.threadScope), Ye = o((e) => e.setThreadScope), O = o((e) => e.automationFilterMode), Xe = o((e) => e.setAutomationFilterMode), k = o((e) => e.selectedAutomationNames), Ze = o((e) => e.toggleAutomationName), A = o((e) => e.groupFolderOrder), Qe = o((e) => e.setGroupFolderOrder), [$e, et] = c.useState(!1), [tt, nt] = c.useState(!1), rt = ie(() => {
50
- et(!1);
51
- }), [it, j] = c.useState(() => /* @__PURE__ */ new Set()), [at, ot] = c.useState(() => /* @__PURE__ */ new Set()), [st, ct] = c.useState(!1), M = s((e) => e.pinsByBackendId[g.id] ?? Ne), lt = s((e) => e.togglePin), ut = s((e) => e.pruneMissingConversations), dt = c.useCallback((e) => {
52
- j((t) => {
51
+ let { t: p } = e("openhands"), { conversationId: m, navigate: h } = i(), { backend: g } = ne(), Re = pe(), ze = ie(d ?? Fe), [Be, _] = c.useState(!1), [Ve, v] = c.useState(!1), [He, y] = c.useState(!1), [Ue, We] = c.useState(!1), [Ge, Ke] = c.useState(!1), b = a((e) => e.showOlderConversations), qe = a((e) => e.showArchivedConversations), Je = a((e) => e.toggleShowArchivedConversations), Ye = a((e) => e.toggleShowOlderConversations), x = a((e) => e.showRepoBranchMetadata), Xe = a((e) => e.toggleShowRepoBranchMetadata), S = a((e) => e.showLlmProfiles), Ze = a((e) => e.toggleShowLlmProfiles), C = a((e) => e.showTagsMetadata), Qe = a((e) => e.toggleShowTagsMetadata), w = a((e) => e.showHoverMetadata), $e = a((e) => e.toggleShowHoverMetadata), T = a((e) => e.organizeMode), et = a((e) => e.setOrganizeMode), E = a((e) => e.conversationSort), tt = a((e) => e.setConversationSort), D = a((e) => e.threadScope), nt = a((e) => e.setThreadScope), O = a((e) => e.automationFilterMode), rt = a((e) => e.setAutomationFilterMode), it = a((e) => e.selectedAutomationNames), at = a((e) => e.toggleAutomationName), ot = a((e) => e.groupFolderOrder), st = a((e) => e.setGroupFolderOrder), [ct, lt] = c.useState(!1), [ut, dt] = c.useState(!1), ft = ie(() => {
52
+ lt(!1);
53
+ }), [pt, mt] = c.useState(() => /* @__PURE__ */ new Set()), [ht, gt] = c.useState(() => /* @__PURE__ */ new Set()), [_t, vt] = c.useState(!1), k = s((e) => e.pinsByBackendId[g.id] ?? Ie), yt = s((e) => e.togglePin), bt = s((e) => e.unpinConversation), xt = s((e) => e.pruneMissingConversations), St = o((e) => e.archivesByBackendId[g.id] ?? Ie), Ct = o((e) => e.archiveConversation), A = c.useMemo(() => new Set(St), [St]), j = o((e) => e.removeArchivedConversation), wt = c.useCallback((e) => {
54
+ mt((t) => {
53
55
  let n = new Set(t);
54
56
  return n.has(e) ? n.delete(e) : n.add(e), n;
55
57
  });
56
- }, []), ft = c.useCallback((e) => {
57
- ot((t) => {
58
+ }, []), Tt = c.useCallback((e) => {
59
+ gt((t) => {
58
60
  let n = new Set(t);
59
61
  return n.has(e) ? n.delete(e) : n.add(e), n;
60
62
  });
61
63
  }, []);
62
64
  c.useEffect(() => {
63
- T !== "grouped" && (j(/* @__PURE__ */ new Set()), ot(/* @__PURE__ */ new Set()));
65
+ T !== "grouped" && (mt(/* @__PURE__ */ new Set()), gt(/* @__PURE__ */ new Set()));
64
66
  }, [T]);
65
- let pt = c.useRef(null), [N, mt] = c.useState(null), [ht, P] = c.useState(null), [F, gt] = c.useState(null), { data: _t, isLoading: vt, isFetched: I, hasNextPage: L, isFetching: yt, isFetchingNextPage: R, fetchNextPage: bt } = pe(), { data: xt } = me(), z = c.useMemo(() => {
66
- let e = _t?.pages.flatMap((e) => e.items) ?? [], t = /* @__PURE__ */ new Set();
67
+ let Et = c.useRef(null), [M, N] = c.useState(null), [Dt, P] = c.useState(null), [F, Ot] = c.useState(null), { data: I, isLoading: kt, isFetched: L, hasNextPage: R, isFetching: At, isFetchingNextPage: z, fetchNextPage: jt } = me(), { data: Mt } = he(), B = c.useMemo(() => {
68
+ let e = I?.pages.flatMap((e) => e.items) ?? [], t = /* @__PURE__ */ new Set();
67
69
  return e.filter((e) => t.has(e.id) ? !1 : (t.add(e.id), !0));
68
- }, [_t]), B = c.useMemo(() => Ce(z), [z]), V = c.useMemo(() => xe(z, O, k, B), [
69
- O,
70
+ }, [I]), Nt = c.useMemo(() => {
71
+ let e = /* @__PURE__ */ new Map();
72
+ return I?.pages.forEach((t, n) => {
73
+ t.items.forEach((t) => {
74
+ e.has(t.id) || e.set(t.id, n);
75
+ });
76
+ }), e;
77
+ }, [I]), V = c.useMemo(() => qe ? B : B.filter((e) => !A.has(e.id)), [
70
78
  B,
71
- z,
72
- k
73
- ]), St = c.useMemo(() => Ee(M, z), [z, M]);
79
+ A,
80
+ qe
81
+ ]), Pt = c.useMemo(() => Te(V), [V]), H = c.useMemo(() => Ce(V, O, it, Pt), [
82
+ O,
83
+ Pt,
84
+ V,
85
+ it
86
+ ]), Ft = c.useMemo(() => ke(k, V), [V, k]);
74
87
  c.useEffect(() => {
75
- I && ut(g.id, z.map((e) => e.id));
88
+ if (!L) return;
89
+ let e = I?.pages.flatMap((e) => e.items.map((e) => e.id)) ?? [];
90
+ xt(g.id, e);
76
91
  }, [
77
92
  g.id,
78
- z,
79
93
  I,
80
- ut
94
+ L,
95
+ xt
81
96
  ]), c.useEffect(() => {
82
- M.length === 0 && ct(!1);
83
- }, [M.length]);
84
- let Ct = c.useMemo(() => {
85
- let e = D === "relevant" ? V.filter((e) => n(e.execution_status)) : V;
86
- return f ? e : we(e, M);
97
+ k.length === 0 && vt(!1);
98
+ }, [k.length]);
99
+ let It = c.useMemo(() => {
100
+ let e = D === "relevant" ? H.filter((e) => n(e.execution_status)) : H;
101
+ return f ? e : Ee(e, k);
87
102
  }, [
88
- V,
103
+ H,
89
104
  f,
90
- M,
105
+ k,
91
106
  D
92
- ]), { recent: H, older: U } = c.useMemo(() => Pe(Ct), [Ct]), wt = c.useMemo(() => De(b ? [...H, ...U] : H, E), [
93
- H,
107
+ ]), { recent: U, older: W } = c.useMemo(() => Le(It), [It]), Lt = c.useMemo(() => Ae(b ? [...U, ...W] : U, E), [
94
108
  U,
109
+ W,
95
110
  b,
96
111
  E
97
- ]), Tt = c.useMemo(() => ({
112
+ ]), Rt = c.useMemo(() => ({
98
113
  emptyWorkspace: p(t.CONVERSATION_PANEL$NO_WORKSPACE),
99
114
  emptyRepository: p(t.CONVERSATION_PANEL$NO_REPOSITORY)
100
- }), [p]), W = c.useMemo(() => f || T !== "grouped" ? null : Te([...H, ...b ? U : []], g.kind, E, Tt), [
101
- g.kind,
115
+ }), [p]), G = c.useMemo(() => f || T !== "grouped" ? null : [...U, ...b ? W : []], [
102
116
  f,
103
- E,
104
- Tt,
105
- U,
117
+ W,
106
118
  T,
107
- H,
119
+ U,
108
120
  b
109
- ]), G = c.useMemo(() => W ? Se(W, A) : null, [W, A]), Et = c.useMemo(() => W?.map((e) => e.id) ?? [], [W]), Dt = c.useMemo(() => De(H.filter((e) => n(e.execution_status)), E), [E, H]), Ot = wt.length, kt = c.useMemo(() => G ? G.reduce((e, t) => e + t.conversations.length, 0) : 0, [G]), K = T === "grouped" && !f ? kt === 0 : Ot === 0, At = K && O !== "all" && z.length > 0 && V.length === 0, q = T === "grouped" && !f ? kt : Ot, [J, Y] = c.useState(null), jt = c.useRef(q);
110
- jt.current = q;
111
- let Mt = c.useCallback(() => {
112
- L && Y(jt.current);
113
- }, [L]);
121
+ ]), K = c.useMemo(() => G ? Oe(G, g.kind, E, Rt) : null, [
122
+ g.kind,
123
+ E,
124
+ Rt,
125
+ G
126
+ ]), zt = c.useMemo(() => G ? De(G, Nt, g.kind, { forceIncludeConversationId: m }) : null, [
127
+ g.kind,
128
+ Nt,
129
+ m,
130
+ G
131
+ ]), q = c.useMemo(() => K ? we(K, ot) : null, [K, ot]), Bt = c.useMemo(() => K?.map((e) => e.id) ?? [], [K]), Vt = c.useMemo(() => Ae(U.filter((e) => n(e.execution_status)), E), [E, U]), Ht = Lt.length, Ut = q?.length ?? 0, Wt = T === "grouped" && !f ? Ut === 0 : Ht === 0, Gt = Wt && O !== "all" && V.length > 0 && H.length === 0, J = T === "grouped" && !f ? Ut : Ht, Y = I?.pages.length ?? 0, [X, Kt] = c.useState(null), [qt, Jt] = c.useState(null), Yt = c.useRef(J);
132
+ Yt.current = J;
133
+ let Xt = c.useRef(Y);
134
+ Xt.current = Y;
135
+ let Z = c.useCallback(() => {
136
+ Kt(null), Jt(null);
137
+ }, []), Zt = c.useCallback(() => {
138
+ R && (Kt(Yt.current), Jt(Xt.current));
139
+ }, [R]);
114
140
  c.useEffect(() => {
115
- if (J !== null) {
116
- if (q > J) {
117
- Y(null);
141
+ if (X !== null) {
142
+ if (J > X) {
143
+ Z();
118
144
  return;
119
145
  }
120
- if (!L) {
121
- Y(null);
146
+ if (T === "grouped" && !f && qt != null && Y >= qt + 3) {
147
+ Z();
122
148
  return;
123
149
  }
124
- yt || R || bt();
150
+ if (!(At || z)) {
151
+ if (!R) {
152
+ Z();
153
+ return;
154
+ }
155
+ jt();
156
+ }
125
157
  }
126
158
  }, [
159
+ Z,
160
+ f,
161
+ X,
162
+ qt,
127
163
  J,
128
- q,
129
- L,
130
- yt,
164
+ Y,
165
+ T,
131
166
  R,
132
- bt
167
+ At,
168
+ z,
169
+ jt
133
170
  ]);
134
- let Nt = J !== null || R, { mutate: Pt, mutateAsync: Ft } = se(), { mutate: It } = ce(), { mutate: Lt } = ue(), Rt = U.length > 0 && !b, zt = !!L && !Rt && !f && (!K || At), { mutate: Bt } = ae(), X = le(), Vt = c.useCallback((e) => {
135
- X || Bt({
171
+ let Qt = X !== null || z, { mutate: $t, mutateAsync: en } = se(), { mutate: tn } = ce(), { mutate: nn } = ue(), rn = W.length > 0 && !b, an = !!R && !rn && !f, { mutate: on } = ae(), sn = le(), cn = c.useCallback((e) => {
172
+ sn || on({
136
173
  workingDir: e.workingDir,
137
174
  repository: e.repository,
138
175
  entryPoint: "sidebar_relaunch_project"
@@ -140,32 +177,42 @@ function f({ onClose: d, compact: f = !1 }) {
140
177
  h(`/conversations/${e.conversation_id}`);
141
178
  } });
142
179
  }, [
143
- Bt,
144
- X,
180
+ on,
181
+ sn,
145
182
  h
146
- ]), Ht = c.useCallback((e, t) => {
147
- _(!0), mt(e), P(t);
148
- }, []), Ut = c.useCallback((e) => {
149
- v(!0), mt(e);
150
- }, []), Wt = c.useCallback((e, n) => {
151
- Lt({
183
+ ]), ln = c.useCallback((e, t) => {
184
+ _(!0), N(e), P(t);
185
+ }, []), un = c.useCallback((e, t) => {
186
+ v(!0), N(e), P(t);
187
+ }, []), dn = c.useCallback((e) => {
188
+ j(g.id, e);
189
+ }, [g.id, j]), fn = c.useCallback((e) => {
190
+ y(!0), N(e);
191
+ }, []), pn = c.useCallback((e, n) => {
192
+ nn({
152
193
  conversationId: e,
153
194
  newTitle: n
154
195
  }, { onSuccess: () => {
155
196
  te(p(t.CONVERSATION$TITLE_UPDATED));
156
197
  } });
157
- }, [p, Lt]), Gt = () => {
158
- N && Pt({ conversationId: N }, { onSuccess: () => {
159
- N === m && h("/conversations");
160
- } });
161
- }, Kt = () => {
162
- N && It({ conversationId: N });
163
- }, qt = async () => {
164
- let e = z.map((e) => e.id), t = await Promise.allSettled(e.map((e) => Ft({ conversationId: e }))), n = t.flatMap((t, n) => t.status === "fulfilled" ? [e[n]] : []), r = t.length - n.length;
198
+ }, [p, nn]), mn = () => {
199
+ if (M) {
200
+ let e = M;
201
+ $t({ conversationId: e }, { onSuccess: () => {
202
+ j(g.id, e), e === m && h("/conversations");
203
+ } });
204
+ }
205
+ }, hn = () => {
206
+ M && (Ct(g.id, M), bt(g.id, M), M === m && h("/conversations"));
207
+ }, gn = () => {
208
+ M && tn({ conversationId: M });
209
+ }, _n = async () => {
210
+ let e = B.map((e) => e.id), t = await Promise.allSettled(e.map((e) => en({ conversationId: e }))), n = t.flatMap((t, n) => t.status === "fulfilled" ? [e[n]] : []), r = t.length - n.length;
211
+ for (let e of n) j(g.id, e);
165
212
  m !== null && n.includes(m) && h("/conversations"), r > 0 && ee(`${r} conversation${r === 1 ? "" : "s"} could not be deleted.`);
166
- }, Z = c.useCallback((e, t) => {
167
- let n = M.includes(e.id);
168
- return f ? /* @__PURE__ */ l(be, {
213
+ }, Q = c.useCallback((e, t) => {
214
+ let n = k.includes(e.id), i = A.has(e.id);
215
+ return f ? /* @__PURE__ */ l(Se, {
169
216
  conversationId: e.id,
170
217
  title: e.title ?? "",
171
218
  selectedRepository: {
@@ -194,7 +241,7 @@ function f({ onClose: d, compact: f = !1 }) {
194
241
  isDisabled: !w || F === e.id,
195
242
  disableAnimation: !1,
196
243
  className: "max-w-none overflow-visible rounded-xl border border-[var(--oh-border)] bg-base-secondary p-0 text-white shadow-xl",
197
- content: /* @__PURE__ */ l(_e, {
244
+ content: /* @__PURE__ */ l(ye, {
198
245
  title: e.title ?? "",
199
246
  executionStatus: e.execution_status,
200
247
  sandboxStatus: e.sandbox_status,
@@ -211,13 +258,15 @@ function f({ onClose: d, compact: f = !1 }) {
211
258
  tags: e.tags
212
259
  }),
213
260
  children: /* @__PURE__ */ l(oe, {
214
- to: Fe(`/conversations/${e.id}`),
261
+ to: Re(`/conversations/${e.id}`),
215
262
  onClick: d,
216
263
  className: r("block rounded-md transition-colors", F !== e.id && "hover:bg-[var(--oh-surface)]", (e.id === m || F === e.id) && "bg-[var(--oh-surface)]"),
217
- children: /* @__PURE__ */ l(ge, {
218
- onDelete: () => Ht(e.id, e.title ?? ""),
219
- onStop: () => Ut(e.id),
220
- onChangeTitle: (t) => Wt(e.id, t),
264
+ children: /* @__PURE__ */ l(ve, {
265
+ onDelete: () => ln(e.id, e.title ?? ""),
266
+ onArchive: i ? void 0 : () => un(e.id, e.title ?? ""),
267
+ onUnarchive: i ? () => dn(e.id) : void 0,
268
+ onStop: () => fn(e.id),
269
+ onChangeTitle: (t) => pn(e.id, t),
221
270
  title: e.title ?? "",
222
271
  selectedRepository: {
223
272
  selected_repository: e.selected_repository,
@@ -230,7 +279,7 @@ function f({ onClose: d, compact: f = !1 }) {
230
279
  sandboxStatus: e.sandbox_status,
231
280
  conversationId: e.id,
232
281
  contextMenuOpen: F === e.id,
233
- onContextMenuToggle: (t) => gt(t ? e.id : null),
282
+ onContextMenuToggle: (t) => Ot(t ? e.id : null),
234
283
  isActive: e.id === m,
235
284
  workspaceWorkingDir: e.selected_workspace ?? e.workspace?.working_dir,
236
285
  showRepositoryMetadata: x,
@@ -240,35 +289,39 @@ function f({ onClose: d, compact: f = !1 }) {
240
289
  acpServer: e.acp_server,
241
290
  tags: e.tags,
242
291
  showTags: C,
292
+ isArchived: i,
243
293
  isPinned: n,
244
- onTogglePin: () => lt(g.id, e.id),
294
+ onTogglePin: () => yt(g.id, e.id),
245
295
  alwaysShowPinIcon: n && !t?.inPinnedSection
246
296
  })
247
297
  })
248
298
  }, e.id);
249
299
  }, [
250
300
  g.id,
301
+ A,
251
302
  f,
252
303
  m,
253
- Wt,
254
- Ht,
255
- Ut,
304
+ un,
305
+ pn,
306
+ ln,
307
+ fn,
308
+ dn,
256
309
  d,
257
310
  F,
258
- M,
311
+ k,
259
312
  x,
260
313
  S,
261
314
  C,
262
315
  w,
263
- lt
264
- ]), Q = vt || !I, $ = !f && !Q && St.length > 0, Jt = I && !vt && !f && K && !$ && !xt?.length;
316
+ yt
317
+ ]), $ = kt || !L, vn = !f && !$ && Ft.length > 0, yn = L && !kt && !f && Wt && !vn && !Mt?.length;
265
318
  return /* @__PURE__ */ u("div", {
266
- ref: Ie,
319
+ ref: ze,
267
320
  "data-testid": "conversation-panel",
268
321
  className: "flex h-full min-h-0 w-full flex-col",
269
322
  children: [
270
323
  !f && /* @__PURE__ */ l("div", {
271
- className: r("-ml-2.5 w-[calc(100%+0.625rem)] max-w-none box-border border-b", tt ? "border-[var(--oh-border)]" : "border-transparent"),
324
+ className: r("-ml-2.5 w-[calc(100%+0.625rem)] max-w-none box-border border-b", ut ? "border-[var(--oh-border)]" : "border-transparent"),
272
325
  children: /* @__PURE__ */ u("div", {
273
326
  "data-testid": "older-conversations-summary",
274
327
  className: "flex min-w-0 flex-nowrap items-center gap-x-2 py-2 pl-4 pr-2.5 text-[var(--oh-muted)]",
@@ -277,132 +330,144 @@ function f({ onClose: d, compact: f = !1 }) {
277
330
  children: p(t.SIDEBAR$CONVERSATIONS)
278
331
  }), /* @__PURE__ */ u("div", {
279
332
  className: "ml-auto flex shrink-0 items-center gap-0.5",
280
- children: [/* @__PURE__ */ l(ke, { backendKind: g.kind }), /* @__PURE__ */ l(Oe, {
281
- filterMenuOpen: $e,
282
- setFilterMenuOpen: et,
283
- menuRef: rt,
333
+ children: [/* @__PURE__ */ l(Me, { backendKind: g.kind }), /* @__PURE__ */ l(je, {
334
+ filterMenuOpen: ct,
335
+ setFilterMenuOpen: lt,
336
+ menuRef: ft,
284
337
  backendKind: g.kind,
285
338
  organizeMode: T,
286
- setOrganizeMode: qe,
339
+ setOrganizeMode: et,
287
340
  conversationSort: E,
288
- setConversationSort: Je,
341
+ setConversationSort: tt,
289
342
  threadScope: D,
290
- setThreadScope: Ye,
343
+ setThreadScope: nt,
291
344
  automationFilterMode: O,
292
- setAutomationFilterMode: Xe,
293
- selectedAutomationNames: k,
294
- onToggleAutomationName: Ze,
295
- automationNameFacets: B,
345
+ setAutomationFilterMode: rt,
346
+ selectedAutomationNames: it,
347
+ onToggleAutomationName: at,
348
+ automationNameFacets: Pt,
296
349
  showOlderConversations: b,
297
- toggleShowOlderConversations: He,
350
+ showArchivedConversations: qe,
351
+ toggleShowArchivedConversations: Je,
352
+ toggleShowOlderConversations: Ye,
298
353
  showRepoBranchMetadata: x,
299
- toggleShowRepoBranchMetadata: Ue,
354
+ toggleShowRepoBranchMetadata: Xe,
300
355
  showLlmProfiles: S,
301
- toggleShowLlmProfiles: We,
356
+ toggleShowLlmProfiles: Ze,
302
357
  showTagsMetadata: C,
303
- toggleShowTagsMetadata: Ge,
358
+ toggleShowTagsMetadata: Qe,
304
359
  showHoverMetadata: w,
305
- toggleShowHoverMetadata: Ke,
306
- totalConversationsCount: z.length,
307
- onRequestDeleteAll: () => y(!0)
360
+ toggleShowHoverMetadata: $e,
361
+ totalConversationsCount: B.length,
362
+ onRequestDeleteAll: () => Ke(!0)
308
363
  })]
309
364
  })]
310
365
  })
311
366
  }),
312
367
  /* @__PURE__ */ u("div", {
313
- ref: pt,
368
+ ref: Et,
314
369
  "data-testid": "conversation-panel-list-scroll",
315
370
  onScroll: (e) => {
316
- nt(e.currentTarget.scrollTop > 0);
371
+ dt(e.currentTarget.scrollTop > 0);
317
372
  },
318
373
  className: r("flex min-h-0 flex-1 flex-col overflow-y-auto overflow-x-hidden overscroll-contain custom-scrollbar-always", !f && "conversation-panel-list-scroll"),
319
374
  children: [
320
- Q && /* @__PURE__ */ l(ye, { compact: f }),
321
- !f && Jt && /* @__PURE__ */ l("div", {
375
+ $ && /* @__PURE__ */ l(xe, { compact: f }),
376
+ !f && yn && /* @__PURE__ */ l("div", {
322
377
  "data-testid": "conversation-panel-empty-state",
323
378
  className: "flex min-h-0 flex-1 flex-col items-center justify-center px-4 py-8",
324
379
  children: /* @__PURE__ */ l("p", {
325
380
  className: "text-xs text-[var(--oh-muted)]",
326
- children: p(At ? t.CONVERSATION_PANEL$NO_AUTOMATION_MATCHES : t.CONVERSATION$NO_CONVERSATIONS)
381
+ children: p(Gt ? t.CONVERSATION_PANEL$NO_AUTOMATION_MATCHES : t.CONVERSATION$NO_CONVERSATIONS)
327
382
  })
328
383
  }),
329
- $ ? /* @__PURE__ */ l(je, {
330
- pinnedConversations: St,
331
- isPreviewExpanded: st,
332
- onTogglePreviewExpanded: () => ct((e) => !e),
384
+ vn ? /* @__PURE__ */ l(Pe, {
385
+ pinnedConversations: Ft,
386
+ isPreviewExpanded: _t,
387
+ onTogglePreviewExpanded: () => vt((e) => !e),
333
388
  activeConversationId: m,
334
389
  showDivider: !f && T === "chronological",
335
- renderConversationCard: (e) => Z(e, { inPinnedSection: !0 })
390
+ renderConversationCard: (e) => Q(e, { inPinnedSection: !0 })
336
391
  }) : null,
337
- !f && xt?.map((e) => /* @__PURE__ */ l(oe, {
338
- to: Fe(`/conversations/task-${e.id}`),
392
+ !f && Mt?.map((e) => /* @__PURE__ */ l(oe, {
393
+ to: Re(`/conversations/task-${e.id}`),
339
394
  onClick: d,
340
395
  className: "block",
341
- children: /* @__PURE__ */ l(ve, { task: e })
396
+ children: /* @__PURE__ */ l(be, { task: e })
342
397
  }, e.id)),
343
- !Q && f ? Dt.map((e) => Z(e)) : null,
344
- !Q && !f && T === "grouped" && G && G.length > 0 ? /* @__PURE__ */ l(Ae, {
345
- groups: G,
346
- groupIds: Et,
347
- groupFolderOrder: A,
348
- setGroupFolderOrder: Qe,
349
- collapsedGroupIds: it,
350
- expandedGroupPreviewIds: at,
351
- onToggleGroupCollapsed: dt,
352
- onToggleGroupPreviewExpanded: ft,
353
- isCreatingConversationFlow: X,
398
+ !$ && f ? Vt.map((e) => Q(e)) : null,
399
+ !$ && !f && T === "grouped" && q && q.length > 0 ? /* @__PURE__ */ l(Ne, {
400
+ groups: q,
401
+ groupIds: Bt,
402
+ groupFolderOrder: ot,
403
+ setGroupFolderOrder: st,
404
+ collapsedGroupIds: pt,
405
+ expandedGroupPreviewIds: ht,
406
+ discoveryConversationIds: zt,
407
+ onToggleGroupCollapsed: wt,
408
+ onToggleGroupPreviewExpanded: Tt,
409
+ isCreatingConversationFlow: sn,
354
410
  activeConversationId: m,
355
- onLaunchFromGroup: Vt,
356
- renderConversationCard: (e) => Z(e)
411
+ onLaunchFromGroup: cn,
412
+ renderConversationCard: (e) => Q(e)
357
413
  }) : null,
358
- !Q && !f && T === "chronological" ? /* @__PURE__ */ l("div", {
414
+ !$ && !f && T === "chronological" ? /* @__PURE__ */ l("div", {
359
415
  className: "space-y-0.5",
360
- children: wt.map((e) => Z(e))
416
+ children: Lt.map((e) => Q(e))
361
417
  }) : null,
362
- zt && (Nt ? /* @__PURE__ */ l("div", {
418
+ an && (Qt ? /* @__PURE__ */ l("div", {
363
419
  className: "py-1",
364
- children: /* @__PURE__ */ l(ye, { compact: f })
420
+ children: /* @__PURE__ */ l(xe, { compact: f })
365
421
  }) : /* @__PURE__ */ l("div", {
366
422
  className: "flex justify-center py-4",
367
423
  children: /* @__PURE__ */ l("button", {
368
424
  type: "button",
369
425
  "data-testid": "load-more-conversations",
370
- onClick: Mt,
426
+ onClick: Zt,
371
427
  className: "text-xs text-[var(--oh-muted)] hover:text-white",
372
428
  children: p(t.CONVERSATION$LOAD_MORE)
373
429
  })
374
430
  }))
375
431
  ]
376
432
  }),
377
- Le && /* @__PURE__ */ l(a, {
433
+ Be && /* @__PURE__ */ l(de, {
378
434
  onConfirm: () => {
379
- Gt(), _(!1), P(null);
435
+ mn(), _(!1), P(null);
380
436
  },
381
437
  onCancel: () => {
382
438
  _(!1), P(null);
383
439
  },
384
- conversationTitle: ht ?? void 0
440
+ conversationTitle: Dt ?? void 0
441
+ }),
442
+ Ve && /* @__PURE__ */ l(ge, {
443
+ onConfirm: () => {
444
+ hn(), v(!1), P(null);
445
+ },
446
+ onCancel: () => {
447
+ v(!1), P(null);
448
+ },
449
+ conversationTitle: Dt ?? void 0
385
450
  }),
386
- Ve && /* @__PURE__ */ l(a, {
451
+ Ge && /* @__PURE__ */ l(de, {
387
452
  title: p(t.CONVERSATION$CONFIRM_DELETE_ALL_TITLE),
388
- description: p(t.CONVERSATION$CONFIRM_DELETE_ALL_DESC, { count: z.length }),
453
+ description: p(t.CONVERSATION$CONFIRM_DELETE_ALL_DESC, { count: B.length }),
389
454
  onConfirm: async () => {
390
- await qt(), y(!1);
455
+ await _n(), Ke(!1);
391
456
  },
392
- onCancel: () => y(!1)
457
+ onCancel: () => Ke(!1)
393
458
  }),
394
- Re && /* @__PURE__ */ l(de, {
459
+ He && /* @__PURE__ */ l(fe, {
395
460
  onConfirm: () => {
396
- Kt(), v(!1);
461
+ gn(), y(!1);
397
462
  },
398
- onCancel: () => v(!1)
463
+ onCancel: () => y(!1)
399
464
  }),
400
- ze && /* @__PURE__ */ l(he, {
465
+ Ue && /* @__PURE__ */ l(_e, {
401
466
  onConfirm: () => {
402
467
  d?.();
403
468
  },
404
- onClose: () => Be(!1),
405
- onCancel: () => Be(!1)
469
+ onClose: () => We(!1),
470
+ onCancel: () => We(!1)
406
471
  })
407
472
  ]
408
473
  });