@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
|
@@ -6,32 +6,34 @@ import { getEffectiveLocalBackend as r } from "./backend-registry/active-store.j
|
|
|
6
6
|
import { getAgentServerClientOptions as i } from "./agent-server-client-options.js";
|
|
7
7
|
import { getCachedAgentServerInfo as a, isAgentServerToolAvailable as o } from "./agent-server-compatibility.js";
|
|
8
8
|
import { CANVAS_UI_CLIENT_TOOL_NAME as s, LEGACY_CANVAS_UI_TOOL_NAME as c } from "../constants/canvas-ui.js";
|
|
9
|
-
import {
|
|
9
|
+
import { LAUNCH_CHILD_CONVERSATION_TOOL_NAME as ee } from "../constants/child-conversation.js";
|
|
10
|
+
import { getStoredConversationMetadata as l } from "./conversation-metadata-store.js";
|
|
11
|
+
import { ACP_SETTINGS_KEYS as u } from "../node_modules/@openhands/typescript-client/dist/models/acp.js";
|
|
10
12
|
import "../node_modules/@openhands/typescript-client/dist/index.js";
|
|
11
|
-
import { getStoredConversationMetadata as u } from "./conversation-metadata-store.js";
|
|
12
13
|
import d from "../node_modules/@openhands/extensions/skills/index.js";
|
|
13
14
|
import { DEFAULT_SETTINGS as f } from "../services/settings.js";
|
|
14
15
|
import { getAcpPreferredDefaultModel as p, getAcpProvider as m, resolveEffectiveAcpModel as h } from "../constants/acp-providers.js";
|
|
15
|
-
import { buildAuthHeaders as
|
|
16
|
-
import
|
|
17
|
-
import { LLM_AUTH_TYPE_SUBSCRIPTION as
|
|
18
|
-
import
|
|
19
|
-
import { CANVAS_UI_CLIENT_TOOL as
|
|
16
|
+
import { buildAuthHeaders as te } from "./backend-registry/auth.js";
|
|
17
|
+
import g from "./settings-service/settings-service.api.js";
|
|
18
|
+
import { LLM_AUTH_TYPE_SUBSCRIPTION as _, OPENAI_SUBSCRIPTION_VENDOR as v, isSubscriptionLlmConfig as y } from "../constants/llm-subscription.js";
|
|
19
|
+
import b from "./llm-subscription-service.js";
|
|
20
|
+
import { CANVAS_UI_CLIENT_TOOL as ne } from "./canvas-ui-client-tool.js";
|
|
21
|
+
import { LAUNCH_CHILD_CONVERSATION_CLIENT_TOOL as x } from "./launch-child-conversation-client-tool.js";
|
|
20
22
|
//#region src/api/agent-server-adapter.ts
|
|
21
|
-
var
|
|
23
|
+
var S = [
|
|
22
24
|
"terminal",
|
|
23
25
|
"file_editor",
|
|
24
26
|
"task_tracker"
|
|
25
|
-
],
|
|
26
|
-
function
|
|
27
|
+
], C = "browser_tool_set", w = "task_tool_set";
|
|
28
|
+
function T() {
|
|
27
29
|
return !0;
|
|
28
30
|
}
|
|
29
|
-
function
|
|
31
|
+
function E(e) {
|
|
30
32
|
if (typeof e == "string") {
|
|
31
33
|
let t = e.trim();
|
|
32
34
|
if (!t) return null;
|
|
33
35
|
try {
|
|
34
|
-
return
|
|
36
|
+
return E(JSON.parse(t));
|
|
35
37
|
} catch {
|
|
36
38
|
return null;
|
|
37
39
|
}
|
|
@@ -40,23 +42,23 @@ function D(e) {
|
|
|
40
42
|
let t = e;
|
|
41
43
|
return !t.services || typeof t.services != "object" ? null : t;
|
|
42
44
|
}
|
|
43
|
-
async function
|
|
45
|
+
async function D() {
|
|
44
46
|
let e;
|
|
45
47
|
try {
|
|
46
48
|
e = i({ timeout: 3e3 });
|
|
47
49
|
} catch {
|
|
48
50
|
return null;
|
|
49
51
|
}
|
|
50
|
-
let n =
|
|
52
|
+
let n = E(a({ host: e.host })?.runtime_services);
|
|
51
53
|
if (n) return n;
|
|
52
54
|
try {
|
|
53
|
-
return
|
|
55
|
+
return E((await new t(e).getServerInfo()).runtime_services);
|
|
54
56
|
} catch {
|
|
55
57
|
return null;
|
|
56
58
|
}
|
|
57
59
|
}
|
|
58
|
-
function
|
|
59
|
-
let t =
|
|
60
|
+
function re(e) {
|
|
61
|
+
let t = E(e);
|
|
60
62
|
if (!t?.services) return;
|
|
61
63
|
let n = [];
|
|
62
64
|
n.push("<RUNTIME_SERVICES>"), t.mode ? n.push(`You are running inside an agent-canvas dev stack started in '${t.mode}' mode.`) : n.push("You are running inside an agent-canvas dev stack."), n.push("The following services are reachable from your sandbox. URLs are written", "from your point of view (i.e., as you should curl/fetch them).", "");
|
|
@@ -65,15 +67,15 @@ function k(e) {
|
|
|
65
67
|
let s = r?.url_from_agent;
|
|
66
68
|
return n.push("", "Trust this block over guessing: do not assume any other URLs are running."), s && n.push(`In particular, ${s} inside your sandbox is the Agent Server`, "you are running inside of — NOT the automation backend."), n.push("</RUNTIME_SERVICES>"), n.join("\n");
|
|
67
69
|
}
|
|
68
|
-
function
|
|
70
|
+
function ie(e) {
|
|
69
71
|
let { host: t } = i();
|
|
70
72
|
return `${t}/api/conversations/${e}`;
|
|
71
73
|
}
|
|
72
|
-
function
|
|
74
|
+
function O(e) {
|
|
73
75
|
return `Conversation ${e.slice(0, 5)}`;
|
|
74
76
|
}
|
|
75
|
-
function
|
|
76
|
-
let r =
|
|
77
|
+
function k(t) {
|
|
78
|
+
let r = l(t.id), a = t.agent?.kind === "ACPAgent", o = a ? t.tags?.acpserver ?? t.agent?.acp_server ?? null : null;
|
|
77
79
|
return {
|
|
78
80
|
id: t.id,
|
|
79
81
|
created_by_user_id: null,
|
|
@@ -82,7 +84,7 @@ function j(t) {
|
|
|
82
84
|
git_provider: r?.git_provider ?? null,
|
|
83
85
|
selected_workspace: r?.selected_workspace ?? null,
|
|
84
86
|
active_profile: r?.active_profile ?? null,
|
|
85
|
-
title: t.title?.trim() ? t.title :
|
|
87
|
+
title: t.title?.trim() ? t.title : O(t.id),
|
|
86
88
|
trigger: null,
|
|
87
89
|
pr_number: [],
|
|
88
90
|
agent_kind: a ? "acp" : "openhands",
|
|
@@ -111,7 +113,7 @@ function j(t) {
|
|
|
111
113
|
updated_at: t.updated_at,
|
|
112
114
|
execution_status: t.execution_status ?? e.IDLE,
|
|
113
115
|
sandbox_status: t.sandbox_status ?? null,
|
|
114
|
-
conversation_url:
|
|
116
|
+
conversation_url: ie(t.id),
|
|
115
117
|
session_api_key: i().apiKey ?? null,
|
|
116
118
|
sandbox_id: null,
|
|
117
119
|
workspace: { working_dir: t.workspace?.working_dir ?? n() },
|
|
@@ -119,17 +121,44 @@ function j(t) {
|
|
|
119
121
|
sub_conversation_ids: []
|
|
120
122
|
};
|
|
121
123
|
}
|
|
122
|
-
function
|
|
124
|
+
function A(e) {
|
|
123
125
|
return {
|
|
124
|
-
items: e.items.map(
|
|
126
|
+
items: e.items.map(k),
|
|
125
127
|
next_page_id: e.next_page_id ?? null
|
|
126
128
|
};
|
|
127
129
|
}
|
|
128
|
-
var
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
var j = "acpserver", M = "automationtrigger", N = "automationid", P = "automationname", F = "automationrunid", I = [
|
|
131
|
+
M,
|
|
132
|
+
N,
|
|
133
|
+
P,
|
|
134
|
+
F
|
|
135
|
+
], L = new Set([
|
|
136
|
+
j,
|
|
137
|
+
N,
|
|
138
|
+
F,
|
|
139
|
+
"title",
|
|
140
|
+
"git_provider",
|
|
141
|
+
"repo_name",
|
|
142
|
+
"repo",
|
|
143
|
+
"repository",
|
|
144
|
+
"selected_branch",
|
|
145
|
+
"branch",
|
|
146
|
+
"archiveworkspacepath",
|
|
147
|
+
"workspace",
|
|
148
|
+
"working_dir"
|
|
149
|
+
]), R = ["origin"];
|
|
150
|
+
function z(e) {
|
|
151
|
+
if (!e) return [];
|
|
152
|
+
let t = (e) => {
|
|
153
|
+
let t = R.indexOf(e.trim().toLowerCase());
|
|
154
|
+
return t === -1 ? Infinity : t;
|
|
155
|
+
};
|
|
156
|
+
return Object.entries(e).filter(([e, t]) => !L.has(e.trim().toLowerCase()) && typeof t == "string" && t.trim().length > 0).sort(([e], [n]) => {
|
|
157
|
+
let r = t(e), i = t(n);
|
|
158
|
+
return r === i ? e.localeCompare(n) : r - i;
|
|
159
|
+
});
|
|
131
160
|
}
|
|
132
|
-
var
|
|
161
|
+
var B = "gAAAAA", V = new Set([
|
|
133
162
|
"schema_version",
|
|
134
163
|
"agent_settings",
|
|
135
164
|
"workspace",
|
|
@@ -137,31 +166,31 @@ var I = "gAAAAA", L = new Set([
|
|
|
137
166
|
"initial_message",
|
|
138
167
|
"plugins"
|
|
139
168
|
]);
|
|
140
|
-
function
|
|
169
|
+
function H(e) {
|
|
141
170
|
return !e || typeof e != "object" || Array.isArray(e) ? {} : structuredClone(e);
|
|
142
171
|
}
|
|
143
|
-
function
|
|
172
|
+
function U(e) {
|
|
144
173
|
if (typeof e != "string") return;
|
|
145
174
|
let t = e.trim();
|
|
146
175
|
return t.length > 0 ? t : void 0;
|
|
147
176
|
}
|
|
148
|
-
function
|
|
177
|
+
function W(e) {
|
|
149
178
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
150
179
|
}
|
|
151
|
-
function
|
|
152
|
-
return typeof e == "string" ? e.startsWith(
|
|
180
|
+
function G(e) {
|
|
181
|
+
return typeof e == "string" ? e.startsWith(B) : Array.isArray(e) ? e.some(G) : W(e) ? Object.values(e).some(G) : !1;
|
|
153
182
|
}
|
|
154
|
-
function
|
|
155
|
-
return
|
|
183
|
+
function K(e) {
|
|
184
|
+
return W(e) ? Object.values(e).some(G) : !1;
|
|
156
185
|
}
|
|
157
|
-
function
|
|
186
|
+
function q(e) {
|
|
158
187
|
return e.confirmation_mode === !0 ? e.security_analyzer === "llm" ? {
|
|
159
188
|
kind: "ConfirmRisky",
|
|
160
189
|
threshold: "HIGH",
|
|
161
190
|
confirm_unknown: !0
|
|
162
191
|
} : { kind: "AlwaysConfirm" } : { kind: "NeverConfirm" };
|
|
163
192
|
}
|
|
164
|
-
function
|
|
193
|
+
function J(e) {
|
|
165
194
|
switch (e.security_analyzer) {
|
|
166
195
|
case "llm": return { kind: "LLMSecurityAnalyzer" };
|
|
167
196
|
case "pattern": return { kind: "PatternSecurityAnalyzer" };
|
|
@@ -169,30 +198,30 @@ function W(e) {
|
|
|
169
198
|
default: return;
|
|
170
199
|
}
|
|
171
200
|
}
|
|
172
|
-
function
|
|
201
|
+
function Y(e) {
|
|
173
202
|
return !!e && typeof e == "object" && !Array.isArray(e) && typeof e.name == "string";
|
|
174
203
|
}
|
|
175
|
-
function
|
|
176
|
-
return e ===
|
|
204
|
+
function X(e, t) {
|
|
205
|
+
return e === C ? T() && o(e) : e === w ? t.enable_sub_agents === !0 && o(e) : !0;
|
|
177
206
|
}
|
|
178
|
-
function
|
|
207
|
+
function ae(e) {
|
|
179
208
|
let t = /* @__PURE__ */ new Map();
|
|
180
|
-
for (let n of
|
|
209
|
+
for (let n of S) X(n, e) && t.set(n, {
|
|
181
210
|
name: n,
|
|
182
211
|
params: {}
|
|
183
212
|
});
|
|
184
|
-
for (let n of [
|
|
213
|
+
for (let n of [C, w]) X(n, e) && t.set(n, {
|
|
185
214
|
name: n,
|
|
186
215
|
params: {}
|
|
187
216
|
});
|
|
188
217
|
let n = e.tools;
|
|
189
|
-
if (Array.isArray(n) && n.every((e) =>
|
|
218
|
+
if (Array.isArray(n) && n.every((e) => Y(e))) for (let r of n) X(r.name, e) && t.set(r.name, {
|
|
190
219
|
name: r.name,
|
|
191
|
-
params:
|
|
220
|
+
params: H(r.params)
|
|
192
221
|
});
|
|
193
222
|
return Array.from(t.values());
|
|
194
223
|
}
|
|
195
|
-
function
|
|
224
|
+
function oe(e, t) {
|
|
196
225
|
let n = [e?.trim(), t?.trim()].filter(Boolean);
|
|
197
226
|
return n.length === 0 ? null : {
|
|
198
227
|
role: "user",
|
|
@@ -203,7 +232,7 @@ function q(e, t) {
|
|
|
203
232
|
run: !0
|
|
204
233
|
};
|
|
205
234
|
}
|
|
206
|
-
function
|
|
235
|
+
function se() {
|
|
207
236
|
return d.map((e) => {
|
|
208
237
|
let t = e.triggers?.length > 0 ? {
|
|
209
238
|
type: "keyword",
|
|
@@ -221,8 +250,8 @@ function J() {
|
|
|
221
250
|
};
|
|
222
251
|
});
|
|
223
252
|
}
|
|
224
|
-
function
|
|
225
|
-
let r =
|
|
253
|
+
function Z(e, t, n = []) {
|
|
254
|
+
let r = re(t), i = H(e.agent_context), a = Array.isArray(i.skills) ? i.skills : [], o = new Set(n), s = [...a, ...se()].filter((e) => typeof e.name != "string" || !o.has(e.name));
|
|
226
255
|
return {
|
|
227
256
|
...i,
|
|
228
257
|
skills: s,
|
|
@@ -232,30 +261,30 @@ function Y(e, t, n = []) {
|
|
|
232
261
|
...r ? { system_message_suffix: r } : {}
|
|
233
262
|
};
|
|
234
263
|
}
|
|
235
|
-
function
|
|
236
|
-
return
|
|
264
|
+
function Q(e) {
|
|
265
|
+
return H(e.agent_settings).agent_kind === "acp";
|
|
237
266
|
}
|
|
238
|
-
function
|
|
239
|
-
let t =
|
|
267
|
+
function ce(e) {
|
|
268
|
+
let t = H(e.agent_settings).acp_server;
|
|
240
269
|
return typeof t == "string" && t.length > 0 ? t : void 0;
|
|
241
270
|
}
|
|
242
|
-
function
|
|
271
|
+
function le(e) {
|
|
243
272
|
let t = e.acp_command;
|
|
244
273
|
if (!(Array.isArray(t) && t.length === 0) && t !== void 0) return t;
|
|
245
274
|
let n = m(typeof e.acp_server == "string" ? e.acp_server : void 0);
|
|
246
275
|
return n ? [...n.default_command] : t;
|
|
247
276
|
}
|
|
248
|
-
function
|
|
249
|
-
let n =
|
|
277
|
+
function ue(e, t) {
|
|
278
|
+
let n = H(e.agent_settings), r = {
|
|
250
279
|
agent_kind: "acp",
|
|
251
|
-
agent_context:
|
|
280
|
+
agent_context: Z(n, t, e.disabled_skills)
|
|
252
281
|
};
|
|
253
|
-
for (let e of
|
|
282
|
+
for (let e of u) {
|
|
254
283
|
if (e === "acp_model" || e === "acp_env") continue;
|
|
255
|
-
let t = e === "acp_command" ?
|
|
284
|
+
let t = e === "acp_command" ? le(n) : n[e];
|
|
256
285
|
t != null && (r[e] = t);
|
|
257
286
|
}
|
|
258
|
-
let i =
|
|
287
|
+
let i = H(n.mcp_config);
|
|
259
288
|
Object.keys(i).length > 0 && (r.mcp_config = i);
|
|
260
289
|
let a = typeof n.acp_server == "string" ? n.acp_server : void 0, o = h({
|
|
261
290
|
configured: n.acp_model,
|
|
@@ -263,29 +292,29 @@ function ne(e, t) {
|
|
|
263
292
|
});
|
|
264
293
|
return o && (r.acp_model = o), r;
|
|
265
294
|
}
|
|
266
|
-
function
|
|
267
|
-
let n =
|
|
295
|
+
function de(e, t) {
|
|
296
|
+
let n = H(e.agent_settings), r = H(n.llm);
|
|
268
297
|
r.model = typeof r.model == "string" && r.model.trim().length > 0 ? r.model : f.llm_model, r.stream = !0;
|
|
269
|
-
let i =
|
|
298
|
+
let i = U(r.api_key);
|
|
270
299
|
i ? r.api_key = i : delete r.api_key;
|
|
271
|
-
let a =
|
|
272
|
-
a ? r.base_url = a : delete r.base_url,
|
|
273
|
-
let o =
|
|
300
|
+
let a = U(r.base_url);
|
|
301
|
+
a ? r.base_url = a : delete r.base_url, y(r) ? (r.auth_type = _, r.subscription_vendor = v, delete r.api_key, delete r.base_url) : (delete r.auth_type, delete r.subscription_vendor);
|
|
302
|
+
let o = H(n.mcp_config);
|
|
274
303
|
Object.keys(o).length === 0 && delete n.mcp_config, delete n.acp_server;
|
|
275
|
-
for (let e of
|
|
304
|
+
for (let e of u) delete n[e];
|
|
276
305
|
return delete n.acp_env, {
|
|
277
306
|
...n,
|
|
278
307
|
llm: r,
|
|
279
|
-
agent_context:
|
|
280
|
-
tools:
|
|
308
|
+
agent_context: Z(n, t, e.disabled_skills),
|
|
309
|
+
tools: ae(n)
|
|
281
310
|
};
|
|
282
311
|
}
|
|
283
|
-
function
|
|
284
|
-
return
|
|
312
|
+
function fe(e, t) {
|
|
313
|
+
return Q(e) ? ue(e, t) : de(e, t);
|
|
285
314
|
}
|
|
286
|
-
function
|
|
287
|
-
let { settings: t, query: r, conversationInstructions: i, plugins: a, workingDir: o } = e, s =
|
|
288
|
-
return
|
|
315
|
+
function pe(e) {
|
|
316
|
+
let { settings: t, query: r, conversationInstructions: i, plugins: a, workingDir: o } = e, s = H(t.conversation_settings), c = oe(r, i);
|
|
317
|
+
return V.forEach((e) => delete s[e]), {
|
|
289
318
|
...s,
|
|
290
319
|
workspace: {
|
|
291
320
|
kind: "LocalWorkspace",
|
|
@@ -299,11 +328,11 @@ function ae(e) {
|
|
|
299
328
|
})) } : {}
|
|
300
329
|
};
|
|
301
330
|
}
|
|
302
|
-
function
|
|
331
|
+
function me(e) {
|
|
303
332
|
let t = e.encryptedAgentSettings ? {
|
|
304
333
|
...e.settings,
|
|
305
334
|
agent_settings: e.encryptedAgentSettings
|
|
306
|
-
} : e.settings, n =
|
|
335
|
+
} : e.settings, n = Q(t), i = e.agentProfileId ? e.agentProfileKind : n ? "acp" : "openhands", a = fe(t, e.runtimeServicesInfo), o = n ? ce(t) : void 0, l = pe(e.encryptedConversationSettings ? {
|
|
307
336
|
...e,
|
|
308
337
|
settings: {
|
|
309
338
|
...e.settings,
|
|
@@ -312,20 +341,20 @@ function oe(e) {
|
|
|
312
341
|
} : e), u = {
|
|
313
342
|
...e.agentProfileId ? { agent_profile_id: e.agentProfileId } : { agent_settings: a },
|
|
314
343
|
workspace: l.workspace,
|
|
315
|
-
client_tools: i === "openhands" ? [
|
|
316
|
-
confirmation_policy:
|
|
344
|
+
client_tools: i === "openhands" ? [ne, x] : [],
|
|
345
|
+
confirmation_policy: q(l),
|
|
317
346
|
max_iterations: typeof l.max_iterations == "number" ? l.max_iterations : 500,
|
|
318
347
|
stuck_detection: !0,
|
|
319
348
|
autotitle: !0,
|
|
320
349
|
...e.titleLlmProfile ? { title_llm_profile: e.titleLlmProfile } : {},
|
|
321
350
|
worktree: e.worktree ?? !0
|
|
322
351
|
};
|
|
323
|
-
!e.agentProfileId && o && (u.tags = { [
|
|
324
|
-
let d =
|
|
352
|
+
!e.agentProfileId && o && (u.tags = { [j]: o }), !e.agentProfileId && e.secretsEncrypted && (!n || K(a.mcp_config)) && (u.secrets_encrypted = !0), e.conversationId && (u.conversation_id = e.conversationId), e.parentConversationId && (u.parent_conversation_id = e.parentConversationId);
|
|
353
|
+
let d = J(l);
|
|
325
354
|
d && (u.security_analyzer = d), l.initial_message && (u.initial_message = l.initial_message), l.plugins && (u.plugins = l.plugins), l.hook_config && (u.hook_config = l.hook_config);
|
|
326
355
|
let f = { ...l.tool_module_qualnames ?? {} };
|
|
327
|
-
if (delete f[c], delete f[s], Object.keys(f).length > 0 && (u.tool_module_qualnames = f), l.agent_definitions && (u.agent_definitions = l.agent_definitions), e.customSecrets && e.customSecrets.length > 0) {
|
|
328
|
-
let t = r(), n = t ?
|
|
356
|
+
if (delete f[c], delete f[s], delete f[ee], Object.keys(f).length > 0 && (u.tool_module_qualnames = f), l.agent_definitions && (u.agent_definitions = l.agent_definitions), e.customSecrets && e.customSecrets.length > 0) {
|
|
357
|
+
let t = r(), n = t ? te(t) : {}, i = {};
|
|
329
358
|
for (let t of e.customSecrets) {
|
|
330
359
|
let e = {
|
|
331
360
|
kind: "LookupSecret",
|
|
@@ -338,17 +367,17 @@ function oe(e) {
|
|
|
338
367
|
}
|
|
339
368
|
return u;
|
|
340
369
|
}
|
|
341
|
-
var
|
|
370
|
+
var he = "Connect your ChatGPT subscription before starting a conversation with this LLM profile.";
|
|
342
371
|
async function $(e) {
|
|
343
|
-
if (
|
|
372
|
+
if (y(H(e.llm)) && !(await b.getOpenAIStatus()).connected) throw Error(he);
|
|
344
373
|
}
|
|
345
|
-
async function
|
|
374
|
+
async function ge(e) {
|
|
346
375
|
let { SecretsService: t } = await import("./secrets-service.js"), [n, r, i] = await Promise.all([
|
|
347
|
-
|
|
376
|
+
g.getSettingsForConversation(),
|
|
348
377
|
t.getSecrets(),
|
|
349
|
-
|
|
378
|
+
D()
|
|
350
379
|
]), { agentSettings: a, conversationSettings: o, secretsEncrypted: s } = n;
|
|
351
|
-
return e.agentProfileId || await $(a),
|
|
380
|
+
return e.agentProfileId || await $(a), me({
|
|
352
381
|
...e,
|
|
353
382
|
encryptedAgentSettings: a,
|
|
354
383
|
encryptedConversationSettings: o,
|
|
@@ -357,10 +386,10 @@ async function ce(e) {
|
|
|
357
386
|
runtimeServicesInfo: i
|
|
358
387
|
});
|
|
359
388
|
}
|
|
360
|
-
function
|
|
389
|
+
function _e() {
|
|
361
390
|
return { hooks: [] };
|
|
362
391
|
}
|
|
363
392
|
//#endregion
|
|
364
|
-
export { $ as assertSubscriptionAuthReady,
|
|
393
|
+
export { P as AUTOMATION_NAME_TAG_KEY, I as AUTOMATION_TAG_KEYS, $ as assertSubscriptionAuthReady, ge as buildStartConversationRequestWithEncryptedSettings, _e as emptyHooksResponse, O as getDefaultConversationTitle, z as getDisplayConversationTags, k as toAppConversation, A as toConversationPage };
|
|
365
394
|
|
|
366
395
|
//# sourceMappingURL=agent-server-adapter.js.map
|