@openhands/agent-canvas 1.5.2 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.windows.md +2 -2
- package/build/assets/{Trans-DqF_OEZB.js → Trans-52HCczKK.js} +1 -1
- package/build/assets/{acp-providers-DerAmTyY.js → acp-providers-xACMK9ZP.js} +1 -1
- package/build/assets/{active-backend-context-DHhm10VS.js → active-backend-context-Cd1qcZsb.js} +1 -1
- package/build/assets/{add-backend-modal-BoMkMyLB.js → add-backend-modal-5chsfln3.js} +1 -1
- package/build/assets/{agent-profiles-settings-CYPloKYK.js → agent-profiles-settings-BWK4H3kR.js} +1 -1
- package/build/assets/agent-server-compatibility-DMY0CihN.js +1 -0
- package/build/assets/agent-server-conversation-service.api-CI5-xmIX.js +41 -0
- package/build/assets/agent-settings-CMd8-O4f.js +2 -0
- package/build/assets/agent-settings-CdrhQJXX.js +1 -0
- package/build/assets/{alert-banner-Dh51WURQ.js → alert-banner-CLfWuIAX.js} +1 -1
- package/build/assets/api-key-entry-screen-Cc3aC7DZ.js +1 -0
- package/build/assets/app-settings-B-DQcBoB.js +1 -0
- package/build/assets/{automation-detail-Bn8q0AG3.js → automation-detail-BgxBIpyK.js} +2 -2
- package/build/assets/automation-export-Dbur8OHa.js +2 -0
- package/build/assets/automations-list-BWfjizlp.js +1 -0
- package/build/assets/{back-nav-button-DVknCcSP.js → back-nav-button-CaKvsD1E.js} +1 -1
- package/build/assets/backend-form-modal-YcfpuBZo.js +1 -0
- package/build/assets/{backend-synced-settings-badge-yVh6Kf4E.js → backend-synced-settings-badge-BellMmgC.js} +1 -1
- package/build/assets/{base-modal-CIF_785P.js → base-modal-Cw7enAHz.js} +1 -1
- package/build/assets/{brand-button-B1izLAdR.js → brand-button-BulEFHr3.js} +1 -1
- package/build/assets/{browser-DKaeq_sT.js → browser-DfVgUREb.js} +2 -2
- package/build/assets/browser-store-CBqI3tNR.js +1 -0
- package/build/assets/{browser-tab-qb_ftCxW.js → browser-tab-CmIKQB7S.js} +1 -1
- package/build/assets/chat-send-button-BchSSwuD.js +1 -0
- package/build/assets/circle-check-BXbQ5nEH.js +1 -0
- package/build/assets/{circle-plus-check-toggle-DoFIjVE0.js → circle-plus-check-toggle-BhpPjkh9.js} +1 -1
- package/build/assets/client-source-DAUgyJsi.js +1 -0
- package/build/assets/cloud-funnel-analytics-B5OeWh4y.js +1 -0
- package/build/assets/{color-themes-CHizm1xF.js → color-themes-QKMSVfDU.js} +1 -1
- package/build/assets/{combobox-caret-CxZpqoSR.js → combobox-caret-kNZtp53R.js} +1 -1
- package/build/assets/{command-menu-oTvKDU3Y.js → command-menu-tUsn23zy.js} +1 -1
- package/build/assets/{command-store-D8J5LMW1.js → command-store-B0hrIWMN.js} +1 -1
- package/build/assets/{condenser-settings-Q1rHh4Qe.js → condenser-settings-BBizzfIH.js} +1 -1
- package/build/assets/{confirmation-modal-DGBWM2Ls.js → confirmation-modal-108xng7X.js} +1 -1
- package/build/assets/{context-menu-list-item-6psNyl7X.js → context-menu-list-item-BbKfFuN1.js} +1 -1
- package/build/assets/conversation-CTzSrLMq.js +1 -0
- package/build/assets/conversation-CgcXNb-Z.js +90 -0
- package/build/assets/conversation-panel-bscjGQda.js +1 -0
- package/build/assets/{conversation-service.api-D8QU-BiL.js → conversation-service.api-DbBvscJA.js} +1 -1
- package/build/assets/conversation-state-store-C5GagZHT.js +1 -0
- package/build/assets/{conversation-store-LptbOvKa.js → conversation-store-CyVqoa0d.js} +1 -1
- package/build/assets/{conversation-tab-empty-state-CNUmIms2.js → conversation-tab-empty-state-2KYlk5Bh.js} +1 -1
- package/build/assets/{copy-to-clipboard-button-CFzH_NOX.js → copy-to-clipboard-button-C54YRPMg.js} +1 -1
- package/build/assets/declaration-_yumYLEx.js +1 -0
- package/build/assets/{device-verify-WBSjJBLH.js → device-verify-D6FW_KZq.js} +1 -1
- package/build/assets/{dropdown-classes-D3wMJlXT.js → dropdown-classes-9uONlOg1.js} +1 -1
- package/build/assets/{ellipsis-button-CbNnHlIq.js → ellipsis-button-CoaUrKmQ.js} +1 -1
- package/build/assets/{entry.client-Dnnak-Hq.js → entry.client-BJSVzw7V.js} +2 -2
- package/build/assets/{enum-filter-dropdown-JLYv1t8L.js → enum-filter-dropdown-qQzyjk_q.js} +1 -1
- package/build/assets/{environment-switch-overlay-B1PFO8P8.js → environment-switch-overlay-XRWCClLu.js} +1 -1
- package/build/assets/extensions-hub-DUp9sWQY.js +1 -0
- package/build/assets/extensions-navigation-DmkftjAx.js +1 -0
- package/build/assets/file-tUAzhmJ3.js +1 -0
- package/build/assets/files-tab-GV5hwiIM.js +1 -0
- package/build/assets/files-tab-store-DehyITNC.js +1 -0
- package/build/assets/{form-control-classes-CbdN5aO3.js → form-control-classes-BPUnoYyg.js} +1 -1
- package/build/assets/git-provider-icon-DDkru3b_.js +1 -0
- package/build/assets/highlighted-source-view-CYkPZUxr.js +1 -0
- package/build/assets/home-C53WekZ2.js +1 -0
- package/build/assets/home-EAwq8ah2.js +1 -0
- package/build/assets/index-home-kBdZGKtu.js +1 -0
- package/build/assets/install-server-modal-DYk4VP3-.js +1 -0
- package/build/assets/{launch-DlXspDku.js → launch-CIecOy_y.js} +1 -1
- package/build/assets/lesson-plan-BSEUwflx.js +4 -0
- package/build/assets/llm-not-configured-banner-C8uv1PHT.js +27 -0
- package/build/assets/llm-settings-0Bb97NCk.js +1 -0
- package/build/assets/llm-settings-D4toJ90k.js +1 -0
- package/build/assets/{llm-subscription-service-C0zN0-rH.js → llm-subscription-service-BPRw3u3H.js} +1 -1
- package/build/assets/{loading-spinner-BcdnT0mN.js → loading-spinner-BCInDEXB.js} +1 -1
- package/build/assets/manage-backends-modal-Bon32JYr.js +1 -0
- package/build/assets/manifest-ec000ae3.js +1 -0
- package/build/assets/markdown-renderer-BlaJOAI2.js +2 -0
- package/build/assets/mcp-CFIpOkn2.js +9 -0
- package/build/assets/messages-eRPeR4pW.js +40 -0
- package/build/assets/{modal-body-Cc2zp0xb.js → modal-body-Bg9UCeoV.js} +1 -1
- package/build/assets/{modal-classes-3qT9Ap7Q.js → modal-classes-H1KbJkeC.js} +1 -1
- package/build/assets/{modal-close-button-BcIBUdSq.js → modal-close-button-BMLYvo0C.js} +1 -1
- package/build/assets/{model-selector-D51W2Q9b.js → model-selector-BqX2RvEr.js} +1 -1
- package/build/assets/{navigation-link-D8hfwvxI.js → navigation-link-DoJzTCEz.js} +1 -1
- package/build/assets/onboarding-3KO4qE6R.js +1 -0
- package/build/assets/onboarding-modal-D4vqkJeT.js +1 -0
- package/build/assets/{organization-service.api-Da2jiuBS.js → organization-service.api-CvfQugOt.js} +1 -1
- package/build/assets/{path-utils-D53ZHUQU.js → path-utils-DRgexxnX.js} +1 -1
- package/build/assets/{plan-components-BdZXPyZU.js → plan-components-qkMiGs_-.js} +1 -1
- package/build/assets/{planner-tab-BM-pKx0z.js → planner-tab-ZrjiirRr.js} +1 -1
- package/build/assets/{plugins-management-service-DISfOL13.js → plugins-management-service-9qT-r_37.js} +1 -1
- package/build/assets/plus-CzE1b-wl.js +1 -0
- package/build/assets/{profiles-service.api-DWetW2TL.js → profiles-service.api-CRVlrQpT.js} +1 -1
- package/build/assets/{providers-C7lMslCi.js → providers-C2DFGBrf.js} +1 -1
- package/build/assets/{proxy-G4ce0fnQ.js → proxy-DnnDqkwn.js} +1 -1
- package/build/assets/puzzle-IHQnD54C.js +1 -0
- package/build/assets/recommended-automations-launcher-B97vgHuN.js +58 -0
- package/build/assets/refresh-cw-DxbAs3SK.js +1 -0
- package/build/assets/root-BbONavTg.css +1 -0
- package/build/assets/root-D01rpqZU.js +2 -0
- package/build/assets/root-layout-BiHbCIkS.js +2 -0
- package/build/assets/{runtime-waiting-state-CnyVhX4T.js → runtime-waiting-state-CbUV9txX.js} +1 -1
- package/build/assets/{schema-field-CwdqUOnE.js → schema-field-B9-9Ta9u.js} +1 -1
- package/build/assets/sdk-section-page-DG1s25Pr.js +1 -0
- package/build/assets/{sdk-settings-schema-CLR01YIK.js → sdk-settings-schema-B42JFr5Y.js} +1 -1
- package/build/assets/{secrets-service-Ch7RH8eH.js → secrets-service-DvyS6-mV.js} +1 -1
- package/build/assets/secrets-settings-CeSq6cQw.js +1 -0
- package/build/assets/{segmented-toggle-kzwZkLaj.js → segmented-toggle-DRVJBNy0.js} +1 -1
- package/build/assets/settings-Dzo0dJKM.js +1 -0
- package/build/assets/{settings-mQUckT0g.js → settings-HcwfqMjJ.js} +1 -1
- package/build/assets/{settings-dropdown-input-Dhx9ErGd.js → settings-dropdown-input-B6RL_mt0.js} +1 -1
- package/build/assets/settings-index-uAKHyijw.js +1 -0
- package/build/assets/{settings-input-BsgQWS5R.js → settings-input-ZoaAPNQh.js} +1 -1
- package/build/assets/{settings-list-classes-DSJJX99U.js → settings-list-classes-Dr8LgITi.js} +1 -1
- package/build/assets/settings-modal-BVX2G_IT.js +1 -0
- package/build/assets/{settings-service.api-DPTFyRXL.js → settings-service.api-BY7ncxIz.js} +1 -1
- package/build/assets/{settings-switch-Bes8dIlV.js → settings-switch-DUlGnP0B.js} +1 -1
- package/build/assets/{settings-utils-DzCVfiR3.js → settings-utils-kWEEvcdv.js} +1 -1
- package/build/assets/shared-conversation-CV4Rtdz2.js +1 -0
- package/build/assets/{sidebar-layout-Bm7pa3Vk.js → sidebar-layout-BhGooCga.js} +1 -1
- package/build/assets/sidebar-mobile-menu-toggle-BntOJphE.js +1 -0
- package/build/assets/{sidebar-nav-link-CHqyFXwV.js → sidebar-nav-link-DkA1XWV8.js} +1 -1
- package/build/assets/{sidebar-store-uiUXBU1N.js → sidebar-store-CF3b12-m.js} +1 -1
- package/build/assets/{skill-card-pill-row-BPYKQ3IN.js → skill-card-pill-row-_gWe1Tws.js} +1 -1
- package/build/assets/skill-icon-badge-C-zbaXbD.js +1 -0
- package/build/assets/skills-plugins-BwoXKtrR.js +1 -0
- package/build/assets/skills-settings-Crq-fZSt.js +2 -0
- package/build/assets/{styled-tooltip-B14i_Uac.js → styled-tooltip-CdnCJ67u.js} +1 -1
- package/build/assets/syntax-highlighter-CZK2ab-O.js +1 -0
- package/build/assets/{task-list-tab-DyfgG4MC.js → task-list-tab-CONOO9iI.js} +1 -1
- package/build/assets/telemetry-CC32dJYW.js +2 -0
- package/build/assets/{terminal-BDTa1HEr.js → terminal-CTkDpIU-.js} +1 -1
- package/build/assets/{toggle-switch-DX_k418f.js → toggle-switch-yVIzmJLM.js} +1 -1
- package/build/assets/{typography-CzfoD9DY.js → typography-BBVEW0un.js} +1 -1
- package/build/assets/{use-acp-credential-form-DHd_Id-q.js → use-acp-credential-form-CIsp8hJe.js} +1 -1
- package/build/assets/use-activate-agent-profile-BfcTTJJG.js +1 -0
- package/build/assets/{use-active-agent-profile-BMDTXsay.js → use-active-agent-profile-CCeFtmk9.js} +1 -1
- package/build/assets/{use-active-conversation-BbeVgedA.js → use-active-conversation-Badxj8w4.js} +1 -1
- package/build/assets/{use-agent-profiles-Dn_S_Tkz.js → use-agent-profiles-BSWVN6hH.js} +1 -1
- package/build/assets/{use-agent-state-5qM3X30V.js → use-agent-state-BzRrhoPd.js} +1 -1
- package/build/assets/use-backends-health-BsZikyFW.js +1 -0
- package/build/assets/{use-can-manage-org-profiles-CyYqfzeo.js → use-can-manage-org-profiles-Do6mYf6P.js} +1 -1
- package/build/assets/{use-cloud-current-user-id-BwMX7jHW.js → use-cloud-current-user-id-Cx3B_0-w.js} +1 -1
- package/build/assets/use-config-D9zUVw5b.js +1 -0
- package/build/assets/{use-create-conversation-CkKUQVbP.js → use-create-conversation-vvl0kvu7.js} +1 -1
- package/build/assets/{use-create-secret-DEgM0MXZ.js → use-create-secret-CB7Dvd4s.js} +1 -1
- package/build/assets/use-event-store-BlpSUF7N.js +4 -0
- package/build/assets/{use-handle-plan-click-BFcE0Xms.js → use-handle-plan-click-DDZkew9p.js} +1 -1
- package/build/assets/use-is-creating-conversation-fxSzN778.js +1 -0
- package/build/assets/{use-launch-skill-in-chat-DJWEfVc5.js → use-launch-skill-in-chat-D6_n1fs3.js} +1 -1
- package/build/assets/use-llm-profiles-CNQm7HYS.js +1 -0
- package/build/assets/use-plugins-marketplace-CloojomS.js +1 -0
- package/build/assets/use-runtime-is-ready-Bx_4cfar.js +1 -0
- package/build/assets/{use-save-agent-profile-i4FcEP98.js → use-save-agent-profile-Bj7N-1jS.js} +1 -1
- package/build/assets/{use-save-settings-DiDEbIJw.js → use-save-settings-BMsb2wk_.js} +1 -1
- package/build/assets/use-settings-B9XEmh7i.js +1 -0
- package/build/assets/use-settings-nav-items-BGfBS0yL.js +16 -0
- package/build/assets/{use-skills-Blpg2BqE.js → use-skills-CSRbvPle.js} +1 -1
- package/build/assets/{use-task-list-CfisapBW.js → use-task-list-CTIVLrQA.js} +1 -1
- package/build/assets/use-tracking-DjdCssvp.js +1 -0
- package/build/assets/{use-user-conversation-BrN2xeQU.js → use-user-conversation-BCpFn-Ei.js} +1 -1
- package/build/assets/{useTranslation-Cbf5AGg_.js → useTranslation-CHm_6BRr.js} +1 -1
- package/build/assets/{utils-DB9LsAzA.js → utils-CrRpzbM2.js} +1 -1
- package/build/assets/vendor-markdown-DzO4uO_0.js +37 -0
- package/build/assets/{vendor~browser-wXQ-WZEC.js → vendor~browser-Byfuq5J-.js} +1 -1
- package/build/assets/{vendor~browser-tab-CsMb-pta.js → vendor~browser-tab-BLk3qxhw.js} +1 -1
- package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~dhilvkxv-eGLBu60s.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~dhilvkxv-DTJ_cjR5.js} +2 -2
- package/build/assets/{vendor~files-tab-B-5fBohe.js → vendor~files-tab-XmnauIZI.js} +1 -1
- package/build/assets/{vendor~launch-_Km3J77E.js → vendor~launch-DeC8QhXQ.js} +1 -1
- package/build/assets/{vendor~root-layout~conversation-panel~conversation~shared-conversation-BrguKXCn.js → vendor~root-layout~conversation-panel~conversation~shared-conversation-DDmLzCzm.js} +1 -1
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation-YrfJYTQw.js +1 -0
- package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~launch~skills-settings~a~j2jlu22h-mC0v44WR.js → vendor~root-layout~index-home~home~conversation-panel~conversation~launch~skills-settings~a~j2jlu22h-DoaS51iW.js} +123 -3
- package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation~aler~gfu7qdtz-BOKQkbc6.js → vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation~aler~gfu7qdtz-DEYwoy8u.js} +1 -1
- package/build/assets/vendor~root-layout~index-home~home~mcp~automations-list~onboarding-modal-DZHLw5Sr.js +1 -0
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~ftka0fnu-cFNmfAE6.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~ftka0fnu-UJ4BNDJP.js} +1 -1
- package/build/assets/{verification-settings-C8KzAdAX.js → verification-settings-uwOfc16F.js} +1 -1
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +38 -4
- package/build/locales/ca/openhands.json +38 -4
- package/build/locales/de/openhands.json +38 -4
- package/build/locales/en/openhands.json +38 -4
- package/build/locales/es/openhands.json +38 -4
- package/build/locales/fr/openhands.json +38 -4
- package/build/locales/it/openhands.json +38 -4
- package/build/locales/ja/openhands.json +38 -4
- package/build/locales/ko-KR/openhands.json +38 -4
- package/build/locales/no/openhands.json +38 -4
- package/build/locales/pt/openhands.json +38 -4
- package/build/locales/tr/openhands.json +38 -4
- package/build/locales/uk/openhands.json +38 -4
- package/build/locales/zh-CN/openhands.json +38 -4
- package/build/locales/zh-TW/openhands.json +38 -4
- package/config/defaults.json +7 -3
- package/dist/api/agent-canvas-updates.cjs +2 -0
- package/dist/api/agent-canvas-updates.cjs.map +1 -0
- package/dist/api/agent-canvas-updates.d.ts +7 -0
- package/dist/api/agent-canvas-updates.js +19 -0
- package/dist/api/agent-canvas-updates.js.map +1 -0
- package/dist/api/agent-server-adapter.cjs +1 -1
- package/dist/api/agent-server-adapter.cjs.map +1 -1
- package/dist/api/agent-server-adapter.d.ts +3 -0
- package/dist/api/agent-server-adapter.js +1 -0
- package/dist/api/agent-server-adapter.js.map +1 -1
- package/dist/api/agent-server-compatibility.cjs +1 -1
- package/dist/api/agent-server-compatibility.cjs.map +1 -1
- package/dist/api/agent-server-compatibility.d.ts +5 -0
- package/dist/api/agent-server-compatibility.js +24 -15
- package/dist/api/agent-server-compatibility.js.map +1 -1
- package/dist/api/agent-server-config.cjs +1 -1
- package/dist/api/agent-server-config.cjs.map +1 -1
- package/dist/api/agent-server-config.js +11 -8
- package/dist/api/agent-server-config.js.map +1 -1
- package/dist/api/automation-service/automation-service.api.cjs +2 -0
- package/dist/api/automation-service/automation-service.api.cjs.map +1 -0
- package/dist/api/automation-service/automation-service.api.d.ts +3 -0
- package/dist/api/automation-service/automation-service.api.js +283 -0
- package/dist/api/automation-service/automation-service.api.js.map +1 -0
- package/dist/api/client-source.cjs +1 -1
- package/dist/api/client-source.cjs.map +1 -1
- package/dist/api/client-source.d.ts +3 -0
- package/dist/api/client-source.js +4 -4
- package/dist/api/client-source.js.map +1 -1
- package/dist/api/cloud/settings-service.api.cjs.map +1 -1
- package/dist/api/cloud/settings-service.api.js.map +1 -1
- 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 +111 -109
- package/dist/api/conversation-service/agent-server-conversation-service.api.js.map +1 -1
- package/dist/api/mcp-health/mcp-health-store.cjs +2 -0
- package/dist/api/mcp-health/mcp-health-store.cjs.map +1 -0
- package/dist/api/mcp-health/mcp-health-store.d.ts +22 -0
- package/dist/api/mcp-health/mcp-health-store.js +45 -0
- package/dist/api/mcp-health/mcp-health-store.js.map +1 -0
- package/dist/api/mcp-health/probe-mcp-server-health.cjs +2 -0
- package/dist/api/mcp-health/probe-mcp-server-health.cjs.map +1 -0
- package/dist/api/mcp-health/probe-mcp-server-health.d.ts +31 -0
- package/dist/api/mcp-health/probe-mcp-server-health.js +57 -0
- package/dist/api/mcp-health/probe-mcp-server-health.js.map +1 -0
- package/dist/api/mcp-service/mcp-service.api.cjs +1 -1
- package/dist/api/mcp-service/mcp-service.api.cjs.map +1 -1
- package/dist/api/mcp-service/mcp-service.api.js +66 -46
- package/dist/api/mcp-service/mcp-service.api.js.map +1 -1
- package/dist/api/plugins-management-service.cjs.map +1 -1
- package/dist/api/plugins-management-service.d.ts +6 -1
- package/dist/api/plugins-management-service.js.map +1 -1
- package/dist/api/plugins-service.d.ts +30 -2
- package/dist/api/secrets-service.cjs +1 -1
- package/dist/api/secrets-service.cjs.map +1 -1
- package/dist/api/secrets-service.d.ts +6 -6
- package/dist/api/secrets-service.js +8 -3
- package/dist/api/secrets-service.js.map +1 -1
- package/dist/api/settings-service/settings-service.api.cjs +1 -1
- package/dist/api/settings-service/settings-service.api.cjs.map +1 -1
- package/dist/api/settings-service/settings-service.api.d.ts +1 -1
- package/dist/api/settings-service/settings-service.api.js +1 -0
- package/dist/api/settings-service/settings-service.api.js.map +1 -1
- package/dist/components/conversation-events/chat/event-message-components/critic-result-display.cjs +1 -1
- package/dist/components/conversation-events/chat/event-message-components/critic-result-display.js +5 -5
- package/dist/components/features/backends/backend-form-modal.cjs +1 -1
- package/dist/components/features/backends/backend-form-modal.cjs.map +1 -1
- package/dist/components/features/backends/backend-form-modal.d.ts +4 -1
- package/dist/components/features/backends/backend-form-modal.js +15 -16
- package/dist/components/features/backends/backend-form-modal.js.map +1 -1
- package/dist/components/features/backends/backend-selector.cjs +1 -1
- package/dist/components/features/backends/backend-selector.cjs.map +1 -1
- package/dist/components/features/backends/backend-selector.js +103 -102
- package/dist/components/features/backends/backend-selector.js.map +1 -1
- package/dist/components/features/backends/manage-backends-modal.cjs +1 -1
- package/dist/components/features/backends/manage-backends-modal.cjs.map +1 -1
- package/dist/components/features/backends/manage-backends-modal.js +85 -73
- package/dist/components/features/backends/manage-backends-modal.js.map +1 -1
- package/dist/components/features/chat/chat-interface.cjs +2 -2
- package/dist/components/features/chat/chat-interface.cjs.map +1 -1
- package/dist/components/features/chat/chat-interface.js +131 -129
- package/dist/components/features/chat/chat-interface.js.map +1 -1
- package/dist/components/features/chat/confirmation-mode-enabled.cjs +1 -1
- package/dist/components/features/chat/confirmation-mode-enabled.js +4 -4
- package/dist/components/features/chat/skill-install-restart-banner.cjs +2 -0
- package/dist/components/features/chat/skill-install-restart-banner.cjs.map +1 -0
- package/dist/components/features/chat/skill-install-restart-banner.d.ts +11 -0
- package/dist/components/features/chat/skill-install-restart-banner.js +63 -0
- package/dist/components/features/chat/skill-install-restart-banner.js.map +1 -0
- package/dist/components/features/conversation/right-panel-toggle.cjs +1 -1
- package/dist/components/features/conversation/right-panel-toggle.cjs.map +1 -1
- package/dist/components/features/conversation/right-panel-toggle.js +1 -1
- package/dist/components/features/conversation/right-panel-toggle.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.js +10 -10
- package/dist/components/features/mcp-page/custom-server-editor.cjs +1 -1
- package/dist/components/features/mcp-page/custom-server-editor.cjs.map +1 -1
- package/dist/components/features/mcp-page/custom-server-editor.js +78 -77
- package/dist/components/features/mcp-page/custom-server-editor.js.map +1 -1
- package/dist/components/features/mcp-page/install-server-modal.cjs +1 -1
- package/dist/components/features/mcp-page/install-server-modal.cjs.map +1 -1
- package/dist/components/features/mcp-page/install-server-modal.d.ts +4 -1
- package/dist/components/features/mcp-page/install-server-modal.js +135 -136
- package/dist/components/features/mcp-page/install-server-modal.js.map +1 -1
- package/dist/components/features/mcp-page/installed-server-card.cjs +1 -1
- package/dist/components/features/mcp-page/installed-server-card.cjs.map +1 -1
- package/dist/components/features/mcp-page/installed-server-card.js +40 -34
- package/dist/components/features/mcp-page/installed-server-card.js.map +1 -1
- package/dist/components/features/mcp-page/mcp-server-health.cjs +2 -0
- package/dist/components/features/mcp-page/mcp-server-health.cjs.map +1 -0
- package/dist/components/features/mcp-page/mcp-server-health.d.ts +18 -0
- package/dist/components/features/mcp-page/mcp-server-health.js +117 -0
- package/dist/components/features/mcp-page/mcp-server-health.js.map +1 -0
- package/dist/components/features/plugins/build-plugins-view-model.d.ts +10 -1
- package/dist/components/features/plugins/plugin-files-section.d.ts +13 -0
- package/dist/components/features/settings/agent-canvas-update-card.cjs +2 -0
- package/dist/components/features/settings/agent-canvas-update-card.cjs.map +1 -0
- package/dist/components/features/settings/agent-canvas-update-card.d.ts +7 -0
- package/dist/components/features/settings/agent-canvas-update-card.js +170 -0
- package/dist/components/features/settings/agent-canvas-update-card.js.map +1 -0
- package/dist/components/features/settings/integrations-settings-link.cjs +2 -0
- package/dist/components/features/settings/integrations-settings-link.cjs.map +1 -0
- package/dist/components/features/settings/integrations-settings-link.d.ts +5 -0
- package/dist/components/features/settings/integrations-settings-link.js +41 -0
- package/dist/components/features/settings/integrations-settings-link.js.map +1 -0
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.cjs +1 -1
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.js +1 -1
- 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 +31 -21
- 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 +40 -30
- package/dist/components/features/settings/settings-mobile-drawer.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 +54 -33
- 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 +7 -3
- package/dist/config/defaults.js.map +1 -1
- package/dist/constants/acp-providers.cjs.map +1 -1
- package/dist/constants/acp-providers.js.map +1 -1
- package/dist/contexts/conversation-websocket-context.cjs +2 -2
- package/dist/contexts/conversation-websocket-context.cjs.map +1 -1
- package/dist/contexts/conversation-websocket-context.js +169 -166
- package/dist/contexts/conversation-websocket-context.js.map +1 -1
- package/dist/hooks/mutation/use-delete-llm-profile.cjs +1 -1
- package/dist/hooks/mutation/use-delete-llm-profile.js +1 -0
- package/dist/hooks/mutation/use-delete-mcp-server.cjs +1 -1
- package/dist/hooks/mutation/use-delete-mcp-server.cjs.map +1 -1
- package/dist/hooks/mutation/use-delete-mcp-server.js +8 -6
- package/dist/hooks/mutation/use-delete-mcp-server.js.map +1 -1
- package/dist/hooks/mutation/use-rename-llm-profile.cjs +1 -1
- package/dist/hooks/mutation/use-rename-llm-profile.js +1 -0
- package/dist/hooks/mutation/use-save-settings.cjs +1 -1
- package/dist/hooks/mutation/use-save-settings.js +3 -3
- package/dist/hooks/mutation/use-update-mcp-server.cjs +1 -1
- package/dist/hooks/mutation/use-update-mcp-server.cjs.map +1 -1
- package/dist/hooks/mutation/use-update-mcp-server.js +11 -9
- package/dist/hooks/mutation/use-update-mcp-server.js.map +1 -1
- package/dist/hooks/query/query-keys.cjs +1 -1
- package/dist/hooks/query/query-keys.cjs.map +1 -1
- package/dist/hooks/query/query-keys.d.ts +4 -0
- package/dist/hooks/query/query-keys.js +2 -2
- package/dist/hooks/query/query-keys.js.map +1 -1
- package/dist/hooks/query/use-automation-sdk-version.cjs +2 -0
- package/dist/hooks/query/use-automation-sdk-version.cjs.map +1 -0
- package/dist/hooks/query/use-automation-sdk-version.d.ts +3 -0
- package/dist/hooks/query/use-automation-sdk-version.js +63 -0
- package/dist/hooks/query/use-automation-sdk-version.js.map +1 -0
- package/dist/hooks/query/use-latest-agent-canvas-version.cjs +2 -0
- package/dist/hooks/query/use-latest-agent-canvas-version.cjs.map +1 -0
- package/dist/hooks/query/use-latest-agent-canvas-version.d.ts +10 -0
- package/dist/hooks/query/use-latest-agent-canvas-version.js +19 -0
- package/dist/hooks/query/use-latest-agent-canvas-version.js.map +1 -0
- package/dist/hooks/query/use-plugin-file-content.d.ts +7 -0
- package/dist/hooks/query/use-resolved-workspaces.cjs +1 -1
- package/dist/hooks/query/use-resolved-workspaces.cjs.map +1 -1
- package/dist/hooks/query/use-resolved-workspaces.js +25 -26
- package/dist/hooks/query/use-resolved-workspaces.js.map +1 -1
- package/dist/hooks/query/use-search-subdirs.cjs +1 -1
- package/dist/hooks/query/use-search-subdirs.cjs.map +1 -1
- package/dist/hooks/query/use-search-subdirs.d.ts +5 -0
- package/dist/hooks/query/use-search-subdirs.js +16 -4
- package/dist/hooks/query/use-search-subdirs.js.map +1 -1
- package/dist/hooks/use-device-flow.cjs +1 -1
- package/dist/hooks/use-device-flow.js +6 -6
- package/dist/hooks/use-llm-configured.cjs +1 -1
- package/dist/hooks/use-llm-configured.js +3 -3
- package/dist/hooks/use-mcp-server-health.cjs +2 -0
- package/dist/hooks/use-mcp-server-health.cjs.map +1 -0
- package/dist/hooks/use-mcp-server-health.d.ts +11 -0
- package/dist/hooks/use-mcp-server-health.js +18 -0
- package/dist/hooks/use-mcp-server-health.js.map +1 -0
- package/dist/hooks/use-skill-installs.cjs +2 -0
- package/dist/hooks/use-skill-installs.cjs.map +1 -0
- package/dist/hooks/use-skill-installs.d.ts +10 -0
- package/dist/hooks/use-skill-installs.js +21 -0
- package/dist/hooks/use-skill-installs.js.map +1 -0
- package/dist/hooks/use-tracking.cjs +1 -1
- package/dist/hooks/use-tracking.cjs.map +1 -1
- package/dist/hooks/use-tracking.d.ts +3 -3
- package/dist/hooks/use-tracking.js +67 -52
- package/dist/hooks/use-tracking.js.map +1 -1
- package/dist/i18n/declaration.cjs +1 -1
- package/dist/i18n/declaration.cjs.map +1 -1
- package/dist/i18n/declaration.d.ts +35 -1
- package/dist/i18n/declaration.js +1 -1
- package/dist/i18n/declaration.js.map +1 -1
- package/dist/i18n/translation.cjs +3 -3
- package/dist/i18n/translation.cjs.map +1 -1
- package/dist/i18n/translation.js +623 -45
- package/dist/i18n/translation.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -2
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.d.ts +0 -1
- package/dist/lib/index.js +0 -1
- package/dist/locales/ar/openhands.json +38 -4
- package/dist/locales/ca/openhands.json +38 -4
- package/dist/locales/de/openhands.json +38 -4
- package/dist/locales/en/openhands.json +38 -4
- package/dist/locales/es/openhands.json +38 -4
- package/dist/locales/fr/openhands.json +38 -4
- package/dist/locales/it/openhands.json +38 -4
- package/dist/locales/ja/openhands.json +38 -4
- package/dist/locales/ko-KR/openhands.json +38 -4
- package/dist/locales/no/openhands.json +38 -4
- package/dist/locales/pt/openhands.json +38 -4
- package/dist/locales/tr/openhands.json +38 -4
- package/dist/locales/uk/openhands.json +38 -4
- package/dist/locales/zh-CN/openhands.json +38 -4
- package/dist/locales/zh-TW/openhands.json +38 -4
- package/dist/node_modules/@openhands/extensions/integrations/catalog/atlassian-rovo.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/atlassian-rovo.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/atlassian-rovo.js +44 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/atlassian-rovo.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/atlassian.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/atlassian.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/atlassian.js +13 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/atlassian.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/github.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/github.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/github.js +21 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/github.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/linear.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/linear.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/linear.js +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/linear.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/microsoft-outlook.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/microsoft-outlook.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/microsoft-outlook.js +13 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/microsoft-outlook.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/microsoft-teams.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/microsoft-teams.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/microsoft-teams.js +13 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/microsoft-teams.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.js +13 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/onedrive.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/onedrive.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/onedrive.js +13 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/onedrive.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/sharepoint.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/sharepoint.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/sharepoint.js +13 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/sharepoint.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/slack.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/slack.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/slack.js +16 -2
- package/dist/node_modules/@openhands/extensions/integrations/catalog/slack.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/vanta.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/vanta.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/vanta.js +46 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/vanta.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.js +74 -70
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.cjs +123 -3
- package/dist/node_modules/@openhands/extensions/skills/index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.js +7 -1
- package/dist/node_modules/@openhands/extensions/skills/index.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +21 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +10 -3
- package/dist/package.js.map +1 -1
- package/dist/routes/app-settings.cjs +1 -1
- package/dist/routes/app-settings.cjs.map +1 -1
- package/dist/routes/app-settings.js +113 -67
- package/dist/routes/app-settings.js.map +1 -1
- package/dist/routes/mcp.cjs +1 -1
- package/dist/routes/mcp.cjs.map +1 -1
- package/dist/routes/mcp.js +1 -0
- package/dist/routes/mcp.js.map +1 -1
- package/dist/services/cloud-funnel-analytics.cjs +1 -1
- package/dist/services/cloud-funnel-analytics.cjs.map +1 -1
- package/dist/services/cloud-funnel-analytics.d.ts +2 -2
- package/dist/services/cloud-funnel-analytics.js +18 -16
- package/dist/services/cloud-funnel-analytics.js.map +1 -1
- package/dist/services/settings.cjs +1 -1
- package/dist/services/settings.cjs.map +1 -1
- package/dist/services/settings.js +1 -0
- package/dist/services/settings.js.map +1 -1
- package/dist/services/telemetry-context.cjs +2 -0
- package/dist/services/telemetry-context.cjs.map +1 -0
- package/dist/services/telemetry-context.d.ts +17 -0
- package/dist/services/telemetry-context.js +27 -0
- package/dist/services/telemetry-context.js.map +1 -0
- package/dist/services/telemetry.cjs +1 -1
- package/dist/services/telemetry.cjs.map +1 -1
- package/dist/services/telemetry.d.ts +7 -5
- package/dist/services/telemetry.js +132 -123
- package/dist/services/telemetry.js.map +1 -1
- package/dist/stores/skill-install-banner-store.cjs +2 -0
- package/dist/stores/skill-install-banner-store.cjs.map +1 -0
- package/dist/stores/skill-install-banner-store.d.ts +32 -0
- package/dist/stores/skill-install-banner-store.js +14 -0
- package/dist/stores/skill-install-banner-store.js.map +1 -0
- package/dist/stores/use-event-store.cjs +1 -1
- package/dist/stores/use-event-store.cjs.map +1 -1
- package/dist/stores/use-event-store.js +35 -35
- package/dist/stores/use-event-store.js.map +1 -1
- package/dist/types/mcp-health.cjs +2 -0
- package/dist/types/mcp-health.cjs.map +1 -0
- package/dist/types/mcp-health.d.ts +21 -0
- package/dist/types/mcp-health.js +6 -0
- package/dist/types/mcp-health.js.map +1 -0
- package/dist/types/settings.d.ts +1 -0
- package/dist/utils/handle-event-for-ui.cjs +1 -1
- package/dist/utils/handle-event-for-ui.cjs.map +1 -1
- package/dist/utils/handle-event-for-ui.d.ts +5 -0
- package/dist/utils/handle-event-for-ui.js +71 -57
- package/dist/utils/handle-event-for-ui.js.map +1 -1
- package/dist/utils/mcp-credential-validation.cjs +1 -1
- package/dist/utils/mcp-credential-validation.cjs.map +1 -1
- package/dist/utils/mcp-credential-validation.js +32 -16
- package/dist/utils/mcp-credential-validation.js.map +1 -1
- package/dist/utils/mcp-server-health-key.cjs +2 -0
- package/dist/utils/mcp-server-health-key.cjs.map +1 -0
- package/dist/utils/mcp-server-health-key.d.ts +16 -0
- package/dist/utils/mcp-server-health-key.js +23 -0
- package/dist/utils/mcp-server-health-key.js.map +1 -0
- package/dist/utils/mcp-test-error-message.cjs +2 -0
- package/dist/utils/mcp-test-error-message.cjs.map +1 -0
- package/dist/utils/mcp-test-error-message.d.ts +8 -0
- package/dist/utils/mcp-test-error-message.js +14 -0
- package/dist/utils/mcp-test-error-message.js.map +1 -0
- package/dist/utils/redact-mcp-secrets.cjs +2 -0
- package/dist/utils/redact-mcp-secrets.cjs.map +1 -0
- package/dist/utils/redact-mcp-secrets.d.ts +13 -0
- package/dist/utils/redact-mcp-secrets.js +57 -0
- package/dist/utils/redact-mcp-secrets.js.map +1 -0
- package/dist/utils/settings-utils.cjs.map +1 -1
- package/dist/utils/settings-utils.js.map +1 -1
- package/dist/utils/skill-install-events.cjs +3 -0
- package/dist/utils/skill-install-events.cjs.map +1 -0
- package/dist/utils/skill-install-events.d.ts +16 -0
- package/dist/utils/skill-install-events.js +26 -0
- package/dist/utils/skill-install-events.js.map +1 -0
- package/dist/utils/title-llm-profile.cjs +2 -0
- package/dist/utils/title-llm-profile.cjs.map +1 -0
- package/dist/utils/title-llm-profile.d.ts +2 -0
- package/dist/utils/title-llm-profile.js +11 -0
- package/dist/utils/title-llm-profile.js.map +1 -0
- package/package.json +10 -3
- package/scripts/check-sdk-version-sync.mjs +6 -6
- package/scripts/check-translation-completeness.cjs +2 -0
- package/scripts/dev-process-utils.mjs +62 -1
- package/scripts/dev-safe.mjs +2 -2
- package/scripts/dev-static.mjs +5 -3
- package/scripts/dev-with-automation.mjs +98 -14
- package/scripts/download-node.mjs +382 -0
- package/scripts/download-uv.mjs +204 -0
- package/scripts/logger.mjs +64 -35
- package/build/assets/agent-server-compatibility-C0MtTTwb.js +0 -1
- package/build/assets/agent-server-conversation-service.api-lzc8dabY.js +0 -41
- package/build/assets/agent-settings-GwiXe_6k.js +0 -2
- package/build/assets/agent-settings-OdsyI2gX.js +0 -1
- package/build/assets/api-key-entry-screen-2gsoZAOK.js +0 -1
- package/build/assets/app-settings-CD9euh81.js +0 -1
- package/build/assets/automation-export-Djc8Tf0M.js +0 -2
- package/build/assets/automations-list-Dtiolk1h.js +0 -1
- package/build/assets/backend-form-modal-B8GtBA-J.js +0 -1
- package/build/assets/browser-store-BI6uklCG.js +0 -1
- package/build/assets/chat-send-button-BZHG2hAW.js +0 -1
- package/build/assets/client-source-CtQjJEy6.js +0 -1
- package/build/assets/cloud-funnel-analytics-uzzLlLuj.js +0 -1
- package/build/assets/conversation-B8d8_Upd.js +0 -1
- package/build/assets/conversation-Lmqm6VJC.js +0 -89
- package/build/assets/conversation-panel-B8n40Swu.js +0 -1
- package/build/assets/conversation-state-store-B2Bp32XI.js +0 -1
- package/build/assets/declaration-BGsHjPEW.js +0 -1
- package/build/assets/extensions-hub-DqvwvpCi.js +0 -1
- package/build/assets/extensions-navigation-BMc9Nluv.js +0 -1
- package/build/assets/files-tab-BAkaV4aO.js +0 -1
- package/build/assets/files-tab-store-DJsPxYdg.js +0 -1
- package/build/assets/git-provider-icon-xvbukHaT.js +0 -1
- package/build/assets/home-D01kSnmo.js +0 -1
- package/build/assets/home-NZO2bF4N.js +0 -1
- package/build/assets/index-home-BsI6i0TC.js +0 -1
- package/build/assets/install-server-modal-BYjqoRyX.js +0 -1
- package/build/assets/lesson-plan-cNUjpdFx.js +0 -4
- package/build/assets/llm-not-configured-banner-DUPyoFIZ.js +0 -27
- package/build/assets/llm-settings-Cs_iieFY.js +0 -1
- package/build/assets/llm-settings-J2ke2foG.js +0 -1
- package/build/assets/manage-backends-modal-nMoCZ2a0.js +0 -1
- package/build/assets/manifest-f1b46f62.js +0 -1
- package/build/assets/markdown-renderer-B4V2OMFP.js +0 -2
- package/build/assets/mcp-kZM-cAZw.js +0 -9
- package/build/assets/messages-CJAv5n4j.js +0 -40
- package/build/assets/objectWithoutPropertiesLoose-BgYIAs2y.js +0 -1
- package/build/assets/onboarding-Dx8n8HFr.js +0 -1
- package/build/assets/onboarding-modal-Bxuxpfdz.js +0 -1
- package/build/assets/recommended-automations-launcher-BWRRvMPE.js +0 -58
- package/build/assets/refresh-cw-B9B7-vsy.js +0 -1
- package/build/assets/root-CYWeTrWE.css +0 -1
- package/build/assets/root-layout-ClEl-JlJ.js +0 -2
- package/build/assets/root-oT83qVlk.js +0 -2
- package/build/assets/sdk-section-page-Cwj0T4gF.js +0 -1
- package/build/assets/secrets-settings-Bc_pBX6F.js +0 -1
- package/build/assets/settings-index-BzSIM1-N.js +0 -1
- package/build/assets/settings-modal-BnZ7mMu7.js +0 -1
- package/build/assets/settings-n9a395O0.js +0 -1
- package/build/assets/shared-conversation-CIDDti9I.js +0 -1
- package/build/assets/sidebar-mobile-menu-toggle-CTX7J4wM.js +0 -1
- package/build/assets/skills-plugins-HZEbNDmX.js +0 -1
- package/build/assets/skills-settings-BdqijFlC.js +0 -2
- package/build/assets/telemetry-SHxpVxk8.js +0 -2
- package/build/assets/use-activate-agent-profile-BRDdSwQ0.js +0 -1
- package/build/assets/use-backends-health-BagmAE_W.js +0 -1
- package/build/assets/use-config-B39iHYFi.js +0 -1
- package/build/assets/use-event-store-Bbaz51GR.js +0 -4
- package/build/assets/use-llm-profiles-CgRtnj74.js +0 -1
- package/build/assets/use-plugins-marketplace-DOJp9rlE.js +0 -1
- package/build/assets/use-runtime-is-ready-ziHQvXZQ.js +0 -1
- package/build/assets/use-settings-BeJap6YL.js +0 -1
- package/build/assets/use-settings-nav-items-D5JJjFHJ.js +0 -16
- package/build/assets/use-tracking-DFoPQUSU.js +0 -1
- package/build/assets/useMutationState-OnAsCLA_.js +0 -1
- package/build/assets/vendor~index-home~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-BD7v71DM.js +0 -2
- package/build/assets/vendor~index-home~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-BT05Osu4.js +0 -28
- package/build/assets/vendor~index-home~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-COhHANvV.js +0 -2
- package/build/assets/vendor~index-home~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-DgzWSMRc.js +0 -2
- package/build/assets/vendor~index-home~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-DqZatR3B.js +0 -7
- package/build/assets/vendor~index-home~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-FghQ3Z1a.js +0 -1
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation-BTvhGHHG.js +0 -1
- package/build/assets/vendor~root-layout~index-home~home~mcp~automations-list~onboarding-modal-C4-GDgiF.js +0 -1
- package/dist/components/features/analytics/telemetry-consent-banner.cjs +0 -2
- package/dist/components/features/analytics/telemetry-consent-banner.cjs.map +0 -1
- package/dist/components/features/analytics/telemetry-consent-banner.d.ts +0 -29
- package/dist/components/features/analytics/telemetry-consent-banner.js +0 -59
- package/dist/components/features/analytics/telemetry-consent-banner.js.map +0 -1
- /package/build/assets/{__vite-browser-external-BQUj0sYu.js → __vite-browser-external-CKHVBTNC.js} +0 -0
- /package/build/assets/{agent-server-ui-style-scope-qhnhZHBV.js → agent-server-ui-style-scope-BvSa9on7.js} +0 -0
- /package/build/assets/{automation-LZB0MjdV.js → automation-BGiPmxFR.js} +0 -0
- /package/build/assets/{canvas-ui-COgjltGz.js → canvas-ui-CC4EJo-H.js} +0 -0
- /package/build/assets/{checkmark-h7udgXMM.js → checkmark-ygQB1AtV.js} +0 -0
- /package/build/assets/{close-DLFb5kfv.js → close-BjSA0HWT.js} +0 -0
- /package/build/assets/{code-tag-DYlAhEQY.js → code-tag-D9aPPbOe.js} +0 -0
- /package/build/assets/{common-CxbUL3nR.js → common-CCuqQy_S.js} +0 -0
- /package/build/assets/{conversation-local-storage-F6zVMM--.js → conversation-local-storage-BDjWPg0Z.js} +0 -0
- /package/build/assets/{copy-BLmGeJcd.js → copy-Dce7sOvS.js} +0 -0
- /package/build/assets/{copy-D1YGjP-C.js → copy-iPJAncAj.js} +0 -0
- /package/build/assets/{dist-CodhvuAP.js → dist-D9PhjOaq.js} +0 -0
- /package/build/assets/{environment-switch-store-DkjlKWzN.js → environment-switch-store-DHfcz4M4.js} +0 -0
- /package/build/assets/{extension-module-card-classes-9V3J9J_b.js → extension-module-card-classes-BpebKiN6.js} +0 -0
- /package/build/assets/{external-link-lhdITPqq.js → external-link-CpPMXxrV.js} +0 -0
- /package/build/assets/{folder-Bk311brm.js → folder-BabbYnbF.js} +0 -0
- /package/build/assets/{format-time-delta-DhDbkD7V.js → format-time-delta-BkAmJEPT.js} +0 -0
- /package/build/assets/{get-language-from-path-DBqBsCWH.js → get-language-from-path-CPNnuVhI.js} +0 -0
- /package/build/assets/{git-status-mapper-DnL9OC8_.js → git-status-mapper-BIXK0AAG.js} +0 -0
- /package/build/assets/{iconBase-Dz51Zn5x.js → iconBase-Ch-fOe8B.js} +0 -0
- /package/build/assets/{link-external-CaBmUEs_.js → link-external-DfKQroKX.js} +0 -0
- /package/build/assets/{list-todo-CAtvkzcy.js → list-todo-6J6zc8oS.js} +0 -0
- /package/build/assets/{llm-subscription-DtsX5Lhg.js → llm-subscription-Bvu8BLXc.js} +0 -0
- /package/build/assets/{loader-circle-CsAsfLIs.js → loader-circle-DGsqG5qw.js} +0 -0
- /package/build/assets/{map-provider-BbIb12oh.js → map-provider-BSvXvVR0.js} +0 -0
- /package/build/assets/{middleware-DYHYNAnP.js → middleware-_izt7V6U.js} +0 -0
- /package/build/assets/{modal-backdrop-zVwfOJZr.js → modal-backdrop-B7H42xHG.js} +0 -0
- /package/build/assets/{navigation-context-DPs2G0X8.js → navigation-context-cvyvI1WA.js} +0 -0
- /package/build/assets/{openhands-logo-bcNw5bkY.js → openhands-logo-pEw0nKFP.js} +0 -0
- /package/build/assets/{pencil-CWhApFIT.js → pencil-DmSqWUA3.js} +0 -0
- /package/build/assets/{react-DPDgL6du.js → react-MKQOkha9.js} +0 -0
- /package/build/assets/{search-BgOCR7_c.js → search-B5D5EuSn.js} +0 -0
- /package/build/assets/{search-dIQ09UY2.js → search-vnYL5jwV.js} +0 -0
- /package/build/assets/{settings-gear-MXCyZW0x.js → settings-gear-BOwF59Bs.js} +0 -0
- /package/build/assets/{settings-section-header-context-COMOIaxV.js → settings-section-header-context-CGgHZXrf.js} +0 -0
- /package/build/assets/{skills-EqzxYBvT.js → skills-arUOHLcS.js} +0 -0
- /package/build/assets/{square-chevron-right-DE-JN-2Z.js → square-chevron-right-EizCGtgq.js} +0 -0
- /package/build/assets/{switch-skeleton-DqQwalyu.js → switch-skeleton-BjPRx1QD.js} +0 -0
- /package/build/assets/{terminal-Cgf___rK.js → terminal-a57bHgZs.js} +0 -0
- /package/build/assets/{trash-2-BU6BlW4i.js → trash-2-CF3hilrY.js} +0 -0
- /package/build/assets/{u-check-circle-BqoIxNz_.js → u-check-circle-WGqHdtfO.js} +0 -0
- /package/build/assets/{u-check-circle-half-MsShT8Ec.js → u-check-circle-half-LiwZkuFe.js} +0 -0
- /package/build/assets/{u-edit-DL5LgKon.js → u-edit-BwHepAPi.js} +0 -0
- /package/build/assets/{use-breakpoint-BP3lqLMx.js → use-breakpoint-B-O0lQ84.js} +0 -0
- /package/build/assets/{use-click-outside-element-D9BYdANT.js → use-click-outside-element-DLQIMQrz.js} +0 -0
- /package/build/assets/{use-is-authed-BezEyfeh.js → use-is-authed-BSeo4coy.js} +0 -0
- /package/build/assets/{use-onboarding-completion-C_Swglzp.js → use-onboarding-completion-C0hPNGpw.js} +0 -0
- /package/build/assets/{v4-DbCkTSoU.js → v4-q4yWTlMz.js} +0 -0
- /package/build/assets/{vendor~browser-By2MVv_N.js → vendor~browser-UwB1jbAZ.js} +0 -0
- /package/build/assets/{vendor~conversation-panel~conversation~alert-banner-CxfzCmkN.js → vendor~conversation-panel~conversation~alert-banner-DHDkknt5.js} +0 -0
- /package/build/assets/{vendor~index-home~home~conversation-panel~conversation-ChmYLVgz.js → vendor~index-home~home~conversation-panel~conversation-Bff9cq5J.js} +0 -0
- /package/build/assets/{vendor~module-D5a_AClf.js → vendor~module-D4DeFV4J.js} +0 -0
- /package/build/assets/{vendor~terminal-CnKZILnC.js → vendor~terminal-B7Eiak0-.js} +0 -0
- /package/build/assets/{x-ZE4iplpF.js → x-DQB_00VJ.js} +0 -0
- /package/build/assets/{x-mark-Batp6gXa.js → x-mark-B32XuEwS.js} +0 -0
|
@@ -2,40 +2,40 @@ import { useBrowserStore as e } from "../stores/browser-store.js";
|
|
|
2
2
|
import { useCommandStore as t } from "../stores/command-store.js";
|
|
3
3
|
import { setConversationState as n } from "../utils/conversation-local-storage.js";
|
|
4
4
|
import { useConversationStore as r } from "../stores/conversation-store.js";
|
|
5
|
-
import { useConversationStateStore as
|
|
6
|
-
import { ConversationClient as
|
|
5
|
+
import { useConversationStateStore as i } from "../stores/conversation-state-store.js";
|
|
6
|
+
import { ConversationClient as ee } from "../node_modules/@openhands/typescript-client/dist/client/conversation-client.js";
|
|
7
7
|
import "../node_modules/@openhands/typescript-client/dist/clients.js";
|
|
8
|
-
import { buildWebSocketUrl as
|
|
9
|
-
import { getAgentServerClientOptions as
|
|
10
|
-
import { useQueryClient as
|
|
11
|
-
import { isActionEvent as
|
|
12
|
-
import { useEventStore as
|
|
13
|
-
import { useWebSocket as
|
|
14
|
-
import { SERVER_CONNECTION_ERROR_MESSAGE as
|
|
15
|
-
import { useErrorMessageStore as
|
|
16
|
-
import { useOptimisticUserMessageStore as
|
|
17
|
-
import { useGoalStore as
|
|
18
|
-
import { handleCanvasUIAction as
|
|
19
|
-
import { handleActionEventCacheInvalidation as
|
|
20
|
-
import
|
|
21
|
-
import { trackError as
|
|
22
|
-
import { getStoredConversationMetadata as
|
|
23
|
-
import { useReadConversationFile as
|
|
24
|
-
import
|
|
25
|
-
import { useConversationHistory as
|
|
26
|
-
import { recordModelSwitchMessage as
|
|
27
|
-
import { invalidateConversationQueries as
|
|
28
|
-
import
|
|
8
|
+
import { buildWebSocketUrl as te } from "../utils/websocket-url.js";
|
|
9
|
+
import { getAgentServerClientOptions as ne } from "../api/agent-server-client-options.js";
|
|
10
|
+
import { useQueryClient as re } from "../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js";
|
|
11
|
+
import { isActionEvent as ie, isAgentErrorEvent as ae, isAgentServerEvent as a, isAgentStatusConversationStateUpdateEvent as o, isBrowserNavigateActionEvent as oe, isBrowserObservationEvent as se, isCanvasUIActionEvent as ce, isConversationStateUpdateEvent as s, isDisplayableErrorEvent as le, isExecuteBashActionEvent as ue, isExecuteBashObservationEvent as de, isFullStateConversationStateUpdateEvent as fe, isGoalConversationStateUpdateEvent as pe, isPlanningFileEditorObservationEvent as me, isStatsConversationStateUpdateEvent as c, isSwitchLLMObservationEvent as he, isUserMessageEvent as l } from "../types/agent-server/type-guards.js";
|
|
12
|
+
import { useEventStore as u } from "../stores/use-event-store.js";
|
|
13
|
+
import { useWebSocket as ge } from "../hooks/use-websocket.js";
|
|
14
|
+
import { SERVER_CONNECTION_ERROR_MESSAGE as _e } from "../constants/server-connection-error.js";
|
|
15
|
+
import { useErrorMessageStore as ve } from "../stores/error-message-store.js";
|
|
16
|
+
import { useOptimisticUserMessageStore as ye } from "../stores/optimistic-user-message-store.js";
|
|
17
|
+
import { useGoalStore as be } from "../stores/goal-store.js";
|
|
18
|
+
import { handleCanvasUIAction as xe } from "../services/canvas-ui.js";
|
|
19
|
+
import { handleActionEventCacheInvalidation as Se } from "../utils/cache-utils.js";
|
|
20
|
+
import Ce from "../api/event-service/event-service.api.js";
|
|
21
|
+
import { trackError as d } from "../utils/error-handler.js";
|
|
22
|
+
import { getStoredConversationMetadata as we, setStoredConversationMetadata as Te } from "../api/conversation-metadata-store.js";
|
|
23
|
+
import { useReadConversationFile as Ee } from "../hooks/mutation/use-read-conversation-file.js";
|
|
24
|
+
import De from "../stores/metrics-store.js";
|
|
25
|
+
import { useConversationHistory as Oe } from "../hooks/query/use-conversation-history.js";
|
|
26
|
+
import { recordModelSwitchMessage as ke, seedModelSwitchesFromHistory as Ae } from "../hooks/chat/record-model-switch-message.js";
|
|
27
|
+
import { invalidateConversationQueries as je, updateConversationLlmModelInCache as Me } from "../hooks/mutation/conversation-mutation-utils.js";
|
|
28
|
+
import Ne, { createContext as Pe, useCallback as f, useContext as p, useEffect as m, useLayoutEffect as Fe, useMemo as h, useRef as g, useState as _ } from "react";
|
|
29
29
|
import { jsx as Ie } from "react/jsx-runtime";
|
|
30
30
|
//#region src/contexts/conversation-websocket-context.tsx
|
|
31
|
-
var v =
|
|
31
|
+
var v = Pe(void 0);
|
|
32
32
|
function y(e) {
|
|
33
33
|
return e.llm_message.content.filter((e) => e.type === "text").map((e) => e.text).join("");
|
|
34
34
|
}
|
|
35
|
-
function b({ children:
|
|
36
|
-
let [
|
|
37
|
-
|
|
38
|
-
}, [
|
|
35
|
+
function b({ children: Pe, conversationId: p, conversationUrl: b, sessionApiKey: x, subConversations: S, subConversationIds: C }) {
|
|
36
|
+
let [w, T] = _("CONNECTING"), [E, D] = _("CONNECTING"), O = Ne.useRef(!1), k = Ne.useRef(!1), A = re(), j = u((e) => e.addEvent), Le = u((e) => e.addEvents), Re = u((e) => e.clearEventsForConversation), { setErrorMessage: M, removeErrorMessage: ze, clearConnectionError: N } = ve(), P = ye((e) => e.consumeMatchingPendingMessage), { setExecutionStatus: F } = i(), { appendInput: I, appendOutput: L } = t(), Be = e((e) => e.reset), [R, z] = _(!0), [B, Ve] = _(null), { setPlanContent: V } = r(), { mutate: H } = Ee(), U = g(0), W = g(null), He = (e) => e?.toUpperCase().endsWith("PLAN.MD") ?? !1, G = f(() => {
|
|
37
|
+
N();
|
|
38
|
+
}, [N]), K = f((e) => {
|
|
39
39
|
if (e.value.usage_to_metrics?.agent) {
|
|
40
40
|
let t = e.value.usage_to_metrics.agent, n = {
|
|
41
41
|
cost: t.accumulated_cost,
|
|
@@ -49,92 +49,93 @@ function b({ children: Fe, conversationId: f, conversationUrl: b, sessionApiKey:
|
|
|
49
49
|
per_turn_token: t.accumulated_token_usage.per_turn_token
|
|
50
50
|
} : null
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
De.getState().setMetrics(n);
|
|
53
53
|
}
|
|
54
|
-
}, []), { data:
|
|
55
|
-
|
|
56
|
-
let e =
|
|
57
|
-
|
|
54
|
+
}, []), { data: q, isPending: Ue, isFetching: J, isError: We } = Oe(p), Ge = !!p && Ue;
|
|
55
|
+
Fe(() => {
|
|
56
|
+
let e = p ?? null;
|
|
57
|
+
u.getState().loadedConversationId !== e && (Re(e), Be());
|
|
58
58
|
}, [
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
]),
|
|
63
|
-
if (!(!
|
|
64
|
-
|
|
65
|
-
for (let e of
|
|
59
|
+
p,
|
|
60
|
+
Re,
|
|
61
|
+
Be
|
|
62
|
+
]), Fe(() => {
|
|
63
|
+
if (!(!q || q.events.length === 0) && (Le(q.events), p)) {
|
|
64
|
+
Ae(p, u.getState().uiEvents);
|
|
65
|
+
for (let e of q.events) l(e) && P(p, y(e));
|
|
66
66
|
}
|
|
67
67
|
}, [
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
q,
|
|
69
|
+
Le,
|
|
70
|
+
p,
|
|
71
|
+
P
|
|
72
72
|
]);
|
|
73
|
-
let
|
|
74
|
-
if (
|
|
75
|
-
let e =
|
|
73
|
+
let Y = h(() => {
|
|
74
|
+
if (J) return null;
|
|
75
|
+
let e = q?.events ?? [], t = e[e.length - 1];
|
|
76
76
|
return !t || !("timestamp" in t) || !t.timestamp ? null : t.timestamp;
|
|
77
|
-
}, [
|
|
78
|
-
|
|
77
|
+
}, [q, J]), X = h(() => !p || !b || J && !We ? null : te(p, b), [
|
|
78
|
+
p,
|
|
79
79
|
b,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
]),
|
|
80
|
+
J,
|
|
81
|
+
We
|
|
82
|
+
]), Z = h(() => {
|
|
83
83
|
if (!S?.length) return null;
|
|
84
84
|
let e = S[0];
|
|
85
|
-
return !e?.id || !e.conversation_url ? null :
|
|
86
|
-
}, [S]),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
return !e?.id || !e.conversation_url ? null : te(e.id, e.conversation_url);
|
|
86
|
+
}, [S]), Ke = h(() => Z ? w === "CONNECTING" || E === "CONNECTING" ? "CONNECTING" : w === "OPEN" && E === "OPEN" ? "OPEN" : w === "CLOSED" && E === "CLOSED" ? "CLOSED" : w === "CLOSING" || E === "CLOSING" ? "CLOSING" : "CLOSED" : w, [
|
|
87
|
+
w,
|
|
88
|
+
E,
|
|
89
|
+
Z
|
|
90
90
|
]);
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
m(() => {
|
|
92
|
+
B !== null && U.current >= B && R && z(!1);
|
|
93
93
|
}, [
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
]),
|
|
98
|
-
if (!
|
|
99
|
-
let { path: e, conversationId: t } =
|
|
100
|
-
|
|
94
|
+
B,
|
|
95
|
+
R,
|
|
96
|
+
U
|
|
97
|
+
]), m(() => {
|
|
98
|
+
if (!R && W.current) {
|
|
99
|
+
let { path: e, conversationId: t } = W.current;
|
|
100
|
+
H({
|
|
101
101
|
conversationId: t,
|
|
102
102
|
filePath: e
|
|
103
103
|
}, {
|
|
104
104
|
onSuccess: (e) => {
|
|
105
|
-
|
|
105
|
+
V(e);
|
|
106
106
|
},
|
|
107
107
|
onError: (e) => {
|
|
108
108
|
console.warn("Failed to read conversation file:", e);
|
|
109
109
|
}
|
|
110
|
-
}),
|
|
110
|
+
}), W.current = null;
|
|
111
111
|
}
|
|
112
112
|
}, [
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
]),
|
|
117
|
-
|
|
118
|
-
}, [
|
|
119
|
-
|
|
120
|
-
}, [
|
|
121
|
-
let qe = h(() =>
|
|
113
|
+
R,
|
|
114
|
+
H,
|
|
115
|
+
V
|
|
116
|
+
]), m(() => {
|
|
117
|
+
O.current = !1, z(!!C?.length), Ve(null), U.current = 0, W.current = null;
|
|
118
|
+
}, [C]), m(() => {
|
|
119
|
+
O.current = !1, k.current = !1, W.current = null;
|
|
120
|
+
}, [p]);
|
|
121
|
+
let qe = h(() => Ge || R, [Ge, R]), Je = f((t) => {
|
|
122
122
|
try {
|
|
123
123
|
let r = JSON.parse(t.data);
|
|
124
|
-
if (
|
|
125
|
-
let t =
|
|
126
|
-
if (
|
|
124
|
+
if (a(r)) {
|
|
125
|
+
let t = u.getState().eventIds.has(r.id), i = he(r) ? r : null;
|
|
126
|
+
if (j(r), t) return;
|
|
127
|
+
if (le(r)) {
|
|
127
128
|
let e = r;
|
|
128
|
-
|
|
129
|
+
d({
|
|
129
130
|
message: e.detail,
|
|
130
131
|
source: "conversation",
|
|
131
132
|
metadata: {
|
|
132
133
|
eventId: e.id,
|
|
133
134
|
errorCode: e.code
|
|
134
135
|
}
|
|
135
|
-
}),
|
|
136
|
-
} else
|
|
137
|
-
if (
|
|
136
|
+
}), M(e.detail, "conversation", e.code);
|
|
137
|
+
} else G();
|
|
138
|
+
if (ae(r) && d({
|
|
138
139
|
message: r.error,
|
|
139
140
|
source: "agent",
|
|
140
141
|
metadata: {
|
|
@@ -142,60 +143,62 @@ function b({ children: Fe, conversationId: f, conversationUrl: b, sessionApiKey:
|
|
|
142
143
|
toolName: r.tool_name,
|
|
143
144
|
toolCallId: r.tool_call_id
|
|
144
145
|
}
|
|
145
|
-
}),
|
|
146
|
+
}), l(r) && p && (P(p, y(r)), n(p, { draftMessage: null })), ie(r) && Se(r, p || "test-conversation-id", A), s(r) && (fe(r) && F(r.value.execution_status), o(r) && F(r.value), c(r) && K(r), pe(r) && p && be.getState().setStatus(p, r.value)), ue(r) && I(r.action.command), de(r) && L(r.observation.content.filter((e) => e.type === "text").map((e) => e.text).join("\n")), se(r)) {
|
|
146
147
|
let { screenshot_data: t } = r.observation;
|
|
147
148
|
if (t) {
|
|
148
149
|
let n = t.startsWith("data:") ? t : `data:image/png;base64,${t}`;
|
|
149
150
|
e.getState().setScreenshotSrc(n);
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
|
-
if (
|
|
153
|
-
|
|
154
|
-
let e =
|
|
155
|
-
|
|
153
|
+
if (oe(r) && e.getState().setUrl(r.action.url), p && i && !i.observation.is_error) {
|
|
154
|
+
ke(p, i.observation.profile_name);
|
|
155
|
+
let e = we(p);
|
|
156
|
+
Te(p, {
|
|
156
157
|
selected_repository: e?.selected_repository ?? null,
|
|
157
158
|
selected_branch: e?.selected_branch ?? null,
|
|
158
159
|
git_provider: e?.git_provider ?? null,
|
|
159
160
|
selected_workspace: e?.selected_workspace ?? null,
|
|
160
|
-
active_profile:
|
|
161
|
+
active_profile: i.observation.profile_name,
|
|
161
162
|
plugins: e?.plugins ?? null
|
|
162
|
-
}),
|
|
163
|
+
}), i.observation.active_model && Me(A, p, i.observation.active_model), je(A, p);
|
|
163
164
|
}
|
|
164
|
-
|
|
165
|
+
ce(r) && xe(r.action, p ?? null);
|
|
165
166
|
}
|
|
166
167
|
} catch (e) {
|
|
167
168
|
console.warn("Failed to parse WebSocket message as JSON:", e);
|
|
168
169
|
}
|
|
169
170
|
}, [
|
|
170
|
-
A,
|
|
171
171
|
j,
|
|
172
|
-
|
|
173
|
-
k,
|
|
174
|
-
f,
|
|
172
|
+
M,
|
|
175
173
|
P,
|
|
174
|
+
A,
|
|
175
|
+
p,
|
|
176
176
|
F,
|
|
177
177
|
I,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
L,
|
|
179
|
+
K,
|
|
180
|
+
G
|
|
181
|
+
]), Ye = f((e) => {
|
|
181
182
|
try {
|
|
182
183
|
let t = JSON.parse(e.data);
|
|
183
|
-
if (
|
|
184
|
-
|
|
184
|
+
if (R && (U.current += 1, B !== null && U.current >= B && z(!1)), a(t)) {
|
|
185
|
+
let e = u.getState().eventIds.has(t.id);
|
|
186
|
+
if (j({
|
|
185
187
|
...t,
|
|
186
188
|
isFromPlanningAgent: !0
|
|
187
|
-
}),
|
|
189
|
+
}), e) return;
|
|
190
|
+
if (le(t)) {
|
|
188
191
|
let e = t;
|
|
189
|
-
|
|
192
|
+
d({
|
|
190
193
|
message: e.detail,
|
|
191
194
|
source: "planning_conversation",
|
|
192
195
|
metadata: {
|
|
193
196
|
eventId: e.id,
|
|
194
197
|
errorCode: e.code
|
|
195
198
|
}
|
|
196
|
-
}),
|
|
197
|
-
} else
|
|
198
|
-
if (
|
|
199
|
+
}), M(e.detail, "conversation", e.code);
|
|
200
|
+
} else G();
|
|
201
|
+
if (ae(t) && d({
|
|
199
202
|
message: t.error,
|
|
200
203
|
source: "planning_agent",
|
|
201
204
|
metadata: {
|
|
@@ -203,19 +206,19 @@ function b({ children: Fe, conversationId: f, conversationUrl: b, sessionApiKey:
|
|
|
203
206
|
toolName: t.tool_name,
|
|
204
207
|
toolCallId: t.tool_call_id
|
|
205
208
|
}
|
|
206
|
-
}),
|
|
209
|
+
}), l(t) && p && (P(p, y(t)), n(p, { draftMessage: null })), ie(t) && Se(t, S?.[0]?.id || "test-conversation-id", A), s(t) && (fe(t) && F(t.value.execution_status), o(t) && F(t.value), c(t) && K(t), pe(t) && p && be.getState().setStatus(p, t.value)), ue(t) && I(t.action.command), de(t) && L(t.observation.content.filter((e) => e.type === "text").map((e) => e.text).join("\n")), me(t)) {
|
|
207
210
|
let { path: e } = t.observation;
|
|
208
|
-
if (
|
|
211
|
+
if (He(e)) {
|
|
209
212
|
let t = S?.[0]?.id;
|
|
210
|
-
t && e && (
|
|
213
|
+
t && e && (R ? W.current = {
|
|
211
214
|
path: e,
|
|
212
215
|
conversationId: t
|
|
213
|
-
} :
|
|
216
|
+
} : H({
|
|
214
217
|
conversationId: t,
|
|
215
218
|
filePath: e
|
|
216
219
|
}, {
|
|
217
220
|
onSuccess: (e) => {
|
|
218
|
-
|
|
221
|
+
V(e);
|
|
219
222
|
},
|
|
220
223
|
onError: (e) => {
|
|
221
224
|
console.warn("Failed to read conversation file:", e);
|
|
@@ -228,46 +231,46 @@ function b({ children: Fe, conversationId: f, conversationUrl: b, sessionApiKey:
|
|
|
228
231
|
console.warn("Failed to parse WebSocket message as JSON:", e);
|
|
229
232
|
}
|
|
230
233
|
}, [
|
|
231
|
-
A,
|
|
232
|
-
L,
|
|
233
|
-
z,
|
|
234
234
|
j,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
f,
|
|
235
|
+
R,
|
|
236
|
+
B,
|
|
237
|
+
M,
|
|
239
238
|
P,
|
|
239
|
+
A,
|
|
240
|
+
S,
|
|
241
|
+
p,
|
|
240
242
|
F,
|
|
241
243
|
I,
|
|
244
|
+
L,
|
|
245
|
+
H,
|
|
242
246
|
V,
|
|
243
|
-
|
|
244
|
-
G
|
|
245
|
-
W
|
|
247
|
+
K,
|
|
248
|
+
G
|
|
246
249
|
]), Xe = h(() => {
|
|
247
|
-
let e =
|
|
250
|
+
let e = Y ? {
|
|
248
251
|
resend_mode: "since",
|
|
249
|
-
after_timestamp:
|
|
252
|
+
after_timestamp: Y
|
|
250
253
|
} : { resend_mode: "all" };
|
|
251
254
|
return x && (e.session_api_key = x), {
|
|
252
255
|
queryParams: e,
|
|
253
256
|
reconnect: { enabled: !0 },
|
|
254
257
|
onOpen: () => {
|
|
255
|
-
|
|
258
|
+
T("OPEN"), O.current = !0, N();
|
|
256
259
|
},
|
|
257
260
|
onClose: () => {
|
|
258
|
-
|
|
261
|
+
T("CLOSED");
|
|
259
262
|
},
|
|
260
263
|
onError: () => {
|
|
261
|
-
|
|
264
|
+
T("CLOSED"), O.current && M(_e, "connection");
|
|
262
265
|
},
|
|
263
266
|
onMessage: Je
|
|
264
267
|
};
|
|
265
268
|
}, [
|
|
266
269
|
Je,
|
|
267
|
-
j,
|
|
268
270
|
M,
|
|
271
|
+
N,
|
|
269
272
|
x,
|
|
270
|
-
|
|
273
|
+
Y
|
|
271
274
|
]), Ze = h(() => {
|
|
272
275
|
let e = { resend_all: !0 };
|
|
273
276
|
x && (e.session_api_key = x);
|
|
@@ -276,52 +279,52 @@ function b({ children: Fe, conversationId: f, conversationUrl: b, sessionApiKey:
|
|
|
276
279
|
queryParams: e,
|
|
277
280
|
reconnect: { enabled: !0 },
|
|
278
281
|
onOpen: async () => {
|
|
279
|
-
if (
|
|
280
|
-
let e = await
|
|
281
|
-
|
|
282
|
+
if (D("OPEN"), k.current = !0, N(), t?.id && t.conversation_url) try {
|
|
283
|
+
let e = await Ce.getEventCount(t.id, t.conversation_url, t.session_api_key);
|
|
284
|
+
Ve(e), e === 0 && z(!1);
|
|
282
285
|
} catch {
|
|
283
|
-
|
|
286
|
+
z(!1);
|
|
284
287
|
}
|
|
285
288
|
},
|
|
286
289
|
onClose: () => {
|
|
287
|
-
|
|
290
|
+
D("CLOSED");
|
|
288
291
|
},
|
|
289
292
|
onError: () => {
|
|
290
|
-
|
|
293
|
+
D("CLOSED"), k.current && M(_e, "connection");
|
|
291
294
|
},
|
|
292
295
|
onMessage: Ye
|
|
293
296
|
};
|
|
294
297
|
}, [
|
|
295
298
|
Ye,
|
|
296
|
-
j,
|
|
297
299
|
M,
|
|
300
|
+
N,
|
|
298
301
|
x,
|
|
299
302
|
S
|
|
300
|
-
]), { socket: Q, reconnect: Qe } =
|
|
301
|
-
if (
|
|
303
|
+
]), { socket: Q, reconnect: Qe } = ge(X || "", Xe), { socket: $, reconnect: $e } = ge(Z || "", Ze), et = f(() => {
|
|
304
|
+
if (ze(), r.getState().conversationMode === "plan" && Z) {
|
|
302
305
|
$e();
|
|
303
306
|
return;
|
|
304
307
|
}
|
|
305
308
|
Qe();
|
|
306
309
|
}, [
|
|
307
|
-
|
|
310
|
+
Z,
|
|
308
311
|
Qe,
|
|
309
312
|
$e,
|
|
310
|
-
|
|
311
|
-
]), tt =
|
|
313
|
+
ze
|
|
314
|
+
]), tt = f(async (e) => {
|
|
312
315
|
let t = r.getState().conversationMode === "plan" ? $ : Q;
|
|
313
316
|
if (t?.readyState !== WebSocket.OPEN) {
|
|
314
|
-
if (!
|
|
317
|
+
if (!p) {
|
|
315
318
|
let e = /* @__PURE__ */ Error("No conversation ID available");
|
|
316
|
-
throw
|
|
319
|
+
throw M(e.message), e;
|
|
317
320
|
}
|
|
318
321
|
try {
|
|
319
|
-
return await new
|
|
322
|
+
return await new ee(ne()).sendEvent(p, {
|
|
320
323
|
role: "user",
|
|
321
324
|
content: e.content
|
|
322
325
|
}, { run: !0 }), { queued: !0 };
|
|
323
326
|
} catch (e) {
|
|
324
|
-
throw
|
|
327
|
+
throw M(e instanceof Error ? e.message : "Failed to queue message for delivery"), e;
|
|
325
328
|
}
|
|
326
329
|
}
|
|
327
330
|
try {
|
|
@@ -330,72 +333,72 @@ function b({ children: Fe, conversationId: f, conversationUrl: b, sessionApiKey:
|
|
|
330
333
|
run: !0
|
|
331
334
|
})), { queued: !1 };
|
|
332
335
|
} catch (e) {
|
|
333
|
-
throw
|
|
336
|
+
throw M(e instanceof Error ? e.message : "Failed to send message"), e;
|
|
334
337
|
}
|
|
335
338
|
}, [
|
|
336
339
|
Q,
|
|
337
340
|
$,
|
|
338
|
-
|
|
339
|
-
|
|
341
|
+
M,
|
|
342
|
+
p
|
|
340
343
|
]);
|
|
341
|
-
|
|
342
|
-
Q &&
|
|
344
|
+
m(() => {
|
|
345
|
+
Q && X && (() => {
|
|
343
346
|
switch (Q.readyState) {
|
|
344
347
|
case WebSocket.CONNECTING:
|
|
345
|
-
|
|
348
|
+
T("CONNECTING");
|
|
346
349
|
break;
|
|
347
350
|
case WebSocket.OPEN:
|
|
348
|
-
|
|
351
|
+
T("OPEN");
|
|
349
352
|
break;
|
|
350
353
|
case WebSocket.CLOSING:
|
|
351
|
-
|
|
354
|
+
T("CLOSING");
|
|
352
355
|
break;
|
|
353
356
|
case WebSocket.CLOSED:
|
|
354
|
-
|
|
357
|
+
T("CLOSED");
|
|
355
358
|
break;
|
|
356
359
|
default:
|
|
357
|
-
|
|
360
|
+
T("CLOSED");
|
|
358
361
|
break;
|
|
359
362
|
}
|
|
360
363
|
})();
|
|
361
|
-
}, [Q,
|
|
362
|
-
$ &&
|
|
364
|
+
}, [Q, X]), m(() => {
|
|
365
|
+
$ && Z && (() => {
|
|
363
366
|
switch ($.readyState) {
|
|
364
367
|
case WebSocket.CONNECTING:
|
|
365
|
-
|
|
368
|
+
D("CONNECTING");
|
|
366
369
|
break;
|
|
367
370
|
case WebSocket.OPEN:
|
|
368
|
-
|
|
371
|
+
D("OPEN");
|
|
369
372
|
break;
|
|
370
373
|
case WebSocket.CLOSING:
|
|
371
|
-
|
|
374
|
+
D("CLOSING");
|
|
372
375
|
break;
|
|
373
376
|
case WebSocket.CLOSED:
|
|
374
|
-
|
|
377
|
+
D("CLOSED");
|
|
375
378
|
break;
|
|
376
379
|
default:
|
|
377
|
-
|
|
380
|
+
D("CLOSED");
|
|
378
381
|
break;
|
|
379
382
|
}
|
|
380
383
|
})();
|
|
381
|
-
}, [$,
|
|
384
|
+
}, [$, Z]);
|
|
382
385
|
let nt = h(() => ({
|
|
383
|
-
connectionState:
|
|
386
|
+
connectionState: Ke,
|
|
384
387
|
sendMessage: tt,
|
|
385
388
|
isLoadingHistory: qe,
|
|
386
389
|
reconnect: et
|
|
387
390
|
}), [
|
|
388
|
-
|
|
391
|
+
Ke,
|
|
389
392
|
tt,
|
|
390
393
|
qe,
|
|
391
394
|
et
|
|
392
395
|
]);
|
|
393
396
|
return /* @__PURE__ */ Ie(v.Provider, {
|
|
394
397
|
value: nt,
|
|
395
|
-
children:
|
|
398
|
+
children: Pe
|
|
396
399
|
});
|
|
397
400
|
}
|
|
398
|
-
var x = () =>
|
|
401
|
+
var x = () => p(v) || null;
|
|
399
402
|
//#endregion
|
|
400
403
|
export { b as ConversationWebSocketProvider, x as useConversationWebSocket };
|
|
401
404
|
|