@openhands/agent-canvas 1.10.0 → 1.11.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.
- package/README.md +1 -1
- package/README.windows.md +2 -2
- package/build/assets/{acp-providers-DLe_gVDY.js → acp-providers-BkL3HWa3.js} +1 -1
- package/build/assets/{active-backend-context-B0wI7OzM.js → active-backend-context-BBvP-bI2.js} +1 -1
- package/build/assets/{agent-context-settings-CaQtdNA-.js → agent-context-settings-Bno1nwPL.js} +1 -1
- package/build/assets/{agent-profiles-settings-CvuErjp6.js → agent-profiles-settings-DqoS7RL3.js} +1 -1
- package/build/assets/agent-server-conversation-service.api-0RztSdJJ.js +86 -0
- package/build/assets/agent-settings-BJHryp65.js +1 -0
- package/build/assets/{agent-settings-UE-U4Xii.js → agent-settings-h8hQz-IU.js} +1 -1
- package/build/assets/{alert-banner-BMaOtTCG.js → alert-banner-lrK-2_0Y.js} +1 -1
- package/build/assets/{api-key-entry-screen-Cy66vT4D.js → api-key-entry-screen-Qsb83VX1.js} +1 -1
- package/build/assets/{app-settings-9ok42bV6.js → app-settings-r1RUbgGi.js} +1 -1
- package/build/assets/{automation-detail-fuITm6i3.js → automation-detail-7LkL91j9.js} +3 -3
- package/build/assets/{automation-export-CRq40mux.js → automation-export-U2QNyNy6.js} +1 -1
- package/build/assets/{automation-setup-route-EXDazOHW.js → automation-setup-route-Bel9_Lue.js} +1 -1
- package/build/assets/{automation-templates-BArZsaxP.js → automation-templates-CRLDssaI.js} +1 -1
- package/build/assets/{automations-list-CG4HKOTn.js → automations-list-B2iV3ZKW.js} +1 -1
- package/build/assets/{back-nav-button-BZB6H7xz.js → back-nav-button-B3pYwmUJ.js} +1 -1
- package/build/assets/backend-form-modal-OroTqnAv.js +1 -0
- package/build/assets/{backend-synced-settings-badge-B_NXJ3u1.js → backend-synced-settings-badge-DB4717Iu.js} +1 -1
- package/build/assets/{badge-C64c-7PO.js → badge-yR53enbU.js} +1 -1
- package/build/assets/{base-modal-C0RQPug5.js → base-modal-3NmIOKDm.js} +1 -1
- package/build/assets/{brand-button-DJmFCyMK.js → brand-button-CJcwjnfb.js} +1 -1
- package/build/assets/{browser-D3gd2n83.js → browser--eoQOo4M.js} +1 -1
- package/build/assets/{browser-tab-BicAWuJ1.js → browser-tab-A94o33Vn.js} +1 -1
- package/build/assets/{chat-send-button-CCrH1E8u.js → chat-send-button-B8n6-DQA.js} +1 -1
- package/build/assets/{circle-plus-check-toggle-CB_sNERY.js → circle-plus-check-toggle-BVzv5EkZ.js} +1 -1
- package/build/assets/{cloud-funnel-analytics-XynamQGU.js → cloud-funnel-analytics-CBQdPZl_.js} +1 -1
- package/build/assets/{combobox-caret-Bwiifgjs.js → combobox-caret-BlmRwiM8.js} +1 -1
- package/build/assets/command-menu-PsRXVBz2.js +1 -0
- package/build/assets/{condenser-settings-cNGy75gq.js → condenser-settings-w7L3EFvm.js} +1 -1
- package/build/assets/{confirmation-modal-BATFmFyP.js → confirmation-modal-DAH0XtOp.js} +1 -1
- package/build/assets/{context-menu-list-item-DhJCcBA0.js → context-menu-list-item-BQhmFVEK.js} +1 -1
- package/build/assets/{conversation-Csdxh9Xt.js → conversation-BUzBZAc-.js} +4 -4
- package/build/assets/conversation-panel-pzAKsSDb.js +1 -0
- package/build/assets/conversation-pzAKsSDb.js +1 -0
- package/build/assets/{conversation-state-store-C2QzhPaK.js → conversation-state-store-Bs8gA263.js} +1 -1
- package/build/assets/{conversation-tab-empty-state-D3fb5xIA.js → conversation-tab-empty-state-C9sfDOlt.js} +1 -1
- package/build/assets/{copy-to-clipboard-button-c4MQwKGj.js → copy-to-clipboard-button-DatoElj8.js} +1 -1
- package/build/assets/{device-verify-oFpQoLgm.js → device-verify-BIjXeW9N.js} +1 -1
- package/build/assets/{dropdown-classes-f91ARMV1.js → dropdown-classes-zFW7qPSK.js} +1 -1
- package/build/assets/{entry.client-BCzY2Bf3.js → entry.client-DzbDyLkV.js} +2 -2
- package/build/assets/{enum-filter-dropdown-HG3q3rkV.js → enum-filter-dropdown-CctILg5t.js} +1 -1
- package/build/assets/{environment-switch-overlay-CquZXolz.js → environment-switch-overlay-Cvmo6clk.js} +1 -1
- package/build/assets/{extensions-hub-BeweE0PW.js → extensions-hub-DOmHPGTA.js} +1 -1
- package/build/assets/{extensions-navigation-Dd58NlUF.js → extensions-navigation-6zU5M1pa.js} +1 -1
- package/build/assets/{files-tab-CLLG55-q.js → files-tab-BzofBmF4.js} +1 -1
- package/build/assets/{form-control-classes-pHtZUI6K.js → form-control-classes-DLN3Qgub.js} +1 -1
- package/build/assets/{format-relative-time-6-3uvOXe.js → format-relative-time-DGPQlPx0.js} +1 -1
- package/build/assets/{git-provider-icon-wg7ShB98.js → git-provider-icon-BLMlwy02.js} +1 -1
- package/build/assets/{git-repo-dropdown-CWnaUyxL.js → git-repo-dropdown-B7RvO70z.js} +1 -1
- package/build/assets/git-repo-dropdown-B_PTq4ol.js +1 -0
- package/build/assets/{highlighted-source-view-DBtI3por.js → highlighted-source-view-CgJfD5VT.js} +1 -1
- package/build/assets/{home-BpZQkDWM.js → home-DEZaZqYv.js} +1 -1
- package/build/assets/home-r89Vj2td.js +1 -0
- package/build/assets/{home-store-DM4qw1lF.js → home-store-D7CjMN_-.js} +1 -1
- package/build/assets/index-home-r89Vj2td.js +1 -0
- package/build/assets/install-server-modal-BTwK5lbi.js +1 -0
- package/build/assets/{kebab-menu-item-content-By16Tm_0.js → kebab-menu-item-content-C4CkeiJO.js} +1 -1
- package/build/assets/{launch-C9uijypN.js → launch-DVlx4v9o.js} +1 -1
- package/build/assets/{llm-not-configured-banner-DrBrhfN0.js → llm-not-configured-banner-CwKu8C6g.js} +2 -2
- package/build/assets/llm-settings-BJotLQND.js +1 -0
- package/build/assets/llm-settings-CDM-5H2A.js +1 -0
- package/build/assets/{llm-subscription-service-DwjJ8-_X.js → llm-subscription-service-7eVfDIE1.js} +1 -1
- package/build/assets/{loading-spinner-6Yj-YyoS.js → loading-spinner-CN3riY7k.js} +1 -1
- package/build/assets/{manage-backends-modal-DrwErS0N.js → manage-backends-modal-HNWKLYhq.js} +1 -1
- package/build/assets/manifest-2a36a8f8.js +1 -0
- package/build/assets/{manifest-subpage-layout-CtqVwIvJ.js → manifest-subpage-layout-D-m-h8_t.js} +1 -1
- package/build/assets/map-provider-7Bp2aih5.js +1 -0
- package/build/assets/markdown-renderer-BiiiIznl.js +8 -0
- package/build/assets/mcp-gLgPP7AS.js +9 -0
- package/build/assets/{mcp-marketplace-utils-BMnYz0Gc.js → mcp-marketplace-utils-Dr_HG_ol.js} +1 -1
- package/build/assets/messages-D1cbVhRK.js +40 -0
- package/build/assets/{modal-body-BHGCSAtj.js → modal-body-duRaxj_K.js} +1 -1
- package/build/assets/{modal-classes-DSTLuxkA.js → modal-classes-CLEXO6dj.js} +1 -1
- package/build/assets/{modal-close-button-dheWZ2ys.js → modal-close-button-D0aT02hs.js} +1 -1
- package/build/assets/npm-DRzJF5Zn.js +1 -0
- package/build/assets/{onboarding-5CZvRBbh.js → onboarding-DSr8hOpk.js} +1 -1
- package/build/assets/{onboarding-modal-CD2ehuxt.js → onboarding-modal-C6Euf7N4.js} +1 -1
- package/build/assets/{organization-service.api-Dsuoep0g.js → organization-service.api-C4GYWwj9.js} +1 -1
- package/build/assets/{planner-tab-DeO7Thb0.js → planner-tab-CZcguxTK.js} +1 -1
- package/build/assets/{plugins-management-service-C9f75R6X.js → plugins-management-service-BmDzOQsd.js} +1 -1
- package/build/assets/{profiles-service.api-Dl20_2IM.js → profiles-service.api-CoLTwjc1.js} +1 -1
- package/build/assets/{providers-CeuhK46N.js → providers-tBzTpz1w.js} +1 -1
- package/build/assets/{proxy-CIGI9zQC.js → proxy-DCI9S-LA.js} +1 -1
- package/build/assets/recommended-automations-launcher-BbJAJVED.js +1 -0
- package/build/assets/root-BfM_kC_d.css +1 -0
- package/build/assets/root-gstBEjty.js +2 -0
- package/build/assets/root-layout-BIAFLP9p.js +2 -0
- package/build/assets/{schema-field-z2vSLuLo.js → schema-field-zhsVDllR.js} +1 -1
- package/build/assets/{sdk-section-page-BnCXAytf.js → sdk-section-page-CS4GWn0y.js} +1 -1
- package/build/assets/{secrets-service-DGUNlwQd.js → secrets-service-DjgGduXk.js} +1 -1
- package/build/assets/{secrets-settings-DUmML_dK.js → secrets-settings-f-qahfbi.js} +1 -1
- package/build/assets/{segmented-toggle-eSofF7gn.js → segmented-toggle-SmvsR3jW.js} +1 -1
- package/build/assets/settings-DQd0xLEw.js +1 -0
- package/build/assets/{settings-dropdown-input-Cx4g7Xfl.js → settings-dropdown-input-TWIeiG02.js} +1 -1
- package/build/assets/{settings-index-BECdgecg.js → settings-index-BVwy9JEp.js} +1 -1
- package/build/assets/{settings-input-BQY115xH.js → settings-input-D61Vzp9e.js} +1 -1
- package/build/assets/{settings-list-classes-C9cLrrcc.js → settings-list-classes-sE0ASr1s.js} +1 -1
- package/build/assets/{settings-modal-ChBJNTdd.js → settings-modal-D6D5ngET.js} +1 -1
- package/build/assets/{settings-service.api-Dz9cZyvx.js → settings-service.api-DZp7E7A9.js} +1 -1
- package/build/assets/{settings-switch-BIodMVz9.js → settings-switch-Drt-rF5s.js} +1 -1
- package/build/assets/{settings-utils-BL_Z9uIe.js → settings-utils-gw2ppAvw.js} +1 -1
- package/build/assets/{shared-conversation-CSF0aTuE.js → shared-conversation-DIxZjElr.js} +1 -1
- package/build/assets/{wrench-DRitTfwe.js → shield-check-D2cpEpv3.js} +1 -1
- package/build/assets/{sidebar-layout-DEycoFd_.js → sidebar-layout-Dxg6zc2K.js} +1 -1
- package/build/assets/{sidebar-mobile-menu-toggle-DeRvTupV.js → sidebar-mobile-menu-toggle-OoZBHxaT.js} +1 -1
- package/build/assets/{sidebar-nav-link-BjpQ-NVc.js → sidebar-nav-link-CxLoG-dG.js} +1 -1
- package/build/assets/sidebar-store-BJeYY-E9.js +1 -0
- package/build/assets/{skill-card-pill-row-BH6fPGba.js → skill-card-pill-row-B_BYBONu.js} +1 -1
- package/build/assets/{skill-icon-badge-D4uznfjU.js → skill-icon-badge-CN41Hy9l.js} +1 -1
- package/build/assets/{skill-scope-DH_AUUUP.js → skill-scope-B1Per5XI.js} +1 -1
- package/build/assets/{skills-plugins-vfvOk34h.js → skills-plugins-B3AO6sMz.js} +1 -1
- package/build/assets/skills-settings-DmmgJ6CT.js +2 -0
- package/build/assets/{styled-tooltip-CQ9JEFiO.js → styled-tooltip-C5C07RQC.js} +1 -1
- package/build/assets/{task-list-tab-DeF_uXdw.js → task-list-tab-C19Q_JNf.js} +1 -1
- package/build/assets/{terminal-DRc4rup7.js → terminal-CbuMRYal.js} +1 -1
- package/build/assets/{toggle-switch--8n8NeV_.js → toggle-switch-CIioisto.js} +1 -1
- package/build/assets/{typography-BSbUhJPn.js → typography-D9tiHct7.js} +1 -1
- package/build/assets/{use-acp-credential-form-BGKFi1VL.js → use-acp-credential-form-DJmmJKMo.js} +1 -1
- package/build/assets/{use-activate-agent-profile-2nvALjC-.js → use-activate-agent-profile-CeFfYwu_.js} +1 -1
- package/build/assets/{use-agent-profiles-BlQA67MW.js → use-agent-profiles-BHLkLbRR.js} +1 -1
- package/build/assets/{use-can-manage-org-profiles-Clw5Dh1s.js → use-can-manage-org-profiles-Bu4y8gSx.js} +1 -1
- package/build/assets/{use-cloud-current-user-id-B8AQSQFM.js → use-cloud-current-user-id-QD9x3ySO.js} +1 -1
- package/build/assets/{use-config-C3zGuUQI.js → use-config-CPwqciXN.js} +1 -1
- package/build/assets/{use-create-conversation-FaP0kUpg.js → use-create-conversation-DWaSVUOB.js} +1 -1
- package/build/assets/{use-create-secret-CgQ3pXd6.js → use-create-secret-BsOfOLvg.js} +1 -1
- package/build/assets/{use-llm-profiles-C-tDO6UB.js → use-llm-profiles-CU8ah1pz.js} +1 -1
- package/build/assets/{use-manifest-capabilities-DLP5wCxp.js → use-manifest-capabilities-DBYPjyV6.js} +1 -1
- package/build/assets/{use-onboarding-completion-BiCdXvlU.js → use-onboarding-completion-CtNJxkXG.js} +1 -1
- package/build/assets/{use-plugins-marketplace-DRFNLBlr.js → use-plugins-marketplace-ZEA-gyM9.js} +1 -1
- package/build/assets/{use-save-agent-profile-CaGVAudI.js → use-save-agent-profile-DgI_Uz9a.js} +1 -1
- package/build/assets/{use-save-settings-C9B8Y-h3.js → use-save-settings-pSjRhD_m.js} +1 -1
- package/build/assets/{use-settings-3RcgdUuZ.js → use-settings-BHWsOcIG.js} +1 -1
- package/build/assets/use-settings-nav-items-CQgkxUbV.js +16 -0
- package/build/assets/{use-tracking-CTtkLAmx.js → use-tracking-CGCsBWhg.js} +1 -1
- package/build/assets/{use-user-conversation-Bei82QsZ.js → use-user-conversation-DRfEU8x0.js} +1 -1
- package/build/assets/utils-DPQfkd-7.js +1 -0
- package/build/assets/{verification-settings-nD61Ijph.js → verification-settings-BItwt998.js} +1 -1
- package/build/assets/wrench-B1_H-tL1.js +1 -0
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +39 -2
- package/build/locales/ca/openhands.json +39 -2
- package/build/locales/de/openhands.json +39 -2
- package/build/locales/en/openhands.json +39 -2
- package/build/locales/es/openhands.json +39 -2
- package/build/locales/fr/openhands.json +39 -2
- package/build/locales/it/openhands.json +39 -2
- package/build/locales/ja/openhands.json +39 -2
- package/build/locales/ko-KR/openhands.json +39 -2
- package/build/locales/no/openhands.json +39 -2
- package/build/locales/pt/openhands.json +39 -2
- package/build/locales/tr/openhands.json +39 -2
- package/build/locales/uk/openhands.json +39 -2
- package/build/locales/zh-CN/openhands.json +39 -2
- package/build/locales/zh-TW/openhands.json +39 -2
- package/config/defaults.json +1 -1
- package/dist/api/agent-server-adapter.cjs +3 -3
- package/dist/api/agent-server-adapter.cjs.map +1 -1
- package/dist/api/agent-server-adapter.d.ts +32 -5
- package/dist/api/agent-server-adapter.js +120 -91
- package/dist/api/agent-server-adapter.js.map +1 -1
- package/dist/api/cloud/conversation-service.api.cjs +1 -1
- package/dist/api/cloud/conversation-service.api.cjs.map +1 -1
- package/dist/api/cloud/conversation-service.api.d.ts +19 -2
- package/dist/api/cloud/conversation-service.api.js +51 -47
- package/dist/api/cloud/conversation-service.api.js.map +1 -1
- package/dist/api/conversation-file-upload.api.cjs +1 -1
- package/dist/api/conversation-file-upload.api.js +10 -10
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs.map +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.js +55 -61
- package/dist/api/conversation-service/agent-server-conversation-service.api.js.map +1 -1
- package/dist/api/event-service/event-service.api.cjs +1 -1
- package/dist/api/event-service/event-service.api.js +12 -12
- package/dist/api/launch-child-conversation-client-tool.cjs +47 -0
- package/dist/api/launch-child-conversation-client-tool.cjs.map +1 -0
- package/dist/api/launch-child-conversation-client-tool.d.ts +3 -0
- package/dist/api/launch-child-conversation-client-tool.js +93 -0
- package/dist/api/launch-child-conversation-client-tool.js.map +1 -0
- package/dist/api/open-hands.types.d.ts +1 -1
- package/dist/api/workspace-upload-path.cjs +1 -1
- package/dist/api/workspace-upload-path.js +8 -8
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.cjs +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.js +24 -18
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.js.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.cjs +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.js +5 -0
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.js.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/should-render-event.cjs +2 -2
- package/dist/components/conversation-events/chat/event-content-helpers/should-render-event.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/should-render-event.js +11 -7
- package/dist/components/conversation-events/chat/event-content-helpers/should-render-event.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.cjs +1 -2
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.d.ts +2 -8
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.js +48 -51
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-meta-chip.cjs +2 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-meta-chip.cjs.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-meta-chip.d.ts +12 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-meta-chip.js +6 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-meta-chip.js.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-preview.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-preview.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-preview.d.ts +16 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-preview.js +95 -78
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-preview.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-repo-link.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-repo-link.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-repo-link.js +40 -38
- package/dist/components/features/conversation-panel/conversation-card/conversation-repo-link.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-chips.cjs +2 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-chips.cjs.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-chips.d.ts +14 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-chips.js +167 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-chips.js.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-display.cjs +2 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-display.cjs.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-display.d.ts +63 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-display.js +66 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-display.js.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-icons.cjs +2 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-icons.cjs.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-icons.d.ts +15 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-icons.js +117 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-tag-icons.js.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/no-repository.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/no-repository.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/no-repository.js +30 -19
- package/dist/components/features/conversation-panel/conversation-card/no-repository.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.d.ts +7 -2
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.js +146 -104
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.d.ts +20 -0
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.js +53 -27
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.js +226 -213
- package/dist/components/features/conversation-panel/conversation-panel.js.map +1 -1
- package/dist/components/features/settings/agent-canvas-update-card.cjs +1 -1
- package/dist/components/features/settings/agent-canvas-update-card.cjs.map +1 -1
- package/dist/components/features/settings/agent-canvas-update-card.d.ts +10 -5
- package/dist/components/features/settings/agent-canvas-update-card.js +223 -149
- package/dist/components/features/settings/agent-canvas-update-card.js.map +1 -1
- package/dist/components/features/settings/agent-canvas-version-modal.cjs +2 -0
- package/dist/components/features/settings/agent-canvas-version-modal.cjs.map +1 -0
- package/dist/components/features/settings/agent-canvas-version-modal.d.ts +11 -0
- package/dist/components/features/settings/agent-canvas-version-modal.js +166 -0
- package/dist/components/features/settings/agent-canvas-version-modal.js.map +1 -0
- package/dist/components/features/settings/agent-canvas-version-tile.cjs +2 -0
- package/dist/components/features/settings/agent-canvas-version-tile.cjs.map +1 -0
- package/dist/components/features/settings/agent-canvas-version-tile.d.ts +13 -0
- package/dist/components/features/settings/agent-canvas-version-tile.js +60 -0
- package/dist/components/features/settings/agent-canvas-version-tile.js.map +1 -0
- package/dist/components/features/settings/settings-desktop-sidebar.cjs +1 -1
- package/dist/components/features/settings/settings-desktop-sidebar.cjs.map +1 -1
- package/dist/components/features/settings/settings-desktop-sidebar.js +1 -1
- package/dist/components/features/settings/settings-desktop-sidebar.js.map +1 -1
- package/dist/components/features/settings/settings-mobile-drawer.cjs +1 -1
- package/dist/components/features/settings/settings-mobile-drawer.cjs.map +1 -1
- package/dist/components/features/settings/settings-mobile-drawer.js +1 -1
- package/dist/components/features/settings/settings-mobile-drawer.js.map +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.cjs +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.cjs.map +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.js +109 -108
- package/dist/components/features/sidebar/sidebar-rail-body.js.map +1 -1
- package/dist/components/features/skills/extensions-navigation.cjs +1 -1
- package/dist/components/features/skills/extensions-navigation.cjs.map +1 -1
- package/dist/components/features/skills/extensions-navigation.js +9 -9
- package/dist/components/features/skills/extensions-navigation.js.map +1 -1
- package/dist/config/defaults.cjs +1 -1
- package/dist/config/defaults.cjs.map +1 -1
- package/dist/config/defaults.js +1 -1
- package/dist/config/defaults.js.map +1 -1
- package/dist/constants/child-conversation.cjs +2 -0
- package/dist/constants/child-conversation.cjs.map +1 -0
- package/dist/constants/child-conversation.d.ts +29 -0
- package/dist/constants/child-conversation.js +6 -0
- package/dist/constants/child-conversation.js.map +1 -0
- package/dist/contexts/conversation-websocket-context.cjs +3 -3
- package/dist/contexts/conversation-websocket-context.cjs.map +1 -1
- package/dist/contexts/conversation-websocket-context.js +189 -188
- package/dist/contexts/conversation-websocket-context.js.map +1 -1
- package/dist/hooks/chat/use-model-interceptor.cjs +1 -1
- package/dist/hooks/chat/use-model-interceptor.js +6 -6
- package/dist/hooks/mutation/use-create-conversation.cjs +1 -1
- package/dist/hooks/mutation/use-create-conversation.js +6 -6
- package/dist/i18n/declaration.cjs +1 -1
- package/dist/i18n/declaration.cjs.map +1 -1
- package/dist/i18n/declaration.d.ts +38 -1
- package/dist/i18n/declaration.js +1 -1
- package/dist/i18n/declaration.js.map +1 -1
- package/dist/i18n/translation.cjs +2 -2
- package/dist/i18n/translation.cjs.map +1 -1
- package/dist/i18n/translation.js +644 -15
- package/dist/i18n/translation.js.map +1 -1
- package/dist/icons/docker.cjs +2 -0
- package/dist/icons/docker.cjs.map +1 -0
- package/dist/icons/docker.js +19 -0
- package/dist/icons/docker.js.map +1 -0
- package/dist/icons/npm.cjs +2 -0
- package/dist/icons/npm.cjs.map +1 -0
- package/dist/icons/npm.js +19 -0
- package/dist/icons/npm.js.map +1 -0
- package/dist/locales/ar/openhands.json +39 -2
- package/dist/locales/ca/openhands.json +39 -2
- package/dist/locales/de/openhands.json +39 -2
- package/dist/locales/en/openhands.json +39 -2
- package/dist/locales/es/openhands.json +39 -2
- package/dist/locales/fr/openhands.json +39 -2
- package/dist/locales/it/openhands.json +39 -2
- package/dist/locales/ja/openhands.json +39 -2
- package/dist/locales/ko-KR/openhands.json +39 -2
- package/dist/locales/no/openhands.json +39 -2
- package/dist/locales/pt/openhands.json +39 -2
- package/dist/locales/tr/openhands.json +39 -2
- package/dist/locales/uk/openhands.json +39 -2
- package/dist/locales/zh-CN/openhands.json +39 -2
- package/dist/locales/zh-TW/openhands.json +39 -2
- package/dist/node_modules/@openhands/typescript-client/dist/index.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/index.js +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/briefcase.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/briefcase.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/briefcase.js +16 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/briefcase.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-arrow-up.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-arrow-up.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-arrow-up.js +21 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-arrow-up.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-user-round.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-user-round.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-user-round.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-user-round.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/cloud-cog.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/cloud-cog.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/cloud-cog.js +43 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/cloud-cog.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/earth.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/earth.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/earth.js +25 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/earth.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/flag.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/flag.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/flag.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/flag.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/folder-git-2.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/folder-git-2.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/folder-git-2.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/folder-git-2.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/folder-key.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/folder-key.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/folder-key.js +25 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/folder-key.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-pull-request.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-pull-request.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-pull-request.js +30 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-pull-request.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/hash.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/hash.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/hash.js +35 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/hash.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/house.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/house.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/house.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/house.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/id-card.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/id-card.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/id-card.js +33 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/id-card.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layers.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layers.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layers.js +19 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layers.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/link-2.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/link-2.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/link-2.js +22 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/link-2.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/mails.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/mails.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/mails.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/mails.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/messages-square.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/messages-square.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/messages-square.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/messages-square.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/square-kanban.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/square-kanban.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/square-kanban.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/square-kanban.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ticket.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ticket.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ticket.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ticket.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/users-round.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/users-round.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/users-round.js +21 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/users-round.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/waypoints.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/waypoints.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/waypoints.js +43 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/waypoints.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/webhook.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/webhook.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/webhook.js +19 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/webhook.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/workflow.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/workflow.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/workflow.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/workflow.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/wrench.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/wrench.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/wrench.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/wrench.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +6 -3
- package/dist/package.js.map +1 -1
- package/dist/services/child-conversation-launch.cjs +2 -0
- package/dist/services/child-conversation-launch.cjs.map +1 -0
- package/dist/services/child-conversation-launch.d.ts +41 -0
- package/dist/services/child-conversation-launch.js +182 -0
- package/dist/services/child-conversation-launch.js.map +1 -0
- package/dist/stores/conversation-panel-preferences-store.cjs +1 -1
- package/dist/stores/conversation-panel-preferences-store.cjs.map +1 -1
- package/dist/stores/conversation-panel-preferences-store.d.ts +5 -1
- package/dist/stores/conversation-panel-preferences-store.js +8 -2
- package/dist/stores/conversation-panel-preferences-store.js.map +1 -1
- package/dist/types/agent-server/core/base/action.d.ts +17 -1
- package/dist/types/agent-server/core/base/base.d.ts +2 -1
- package/dist/types/agent-server/type-guards.cjs +1 -1
- package/dist/types/agent-server/type-guards.cjs.map +1 -1
- package/dist/types/agent-server/type-guards.d.ts +8 -1
- package/dist/types/agent-server/type-guards.js +4 -3
- package/dist/types/agent-server/type-guards.js.map +1 -1
- package/dist/types/automation.d.ts +14 -0
- package/dist/utils/custom-toast-handlers.cjs +1 -1
- package/dist/utils/custom-toast-handlers.cjs.map +1 -1
- package/dist/utils/custom-toast-handlers.js +18 -1
- package/dist/utils/custom-toast-handlers.js.map +1 -1
- package/package.json +6 -3
- package/scripts/brand-dev-electron.mjs +244 -0
- package/scripts/check-translation-completeness.cjs +4 -0
- package/scripts/generate-icons.mjs +109 -0
- package/build/assets/agent-server-conversation-service.api-km_8sOVf.js +0 -41
- package/build/assets/agent-settings-nmO-KSXr.js +0 -1
- package/build/assets/backend-form-modal-B_lXjOGa.js +0 -1
- package/build/assets/command-menu-CA3IjGNc.js +0 -1
- package/build/assets/conversation-B6t6EiVp.js +0 -1
- package/build/assets/conversation-panel-B6t6EiVp.js +0 -1
- package/build/assets/copy-DaHuDtG4.js +0 -1
- package/build/assets/git-repo-dropdown-TzOuG5Ef.js +0 -1
- package/build/assets/home-OEx0XtfP.js +0 -1
- package/build/assets/index-home-OEx0XtfP.js +0 -1
- package/build/assets/info-C9lpK5pw.js +0 -1
- package/build/assets/install-server-modal-DnjZrJUy.js +0 -1
- package/build/assets/list-filter-C86CBRDE.js +0 -1
- package/build/assets/llm-settings-CRsLqxgu.js +0 -1
- package/build/assets/llm-settings-RBm_3kNm.js +0 -1
- package/build/assets/manifest-c352d453.js +0 -1
- package/build/assets/map-provider-CXU6issd.js +0 -1
- package/build/assets/markdown-renderer-lsvsp7jn.js +0 -8
- package/build/assets/mcp-DD4hPTRE.js +0 -9
- package/build/assets/messages-Dt77e0qi.js +0 -40
- package/build/assets/recommended-automations-launcher-6xmbf7lh.js +0 -1
- package/build/assets/root-BQPNqNvD.js +0 -2
- package/build/assets/root-BeuHFY2s.css +0 -1
- package/build/assets/root-layout-Dl_2CDoq.js +0 -3
- package/build/assets/settings-Co-M5bK9.js +0 -1
- package/build/assets/sidebar-store-B04sX8aP.js +0 -1
- package/build/assets/skills-settings-DnbIu2eO.js +0 -2
- package/build/assets/use-settings-nav-items-y-Oyc93G.js +0 -16
- package/build/assets/utils-BX9XJ0IE.js +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs +0 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js.map +0 -1
|
@@ -22,20 +22,20 @@ import { ExitConversationModal as he } from "./exit-conversation-modal.js";
|
|
|
22
22
|
import { ConversationCard as ge } from "./conversation-card/conversation-card.js";
|
|
23
23
|
import { ConversationCardPreview as _e } from "./conversation-card/conversation-card-preview.js";
|
|
24
24
|
import { StartTaskCard as ve } from "./start-task-card/start-task-card.js";
|
|
25
|
-
import { ConversationCardSkeleton as
|
|
26
|
-
import { CompactConversationRow as
|
|
27
|
-
import { useConversationPanelPreferencesStore as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { ConversationGroupFolderList as
|
|
32
|
-
import { ConversationPanelPinnedSection as
|
|
33
|
-
import { usePinnedConversationsStore as
|
|
34
|
-
import
|
|
35
|
-
import { jsx as
|
|
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";
|
|
33
|
+
import { usePinnedConversationsStore as s } from "../../../stores/pinned-conversations-store.js";
|
|
34
|
+
import c from "react";
|
|
35
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
36
36
|
//#region src/components/features/conversation-panel/conversation-panel.tsx
|
|
37
|
-
var
|
|
38
|
-
let t = Date.now() -
|
|
37
|
+
var Me = () => {}, Ne = [], d = 3600 * 1e3, Pe = (e) => {
|
|
38
|
+
let t = Date.now() - d, n = [], r = [];
|
|
39
39
|
for (let i of e) {
|
|
40
40
|
let e = i.updated_at ? Date.parse(i.updated_at) : NaN;
|
|
41
41
|
Number.isFinite(e) && e < t ? r.push(i) : n.push(i);
|
|
@@ -45,122 +45,127 @@ var ke = () => {}, Ae = [], f = 3600 * 1e3, je = (e) => {
|
|
|
45
45
|
older: r
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
function
|
|
49
|
-
let { t:
|
|
50
|
-
|
|
51
|
-
}), [
|
|
52
|
-
|
|
48
|
+
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) => {
|
|
53
53
|
let n = new Set(t);
|
|
54
54
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
55
55
|
});
|
|
56
|
-
}, []),
|
|
57
|
-
|
|
56
|
+
}, []), ft = c.useCallback((e) => {
|
|
57
|
+
ot((t) => {
|
|
58
58
|
let n = new Set(t);
|
|
59
59
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
60
60
|
});
|
|
61
61
|
}, []);
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}, [
|
|
65
|
-
let
|
|
66
|
-
let e =
|
|
62
|
+
c.useEffect(() => {
|
|
63
|
+
T !== "grouped" && (j(/* @__PURE__ */ new Set()), ot(/* @__PURE__ */ new Set()));
|
|
64
|
+
}, [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
67
|
return e.filter((e) => t.has(e.id) ? !1 : (t.add(e.id), !0));
|
|
68
|
-
}, [
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
}, [_t]), B = c.useMemo(() => Ce(z), [z]), V = c.useMemo(() => xe(z, O, k, B), [
|
|
69
|
+
O,
|
|
70
|
+
B,
|
|
71
|
+
z,
|
|
72
|
+
k
|
|
73
|
+
]), St = c.useMemo(() => Ee(M, z), [z, M]);
|
|
74
|
+
c.useEffect(() => {
|
|
75
|
+
I && ut(g.id, z.map((e) => e.id));
|
|
71
76
|
}, [
|
|
72
|
-
|
|
73
|
-
H,
|
|
77
|
+
g.id,
|
|
74
78
|
z,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
I,
|
|
80
|
+
ut
|
|
81
|
+
]), 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);
|
|
82
87
|
}, [
|
|
83
|
-
|
|
88
|
+
V,
|
|
89
|
+
f,
|
|
90
|
+
M,
|
|
91
|
+
D
|
|
92
|
+
]), { recent: H, older: U } = c.useMemo(() => Pe(Ct), [Ct]), wt = c.useMemo(() => De(b ? [...H, ...U] : H, E), [
|
|
84
93
|
H,
|
|
85
|
-
F,
|
|
86
|
-
A
|
|
87
|
-
]), { recent: U, older: W } = l.useMemo(() => je(mt), [mt]), ht = l.useMemo(() => Ee(C ? [...U, ...W] : U, k), [
|
|
88
94
|
U,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
gt,
|
|
100
|
-
W,
|
|
101
|
-
O,
|
|
95
|
+
b,
|
|
96
|
+
E
|
|
97
|
+
]), Tt = c.useMemo(() => ({
|
|
98
|
+
emptyWorkspace: p(t.CONVERSATION_PANEL$NO_WORKSPACE),
|
|
99
|
+
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,
|
|
102
|
+
f,
|
|
103
|
+
E,
|
|
104
|
+
Tt,
|
|
102
105
|
U,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
T,
|
|
107
|
+
H,
|
|
108
|
+
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]);
|
|
114
|
+
c.useEffect(() => {
|
|
110
115
|
if (J !== null) {
|
|
111
116
|
if (q > J) {
|
|
112
117
|
Y(null);
|
|
113
118
|
return;
|
|
114
119
|
}
|
|
115
|
-
if (!
|
|
120
|
+
if (!L) {
|
|
116
121
|
Y(null);
|
|
117
122
|
return;
|
|
118
123
|
}
|
|
119
|
-
|
|
124
|
+
yt || R || bt();
|
|
120
125
|
}
|
|
121
126
|
}, [
|
|
122
127
|
J,
|
|
123
128
|
q,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
129
|
+
L,
|
|
130
|
+
yt,
|
|
131
|
+
R,
|
|
132
|
+
bt
|
|
128
133
|
]);
|
|
129
|
-
let
|
|
130
|
-
X ||
|
|
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({
|
|
131
136
|
workingDir: e.workingDir,
|
|
132
137
|
repository: e.repository,
|
|
133
138
|
entryPoint: "sidebar_relaunch_project"
|
|
134
139
|
}, { onSuccess: (e) => {
|
|
135
|
-
|
|
140
|
+
h(`/conversations/${e.conversation_id}`);
|
|
136
141
|
} });
|
|
137
142
|
}, [
|
|
138
|
-
|
|
143
|
+
Bt,
|
|
139
144
|
X,
|
|
140
|
-
|
|
141
|
-
]),
|
|
142
|
-
|
|
143
|
-
}, []),
|
|
144
|
-
|
|
145
|
-
}, []),
|
|
146
|
-
|
|
145
|
+
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({
|
|
147
152
|
conversationId: e,
|
|
148
153
|
newTitle: n
|
|
149
154
|
}, { onSuccess: () => {
|
|
150
|
-
te(
|
|
155
|
+
te(p(t.CONVERSATION$TITLE_UPDATED));
|
|
151
156
|
} });
|
|
152
|
-
}, [
|
|
153
|
-
|
|
154
|
-
|
|
157
|
+
}, [p, Lt]), Gt = () => {
|
|
158
|
+
N && Pt({ conversationId: N }, { onSuccess: () => {
|
|
159
|
+
N === m && h("/conversations");
|
|
155
160
|
} });
|
|
156
|
-
},
|
|
157
|
-
|
|
158
|
-
},
|
|
159
|
-
let e =
|
|
160
|
-
|
|
161
|
-
}, Z =
|
|
162
|
-
let n =
|
|
163
|
-
return
|
|
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;
|
|
165
|
+
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, {
|
|
164
169
|
conversationId: e.id,
|
|
165
170
|
title: e.title ?? "",
|
|
166
171
|
selectedRepository: {
|
|
@@ -173,23 +178,23 @@ function p({ onClose: f, compact: p = !1 }) {
|
|
|
173
178
|
lastUpdatedAt: e.updated_at,
|
|
174
179
|
createdAt: e.created_at,
|
|
175
180
|
workspaceWorkingDir: e.selected_workspace ?? e.workspace?.working_dir,
|
|
176
|
-
isActive: e.id ===
|
|
177
|
-
onClose:
|
|
178
|
-
showRepositoryMetadata:
|
|
181
|
+
isActive: e.id === m,
|
|
182
|
+
onClose: d,
|
|
183
|
+
showRepositoryMetadata: x,
|
|
179
184
|
llmModel: e.llm_model,
|
|
180
|
-
showLlmProfiles:
|
|
185
|
+
showLlmProfiles: S,
|
|
181
186
|
agentKind: e.agent_kind,
|
|
182
187
|
acpServer: e.acp_server,
|
|
183
188
|
tags: e.tags,
|
|
184
|
-
showTags:
|
|
185
|
-
}, e.id) : /* @__PURE__ */
|
|
189
|
+
showTags: C
|
|
190
|
+
}, e.id) : /* @__PURE__ */ l(re, {
|
|
186
191
|
placement: "right-start",
|
|
187
192
|
delay: 1e3,
|
|
188
193
|
closeDelay: 100,
|
|
189
|
-
isDisabled: !
|
|
194
|
+
isDisabled: !w || F === e.id,
|
|
190
195
|
disableAnimation: !1,
|
|
191
|
-
className: "rounded-xl border border-[var(--oh-border)] bg-base-secondary p-0 text-white shadow-xl",
|
|
192
|
-
content: /* @__PURE__ */
|
|
196
|
+
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, {
|
|
193
198
|
title: e.title ?? "",
|
|
194
199
|
executionStatus: e.execution_status,
|
|
195
200
|
sandboxStatus: e.sandbox_status,
|
|
@@ -200,16 +205,19 @@ function p({ onClose: f, compact: p = !1 }) {
|
|
|
200
205
|
},
|
|
201
206
|
workspaceWorkingDir: e.selected_workspace ?? e.workspace?.working_dir,
|
|
202
207
|
llmModel: e.llm_model,
|
|
203
|
-
|
|
208
|
+
agentKind: e.agent_kind,
|
|
209
|
+
acpServer: e.acp_server,
|
|
210
|
+
createdAt: e.created_at,
|
|
211
|
+
tags: e.tags
|
|
204
212
|
}),
|
|
205
|
-
children: /* @__PURE__ */
|
|
206
|
-
to:
|
|
207
|
-
onClick:
|
|
208
|
-
className: r("block rounded-md transition-colors",
|
|
209
|
-
children: /* @__PURE__ */
|
|
210
|
-
onDelete: () =>
|
|
211
|
-
onStop: () =>
|
|
212
|
-
onChangeTitle: (t) =>
|
|
213
|
+
children: /* @__PURE__ */ l(oe, {
|
|
214
|
+
to: Fe(`/conversations/${e.id}`),
|
|
215
|
+
onClick: d,
|
|
216
|
+
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),
|
|
213
221
|
title: e.title ?? "",
|
|
214
222
|
selectedRepository: {
|
|
215
223
|
selected_repository: e.selected_repository,
|
|
@@ -221,180 +229,185 @@ function p({ onClose: f, compact: p = !1 }) {
|
|
|
221
229
|
executionStatus: e.execution_status,
|
|
222
230
|
sandboxStatus: e.sandbox_status,
|
|
223
231
|
conversationId: e.id,
|
|
224
|
-
contextMenuOpen:
|
|
225
|
-
onContextMenuToggle: (t) =>
|
|
226
|
-
isActive: e.id ===
|
|
232
|
+
contextMenuOpen: F === e.id,
|
|
233
|
+
onContextMenuToggle: (t) => gt(t ? e.id : null),
|
|
234
|
+
isActive: e.id === m,
|
|
227
235
|
workspaceWorkingDir: e.selected_workspace ?? e.workspace?.working_dir,
|
|
228
|
-
showRepositoryMetadata:
|
|
236
|
+
showRepositoryMetadata: x,
|
|
229
237
|
llmModel: e.llm_model,
|
|
230
|
-
showLlmProfiles:
|
|
238
|
+
showLlmProfiles: S,
|
|
231
239
|
agentKind: e.agent_kind,
|
|
232
240
|
acpServer: e.acp_server,
|
|
233
241
|
tags: e.tags,
|
|
234
|
-
showTags:
|
|
242
|
+
showTags: C,
|
|
235
243
|
isPinned: n,
|
|
236
|
-
onTogglePin: () =>
|
|
244
|
+
onTogglePin: () => lt(g.id, e.id),
|
|
237
245
|
alwaysShowPinIcon: n && !t?.inPinnedSection
|
|
238
246
|
})
|
|
239
247
|
})
|
|
240
248
|
}, e.id);
|
|
241
249
|
}, [
|
|
242
|
-
|
|
243
|
-
p,
|
|
244
|
-
h,
|
|
245
|
-
Ft,
|
|
246
|
-
Nt,
|
|
247
|
-
Pt,
|
|
250
|
+
g.id,
|
|
248
251
|
f,
|
|
249
|
-
|
|
252
|
+
m,
|
|
253
|
+
Wt,
|
|
254
|
+
Ht,
|
|
255
|
+
Ut,
|
|
256
|
+
d,
|
|
250
257
|
F,
|
|
258
|
+
M,
|
|
259
|
+
x,
|
|
260
|
+
S,
|
|
261
|
+
C,
|
|
251
262
|
w,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
]), Q = lt || !z, $ = !p && !Q && pt.length > 0, zt = z && !lt && !p && xt && !$ && !ft?.length;
|
|
257
|
-
return /* @__PURE__ */ d("div", {
|
|
258
|
-
ref: Me,
|
|
263
|
+
lt
|
|
264
|
+
]), Q = vt || !I, $ = !f && !Q && St.length > 0, Jt = I && !vt && !f && K && !$ && !xt?.length;
|
|
265
|
+
return /* @__PURE__ */ u("div", {
|
|
266
|
+
ref: Ie,
|
|
259
267
|
"data-testid": "conversation-panel",
|
|
260
268
|
className: "flex h-full min-h-0 w-full flex-col",
|
|
261
269
|
children: [
|
|
262
|
-
!
|
|
263
|
-
className: r("-ml-2.5 w-[calc(100%+0.625rem)] max-w-none box-border border-b",
|
|
264
|
-
children: /* @__PURE__ */
|
|
270
|
+
!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"),
|
|
272
|
+
children: /* @__PURE__ */ u("div", {
|
|
265
273
|
"data-testid": "older-conversations-summary",
|
|
266
274
|
className: "flex min-w-0 flex-nowrap items-center gap-x-2 py-2 pl-4 pr-2.5 text-[var(--oh-muted)]",
|
|
267
|
-
children: [/* @__PURE__ */
|
|
275
|
+
children: [/* @__PURE__ */ l("span", {
|
|
268
276
|
className: "min-w-0 truncate text-sm font-medium text-[var(--oh-muted)]",
|
|
269
|
-
children:
|
|
270
|
-
}), /* @__PURE__ */
|
|
277
|
+
children: p(t.SIDEBAR$CONVERSATIONS)
|
|
278
|
+
}), /* @__PURE__ */ u("div", {
|
|
271
279
|
className: "ml-auto flex shrink-0 items-center gap-0.5",
|
|
272
|
-
children: [/* @__PURE__ */
|
|
273
|
-
filterMenuOpen:
|
|
274
|
-
setFilterMenuOpen:
|
|
275
|
-
menuRef:
|
|
276
|
-
backendKind:
|
|
277
|
-
organizeMode:
|
|
278
|
-
setOrganizeMode:
|
|
279
|
-
conversationSort:
|
|
280
|
-
setConversationSort:
|
|
281
|
-
threadScope:
|
|
282
|
-
setThreadScope:
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
280
|
+
children: [/* @__PURE__ */ l(ke, { backendKind: g.kind }), /* @__PURE__ */ l(Oe, {
|
|
281
|
+
filterMenuOpen: $e,
|
|
282
|
+
setFilterMenuOpen: et,
|
|
283
|
+
menuRef: rt,
|
|
284
|
+
backendKind: g.kind,
|
|
285
|
+
organizeMode: T,
|
|
286
|
+
setOrganizeMode: qe,
|
|
287
|
+
conversationSort: E,
|
|
288
|
+
setConversationSort: Je,
|
|
289
|
+
threadScope: D,
|
|
290
|
+
setThreadScope: Ye,
|
|
291
|
+
automationFilterMode: O,
|
|
292
|
+
setAutomationFilterMode: Xe,
|
|
293
|
+
selectedAutomationNames: k,
|
|
294
|
+
onToggleAutomationName: Ze,
|
|
295
|
+
automationNameFacets: B,
|
|
296
|
+
showOlderConversations: b,
|
|
297
|
+
toggleShowOlderConversations: He,
|
|
298
|
+
showRepoBranchMetadata: x,
|
|
299
|
+
toggleShowRepoBranchMetadata: Ue,
|
|
300
|
+
showLlmProfiles: S,
|
|
301
|
+
toggleShowLlmProfiles: We,
|
|
302
|
+
showTagsMetadata: C,
|
|
303
|
+
toggleShowTagsMetadata: Ge,
|
|
304
|
+
showHoverMetadata: w,
|
|
305
|
+
toggleShowHoverMetadata: Ke,
|
|
306
|
+
totalConversationsCount: z.length,
|
|
307
|
+
onRequestDeleteAll: () => y(!0)
|
|
295
308
|
})]
|
|
296
309
|
})]
|
|
297
310
|
})
|
|
298
311
|
}),
|
|
299
|
-
/* @__PURE__ */
|
|
300
|
-
ref:
|
|
312
|
+
/* @__PURE__ */ u("div", {
|
|
313
|
+
ref: pt,
|
|
301
314
|
"data-testid": "conversation-panel-list-scroll",
|
|
302
315
|
onScroll: (e) => {
|
|
303
|
-
|
|
316
|
+
nt(e.currentTarget.scrollTop > 0);
|
|
304
317
|
},
|
|
305
|
-
className: r("flex min-h-0 flex-1 flex-col overflow-y-auto overflow-x-hidden overscroll-contain custom-scrollbar-always", !
|
|
318
|
+
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"),
|
|
306
319
|
children: [
|
|
307
|
-
Q && /* @__PURE__ */
|
|
308
|
-
!
|
|
320
|
+
Q && /* @__PURE__ */ l(ye, { compact: f }),
|
|
321
|
+
!f && Jt && /* @__PURE__ */ l("div", {
|
|
309
322
|
"data-testid": "conversation-panel-empty-state",
|
|
310
323
|
className: "flex min-h-0 flex-1 flex-col items-center justify-center px-4 py-8",
|
|
311
|
-
children: /* @__PURE__ */
|
|
324
|
+
children: /* @__PURE__ */ l("p", {
|
|
312
325
|
className: "text-xs text-[var(--oh-muted)]",
|
|
313
|
-
children:
|
|
326
|
+
children: p(At ? t.CONVERSATION_PANEL$NO_AUTOMATION_MATCHES : t.CONVERSATION$NO_CONVERSATIONS)
|
|
314
327
|
})
|
|
315
328
|
}),
|
|
316
|
-
$ ? /* @__PURE__ */
|
|
317
|
-
pinnedConversations:
|
|
318
|
-
isPreviewExpanded:
|
|
319
|
-
onTogglePreviewExpanded: () =>
|
|
320
|
-
activeConversationId:
|
|
321
|
-
showDivider: !
|
|
329
|
+
$ ? /* @__PURE__ */ l(je, {
|
|
330
|
+
pinnedConversations: St,
|
|
331
|
+
isPreviewExpanded: st,
|
|
332
|
+
onTogglePreviewExpanded: () => ct((e) => !e),
|
|
333
|
+
activeConversationId: m,
|
|
334
|
+
showDivider: !f && T === "chronological",
|
|
322
335
|
renderConversationCard: (e) => Z(e, { inPinnedSection: !0 })
|
|
323
336
|
}) : null,
|
|
324
|
-
!
|
|
325
|
-
to:
|
|
326
|
-
onClick:
|
|
337
|
+
!f && xt?.map((e) => /* @__PURE__ */ l(oe, {
|
|
338
|
+
to: Fe(`/conversations/task-${e.id}`),
|
|
339
|
+
onClick: d,
|
|
327
340
|
className: "block",
|
|
328
|
-
children: /* @__PURE__ */
|
|
341
|
+
children: /* @__PURE__ */ l(ve, { task: e })
|
|
329
342
|
}, e.id)),
|
|
330
|
-
!Q &&
|
|
331
|
-
!Q && !
|
|
332
|
-
groups:
|
|
333
|
-
groupIds:
|
|
334
|
-
groupFolderOrder:
|
|
335
|
-
setGroupFolderOrder:
|
|
336
|
-
collapsedGroupIds:
|
|
337
|
-
expandedGroupPreviewIds:
|
|
338
|
-
onToggleGroupCollapsed:
|
|
339
|
-
onToggleGroupPreviewExpanded:
|
|
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,
|
|
340
353
|
isCreatingConversationFlow: X,
|
|
341
|
-
activeConversationId:
|
|
342
|
-
onLaunchFromGroup:
|
|
354
|
+
activeConversationId: m,
|
|
355
|
+
onLaunchFromGroup: Vt,
|
|
343
356
|
renderConversationCard: (e) => Z(e)
|
|
344
357
|
}) : null,
|
|
345
|
-
!Q && !
|
|
358
|
+
!Q && !f && T === "chronological" ? /* @__PURE__ */ l("div", {
|
|
346
359
|
className: "space-y-0.5",
|
|
347
|
-
children:
|
|
360
|
+
children: wt.map((e) => Z(e))
|
|
348
361
|
}) : null,
|
|
349
|
-
|
|
362
|
+
zt && (Nt ? /* @__PURE__ */ l("div", {
|
|
350
363
|
className: "py-1",
|
|
351
|
-
children: /* @__PURE__ */
|
|
352
|
-
}) : /* @__PURE__ */
|
|
364
|
+
children: /* @__PURE__ */ l(ye, { compact: f })
|
|
365
|
+
}) : /* @__PURE__ */ l("div", {
|
|
353
366
|
className: "flex justify-center py-4",
|
|
354
|
-
children: /* @__PURE__ */
|
|
367
|
+
children: /* @__PURE__ */ l("button", {
|
|
355
368
|
type: "button",
|
|
356
369
|
"data-testid": "load-more-conversations",
|
|
357
|
-
onClick:
|
|
370
|
+
onClick: Mt,
|
|
358
371
|
className: "text-xs text-[var(--oh-muted)] hover:text-white",
|
|
359
|
-
children:
|
|
372
|
+
children: p(t.CONVERSATION$LOAD_MORE)
|
|
360
373
|
})
|
|
361
374
|
}))
|
|
362
375
|
]
|
|
363
376
|
}),
|
|
364
|
-
|
|
377
|
+
Le && /* @__PURE__ */ l(a, {
|
|
365
378
|
onConfirm: () => {
|
|
366
|
-
|
|
379
|
+
Gt(), _(!1), P(null);
|
|
367
380
|
},
|
|
368
381
|
onCancel: () => {
|
|
369
|
-
|
|
382
|
+
_(!1), P(null);
|
|
370
383
|
},
|
|
371
|
-
conversationTitle:
|
|
384
|
+
conversationTitle: ht ?? void 0
|
|
372
385
|
}),
|
|
373
|
-
|
|
374
|
-
title:
|
|
375
|
-
description:
|
|
386
|
+
Ve && /* @__PURE__ */ l(a, {
|
|
387
|
+
title: p(t.CONVERSATION$CONFIRM_DELETE_ALL_TITLE),
|
|
388
|
+
description: p(t.CONVERSATION$CONFIRM_DELETE_ALL_DESC, { count: z.length }),
|
|
376
389
|
onConfirm: async () => {
|
|
377
|
-
await
|
|
390
|
+
await qt(), y(!1);
|
|
378
391
|
},
|
|
379
|
-
onCancel: () =>
|
|
392
|
+
onCancel: () => y(!1)
|
|
380
393
|
}),
|
|
381
|
-
|
|
394
|
+
Re && /* @__PURE__ */ l(de, {
|
|
382
395
|
onConfirm: () => {
|
|
383
|
-
|
|
396
|
+
Kt(), v(!1);
|
|
384
397
|
},
|
|
385
|
-
onCancel: () =>
|
|
398
|
+
onCancel: () => v(!1)
|
|
386
399
|
}),
|
|
387
|
-
|
|
400
|
+
ze && /* @__PURE__ */ l(he, {
|
|
388
401
|
onConfirm: () => {
|
|
389
|
-
|
|
402
|
+
d?.();
|
|
390
403
|
},
|
|
391
|
-
onClose: () =>
|
|
392
|
-
onCancel: () =>
|
|
404
|
+
onClose: () => Be(!1),
|
|
405
|
+
onCancel: () => Be(!1)
|
|
393
406
|
})
|
|
394
407
|
]
|
|
395
408
|
});
|
|
396
409
|
}
|
|
397
410
|
//#endregion
|
|
398
|
-
export {
|
|
411
|
+
export { f as ConversationPanel };
|
|
399
412
|
|
|
400
413
|
//# sourceMappingURL=conversation-panel.js.map
|