@openhands/agent-canvas 1.19.0 → 1.20.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-BQ4o4vqy.js → acp-providers-DOKcGeaV.js} +1 -1
- package/build/assets/active-backend-context-BETEdaJl.js +2 -0
- package/build/assets/{agent-context-settings-D9i6ezoJ.js → agent-context-settings-Dir0loAn.js} +1 -1
- package/build/assets/{agent-profiles-service.api-U-9YzDFU.js → agent-profiles-service.api-CiMVQAIT.js} +1 -1
- package/build/assets/{agent-profiles-settings-D-bUV2PX.js → agent-profiles-settings-CT5owzRT.js} +1 -1
- package/build/assets/{agent-server-conversation-service.api-BaVQ6NpE.js → agent-server-conversation-service.api-BtOlitCD.js} +3 -3
- package/build/assets/agent-settings-BnzyTgCb.js +2 -0
- package/build/assets/agent-settings-CeXj3xK-.js +1 -0
- package/build/assets/{alert-banner-BkVt_8Or.js → alert-banner-Ccx1Du6n.js} +1 -1
- package/build/assets/{api-key-entry-screen-fAIld-n7.js → api-key-entry-screen-DXIuzBjY.js} +1 -1
- package/build/assets/{app-settings-DITbrM2u.js → app-settings-DkIJVTKL.js} +1 -1
- package/build/assets/{automation-detail-DawHmaOl.js → automation-detail-CF2SweVs.js} +1 -1
- package/build/assets/{automation-disabled-reason-DtgC8Ppt.js → automation-disabled-reason-QFtMrdOr.js} +1 -1
- package/build/assets/{automation-export-Kv6e0bHx.js → automation-export-CkvehhPF.js} +1 -1
- package/build/assets/{automation-git-sync-Dd98G_Oz.js → automation-git-sync-di4tBAyZ.js} +1 -1
- package/build/assets/automation-setup-route-FERj7WEe.js +3 -0
- package/build/assets/{automation-templates-Xhr-FDAB.js → automation-templates-DlaCRvD-.js} +1 -1
- package/build/assets/{automations-list-BeP1LuzQ.js → automations-list-yK7ETmYP.js} +1 -1
- package/build/assets/{back-nav-button-DWNiN277.js → back-nav-button-oDvIxpQ5.js} +1 -1
- package/build/assets/{backend-form-modal-DeaUJIik.js → backend-form-modal-DzYf_arO.js} +1 -1
- package/build/assets/{backend-synced-settings-badge-Br85iWIY.js → backend-synced-settings-badge-DXDDHWX4.js} +1 -1
- package/build/assets/{badge-Cdnei7Ly.js → badge-CDHZEVeN.js} +1 -1
- package/build/assets/{base-modal-Ds7grR67.js → base-modal-CZq4kB_H.js} +1 -1
- package/build/assets/{brand-button-mQq2Ld1I.js → brand-button-CGUwj6zK.js} +1 -1
- package/build/assets/{browser-Bfum8fkE.js → browser-kY6jN61T.js} +1 -1
- package/build/assets/{browser-tab-CmYT4j_r.js → browser-tab-DFyZXsnB.js} +1 -1
- package/build/assets/{canvas-extension-page-CokKSVRG.js → canvas-extension-page-DsGq1DtT.js} +1 -1
- package/build/assets/{canvas-extensions-BoQEYG-2.js → canvas-extensions-Cb2Z0Hdc.js} +1 -1
- package/build/assets/{canvas-extensions-runtime-Du2M5iEX.js → canvas-extensions-runtime-DS6eT4nK.js} +1 -1
- package/build/assets/{chat-send-button-DM3JgMc2.js → chat-send-button-B6aVaD9V.js} +1 -1
- package/build/assets/{circle-plus-check-toggle-BbYBiUwv.js → circle-plus-check-toggle-ZOXpJ3I2.js} +1 -1
- package/build/assets/{cloud-funnel-analytics-D02kgq1s.js → cloud-funnel-analytics-BH_zxjiO.js} +1 -1
- package/build/assets/{cog-Dy1eWbSZ.js → cog-DVZT1f0s.js} +1 -1
- package/build/assets/{command-menu-mehU3Evb.js → command-menu-ImeHQ6c2.js} +1 -1
- package/build/assets/{commits-tab-DhQW8CXi.js → commits-tab-B5SUF66c.js} +1 -1
- package/build/assets/{condenser-settings-eRk6Fkx6.js → condenser-settings-BlGOXEXM.js} +1 -1
- package/build/assets/{confirmation-modal-BmVt_c0I.js → confirmation-modal-oN1EId79.js} +1 -1
- package/build/assets/{context-menu-list-item-lx2zk9G7.js → context-menu-list-item-DIm5xQg6.js} +1 -1
- package/build/assets/{conversation-BOj0ENI6.js → conversation-9a53tdbO.js} +3 -3
- package/build/assets/conversation-XRsI28ZM.js +1 -0
- package/build/assets/conversation-panel-XRsI28ZM.js +1 -0
- package/build/assets/{conversation-state-store-C6YncQNo.js → conversation-state-store-Br-eE-gg.js} +1 -1
- package/build/assets/{conversation-tab-empty-state-DIhwCC2J.js → conversation-tab-empty-state-BT1GrnKP.js} +1 -1
- package/build/assets/{copy-to-clipboard-button-DVNXLylP.js → copy-to-clipboard-button-CvTHqY13.js} +1 -1
- package/build/assets/{device-verify-LP-x7nra.js → device-verify-DX0xdNjo.js} +1 -1
- package/build/assets/{dropdown-classes-goDldkiu.js → dropdown-classes-DyyMaaXl.js} +1 -1
- package/build/assets/edit-automation-modal-bfD-5NIc.js +1 -0
- package/build/assets/{empty-state-Cd-TFe7i.js → empty-state-B5advKVW.js} +1 -1
- package/build/assets/{entry.client-CJdjIvMZ.js → entry.client-D_2gnSyB.js} +2 -2
- package/build/assets/{enum-filter-dropdown-pocrz9AL.js → enum-filter-dropdown-VAJp5mqh.js} +1 -1
- package/build/assets/{environment-switch-overlay-Dwe78wRl.js → environment-switch-overlay-C7x_yhEs.js} +1 -1
- package/build/assets/{error-state-SuWwztxV.js → error-state-BgYl7YeB.js} +1 -1
- package/build/assets/{extensions-hub-O0esK3Er.js → extensions-hub-DjhOed1I.js} +1 -1
- package/build/assets/{extensions-navigation-CgCVSXje.js → extensions-navigation-Di-J2KUR.js} +1 -1
- package/build/assets/{files-tab-B_6t8ljw.js → files-tab-BNDp3e_x.js} +1 -1
- package/build/assets/{form-control-classes-lQfLxzH4.js → form-control-classes-BVI_szaj.js} +1 -1
- package/build/assets/{get-git-path-Bp5rsUkl.js → get-git-path-DOe6PM_a.js} +1 -1
- package/build/assets/git-repo-dropdown-1fZGYtYm.js +1 -0
- package/build/assets/{git-repo-dropdown-DPQVumZg.js → git-repo-dropdown-DNlinQ7r.js} +1 -1
- package/build/assets/{highlighted-source-view-Bp0sgK-f.js → highlighted-source-view-DPerL6tF.js} +1 -1
- package/build/assets/home-4lyLzYjG.js +1 -0
- package/build/assets/{home-BghzJd-D.js → home-BGaB0EeK.js} +1 -1
- package/build/assets/{home-automation-run-tooltip-BdpCckKO.js → home-automation-run-tooltip-v5n7zXR0.js} +1 -1
- package/build/assets/{home-store-DNQpfIEO.js → home-store-roz1x6D5.js} +1 -1
- package/build/assets/{hooks-service-DkxnQa4N.js → hooks-service-tzRqtAlm.js} +1 -1
- package/build/assets/index-home-6Y_Y7kOo.js +1 -0
- package/build/assets/{install-server-modal-DvxxYKia.js → install-server-modal-DkMCfj0J.js} +1 -1
- package/build/assets/{key-CwTE6XJj.js → key-DpfBWQbk.js} +1 -1
- package/build/assets/{launch-jsRGPRBx.js → launch-TrnYlJe6.js} +1 -1
- package/build/assets/llm-not-configured-banner-BdjItKQR.js +27 -0
- package/build/assets/{llm-settings-dkQ5Oq7W.js → llm-settings-CUgt39uu.js} +1 -1
- package/build/assets/llm-settings-DEfw-fUJ.js +1 -0
- package/build/assets/{llm-subscription-service-BiQaZbvv.js → llm-subscription-service-LGYVzyAc.js} +1 -1
- package/build/assets/{loading-spinner-DK1sAwVg.js → loading-spinner-BJc2J0Dw.js} +1 -1
- package/build/assets/{manage-backends-modal-DqCJohsX.js → manage-backends-modal-CIjk0B2H.js} +1 -1
- package/build/assets/manifest-23d79467.js +1 -0
- package/build/assets/{manifest-subpage-layout-sxuPqfUr.js → manifest-subpage-layout-DGYRoP_8.js} +1 -1
- package/build/assets/{markdown-renderer-BH5pqDuJ.js → markdown-renderer-DRpwRlNm.js} +1 -1
- package/build/assets/{mcp-BtaJDXnP.js → mcp-CoUOIGBF.js} +1 -1
- package/build/assets/{mcp-installed-servers-Br4ZLsjr.js → mcp-installed-servers-BW51n6PC.js} +1 -1
- package/build/assets/{mcp-page-DwbnQpVs.js → mcp-page-hZ4aJjj_.js} +1 -1
- package/build/assets/{messages-DmFJlW6c.js → messages-WUb9Yh-p.js} +1 -1
- package/build/assets/{modal-body-DBweM2EN.js → modal-body-B_95ci1c.js} +1 -1
- package/build/assets/{modal-classes-jvG85nkU.js → modal-classes-BPcBCWVj.js} +1 -1
- package/build/assets/{modal-close-button-BrM5fNnn.js → modal-close-button-Cq3dma5u.js} +1 -1
- package/build/assets/{onboarding-CQ8T6T0U.js → onboarding-Cc4Av7bi.js} +1 -1
- package/build/assets/{onboarding-modal-CnliiaSN.js → onboarding-modal-DCFD4Dsa.js} +1 -1
- package/build/assets/{organization-service.api-DmFUEmu5.js → organization-service.api-zhHpQU0t.js} +1 -1
- package/build/assets/{planner-tab-CXph_C9F.js → planner-tab-yISBVUKu.js} +1 -1
- package/build/assets/{plugins-management-service-CcEpfNKz.js → plugins-management-service-2oP6_tWr.js} +1 -1
- package/build/assets/{profiles-service.api-DdF_4Zhe.js → profiles-service.api-B5thiTI3.js} +1 -1
- package/build/assets/{providers-BWRnl31s.js → providers-Co9PsD0s.js} +1 -1
- package/build/assets/{proxy-DbEf3Nqr.js → proxy-BCCQUna8.js} +1 -1
- package/build/assets/{recommended-automations-launcher-r0oI91HN.js → recommended-automations-launcher-D1Do753p.js} +1 -1
- package/build/assets/{root-j2fFRlWS.js → root-D1y82Lhg.js} +2 -2
- package/build/assets/{root-layout-CfGgm2lo.js → root-layout-cQTYEG2w.js} +2 -2
- package/build/assets/{schema-field-c3Ncgm4x.js → schema-field-DSi0d7a8.js} +1 -1
- package/build/assets/{sdk-section-page-DFEiuiFQ.js → sdk-section-page-DCoI2dtd.js} +1 -1
- package/build/assets/{secret-form-WXXNFqTM.js → secret-form-BDvzojzN.js} +1 -1
- package/build/assets/{secrets-service-DU6wh3wX.js → secrets-service-C3CNNEpY.js} +1 -1
- package/build/assets/{secrets-settings-BEqbPvjy.js → secrets-settings-BKqfYQt5.js} +1 -1
- package/build/assets/{settings-DjaSQwFh.js → settings-C8ZLONyx.js} +1 -1
- package/build/assets/{settings-dropdown-input-BRR2OZwi.js → settings-dropdown-input-Df_HXRk4.js} +1 -1
- package/build/assets/{settings-index-DHv4XFcM.js → settings-index-BWvlGHg3.js} +1 -1
- package/build/assets/{settings-input-Cm4VxUon.js → settings-input-B3i5U9GL.js} +1 -1
- package/build/assets/{settings-list-classes-CaUfKZ33.js → settings-list-classes-DbqcSiVW.js} +1 -1
- package/build/assets/{settings-modal-djXuAnBO.js → settings-modal-DHKJSBPL.js} +1 -1
- package/build/assets/{settings-nav-DFb3hBMr.js → settings-nav-BThjwLWD.js} +1 -1
- package/build/assets/{settings-service.api-Q9lKW1TX.js → settings-service.api-CYBTLGOd.js} +1 -1
- package/build/assets/{settings-switch-seaSJc7t.js → settings-switch-CI93Iozg.js} +1 -1
- package/build/assets/{shared-conversation-x3rxVCon.js → shared-conversation-C7OILS-U.js} +1 -1
- package/build/assets/{sidebar-layout-B6mcvvdV.js → sidebar-layout-Csb6Geq0.js} +1 -1
- package/build/assets/{sidebar-mobile-menu-toggle-CEqS8KnA.js → sidebar-mobile-menu-toggle-B2xwXm4s.js} +1 -1
- package/build/assets/{sidebar-nav-link-BTHX11LG.js → sidebar-nav-link-Xv7QEMVS.js} +1 -1
- package/build/assets/{sidebar-onboarding-checklist-storage-BP1kzn6p.js → sidebar-onboarding-checklist-storage-_zxMqHS0.js} +1 -1
- package/build/assets/{skill-card-pill-row-TD39nfP3.js → skill-card-pill-row-CxOFySng.js} +1 -1
- package/build/assets/{skill-enablement-DXeaImBz.js → skill-enablement-BBKya60C.js} +1 -1
- package/build/assets/{skill-filter-CdBbbwjm.js → skill-filter-BvtbD--b.js} +1 -1
- package/build/assets/{skill-icon-badge-vUEp7gsC.js → skill-icon-badge-CVxE42yg.js} +1 -1
- package/build/assets/{skill-scope-BTRBQt0-.js → skill-scope-C0NxJnpT.js} +1 -1
- package/build/assets/{skills-plugins-k1tUNAw4.js → skills-plugins-BGjX4jve.js} +1 -1
- package/build/assets/{skills-settings-CENviPT7.js → skills-settings-d3ZwIjSP.js} +1 -1
- package/build/assets/{styled-tooltip-DVAlWYnL.js → styled-tooltip-CknPQH4Y.js} +1 -1
- package/build/assets/{task-list-tab-BLKF_x9f.js → task-list-tab-CQisRcPh.js} +1 -1
- package/build/assets/{terminal-Ckbnqb23.js → terminal-Bs50gJPC.js} +1 -1
- package/build/assets/{toggle-switch-DeiG9Mf6.js → toggle-switch-D3TBxlsc.js} +1 -1
- package/build/assets/{trash-CXN2R54L.js → trash-D1QMHInX.js} +1 -1
- package/build/assets/{typography-NarNyelM.js → typography-BdAApXGl.js} +1 -1
- package/build/assets/{usage-tab-Drd3O006.js → usage-tab-ClVHAFJy.js} +1 -1
- package/build/assets/{use-acp-credential-form-CJ5wPsQm.js → use-acp-credential-form-GfqcTJl5.js} +1 -1
- package/build/assets/{use-activate-agent-profile-iQZ0U3qV.js → use-activate-agent-profile-DO6SNPkK.js} +1 -1
- package/build/assets/{use-agent-profiles-LCvb5OXT.js → use-agent-profiles-YsBlt3tT.js} +1 -1
- package/build/assets/{use-automation-health-DdgSa8sA.js → use-automation-health-CbQ9n-k7.js} +1 -1
- package/build/assets/{use-automation-permissions-D3kEeieu.js → use-automation-permissions-gFy-2VD0.js} +1 -1
- package/build/assets/{use-automations-CEubcYTD.js → use-automations-7_XBXHQK.js} +1 -1
- package/build/assets/{use-can-manage-org-profiles-CB8ybxFK.js → use-can-manage-org-profiles-Dt4YkPO7.js} +1 -1
- package/build/assets/{use-canvas-extensions-BMacwi2v.js → use-canvas-extensions-BhYQrtMK.js} +1 -1
- package/build/assets/{use-cloud-current-user-id-BEKRd6XZ.js → use-cloud-current-user-id-Dqw6qQUg.js} +1 -1
- package/build/assets/{use-config-3WYcJsgC.js → use-config-BJ_FJCjV.js} +1 -1
- package/build/assets/use-create-conversation-D15Px574.js +1 -0
- package/build/assets/use-create-secret-D_qPU88t.js +1 -0
- package/build/assets/{use-free-models-Ci3FkKEm.js → use-free-models-FAk2nngq.js} +1 -1
- package/build/assets/{use-get-secrets-fqS0kxt6.js → use-get-secrets-Pbo9jh2A.js} +1 -1
- package/build/assets/{use-llm-configured-B71ZEVg2.js → use-llm-configured-DF9BYmIe.js} +1 -1
- package/build/assets/{use-llm-profiles-xtCBMbef.js → use-llm-profiles-U4u1gzuk.js} +1 -1
- package/build/assets/use-manifest-capabilities-D81_YdAF.js +1 -0
- package/build/assets/{use-onboarding-completion-CEgjL02y.js → use-onboarding-completion-C4W-m2Jk.js} +1 -1
- package/build/assets/{use-pinned-home-route-pK4IlJ-p.js → use-pinned-home-route-DByWTojw.js} +1 -1
- package/build/assets/{use-plugins-marketplace-B8-ZEB34.js → use-plugins-marketplace-CTRoukH0.js} +1 -1
- package/build/assets/{use-save-agent-profile-D7hJuW_u.js → use-save-agent-profile-xpHBxMZM.js} +1 -1
- package/build/assets/{use-save-settings-CikTu5xV.js → use-save-settings-CmX41wlf.js} +1 -1
- package/build/assets/{use-settings-BWIH5EuN.js → use-settings-D69cw06D.js} +1 -1
- package/build/assets/{use-settings-nav-items-DSKwLDnd.js → use-settings-nav-items-CVz0SnDr.js} +1 -1
- package/build/assets/use-tracking-BAFpgpgq.js +3 -0
- package/build/assets/{use-user-conversation-C_l65DqW.js → use-user-conversation-BBDXUbOc.js} +1 -1
- package/build/assets/utils-CbjwNcR-.js +1 -0
- package/build/assets/{vendor~browser-hbU4u2Ag.js → vendor~browser-BZ-zIfb6.js} +1 -1
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~b0x1wrp2-DvZtOcoT.js +2 -0
- package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~mcp~automations-list~aut~ibfbmr9f-CxhwKuAd.js → vendor~root-layout~index-home~home~conversation-panel~conversation~mcp~automations-list~aut~ibfbmr9f-BIjRfQ4u.js} +1 -1
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~inibp4qe-BFRW8wt-.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~inibp4qe-BBfdJIV9.js} +1 -1
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-3eJ4ExtV.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-fgzdgvrL.js} +3579 -165
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~jz4f6vo2-C7HiY4Ae.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~jz4f6vo2-BqdU447s.js} +794 -227
- package/build/assets/{verification-settings-PKtoIUUY.js → verification-settings-BXspn27q.js} +1 -1
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +8 -1
- package/build/locales/ca/openhands.json +8 -1
- package/build/locales/de/openhands.json +8 -1
- package/build/locales/en/openhands.json +8 -1
- package/build/locales/es/openhands.json +8 -1
- package/build/locales/fr/openhands.json +8 -1
- package/build/locales/it/openhands.json +8 -1
- package/build/locales/ja/openhands.json +8 -1
- package/build/locales/ko-KR/openhands.json +8 -1
- package/build/locales/no/openhands.json +8 -1
- package/build/locales/pt/openhands.json +8 -1
- package/build/locales/tr/openhands.json +8 -1
- package/build/locales/uk/openhands.json +8 -1
- package/build/locales/zh-CN/openhands.json +8 -1
- package/build/locales/zh-TW/openhands.json +8 -1
- package/config/defaults.json +3 -3
- package/dist/api/agent-profiles-service/profile-field-support.d.ts +2 -0
- package/dist/components/features/automations/agent-profile-selector.d.ts +7 -0
- package/dist/config/defaults.cjs +1 -1
- package/dist/config/defaults.cjs.map +1 -1
- package/dist/config/defaults.js +3 -3
- package/dist/config/defaults.js.map +1 -1
- package/dist/constants/profile-scope.d.ts +2 -2
- package/dist/hooks/mutation/use-create-conversation.cjs +1 -1
- package/dist/hooks/mutation/use-create-conversation.cjs.map +1 -1
- package/dist/hooks/mutation/use-create-conversation.js +30 -19
- package/dist/hooks/mutation/use-create-conversation.js.map +1 -1
- package/dist/hooks/mutation/use-switch-acp-model.cjs +1 -1
- package/dist/hooks/mutation/use-switch-acp-model.cjs.map +1 -1
- package/dist/hooks/mutation/use-switch-acp-model.js +11 -12
- package/dist/hooks/mutation/use-switch-acp-model.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 +1 -0
- package/dist/hooks/query/query-keys.js +10 -1
- package/dist/hooks/query/query-keys.js.map +1 -1
- package/dist/hooks/query/use-active-acp-profile-detail.cjs +1 -1
- package/dist/hooks/query/use-active-acp-profile-detail.cjs.map +1 -1
- package/dist/hooks/query/use-active-acp-profile-detail.d.ts +0 -9
- package/dist/hooks/query/use-active-acp-profile-detail.js +4 -13
- package/dist/hooks/query/use-active-acp-profile-detail.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 +8 -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 +119 -0
- package/dist/i18n/translation.js.map +1 -1
- package/dist/locales/ar/openhands.json +8 -1
- package/dist/locales/ca/openhands.json +8 -1
- package/dist/locales/de/openhands.json +8 -1
- package/dist/locales/en/openhands.json +8 -1
- package/dist/locales/es/openhands.json +8 -1
- package/dist/locales/fr/openhands.json +8 -1
- package/dist/locales/it/openhands.json +8 -1
- package/dist/locales/ja/openhands.json +8 -1
- package/dist/locales/ko-KR/openhands.json +8 -1
- package/dist/locales/no/openhands.json +8 -1
- package/dist/locales/pt/openhands.json +8 -1
- package/dist/locales/tr/openhands.json +8 -1
- package/dist/locales/uk/openhands.json +8 -1
- package/dist/locales/zh-CN/openhands.json +8 -1
- package/dist/locales/zh-TW/openhands.json +8 -1
- package/dist/manifests/automation-setup.cjs.map +1 -1
- package/dist/manifests/automation-setup.js.map +1 -1
- package/dist/manifests/manifest-local-validation.cjs.map +1 -1
- package/dist/manifests/manifest-local-validation.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/bundle-index.cjs +3670 -247
- package/dist/node_modules/@openhands/extensions/automations/bundle-index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/bundle-index.js +26 -3
- package/dist/node_modules/@openhands/extensions/automations/bundle-index.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.js +4 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-delivery-watchdog/manifest.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-delivery-watchdog/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-delivery-watchdog/manifest.js +79 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-delivery-watchdog/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.cjs +1 -11
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.js +25 -11
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-triage/manifest.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-triage/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-triage/manifest.js +72 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-triage/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.cjs +1 -10
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.js +24 -11
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/gitlab-issue-to-mr/manifest.cjs +12 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/gitlab-issue-to-mr/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/gitlab-issue-to-mr/manifest.js +115 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/gitlab-issue-to-mr/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.js +20 -14
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/reportportal.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/reportportal.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/reportportal.js +73 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/reportportal.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 +9 -7
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.cjs +794 -227
- package/dist/node_modules/@openhands/extensions/skills/index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.js +46 -6
- package/dist/node_modules/@openhands/extensions/skills/index.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.js +9 -10
- package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/settings-client.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/settings-client.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/settings-client.js +2 -2
- package/dist/node_modules/@openhands/typescript-client/dist/client/settings-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/clients.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/clients.js +0 -1
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/conversation-manager.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/conversation-manager.js +0 -1
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +3 -3
- package/dist/package.js.map +1 -1
- package/dist/routes/agent-settings.d.ts +6 -0
- package/dist/types/automation.cjs.map +1 -1
- package/dist/types/automation.d.ts +3 -1
- package/dist/types/automation.js.map +1 -1
- package/package.json +3 -3
- package/scripts/check-sdk-version-sync.mjs +6 -6
- package/scripts/dev-safe.mjs +14 -1
- package/scripts/docker-build.mjs +3 -0
- package/build/assets/active-backend-context-BsLfwrXB.js +0 -2
- package/build/assets/agent-settings-BZJHtaIK.js +0 -2
- package/build/assets/agent-settings-D4snDd6u.js +0 -1
- package/build/assets/automation-setup-route-Cdc109ZD.js +0 -3
- package/build/assets/conversation-SouWlGvs.js +0 -1
- package/build/assets/conversation-panel-SouWlGvs.js +0 -1
- package/build/assets/edit-automation-modal-BJJR9wSW.js +0 -1
- package/build/assets/git-repo-dropdown-CbD0_LPN.js +0 -1
- package/build/assets/home-CXZ8zawS.js +0 -1
- package/build/assets/index-home-Ca6Q5CtT.js +0 -1
- package/build/assets/llm-not-configured-banner-DMdL1vaX.js +0 -27
- package/build/assets/llm-settings-lNDerSlu.js +0 -1
- package/build/assets/manifest-ff93dc8c.js +0 -1
- package/build/assets/use-create-conversation-Be-eVpFp.js +0 -1
- package/build/assets/use-create-secret-Bk9ZxTjl.js +0 -1
- package/build/assets/use-manifest-capabilities-Bso6A_-A.js +0 -1
- package/build/assets/use-tracking-ChnSFChv.js +0 -3
- package/build/assets/utils-D-gOfhmN.js +0 -1
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~b0x1wrp2-D6owle9R.js +0 -2
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs +0 -2
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs.map +0 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js +0 -18
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./http-client.cjs"),t=require("./agent-profiles-client.cjs"),n=require("./server-client.cjs"),r=require("./bash-client.cjs"),i=require("./conversation-client.cjs"),a=require("./file-client.cjs"),o=require("./hooks-client.cjs"),s=require("./llm-client.cjs"),c=require("./mcp-client.cjs"),l=require("./profiles-client.cjs"),u=require("./meta-profiles-client.cjs"),d=require("./settings-client.cjs"),f=require("./skills-client.cjs"),p=require("./sub-agents-client.cjs"),m=require("./plugins-client.cjs"),h=require("./tool-client.cjs"),g=require("./vscode-client.cjs"),_=require("./
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./http-client.cjs"),t=require("./agent-profiles-client.cjs"),n=require("./server-client.cjs"),r=require("./bash-client.cjs"),i=require("./conversation-client.cjs"),a=require("./file-client.cjs"),o=require("./hooks-client.cjs"),s=require("./llm-client.cjs"),c=require("./mcp-client.cjs"),l=require("./profiles-client.cjs"),u=require("./meta-profiles-client.cjs"),d=require("./settings-client.cjs"),f=require("./skills-client.cjs"),p=require("./sub-agents-client.cjs"),m=require("./plugins-client.cjs"),h=require("./tool-client.cjs"),g=require("./vscode-client.cjs"),_=require("./shared-client.cjs"),v=require("./workspaces-client.cjs");var y=class{constructor(e){this.host=e.host.replace(/\/+$/,``),this.apiKey=e.apiKey,this.timeout=e.timeout||6e4}get(e,t={}){return this.request({...t,method:`GET`,path:e})}post(e,t,n={}){return this.request({...n,method:`POST`,path:e,body:t})}patch(e,t,n={}){return this.request({...n,method:`PATCH`,path:e,body:t})}put(e,t,n={}){return this.request({...n,method:`PUT`,path:e,body:t})}delete(e,t={}){return this.request({...t,method:`DELETE`,path:e})}close(){}},b=class extends y{constructor(y){super(y),this.kind=`agent-server`;let b={host:this.host,apiKey:this.apiKey,timeout:this.timeout};this.client=new e.HttpClient({baseUrl:this.host,apiKey:this.apiKey,timeout:this.timeout}),this.server=new n.ServerClient(b),this.conversations=new i.ConversationClient(b),this.files=new a.FileClient(b),this.bash=new r.BashClient(b),this.settings=new d.SettingsClient(b),this.profiles=new l.ProfilesClient(b),this.agentProfiles=new t.AgentProfilesClient(b),this.metaProfiles=new u.MetaProfilesClient(b),this.skills=new f.SkillsClient(b),this.subAgents=new p.SubAgentsClient(b),this.hooks=new o.HooksClient(b),this.mcp=new c.MCPClient(b),this.plugins=new m.PluginsClient(b),this.tools=new h.ToolClient(b),this.vscode=new g.VSCodeClient(b),this.shared=new _.SharedClient(b),this.llm=new s.LLMMetadataClient(b),this.workspaces=new v.WorkspacesClient(b)}async request(t){let n=t.hostOverride?.replace(/\/+$/,``)??this.host,r=t.authMode===`none`?void 0:t.authMode===`session-api-key`?t.sessionApiKey??void 0:this.apiKey;return(await(n===this.host&&r===this.apiKey?this.client:new e.HttpClient({baseUrl:n,apiKey:r,timeout:this.timeout})).request({method:t.method,url:t.path,params:t.params,data:t.body,headers:t.headers,timeout:t.timeoutSeconds?t.timeoutSeconds*1e3:this.timeout,acceptableStatusCodes:t.acceptableStatusCodes,responseType:t.responseType})).data}close(){this.client.close()}};exports.AgentServerClient=b,exports.OpenHandsClient=y;
|
|
2
2
|
//# sourceMappingURL=openhands-client.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openhands-client.cjs","names":["HttpClient","ServerClient","ConversationClient","FileClient","BashClient","SettingsClient","ProfilesClient","AgentProfilesClient","MetaProfilesClient","SkillsClient","SubAgentsClient","HooksClient","MCPClient","PluginsClient","ToolClient","VSCodeClient","
|
|
1
|
+
{"version":3,"file":"openhands-client.cjs","names":["HttpClient","ServerClient","ConversationClient","FileClient","BashClient","SettingsClient","ProfilesClient","AgentProfilesClient","MetaProfilesClient","SkillsClient","SubAgentsClient","HooksClient","MCPClient","PluginsClient","ToolClient","VSCodeClient","SharedClient","LLMMetadataClient","WorkspacesClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/openhands-client.js"],"sourcesContent":["import { AgentProfilesClient } from './agent-profiles-client.js';\nimport { BashClient } from './bash-client.js';\nimport { ConversationClient } from './conversation-client.js';\nimport { FileClient } from './file-client.js';\nimport { HooksClient } from './hooks-client.js';\nimport { HttpClient } from './http-client.js';\nimport { LLMMetadataClient } from './llm-client.js';\nimport { MCPClient } from './mcp-client.js';\nimport { MetaProfilesClient } from './meta-profiles-client.js';\nimport { PluginsClient } from './plugins-client.js';\nimport { ProfilesClient } from './profiles-client.js';\nimport { ServerClient } from './server-client.js';\nimport { SettingsClient } from './settings-client.js';\nimport { SharedClient } from './shared-client.js';\nimport { SkillsClient } from './skills-client.js';\nimport { SubAgentsClient } from './sub-agents-client.js';\nimport { ToolClient } from './tool-client.js';\nimport { VSCodeClient } from './vscode-client.js';\nimport { WorkspacesClient } from './workspaces-client.js';\nexport class OpenHandsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/+$/, '');\n this.apiKey = options.apiKey;\n this.timeout = options.timeout || 60000;\n }\n get(path, options = {}) {\n return this.request({ ...options, method: 'GET', path });\n }\n post(path, body, options = {}) {\n return this.request({ ...options, method: 'POST', path, body });\n }\n patch(path, body, options = {}) {\n return this.request({ ...options, method: 'PATCH', path, body });\n }\n put(path, body, options = {}) {\n return this.request({ ...options, method: 'PUT', path, body });\n }\n delete(path, options = {}) {\n return this.request({ ...options, method: 'DELETE', path });\n }\n close() {\n // Implemented by concrete clients when they own resources.\n }\n}\nexport class AgentServerClient extends OpenHandsClient {\n constructor(options) {\n super(options);\n this.kind = 'agent-server';\n const clientOptions = {\n host: this.host,\n apiKey: this.apiKey,\n timeout: this.timeout,\n };\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: this.timeout,\n });\n this.server = new ServerClient(clientOptions);\n this.conversations = new ConversationClient(clientOptions);\n this.files = new FileClient(clientOptions);\n this.bash = new BashClient(clientOptions);\n this.settings = new SettingsClient(clientOptions);\n this.profiles = new ProfilesClient(clientOptions);\n this.agentProfiles = new AgentProfilesClient(clientOptions);\n this.metaProfiles = new MetaProfilesClient(clientOptions);\n this.skills = new SkillsClient(clientOptions);\n this.subAgents = new SubAgentsClient(clientOptions);\n this.hooks = new HooksClient(clientOptions);\n this.mcp = new MCPClient(clientOptions);\n this.plugins = new PluginsClient(clientOptions);\n this.tools = new ToolClient(clientOptions);\n this.vscode = new VSCodeClient(clientOptions);\n this.shared = new SharedClient(clientOptions);\n this.llm = new LLMMetadataClient(clientOptions);\n this.workspaces = new WorkspacesClient(clientOptions);\n }\n async request(options) {\n const host = options.hostOverride?.replace(/\\/+$/, '') ?? this.host;\n const apiKey = options.authMode === 'none'\n ? undefined\n : options.authMode === 'session-api-key'\n ? (options.sessionApiKey ?? undefined)\n : this.apiKey;\n const client = host === this.host && apiKey === this.apiKey\n ? this.client\n : new HttpClient({\n baseUrl: host,\n apiKey,\n timeout: this.timeout,\n });\n const response = await client.request({\n method: options.method,\n url: options.path,\n params: options.params,\n data: options.body,\n headers: options.headers,\n timeout: options.timeoutSeconds ? options.timeoutSeconds * 1000 : this.timeout,\n acceptableStatusCodes: options.acceptableStatusCodes,\n responseType: options.responseType,\n });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=openhands-client.js.map"],"x_google_ignoreList":[0],"mappings":"qsBAmBA,IAAa,EAAb,KAA6B,CACzB,YAAY,EAAS,CACjB,KAAK,KAAO,EAAQ,KAAK,QAAQ,OAAQ,EAAE,EAC3C,KAAK,OAAS,EAAQ,OACtB,KAAK,QAAU,EAAQ,SAAW,GACtC,CACA,IAAI,EAAM,EAAU,CAAC,EAAG,CACpB,OAAO,KAAK,QAAQ,CAAE,GAAG,EAAS,OAAQ,MAAO,MAAK,CAAC,CAC3D,CACA,KAAK,EAAM,EAAM,EAAU,CAAC,EAAG,CAC3B,OAAO,KAAK,QAAQ,CAAE,GAAG,EAAS,OAAQ,OAAQ,OAAM,MAAK,CAAC,CAClE,CACA,MAAM,EAAM,EAAM,EAAU,CAAC,EAAG,CAC5B,OAAO,KAAK,QAAQ,CAAE,GAAG,EAAS,OAAQ,QAAS,OAAM,MAAK,CAAC,CACnE,CACA,IAAI,EAAM,EAAM,EAAU,CAAC,EAAG,CAC1B,OAAO,KAAK,QAAQ,CAAE,GAAG,EAAS,OAAQ,MAAO,OAAM,MAAK,CAAC,CACjE,CACA,OAAO,EAAM,EAAU,CAAC,EAAG,CACvB,OAAO,KAAK,QAAQ,CAAE,GAAG,EAAS,OAAQ,SAAU,MAAK,CAAC,CAC9D,CACA,OAAQ,CAER,CACJ,EACa,EAAb,cAAuC,CAAgB,CACnD,YAAY,EAAS,CACjB,MAAM,CAAO,EACb,KAAK,KAAO,eACZ,IAAM,EAAgB,CAClB,KAAM,KAAK,KACX,OAAQ,KAAK,OACb,QAAS,KAAK,OAClB,EACA,KAAK,OAAS,IAAIA,EAAAA,WAAW,CACzB,QAAS,KAAK,KACd,OAAQ,KAAK,OACb,QAAS,KAAK,OAClB,CAAC,EACD,KAAK,OAAS,IAAIC,EAAAA,aAAa,CAAa,EAC5C,KAAK,cAAgB,IAAIC,EAAAA,mBAAmB,CAAa,EACzD,KAAK,MAAQ,IAAIC,EAAAA,WAAW,CAAa,EACzC,KAAK,KAAO,IAAIC,EAAAA,WAAW,CAAa,EACxC,KAAK,SAAW,IAAIC,EAAAA,eAAe,CAAa,EAChD,KAAK,SAAW,IAAIC,EAAAA,eAAe,CAAa,EAChD,KAAK,cAAgB,IAAIC,EAAAA,oBAAoB,CAAa,EAC1D,KAAK,aAAe,IAAIC,EAAAA,mBAAmB,CAAa,EACxD,KAAK,OAAS,IAAIC,EAAAA,aAAa,CAAa,EAC5C,KAAK,UAAY,IAAIC,EAAAA,gBAAgB,CAAa,EAClD,KAAK,MAAQ,IAAIC,EAAAA,YAAY,CAAa,EAC1C,KAAK,IAAM,IAAIC,EAAAA,UAAU,CAAa,EACtC,KAAK,QAAU,IAAIC,EAAAA,cAAc,CAAa,EAC9C,KAAK,MAAQ,IAAIC,EAAAA,WAAW,CAAa,EACzC,KAAK,OAAS,IAAIC,EAAAA,aAAa,CAAa,EAC5C,KAAK,OAAS,IAAIC,EAAAA,aAAa,CAAa,EAC5C,KAAK,IAAM,IAAIC,EAAAA,kBAAkB,CAAa,EAC9C,KAAK,WAAa,IAAIC,EAAAA,iBAAiB,CAAa,CACxD,CACA,MAAM,QAAQ,EAAS,CACnB,IAAM,EAAO,EAAQ,cAAc,QAAQ,OAAQ,EAAE,GAAK,KAAK,KACzD,EAAS,EAAQ,WAAa,OAC9B,IAAA,GACA,EAAQ,WAAa,kBAChB,EAAQ,eAAiB,IAAA,GAC1B,KAAK,OAkBf,OAAO,MAjBQ,IAAS,KAAK,MAAQ,IAAW,KAAK,OAC/C,KAAK,OACL,IAAIlB,EAAAA,WAAW,CACb,QAAS,EACT,SACA,QAAS,KAAK,OAClB,CAAC,GACyB,QAAQ,CAClC,OAAQ,EAAQ,OAChB,IAAK,EAAQ,KACb,OAAQ,EAAQ,OAChB,KAAM,EAAQ,KACd,QAAS,EAAQ,QACjB,QAAS,EAAQ,eAAiB,EAAQ,eAAiB,IAAO,KAAK,QACvE,sBAAuB,EAAQ,sBAC/B,aAAc,EAAQ,YAC1B,CAAC,GACe,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -15,11 +15,10 @@ import { SubAgentsClient as p } from "./sub-agents-client.js";
|
|
|
15
15
|
import { PluginsClient as m } from "./plugins-client.js";
|
|
16
16
|
import { ToolClient as h } from "./tool-client.js";
|
|
17
17
|
import { VSCodeClient as g } from "./vscode-client.js";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { WorkspacesClient as y } from "./workspaces-client.js";
|
|
18
|
+
import { SharedClient as _ } from "./shared-client.js";
|
|
19
|
+
import { WorkspacesClient as v } from "./workspaces-client.js";
|
|
21
20
|
//#region node_modules/@openhands/typescript-client/dist/client/openhands-client.js
|
|
22
|
-
var
|
|
21
|
+
var y = class {
|
|
23
22
|
constructor(e) {
|
|
24
23
|
this.host = e.host.replace(/\/+$/, ""), this.apiKey = e.apiKey, this.timeout = e.timeout || 6e4;
|
|
25
24
|
}
|
|
@@ -62,10 +61,10 @@ var b = class {
|
|
|
62
61
|
});
|
|
63
62
|
}
|
|
64
63
|
close() {}
|
|
65
|
-
},
|
|
66
|
-
constructor(
|
|
67
|
-
super(
|
|
68
|
-
let
|
|
64
|
+
}, b = class extends y {
|
|
65
|
+
constructor(y) {
|
|
66
|
+
super(y), this.kind = "agent-server";
|
|
67
|
+
let b = {
|
|
69
68
|
host: this.host,
|
|
70
69
|
apiKey: this.apiKey,
|
|
71
70
|
timeout: this.timeout
|
|
@@ -74,7 +73,7 @@ var b = class {
|
|
|
74
73
|
baseUrl: this.host,
|
|
75
74
|
apiKey: this.apiKey,
|
|
76
75
|
timeout: this.timeout
|
|
77
|
-
}), this.server = new n(
|
|
76
|
+
}), this.server = new n(b), this.conversations = new i(b), this.files = new a(b), this.bash = new r(b), this.settings = new d(b), this.profiles = new l(b), this.agentProfiles = new t(b), this.metaProfiles = new u(b), this.skills = new f(b), this.subAgents = new p(b), this.hooks = new o(b), this.mcp = new c(b), this.plugins = new m(b), this.tools = new h(b), this.vscode = new g(b), this.shared = new _(b), this.llm = new s(b), this.workspaces = new v(b);
|
|
78
77
|
}
|
|
79
78
|
async request(t) {
|
|
80
79
|
let n = t.hostOverride?.replace(/\/+$/, "") ?? this.host, r = t.authMode === "none" ? void 0 : t.authMode === "session-api-key" ? t.sessionApiKey ?? void 0 : this.apiKey;
|
|
@@ -98,6 +97,6 @@ var b = class {
|
|
|
98
97
|
}
|
|
99
98
|
};
|
|
100
99
|
//#endregion
|
|
101
|
-
export {
|
|
100
|
+
export { b as AgentServerClient, y as OpenHandsClient };
|
|
102
101
|
|
|
103
102
|
//# sourceMappingURL=openhands-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openhands-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/openhands-client.js"],"sourcesContent":["import { AgentProfilesClient } from './agent-profiles-client.js';\nimport { BashClient } from './bash-client.js';\nimport { ConversationClient } from './conversation-client.js';\nimport {
|
|
1
|
+
{"version":3,"file":"openhands-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/openhands-client.js"],"sourcesContent":["import { AgentProfilesClient } from './agent-profiles-client.js';\nimport { BashClient } from './bash-client.js';\nimport { ConversationClient } from './conversation-client.js';\nimport { FileClient } from './file-client.js';\nimport { HooksClient } from './hooks-client.js';\nimport { HttpClient } from './http-client.js';\nimport { LLMMetadataClient } from './llm-client.js';\nimport { MCPClient } from './mcp-client.js';\nimport { MetaProfilesClient } from './meta-profiles-client.js';\nimport { PluginsClient } from './plugins-client.js';\nimport { ProfilesClient } from './profiles-client.js';\nimport { ServerClient } from './server-client.js';\nimport { SettingsClient } from './settings-client.js';\nimport { SharedClient } from './shared-client.js';\nimport { SkillsClient } from './skills-client.js';\nimport { SubAgentsClient } from './sub-agents-client.js';\nimport { ToolClient } from './tool-client.js';\nimport { VSCodeClient } from './vscode-client.js';\nimport { WorkspacesClient } from './workspaces-client.js';\nexport class OpenHandsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/+$/, '');\n this.apiKey = options.apiKey;\n this.timeout = options.timeout || 60000;\n }\n get(path, options = {}) {\n return this.request({ ...options, method: 'GET', path });\n }\n post(path, body, options = {}) {\n return this.request({ ...options, method: 'POST', path, body });\n }\n patch(path, body, options = {}) {\n return this.request({ ...options, method: 'PATCH', path, body });\n }\n put(path, body, options = {}) {\n return this.request({ ...options, method: 'PUT', path, body });\n }\n delete(path, options = {}) {\n return this.request({ ...options, method: 'DELETE', path });\n }\n close() {\n // Implemented by concrete clients when they own resources.\n }\n}\nexport class AgentServerClient extends OpenHandsClient {\n constructor(options) {\n super(options);\n this.kind = 'agent-server';\n const clientOptions = {\n host: this.host,\n apiKey: this.apiKey,\n timeout: this.timeout,\n };\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: this.timeout,\n });\n this.server = new ServerClient(clientOptions);\n this.conversations = new ConversationClient(clientOptions);\n this.files = new FileClient(clientOptions);\n this.bash = new BashClient(clientOptions);\n this.settings = new SettingsClient(clientOptions);\n this.profiles = new ProfilesClient(clientOptions);\n this.agentProfiles = new AgentProfilesClient(clientOptions);\n this.metaProfiles = new MetaProfilesClient(clientOptions);\n this.skills = new SkillsClient(clientOptions);\n this.subAgents = new SubAgentsClient(clientOptions);\n this.hooks = new HooksClient(clientOptions);\n this.mcp = new MCPClient(clientOptions);\n this.plugins = new PluginsClient(clientOptions);\n this.tools = new ToolClient(clientOptions);\n this.vscode = new VSCodeClient(clientOptions);\n this.shared = new SharedClient(clientOptions);\n this.llm = new LLMMetadataClient(clientOptions);\n this.workspaces = new WorkspacesClient(clientOptions);\n }\n async request(options) {\n const host = options.hostOverride?.replace(/\\/+$/, '') ?? this.host;\n const apiKey = options.authMode === 'none'\n ? undefined\n : options.authMode === 'session-api-key'\n ? (options.sessionApiKey ?? undefined)\n : this.apiKey;\n const client = host === this.host && apiKey === this.apiKey\n ? this.client\n : new HttpClient({\n baseUrl: host,\n apiKey,\n timeout: this.timeout,\n });\n const response = await client.request({\n method: options.method,\n url: options.path,\n params: options.params,\n data: options.body,\n headers: options.headers,\n timeout: options.timeoutSeconds ? options.timeoutSeconds * 1000 : this.timeout,\n acceptableStatusCodes: options.acceptableStatusCodes,\n responseType: options.responseType,\n });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=openhands-client.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;AAmBA,IAAa,IAAb,MAA6B;CACzB,YAAY,GAAS;EAGjB,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,QAAQ,EAAE,GAC3C,KAAK,SAAS,EAAQ,QACtB,KAAK,UAAU,EAAQ,WAAW;CACtC;CACA,IAAI,GAAM,IAAU,CAAC,GAAG;EACpB,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAO;EAAK,CAAC;CAC3D;CACA,KAAK,GAAM,GAAM,IAAU,CAAC,GAAG;EAC3B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAQ;GAAM;EAAK,CAAC;CAClE;CACA,MAAM,GAAM,GAAM,IAAU,CAAC,GAAG;EAC5B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAS;GAAM;EAAK,CAAC;CACnE;CACA,IAAI,GAAM,GAAM,IAAU,CAAC,GAAG;EAC1B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAO;GAAM;EAAK,CAAC;CACjE;CACA,OAAO,GAAM,IAAU,CAAC,GAAG;EACvB,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAU;EAAK,CAAC;CAC9D;CACA,QAAQ,CAER;AACJ,GACa,IAAb,cAAuC,EAAgB;CACnD,YAAY,GAAS;EAEjB,AADA,MAAM,CAAO,GACb,KAAK,OAAO;EACZ,IAAM,IAAgB;GAClB,MAAM,KAAK;GACX,QAAQ,KAAK;GACb,SAAS,KAAK;EAClB;EAuBA,AAtBA,KAAK,SAAS,IAAI,EAAW;GACzB,SAAS,KAAK;GACd,QAAQ,KAAK;GACb,SAAS,KAAK;EAClB,CAAC,GACD,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,gBAAgB,IAAI,EAAmB,CAAa,GACzD,KAAK,QAAQ,IAAI,EAAW,CAAa,GACzC,KAAK,OAAO,IAAI,EAAW,CAAa,GACxC,KAAK,WAAW,IAAI,EAAe,CAAa,GAChD,KAAK,WAAW,IAAI,EAAe,CAAa,GAChD,KAAK,gBAAgB,IAAI,EAAoB,CAAa,GAC1D,KAAK,eAAe,IAAI,EAAmB,CAAa,GACxD,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,YAAY,IAAI,EAAgB,CAAa,GAClD,KAAK,QAAQ,IAAI,EAAY,CAAa,GAC1C,KAAK,MAAM,IAAI,EAAU,CAAa,GACtC,KAAK,UAAU,IAAI,EAAc,CAAa,GAC9C,KAAK,QAAQ,IAAI,EAAW,CAAa,GACzC,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,MAAM,IAAI,EAAkB,CAAa,GAC9C,KAAK,aAAa,IAAI,EAAiB,CAAa;CACxD;CACA,MAAM,QAAQ,GAAS;EACnB,IAAM,IAAO,EAAQ,cAAc,QAAQ,QAAQ,EAAE,KAAK,KAAK,MACzD,IAAS,EAAQ,aAAa,SAC9B,KAAA,IACA,EAAQ,aAAa,oBAChB,EAAQ,iBAAiB,KAAA,IAC1B,KAAK;EAkBf,QAAO,OAjBQ,MAAS,KAAK,QAAQ,MAAW,KAAK,SAC/C,KAAK,SACL,IAAI,EAAW;GACb,SAAS;GACT;GACA,SAAS,KAAK;EAClB,CAAC,GACyB,QAAQ;GAClC,QAAQ,EAAQ;GAChB,KAAK,EAAQ;GACb,QAAQ,EAAQ;GAChB,MAAM,EAAQ;GACd,SAAS,EAAQ;GACjB,SAAS,EAAQ,iBAAiB,EAAQ,iBAAiB,MAAO,KAAK;GACvE,uBAAuB,EAAQ;GAC/B,cAAc,EAAQ;EAC1B,CAAC,GACe;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./http-client.cjs");var t=class{constructor(t){this.host=t.host.replace(/\/$/,``),this.apiKey=t.apiKey,this.client=new e.HttpClient({baseUrl:this.host,apiKey:this.apiKey,timeout:t.timeout||6e4})}async getAgentSchema(){return(await this.client.get(`/api/settings/agent-schema`)).data}async getSettings(e={}){return(await this.client.get(`/api/settings`,{headers:e.exposeSecrets?{"X-Expose-Secrets":e.exposeSecrets}:void 0})).data}async updateSettings(e){return(await this.client.patch(`/api/settings`,e)).data}async createMcpServer(e,t){return(await this.client.post(`/api/settings/mcp/${encodeURIComponent(e)}`,t)).data}async patchMcpServer(e,t){return(await this.client.patch(`/api/settings/mcp/${encodeURIComponent(e)}`,t)).data}async deleteMcpServer(e){return(await this.client.delete(`/api/settings/mcp/${encodeURIComponent(e)}`)).data}async listSecrets(){return(await this.client.get(`/api/settings/secrets
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./http-client.cjs");var t=class{constructor(t){this.host=t.host.replace(/\/$/,``),this.apiKey=t.apiKey,this.client=new e.HttpClient({baseUrl:this.host,apiKey:this.apiKey,timeout:t.timeout||6e4})}async getAgentSchema(){return(await this.client.get(`/api/settings/agent-schema`)).data}async getSettings(e={}){return(await this.client.get(`/api/settings`,{headers:e.exposeSecrets?{"X-Expose-Secrets":e.exposeSecrets}:void 0})).data}async updateSettings(e){return(await this.client.patch(`/api/settings`,e)).data}async createMcpServer(e,t){return(await this.client.post(`/api/settings/mcp/${encodeURIComponent(e)}`,t)).data}async patchMcpServer(e,t){return(await this.client.patch(`/api/settings/mcp/${encodeURIComponent(e)}`,t)).data}async deleteMcpServer(e){return(await this.client.delete(`/api/settings/mcp/${encodeURIComponent(e)}`)).data}async listSecrets(e={}){return(await this.client.get(`/api/settings/secrets`,{params:e.agentProfileId?{agent_profile_id:e.agentProfileId}:void 0})).data}async upsertSecret(e){return(await this.client.put(`/api/settings/secrets`,e)).data}async getSecret(e){return(await this.client.get(`/api/settings/secrets/${encodeURIComponent(e)}`,{responseType:`text`})).data}async deleteSecret(e){return(await this.client.delete(`/api/settings/secrets/${encodeURIComponent(e)}`)).data}async getConversationSchema(){return(await this.client.get(`/api/settings/conversation-schema`)).data}async listProfiles(){return(await this.client.get(`/api/profiles`)).data}async getProfile(e,t={}){return(await this.client.get(`/api/profiles/${encodeURIComponent(e)}`,{headers:t.exposeSecrets?{"X-Expose-Secrets":t.exposeSecrets}:void 0})).data}async saveProfile(e,t){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}`,t)).data}async deleteProfile(e){return(await this.client.delete(`/api/profiles/${encodeURIComponent(e)}`)).data}async renameProfile(e,t){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}/rename`,{new_name:t})).data}close(){this.client.close()}};exports.SettingsClient=t;
|
|
2
2
|
//# sourceMappingURL=settings-client.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/settings-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SettingsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getAgentSchema() {\n const response = await this.client.get('/api/settings/agent-schema');\n return response.data;\n }\n async getSettings(options = {}) {\n const response = await this.client.get('/api/settings', {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async updateSettings(request) {\n const response = await this.client.patch('/api/settings', request);\n return response.data;\n }\n /** Create one named MCP server without reading or resending the catalog. */\n async createMcpServer(settingsKey, server) {\n const response = await this.client.post(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, server);\n return response.data;\n }\n /** Sparsely update one existing named MCP server. */\n async patchMcpServer(settingsKey, patch) {\n const response = await this.client.patch(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, patch);\n return response.data;\n }\n /** Delete one existing named MCP server. */\n async deleteMcpServer(settingsKey) {\n const response = await this.client.delete(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`);\n return response.data;\n }\n async listSecrets() {\n const response = await this.client.get('/api/settings/secrets');\n return response.data;\n }\n async upsertSecret(request) {\n const response = await this.client.put('/api/settings/secrets', request);\n return response.data;\n }\n async getSecret(name) {\n const response = await this.client.get(`/api/settings/secrets/${encodeURIComponent(name)}`, { responseType: 'text' });\n return response.data;\n }\n async deleteSecret(name) {\n const response = await this.client.delete(`/api/settings/secrets/${encodeURIComponent(name)}`);\n return response.data;\n }\n async getConversationSchema() {\n const response = await this.client.get('/api/settings/conversation-schema');\n return response.data;\n }\n async listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async saveProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}`, request);\n return response.data;\n }\n async deleteProfile(name) {\n const response = await this.client.delete(`/api/profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async renameProfile(name, newName) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/rename`, { new_name: newName });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=settings-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FACA,IAAa,EAAb,KAA4B,CACxB,YAAY,EAAS,CACjB,KAAK,KAAO,EAAQ,KAAK,QAAQ,MAAO,EAAE,EAC1C,KAAK,OAAS,EAAQ,OACtB,KAAK,OAAS,IAAIA,EAAAA,WAAW,CACzB,QAAS,KAAK,KACd,OAAQ,KAAK,OACb,QAAS,EAAQ,SAAW,GAChC,CAAC,CACL,CACA,MAAM,gBAAiB,CAEnB,OAAO,MADgB,KAAK,OAAO,IAAI,4BAA4B,GACnD,IACpB,CACA,MAAM,YAAY,EAAU,CAAC,EAAG,CAI5B,OAAO,MAHgB,KAAK,OAAO,IAAI,gBAAiB,CACpD,QAAS,EAAQ,cAAgB,CAAE,mBAAoB,EAAQ,aAAc,EAAI,IAAA,EACrF,CAAC,GACe,IACpB,CACA,MAAM,eAAe,EAAS,CAE1B,OAAO,MADgB,KAAK,OAAO,MAAM,gBAAiB,CAAO,GACjD,IACpB,CAEA,MAAM,gBAAgB,EAAa,EAAQ,CAEvC,OAAO,MADgB,KAAK,OAAO,KAAK,qBAAqB,mBAAmB,CAAW,IAAK,CAAM,GACtF,IACpB,CAEA,MAAM,eAAe,EAAa,EAAO,CAErC,OAAO,MADgB,KAAK,OAAO,MAAM,qBAAqB,mBAAmB,CAAW,IAAK,CAAK,GACtF,IACpB,CAEA,MAAM,gBAAgB,EAAa,CAE/B,OAAO,MADgB,KAAK,OAAO,OAAO,qBAAqB,mBAAmB,CAAW,GAAG,GAChF,IACpB,CACA,MAAM,
|
|
1
|
+
{"version":3,"file":"settings-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/settings-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SettingsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getAgentSchema() {\n const response = await this.client.get('/api/settings/agent-schema');\n return response.data;\n }\n async getSettings(options = {}) {\n const response = await this.client.get('/api/settings', {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async updateSettings(request) {\n const response = await this.client.patch('/api/settings', request);\n return response.data;\n }\n /** Create one named MCP server without reading or resending the catalog. */\n async createMcpServer(settingsKey, server) {\n const response = await this.client.post(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, server);\n return response.data;\n }\n /** Sparsely update one existing named MCP server. */\n async patchMcpServer(settingsKey, patch) {\n const response = await this.client.patch(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, patch);\n return response.data;\n }\n /** Delete one existing named MCP server. */\n async deleteMcpServer(settingsKey) {\n const response = await this.client.delete(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`);\n return response.data;\n }\n async listSecrets(options = {}) {\n const response = await this.client.get('/api/settings/secrets', {\n params: options.agentProfileId ? { agent_profile_id: options.agentProfileId } : undefined,\n });\n return response.data;\n }\n async upsertSecret(request) {\n const response = await this.client.put('/api/settings/secrets', request);\n return response.data;\n }\n async getSecret(name) {\n const response = await this.client.get(`/api/settings/secrets/${encodeURIComponent(name)}`, { responseType: 'text' });\n return response.data;\n }\n async deleteSecret(name) {\n const response = await this.client.delete(`/api/settings/secrets/${encodeURIComponent(name)}`);\n return response.data;\n }\n async getConversationSchema() {\n const response = await this.client.get('/api/settings/conversation-schema');\n return response.data;\n }\n async listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async saveProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}`, request);\n return response.data;\n }\n async deleteProfile(name) {\n const response = await this.client.delete(`/api/profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async renameProfile(name, newName) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/rename`, { new_name: newName });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=settings-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FACA,IAAa,EAAb,KAA4B,CACxB,YAAY,EAAS,CACjB,KAAK,KAAO,EAAQ,KAAK,QAAQ,MAAO,EAAE,EAC1C,KAAK,OAAS,EAAQ,OACtB,KAAK,OAAS,IAAIA,EAAAA,WAAW,CACzB,QAAS,KAAK,KACd,OAAQ,KAAK,OACb,QAAS,EAAQ,SAAW,GAChC,CAAC,CACL,CACA,MAAM,gBAAiB,CAEnB,OAAO,MADgB,KAAK,OAAO,IAAI,4BAA4B,GACnD,IACpB,CACA,MAAM,YAAY,EAAU,CAAC,EAAG,CAI5B,OAAO,MAHgB,KAAK,OAAO,IAAI,gBAAiB,CACpD,QAAS,EAAQ,cAAgB,CAAE,mBAAoB,EAAQ,aAAc,EAAI,IAAA,EACrF,CAAC,GACe,IACpB,CACA,MAAM,eAAe,EAAS,CAE1B,OAAO,MADgB,KAAK,OAAO,MAAM,gBAAiB,CAAO,GACjD,IACpB,CAEA,MAAM,gBAAgB,EAAa,EAAQ,CAEvC,OAAO,MADgB,KAAK,OAAO,KAAK,qBAAqB,mBAAmB,CAAW,IAAK,CAAM,GACtF,IACpB,CAEA,MAAM,eAAe,EAAa,EAAO,CAErC,OAAO,MADgB,KAAK,OAAO,MAAM,qBAAqB,mBAAmB,CAAW,IAAK,CAAK,GACtF,IACpB,CAEA,MAAM,gBAAgB,EAAa,CAE/B,OAAO,MADgB,KAAK,OAAO,OAAO,qBAAqB,mBAAmB,CAAW,GAAG,GAChF,IACpB,CACA,MAAM,YAAY,EAAU,CAAC,EAAG,CAI5B,OAAO,MAHgB,KAAK,OAAO,IAAI,wBAAyB,CAC5D,OAAQ,EAAQ,eAAiB,CAAE,iBAAkB,EAAQ,cAAe,EAAI,IAAA,EACpF,CAAC,GACe,IACpB,CACA,MAAM,aAAa,EAAS,CAExB,OAAO,MADgB,KAAK,OAAO,IAAI,wBAAyB,CAAO,GACvD,IACpB,CACA,MAAM,UAAU,EAAM,CAElB,OAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,mBAAmB,CAAI,IAAK,CAAE,aAAc,MAAO,CAAC,GACpG,IACpB,CACA,MAAM,aAAa,EAAM,CAErB,OAAO,MADgB,KAAK,OAAO,OAAO,yBAAyB,mBAAmB,CAAI,GAAG,GAC7E,IACpB,CACA,MAAM,uBAAwB,CAE1B,OAAO,MADgB,KAAK,OAAO,IAAI,mCAAmC,GAC1D,IACpB,CACA,MAAM,cAAe,CAEjB,OAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC,IACpB,CACA,MAAM,WAAW,EAAM,EAAU,CAAC,EAAG,CAIjC,OAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,IAAK,CAChF,QAAS,EAAQ,cAAgB,CAAE,mBAAoB,EAAQ,aAAc,EAAI,IAAA,EACrF,CAAC,GACe,IACpB,CACA,MAAM,YAAY,EAAM,EAAS,CAE7B,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,IAAK,CAAO,GAC5E,IACpB,CACA,MAAM,cAAc,EAAM,CAEtB,OAAO,MADgB,KAAK,OAAO,OAAO,iBAAiB,mBAAmB,CAAI,GAAG,GACrE,IACpB,CACA,MAAM,cAAc,EAAM,EAAS,CAE/B,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,SAAU,CAAE,SAAU,CAAQ,CAAC,GACjG,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -26,8 +26,8 @@ var t = class {
|
|
|
26
26
|
async deleteMcpServer(e) {
|
|
27
27
|
return (await this.client.delete(`/api/settings/mcp/${encodeURIComponent(e)}`)).data;
|
|
28
28
|
}
|
|
29
|
-
async listSecrets() {
|
|
30
|
-
return (await this.client.get("/api/settings/secrets")).data;
|
|
29
|
+
async listSecrets(e = {}) {
|
|
30
|
+
return (await this.client.get("/api/settings/secrets", { params: e.agentProfileId ? { agent_profile_id: e.agentProfileId } : void 0 })).data;
|
|
31
31
|
}
|
|
32
32
|
async upsertSecret(e) {
|
|
33
33
|
return (await this.client.put("/api/settings/secrets", e)).data;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/settings-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SettingsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getAgentSchema() {\n const response = await this.client.get('/api/settings/agent-schema');\n return response.data;\n }\n async getSettings(options = {}) {\n const response = await this.client.get('/api/settings', {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async updateSettings(request) {\n const response = await this.client.patch('/api/settings', request);\n return response.data;\n }\n /** Create one named MCP server without reading or resending the catalog. */\n async createMcpServer(settingsKey, server) {\n const response = await this.client.post(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, server);\n return response.data;\n }\n /** Sparsely update one existing named MCP server. */\n async patchMcpServer(settingsKey, patch) {\n const response = await this.client.patch(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, patch);\n return response.data;\n }\n /** Delete one existing named MCP server. */\n async deleteMcpServer(settingsKey) {\n const response = await this.client.delete(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`);\n return response.data;\n }\n async listSecrets() {\n const response = await this.client.get('/api/settings/secrets');\n return response.data;\n }\n async upsertSecret(request) {\n const response = await this.client.put('/api/settings/secrets', request);\n return response.data;\n }\n async getSecret(name) {\n const response = await this.client.get(`/api/settings/secrets/${encodeURIComponent(name)}`, { responseType: 'text' });\n return response.data;\n }\n async deleteSecret(name) {\n const response = await this.client.delete(`/api/settings/secrets/${encodeURIComponent(name)}`);\n return response.data;\n }\n async getConversationSchema() {\n const response = await this.client.get('/api/settings/conversation-schema');\n return response.data;\n }\n async listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async saveProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}`, request);\n return response.data;\n }\n async deleteProfile(name) {\n const response = await this.client.delete(`/api/profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async renameProfile(name, newName) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/rename`, { new_name: newName });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=settings-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAA4B;CACxB,YAAY,GAAS;EAGjB,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,OAAO,EAAE,GAC1C,KAAK,SAAS,EAAQ,QACtB,KAAK,SAAS,IAAI,EAAW;GACzB,SAAS,KAAK;GACd,QAAQ,KAAK;GACb,SAAS,EAAQ,WAAW;EAChC,CAAC;CACL;CACA,MAAM,iBAAiB;EAEnB,QAAO,MADgB,KAAK,OAAO,IAAI,4BAA4B,GACnD;CACpB;CACA,MAAM,YAAY,IAAU,CAAC,GAAG;EAI5B,QAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,EACpD,SAAS,EAAQ,gBAAgB,EAAE,oBAAoB,EAAQ,cAAc,IAAI,KAAA,EACrF,CAAC,GACe;CACpB;CACA,MAAM,eAAe,GAAS;EAE1B,QAAO,MADgB,KAAK,OAAO,MAAM,iBAAiB,CAAO,GACjD;CACpB;CAEA,MAAM,gBAAgB,GAAa,GAAQ;EAEvC,QAAO,MADgB,KAAK,OAAO,KAAK,qBAAqB,mBAAmB,CAAW,KAAK,CAAM,GACtF;CACpB;CAEA,MAAM,eAAe,GAAa,GAAO;EAErC,QAAO,MADgB,KAAK,OAAO,MAAM,qBAAqB,mBAAmB,CAAW,KAAK,CAAK,GACtF;CACpB;CAEA,MAAM,gBAAgB,GAAa;EAE/B,QAAO,MADgB,KAAK,OAAO,OAAO,qBAAqB,mBAAmB,CAAW,GAAG,GAChF;CACpB;CACA,MAAM,
|
|
1
|
+
{"version":3,"file":"settings-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/settings-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SettingsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getAgentSchema() {\n const response = await this.client.get('/api/settings/agent-schema');\n return response.data;\n }\n async getSettings(options = {}) {\n const response = await this.client.get('/api/settings', {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async updateSettings(request) {\n const response = await this.client.patch('/api/settings', request);\n return response.data;\n }\n /** Create one named MCP server without reading or resending the catalog. */\n async createMcpServer(settingsKey, server) {\n const response = await this.client.post(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, server);\n return response.data;\n }\n /** Sparsely update one existing named MCP server. */\n async patchMcpServer(settingsKey, patch) {\n const response = await this.client.patch(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, patch);\n return response.data;\n }\n /** Delete one existing named MCP server. */\n async deleteMcpServer(settingsKey) {\n const response = await this.client.delete(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`);\n return response.data;\n }\n async listSecrets(options = {}) {\n const response = await this.client.get('/api/settings/secrets', {\n params: options.agentProfileId ? { agent_profile_id: options.agentProfileId } : undefined,\n });\n return response.data;\n }\n async upsertSecret(request) {\n const response = await this.client.put('/api/settings/secrets', request);\n return response.data;\n }\n async getSecret(name) {\n const response = await this.client.get(`/api/settings/secrets/${encodeURIComponent(name)}`, { responseType: 'text' });\n return response.data;\n }\n async deleteSecret(name) {\n const response = await this.client.delete(`/api/settings/secrets/${encodeURIComponent(name)}`);\n return response.data;\n }\n async getConversationSchema() {\n const response = await this.client.get('/api/settings/conversation-schema');\n return response.data;\n }\n async listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async saveProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}`, request);\n return response.data;\n }\n async deleteProfile(name) {\n const response = await this.client.delete(`/api/profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async renameProfile(name, newName) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/rename`, { new_name: newName });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=settings-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAA4B;CACxB,YAAY,GAAS;EAGjB,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,OAAO,EAAE,GAC1C,KAAK,SAAS,EAAQ,QACtB,KAAK,SAAS,IAAI,EAAW;GACzB,SAAS,KAAK;GACd,QAAQ,KAAK;GACb,SAAS,EAAQ,WAAW;EAChC,CAAC;CACL;CACA,MAAM,iBAAiB;EAEnB,QAAO,MADgB,KAAK,OAAO,IAAI,4BAA4B,GACnD;CACpB;CACA,MAAM,YAAY,IAAU,CAAC,GAAG;EAI5B,QAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,EACpD,SAAS,EAAQ,gBAAgB,EAAE,oBAAoB,EAAQ,cAAc,IAAI,KAAA,EACrF,CAAC,GACe;CACpB;CACA,MAAM,eAAe,GAAS;EAE1B,QAAO,MADgB,KAAK,OAAO,MAAM,iBAAiB,CAAO,GACjD;CACpB;CAEA,MAAM,gBAAgB,GAAa,GAAQ;EAEvC,QAAO,MADgB,KAAK,OAAO,KAAK,qBAAqB,mBAAmB,CAAW,KAAK,CAAM,GACtF;CACpB;CAEA,MAAM,eAAe,GAAa,GAAO;EAErC,QAAO,MADgB,KAAK,OAAO,MAAM,qBAAqB,mBAAmB,CAAW,KAAK,CAAK,GACtF;CACpB;CAEA,MAAM,gBAAgB,GAAa;EAE/B,QAAO,MADgB,KAAK,OAAO,OAAO,qBAAqB,mBAAmB,CAAW,GAAG,GAChF;CACpB;CACA,MAAM,YAAY,IAAU,CAAC,GAAG;EAI5B,QAAO,MAHgB,KAAK,OAAO,IAAI,yBAAyB,EAC5D,QAAQ,EAAQ,iBAAiB,EAAE,kBAAkB,EAAQ,eAAe,IAAI,KAAA,EACpF,CAAC,GACe;CACpB;CACA,MAAM,aAAa,GAAS;EAExB,QAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,CAAO,GACvD;CACpB;CACA,MAAM,UAAU,GAAM;EAElB,QAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,mBAAmB,CAAI,KAAK,EAAE,cAAc,OAAO,CAAC,GACpG;CACpB;CACA,MAAM,aAAa,GAAM;EAErB,QAAO,MADgB,KAAK,OAAO,OAAO,yBAAyB,mBAAmB,CAAI,GAAG,GAC7E;CACpB;CACA,MAAM,wBAAwB;EAE1B,QAAO,MADgB,KAAK,OAAO,IAAI,mCAAmC,GAC1D;CACpB;CACA,MAAM,eAAe;EAEjB,QAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC;CACpB;CACA,MAAM,WAAW,GAAM,IAAU,CAAC,GAAG;EAIjC,QAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,KAAK,EAChF,SAAS,EAAQ,gBAAgB,EAAE,oBAAoB,EAAQ,cAAc,IAAI,KAAA,EACrF,CAAC,GACe;CACpB;CACA,MAAM,YAAY,GAAM,GAAS;EAE7B,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,KAAK,CAAO,GAC5E;CACpB;CACA,MAAM,cAAc,GAAM;EAEtB,QAAO,MADgB,KAAK,OAAO,OAAO,iBAAiB,mBAAmB,CAAI,GAAG,GACrE;CACpB;CACA,MAAM,cAAc,GAAM,GAAS;EAE/B,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,UAAU,EAAE,UAAU,EAAQ,CAAC,GACjG;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require("../../../../_virtual/_rolldown/runtime.cjs"),require("./client/agent-profiles-client.cjs"),require("./client/server-client.cjs"),require("./client/agent-server-compatibility.cjs"),require("./client/bash-client.cjs"),require("./client/conversation-client.cjs"),require("./client/file-client.cjs"),require("./client/hooks-client.cjs"),require("./client/llm-client.cjs"),require("./client/mcp-client.cjs"),require("./client/profiles-client.cjs"),require("./client/meta-profiles-client.cjs"),require("./client/settings-client.cjs"),require("./client/skills-client.cjs"),require("./client/sub-agents-client.cjs"),require("./client/plugins-client.cjs"),require("./client/tool-client.cjs"),require("./client/vscode-client.cjs"),require("./client/
|
|
1
|
+
require("../../../../_virtual/_rolldown/runtime.cjs"),require("./client/agent-profiles-client.cjs"),require("./client/server-client.cjs"),require("./client/agent-server-compatibility.cjs"),require("./client/bash-client.cjs"),require("./client/conversation-client.cjs"),require("./client/file-client.cjs"),require("./client/hooks-client.cjs"),require("./client/llm-client.cjs"),require("./client/mcp-client.cjs"),require("./client/profiles-client.cjs"),require("./client/meta-profiles-client.cjs"),require("./client/settings-client.cjs"),require("./client/skills-client.cjs"),require("./client/sub-agents-client.cjs"),require("./client/plugins-client.cjs"),require("./client/tool-client.cjs"),require("./client/vscode-client.cjs"),require("./client/shared-client.cjs"),require("./client/workspaces-client.cjs"),require("./client/openhands-client.cjs"),require("./client/device-flow-client.cjs"),require("./client/cloud-client.cjs");
|
|
@@ -15,7 +15,6 @@ import "./client/sub-agents-client.js";
|
|
|
15
15
|
import "./client/plugins-client.js";
|
|
16
16
|
import "./client/tool-client.js";
|
|
17
17
|
import "./client/vscode-client.js";
|
|
18
|
-
import "./client/desktop-client.js";
|
|
19
18
|
import "./client/shared-client.js";
|
|
20
19
|
import "./client/workspaces-client.js";
|
|
21
20
|
import "./client/openhands-client.js";
|
package/dist/node_modules/@openhands/typescript-client/dist/conversation/conversation-manager.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs"),require("../client/http-client.cjs"),require("../client/agent-profiles-client.cjs"),require("../client/server-client.cjs"),require("../client/file-client.cjs"),require("../client/hooks-client.cjs"),require("../client/llm-client.cjs"),require("../client/mcp-client.cjs"),require("../client/profiles-client.cjs"),require("../client/meta-profiles-client.cjs"),require("../client/settings-client.cjs"),require("../client/skills-client.cjs"),require("../client/sub-agents-client.cjs"),require("../client/tool-client.cjs"),require("../client/vscode-client.cjs"),require("../client/
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs"),require("../client/http-client.cjs"),require("../client/agent-profiles-client.cjs"),require("../client/server-client.cjs"),require("../client/file-client.cjs"),require("../client/hooks-client.cjs"),require("../client/llm-client.cjs"),require("../client/mcp-client.cjs"),require("../client/profiles-client.cjs"),require("../client/meta-profiles-client.cjs"),require("../client/settings-client.cjs"),require("../client/skills-client.cjs"),require("../client/sub-agents-client.cjs"),require("../client/tool-client.cjs"),require("../client/vscode-client.cjs"),require("../client/shared-client.cjs"),require("../client/workspaces-client.cjs"),require("../workspace/remote-workspace.cjs"),require("./remote-conversation.cjs");
|
package/dist/node_modules/@openhands/typescript-client/dist/conversation/conversation-manager.js
CHANGED
|
@@ -12,7 +12,6 @@ import "../client/skills-client.js";
|
|
|
12
12
|
import "../client/sub-agents-client.js";
|
|
13
13
|
import "../client/tool-client.js";
|
|
14
14
|
import "../client/vscode-client.js";
|
|
15
|
-
import "../client/desktop-client.js";
|
|
16
15
|
import "../client/shared-client.js";
|
|
17
16
|
import "../client/workspaces-client.js";
|
|
18
17
|
import "../workspace/remote-workspace.js";
|
package/dist/package.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("./_virtual/_rolldown/runtime.cjs");var e={name:`@openhands/agent-canvas`,version:`1.
|
|
1
|
+
require("./_virtual/_rolldown/runtime.cjs");var e={name:`@openhands/agent-canvas`,version:`1.20.0`,description:`Agent Canvas UI for OpenHands - run AI coding agents with a visual interface`,license:`MIT`,private:!1,type:`module`,repository:{type:`git`,url:`https://github.com/OpenHands/OpenHands`},homepage:`https://github.com/OpenHands/OpenHands#readme`,bugs:{url:`https://github.com/OpenHands/OpenHands/issues`},bin:{"agent-canvas":`bin/agent-canvas.mjs`},engines:{node:`>=24`},dependencies:{"@heroui/react":`2.8.10`,"@microlink/react-json-view":`1.31.25`,"@monaco-editor/react":`4.7.0`,"@openhands/extensions":`0.22.1`,"@openhands/typescript-client":`1.49.1`,"@react-router/node":`7.18.2`,"@react-router/serve":`7.18.2`,"@tailwindcss/vite":`4.3.3`,"@tanstack/react-query":`5.101.4`,"@types/shell-quote":`1.7.5`,"@uidotdev/usehooks":`2.4.1`,"@xterm/addon-fit":`0.11.0`,"@xterm/xterm":`6.0.0`,axios:`1.18.0`,"class-variance-authority":`0.7.1`,clsx:`2.1.1`,downshift:`9.3.2`,"framer-motion":`12.38.0`,httpxy:`0.5.3`,i18next:`26.3.6`,"i18next-browser-languagedetector":`8.2.1`,"i18next-http-backend":`4.0.1`,isbot:`5.1.39`,"lucide-react":`1.25.0`,"monaco-editor":`0.56.0`,"posthog-js":`1.380.0`,react:`19.2.8`,"react-dom":`19.2.8`,"react-hot-toast":`2.6.0`,"react-i18next":`17.0.11`,"react-icons":`5.6.0`,"react-markdown":`10.1.0`,"react-router":`7.18.2`,"react-syntax-highlighter":`16.1.1`,"rehype-raw":`7.0.0`,"rehype-sanitize":`6.0.0`,"remark-breaks":`4.0.0`,"remark-gfm":`4.0.1`,"shell-quote":`1.9.0`,sirv:`3.0.2`,"sirv-cli":`3.0.1`,"socket.io-client":`4.8.3`,"tailwind-merge":`3.6.0`,"tailwind-scrollbar":`4.0.2`,"unist-util-visit":`5.1.0`,uuid:`14.0.0`,vite:`8.0.16`,winston:`3.19.0`,"winston-daily-rotate-file":`5.0.0`,zustand:`5.0.14`},scripts:{dev:`node --env-file-if-exists=.env scripts/dev-with-automation.mjs`,"dev:static":`node --env-file-if-exists=.env scripts/dev-static.mjs`,"dev:extra-backend":`node --env-file-if-exists=.env scripts/dev-extra-backend.mjs`,"dev:minimal":`node --env-file-if-exists=.env scripts/dev-safe.mjs`,"dev:frontend":`npm run make-i18n && cross-env VITE_MOCK_API=false react-router dev`,"dev:mock":`npm run make-i18n && cross-env VITE_MOCK_API=true react-router dev`,build:`npm run build:app`,"build:mock":`npm run make-i18n && cross-env VITE_MOCK_API=true react-router build`,start:`npx sirv-cli build/ --single`,test:`npm run make-i18n && vitest run`,"test:e2e":`playwright test --pass-with-no-tests`,"test:e2e:live":`node --env-file-if-exists=.env tests/e2e/live/scripts/run-live-e2e.mjs`,"test:e2e:mock-llm":`playwright test --config=playwright.mock-llm.config.ts`,"test:e2e:mock-llm:docker":`playwright test --config=playwright.mock-llm-docker.config.ts`,"test:coverage":`npm run make-i18n && vitest run --coverage`,"test:mutation":`npm run make-i18n && stryker run`,"test:mutation:diff":`npm run make-i18n && node scripts/stryker-diff.mjs`,"test:mutation:incremental":`npm run make-i18n && stryker run --incremental`,dev_wsl:`VITE_WATCH_USE_POLLING=true vite`,preview:`vite preview`,"make-i18n":`node scripts/make-i18n-translations.cjs`,prelint:`npm run make-i18n`,lint:`npm run typecheck && eslint src && prettier --check src/**/*.{ts,tsx}`,"lint:fix":`eslint src --fix && prettier --write src/**/*.{ts,tsx}`,postinstall:`node -e "if (process.env.npm_config_global === 'true') { console.log('\\n\\x1b[32m\\x1b[1m\\u2713 @openhands/agent-canvas installed!\\x1b[0m\\n\\nTo start Agent Canvas, run:\\n\\n \\x1b[36m\\x1b[1magent-canvas\\x1b[0m\\n\\nThis launches the full stack at \\x1b[36mhttp://localhost:8000\\x1b[0m.\\n\\nDocs: https://docs.openhands.dev/openhands/usage/agent-canvas/setup\\n') }"`,prepare:`husky`,typecheck:`react-router typegen && tsc`,"typecheck:staged":`react-router typegen && npx tsc --noEmit --skipLibCheck`,"check-translation-completeness":`node scripts/check-translation-completeness.cjs`,"build:app":`npm run make-i18n && react-router build`,"build:lib":`npm run make-i18n && react-router typegen && cross-env BUILD_LIB=true vite build && tsc -p tsconfig.lib.json`,"build:docker":`node scripts/docker-build.mjs`,"example:acp-docker:env":`node scripts/gen-acp-docker-env.mjs`,predesktop:`node scripts/brand-dev-electron.mjs`,desktop:`npm run build:app && electron electron`,"build:desktop":`npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && electron-builder --config electron-builder.config.mjs --publish never`,"build:desktop:universal":`npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && cross-env ELECTRON_ARCH=universal electron-builder --config electron-builder.config.mjs --publish never`,"download-uv":`node scripts/download-uv.mjs`,"download-node":`node scripts/download-node.mjs`,"generate-icons":`node scripts/generate-icons.mjs`},"lint-staged":{"src/**/*.{ts,tsx,js}":[`eslint --fix`,`prettier --write`],"src/**/*.{ts,tsx}":[`node scripts/run-staged-typecheck.mjs`],"src/**/*":[`npm run check-translation-completeness`]},devDependencies:{"@eslint/eslintrc":`3.3.6`,"@eslint/js":`9.39.4`,"@mswjs/socket.io-binding":`0.2.0`,"@playwright/test":`1.62.1`,"@react-router/dev":`7.18.2`,"@stryker-mutator/core":`9.6.1`,"@stryker-mutator/vitest-runner":`9.6.1`,"@tailwindcss/typography":`0.5.20`,"@tanstack/eslint-plugin-query":`5.101.4`,"@testing-library/dom":`10.4.1`,"@testing-library/jest-dom":`7.0.0`,"@testing-library/react":`16.3.2`,"@testing-library/user-event":`14.6.1`,"@types/mdast":`4.0.4`,"@types/node":`26.1.2`,"@types/react":`19.2.18`,"@types/react-dom":`19.2.4`,"@types/react-syntax-highlighter":`15.5.13`,"@typescript-eslint/eslint-plugin":`8.65.0`,"@typescript-eslint/parser":`8.65.0`,"@vercel/react-router":`1.3.0`,"@vitest/coverage-v8":`4.1.10`,"cross-env":`10.1.0`,electron:`42.3.3`,"electron-builder":`26.15.3`,eslint:`9.39.5`,"eslint-config-prettier":`10.1.8`,"eslint-import-resolver-typescript":`4.4.5`,"eslint-plugin-i18next":`6.1.5`,"eslint-plugin-import-x":`4.17.1`,"eslint-plugin-jsx-a11y":`6.10.2`,"eslint-plugin-prettier":`5.5.6`,"eslint-plugin-react":`7.37.5`,"eslint-plugin-react-hooks":`7.1.1`,"eslint-plugin-unused-imports":`4.4.1`,globals:`16.5.0`,husky:`9.1.7`,jsdom:`30.0.1`,"lint-staged":`17.3.0`,msw:`2.15.0`,png2icons:`2.0.1`,"postcss-prefix-selector":`2.1.1`,prettier:`3.8.3`,tailwindcss:`4.3.3`,typescript:`6.0.3`,"vite-plugin-svgr":`5.2.0`,vitest:`4.1.10`},packageManager:`npm@10.5.0`,volta:{node:`22.12.0`},msw:{workerDirectory:[`public`]},overrides:{"@vercel/static-config":{ajv:`8.20.0`},dompurify:`3.4.14`,"typed-rest-client":{qs:`6.15.3`}},main:`./dist/index.cjs`,module:`./dist/index.js`,types:`./dist/index.d.ts`,files:[`dist`,`bin`,`build`,`config`,`scripts`,`tools`],exports:{".":{types:`./dist/index.d.ts`,import:`./dist/index.js`,require:`./dist/index.cjs`},"./browser":{types:`./dist/components/browser/index.d.ts`,import:`./dist/components/browser/index.js`,require:`./dist/components/browser/index.cjs`},"./conversation":{types:`./dist/components/conversation/index.d.ts`,import:`./dist/components/conversation/index.js`,require:`./dist/components/conversation/index.cjs`},"./files":{types:`./dist/components/files/index.d.ts`,import:`./dist/components/files/index.js`,require:`./dist/components/files/index.cjs`},"./settings":{types:`./dist/components/settings/index.d.ts`,import:`./dist/components/settings/index.js`,require:`./dist/components/settings/index.cjs`},"./sidebar":{types:`./dist/components/sidebar/index.d.ts`,import:`./dist/components/sidebar/index.js`,require:`./dist/components/sidebar/index.cjs`},"./terminal":{types:`./dist/components/terminal/index.d.ts`,import:`./dist/components/terminal/index.js`,require:`./dist/components/terminal/index.cjs`},"./i18n":{types:`./dist/i18n/index.d.ts`,import:`./dist/i18n/index.js`,require:`./dist/i18n/index.cjs`},"./package.json":`./package.json`},peerDependencies:{react:`19.2.8`,"react-dom":`19.2.8`,"react-router":`7.18.2`}};exports.default=e;
|
|
2
2
|
//# sourceMappingURL=package.cjs.map
|
package/dist/package.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.cjs","names":[],"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@openhands/agent-canvas\",\n \"version\": \"1.19.0\",\n \"description\": \"Agent Canvas UI for OpenHands - run AI coding agents with a visual interface\",\n \"license\": \"MIT\",\n \"private\": false,\n \"type\": \"module\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/OpenHands/OpenHands\"\n },\n \"homepage\": \"https://github.com/OpenHands/OpenHands#readme\",\n \"bugs\": {\n \"url\": \"https://github.com/OpenHands/OpenHands/issues\"\n },\n \"bin\": {\n \"agent-canvas\": \"bin/agent-canvas.mjs\"\n },\n \"engines\": {\n \"node\": \">=24\"\n },\n \"dependencies\": {\n \"@heroui/react\": \"2.8.10\",\n \"@microlink/react-json-view\": \"1.31.25\",\n \"@monaco-editor/react\": \"4.7.0\",\n \"@openhands/extensions\": \"0.20.0\",\n \"@openhands/typescript-client\": \"1.48.0\",\n \"@react-router/node\": \"7.18.2\",\n \"@react-router/serve\": \"7.18.2\",\n \"@tailwindcss/vite\": \"4.3.3\",\n \"@tanstack/react-query\": \"5.101.4\",\n \"@types/shell-quote\": \"1.7.5\",\n \"@uidotdev/usehooks\": \"2.4.1\",\n \"@xterm/addon-fit\": \"0.11.0\",\n \"@xterm/xterm\": \"6.0.0\",\n \"axios\": \"1.18.0\",\n \"class-variance-authority\": \"0.7.1\",\n \"clsx\": \"2.1.1\",\n \"downshift\": \"9.3.2\",\n \"framer-motion\": \"12.38.0\",\n \"httpxy\": \"0.5.3\",\n \"i18next\": \"26.3.6\",\n \"i18next-browser-languagedetector\": \"8.2.1\",\n \"i18next-http-backend\": \"4.0.1\",\n \"isbot\": \"5.1.39\",\n \"lucide-react\": \"1.25.0\",\n \"monaco-editor\": \"0.56.0\",\n \"posthog-js\": \"1.380.0\",\n \"react\": \"19.2.8\",\n \"react-dom\": \"19.2.8\",\n \"react-hot-toast\": \"2.6.0\",\n \"react-i18next\": \"17.0.11\",\n \"react-icons\": \"5.6.0\",\n \"react-markdown\": \"10.1.0\",\n \"react-router\": \"7.18.2\",\n \"react-syntax-highlighter\": \"16.1.1\",\n \"rehype-raw\": \"7.0.0\",\n \"rehype-sanitize\": \"6.0.0\",\n \"remark-breaks\": \"4.0.0\",\n \"remark-gfm\": \"4.0.1\",\n \"shell-quote\": \"1.9.0\",\n \"sirv\": \"3.0.2\",\n \"sirv-cli\": \"3.0.1\",\n \"socket.io-client\": \"4.8.3\",\n \"tailwind-merge\": \"3.6.0\",\n \"tailwind-scrollbar\": \"4.0.2\",\n \"unist-util-visit\": \"5.1.0\",\n \"uuid\": \"14.0.0\",\n \"vite\": \"8.0.16\",\n \"winston\": \"3.19.0\",\n \"winston-daily-rotate-file\": \"5.0.0\",\n \"zustand\": \"5.0.14\"\n },\n \"scripts\": {\n \"dev\": \"node --env-file-if-exists=.env scripts/dev-with-automation.mjs\",\n \"dev:static\": \"node --env-file-if-exists=.env scripts/dev-static.mjs\",\n \"dev:extra-backend\": \"node --env-file-if-exists=.env scripts/dev-extra-backend.mjs\",\n \"dev:minimal\": \"node --env-file-if-exists=.env scripts/dev-safe.mjs\",\n \"dev:frontend\": \"npm run make-i18n && cross-env VITE_MOCK_API=false react-router dev\",\n \"dev:mock\": \"npm run make-i18n && cross-env VITE_MOCK_API=true react-router dev\",\n \"build\": \"npm run build:app\",\n \"build:mock\": \"npm run make-i18n && cross-env VITE_MOCK_API=true react-router build\",\n \"start\": \"npx sirv-cli build/ --single\",\n \"test\": \"npm run make-i18n && vitest run\",\n \"test:e2e\": \"playwright test --pass-with-no-tests\",\n \"test:e2e:live\": \"node --env-file-if-exists=.env tests/e2e/live/scripts/run-live-e2e.mjs\",\n \"test:e2e:mock-llm\": \"playwright test --config=playwright.mock-llm.config.ts\",\n \"test:e2e:mock-llm:docker\": \"playwright test --config=playwright.mock-llm-docker.config.ts\",\n \"test:coverage\": \"npm run make-i18n && vitest run --coverage\",\n \"test:mutation\": \"npm run make-i18n && stryker run\",\n \"test:mutation:diff\": \"npm run make-i18n && node scripts/stryker-diff.mjs\",\n \"test:mutation:incremental\": \"npm run make-i18n && stryker run --incremental\",\n \"dev_wsl\": \"VITE_WATCH_USE_POLLING=true vite\",\n \"preview\": \"vite preview\",\n \"make-i18n\": \"node scripts/make-i18n-translations.cjs\",\n \"prelint\": \"npm run make-i18n\",\n \"lint\": \"npm run typecheck && eslint src && prettier --check src/**/*.{ts,tsx}\",\n \"lint:fix\": \"eslint src --fix && prettier --write src/**/*.{ts,tsx}\",\n \"postinstall\": \"node -e \\\"if (process.env.npm_config_global === 'true') { console.log('\\\\n\\\\x1b[32m\\\\x1b[1m\\\\u2713 @openhands/agent-canvas installed!\\\\x1b[0m\\\\n\\\\nTo start Agent Canvas, run:\\\\n\\\\n \\\\x1b[36m\\\\x1b[1magent-canvas\\\\x1b[0m\\\\n\\\\nThis launches the full stack at \\\\x1b[36mhttp://localhost:8000\\\\x1b[0m.\\\\n\\\\nDocs: https://docs.openhands.dev/openhands/usage/agent-canvas/setup\\\\n') }\\\"\",\n \"prepare\": \"husky\",\n \"typecheck\": \"react-router typegen && tsc\",\n \"typecheck:staged\": \"react-router typegen && npx tsc --noEmit --skipLibCheck\",\n \"check-translation-completeness\": \"node scripts/check-translation-completeness.cjs\",\n \"build:app\": \"npm run make-i18n && react-router build\",\n \"build:lib\": \"npm run make-i18n && react-router typegen && cross-env BUILD_LIB=true vite build && tsc -p tsconfig.lib.json\",\n \"build:docker\": \"node scripts/docker-build.mjs\",\n \"example:acp-docker:env\": \"node scripts/gen-acp-docker-env.mjs\",\n \"predesktop\": \"node scripts/brand-dev-electron.mjs\",\n \"desktop\": \"npm run build:app && electron electron\",\n \"build:desktop\": \"npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && electron-builder --config electron-builder.config.mjs --publish never\",\n \"build:desktop:universal\": \"npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && cross-env ELECTRON_ARCH=universal electron-builder --config electron-builder.config.mjs --publish never\",\n \"download-uv\": \"node scripts/download-uv.mjs\",\n \"download-node\": \"node scripts/download-node.mjs\",\n \"generate-icons\": \"node scripts/generate-icons.mjs\"\n },\n \"lint-staged\": {\n \"src/**/*.{ts,tsx,js}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"src/**/*.{ts,tsx}\": [\n \"node scripts/run-staged-typecheck.mjs\"\n ],\n \"src/**/*\": [\n \"npm run check-translation-completeness\"\n ]\n },\n \"devDependencies\": {\n \"@eslint/eslintrc\": \"3.3.6\",\n \"@eslint/js\": \"9.39.4\",\n \"@mswjs/socket.io-binding\": \"0.2.0\",\n \"@playwright/test\": \"1.62.1\",\n \"@react-router/dev\": \"7.18.2\",\n \"@stryker-mutator/core\": \"9.6.1\",\n \"@stryker-mutator/vitest-runner\": \"9.6.1\",\n \"@tailwindcss/typography\": \"0.5.20\",\n \"@tanstack/eslint-plugin-query\": \"5.101.4\",\n \"@testing-library/dom\": \"10.4.1\",\n \"@testing-library/jest-dom\": \"7.0.0\",\n \"@testing-library/react\": \"16.3.2\",\n \"@testing-library/user-event\": \"14.6.1\",\n \"@types/mdast\": \"4.0.4\",\n \"@types/node\": \"26.1.2\",\n \"@types/react\": \"19.2.18\",\n \"@types/react-dom\": \"19.2.4\",\n \"@types/react-syntax-highlighter\": \"15.5.13\",\n \"@typescript-eslint/eslint-plugin\": \"8.65.0\",\n \"@typescript-eslint/parser\": \"8.65.0\",\n \"@vercel/react-router\": \"1.3.0\",\n \"@vitest/coverage-v8\": \"4.1.10\",\n \"cross-env\": \"10.1.0\",\n \"electron\": \"42.3.3\",\n \"electron-builder\": \"26.15.3\",\n \"eslint\": \"9.39.5\",\n \"eslint-config-prettier\": \"10.1.8\",\n \"eslint-import-resolver-typescript\": \"4.4.5\",\n \"eslint-plugin-i18next\": \"6.1.5\",\n \"eslint-plugin-import-x\": \"4.17.1\",\n \"eslint-plugin-jsx-a11y\": \"6.10.2\",\n \"eslint-plugin-prettier\": \"5.5.6\",\n \"eslint-plugin-react\": \"7.37.5\",\n \"eslint-plugin-react-hooks\": \"7.1.1\",\n \"eslint-plugin-unused-imports\": \"4.4.1\",\n \"globals\": \"16.5.0\",\n \"husky\": \"9.1.7\",\n \"jsdom\": \"30.0.1\",\n \"lint-staged\": \"17.3.0\",\n \"msw\": \"2.15.0\",\n \"png2icons\": \"2.0.1\",\n \"postcss-prefix-selector\": \"2.1.1\",\n \"prettier\": \"3.8.3\",\n \"tailwindcss\": \"4.3.3\",\n \"typescript\": \"6.0.3\",\n \"vite-plugin-svgr\": \"5.2.0\",\n \"vitest\": \"4.1.10\"\n },\n \"packageManager\": \"npm@10.5.0\",\n \"volta\": {\n \"node\": \"22.12.0\"\n },\n \"msw\": {\n \"workerDirectory\": [\n \"public\"\n ]\n },\n \"overrides\": {\n \"@vercel/static-config\": {\n \"ajv\": \"8.20.0\"\n },\n \"dompurify\": \"3.4.14\",\n \"typed-rest-client\": {\n \"qs\": \"6.15.3\"\n }\n },\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"files\": [\n \"dist\",\n \"bin\",\n \"build\",\n \"config\",\n \"scripts\",\n \"tools\"\n ],\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\",\n \"require\": \"./dist/index.cjs\"\n },\n \"./browser\": {\n \"types\": \"./dist/components/browser/index.d.ts\",\n \"import\": \"./dist/components/browser/index.js\",\n \"require\": \"./dist/components/browser/index.cjs\"\n },\n \"./conversation\": {\n \"types\": \"./dist/components/conversation/index.d.ts\",\n \"import\": \"./dist/components/conversation/index.js\",\n \"require\": \"./dist/components/conversation/index.cjs\"\n },\n \"./files\": {\n \"types\": \"./dist/components/files/index.d.ts\",\n \"import\": \"./dist/components/files/index.js\",\n \"require\": \"./dist/components/files/index.cjs\"\n },\n \"./settings\": {\n \"types\": \"./dist/components/settings/index.d.ts\",\n \"import\": \"./dist/components/settings/index.js\",\n \"require\": \"./dist/components/settings/index.cjs\"\n },\n \"./sidebar\": {\n \"types\": \"./dist/components/sidebar/index.d.ts\",\n \"import\": \"./dist/components/sidebar/index.js\",\n \"require\": \"./dist/components/sidebar/index.cjs\"\n },\n \"./terminal\": {\n \"types\": \"./dist/components/terminal/index.d.ts\",\n \"import\": \"./dist/components/terminal/index.js\",\n \"require\": \"./dist/components/terminal/index.cjs\"\n },\n \"./i18n\": {\n \"types\": \"./dist/i18n/index.d.ts\",\n \"import\": \"./dist/i18n/index.js\",\n \"require\": \"./dist/i18n/index.cjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"peerDependencies\": {\n \"react\": \"19.2.8\",\n \"react-dom\": \"19.2.8\",\n \"react-router\": \"7.18.2\"\n }\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"package.cjs","names":[],"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@openhands/agent-canvas\",\n \"version\": \"1.20.0\",\n \"description\": \"Agent Canvas UI for OpenHands - run AI coding agents with a visual interface\",\n \"license\": \"MIT\",\n \"private\": false,\n \"type\": \"module\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/OpenHands/OpenHands\"\n },\n \"homepage\": \"https://github.com/OpenHands/OpenHands#readme\",\n \"bugs\": {\n \"url\": \"https://github.com/OpenHands/OpenHands/issues\"\n },\n \"bin\": {\n \"agent-canvas\": \"bin/agent-canvas.mjs\"\n },\n \"engines\": {\n \"node\": \">=24\"\n },\n \"dependencies\": {\n \"@heroui/react\": \"2.8.10\",\n \"@microlink/react-json-view\": \"1.31.25\",\n \"@monaco-editor/react\": \"4.7.0\",\n \"@openhands/extensions\": \"0.22.1\",\n \"@openhands/typescript-client\": \"1.49.1\",\n \"@react-router/node\": \"7.18.2\",\n \"@react-router/serve\": \"7.18.2\",\n \"@tailwindcss/vite\": \"4.3.3\",\n \"@tanstack/react-query\": \"5.101.4\",\n \"@types/shell-quote\": \"1.7.5\",\n \"@uidotdev/usehooks\": \"2.4.1\",\n \"@xterm/addon-fit\": \"0.11.0\",\n \"@xterm/xterm\": \"6.0.0\",\n \"axios\": \"1.18.0\",\n \"class-variance-authority\": \"0.7.1\",\n \"clsx\": \"2.1.1\",\n \"downshift\": \"9.3.2\",\n \"framer-motion\": \"12.38.0\",\n \"httpxy\": \"0.5.3\",\n \"i18next\": \"26.3.6\",\n \"i18next-browser-languagedetector\": \"8.2.1\",\n \"i18next-http-backend\": \"4.0.1\",\n \"isbot\": \"5.1.39\",\n \"lucide-react\": \"1.25.0\",\n \"monaco-editor\": \"0.56.0\",\n \"posthog-js\": \"1.380.0\",\n \"react\": \"19.2.8\",\n \"react-dom\": \"19.2.8\",\n \"react-hot-toast\": \"2.6.0\",\n \"react-i18next\": \"17.0.11\",\n \"react-icons\": \"5.6.0\",\n \"react-markdown\": \"10.1.0\",\n \"react-router\": \"7.18.2\",\n \"react-syntax-highlighter\": \"16.1.1\",\n \"rehype-raw\": \"7.0.0\",\n \"rehype-sanitize\": \"6.0.0\",\n \"remark-breaks\": \"4.0.0\",\n \"remark-gfm\": \"4.0.1\",\n \"shell-quote\": \"1.9.0\",\n \"sirv\": \"3.0.2\",\n \"sirv-cli\": \"3.0.1\",\n \"socket.io-client\": \"4.8.3\",\n \"tailwind-merge\": \"3.6.0\",\n \"tailwind-scrollbar\": \"4.0.2\",\n \"unist-util-visit\": \"5.1.0\",\n \"uuid\": \"14.0.0\",\n \"vite\": \"8.0.16\",\n \"winston\": \"3.19.0\",\n \"winston-daily-rotate-file\": \"5.0.0\",\n \"zustand\": \"5.0.14\"\n },\n \"scripts\": {\n \"dev\": \"node --env-file-if-exists=.env scripts/dev-with-automation.mjs\",\n \"dev:static\": \"node --env-file-if-exists=.env scripts/dev-static.mjs\",\n \"dev:extra-backend\": \"node --env-file-if-exists=.env scripts/dev-extra-backend.mjs\",\n \"dev:minimal\": \"node --env-file-if-exists=.env scripts/dev-safe.mjs\",\n \"dev:frontend\": \"npm run make-i18n && cross-env VITE_MOCK_API=false react-router dev\",\n \"dev:mock\": \"npm run make-i18n && cross-env VITE_MOCK_API=true react-router dev\",\n \"build\": \"npm run build:app\",\n \"build:mock\": \"npm run make-i18n && cross-env VITE_MOCK_API=true react-router build\",\n \"start\": \"npx sirv-cli build/ --single\",\n \"test\": \"npm run make-i18n && vitest run\",\n \"test:e2e\": \"playwright test --pass-with-no-tests\",\n \"test:e2e:live\": \"node --env-file-if-exists=.env tests/e2e/live/scripts/run-live-e2e.mjs\",\n \"test:e2e:mock-llm\": \"playwright test --config=playwright.mock-llm.config.ts\",\n \"test:e2e:mock-llm:docker\": \"playwright test --config=playwright.mock-llm-docker.config.ts\",\n \"test:coverage\": \"npm run make-i18n && vitest run --coverage\",\n \"test:mutation\": \"npm run make-i18n && stryker run\",\n \"test:mutation:diff\": \"npm run make-i18n && node scripts/stryker-diff.mjs\",\n \"test:mutation:incremental\": \"npm run make-i18n && stryker run --incremental\",\n \"dev_wsl\": \"VITE_WATCH_USE_POLLING=true vite\",\n \"preview\": \"vite preview\",\n \"make-i18n\": \"node scripts/make-i18n-translations.cjs\",\n \"prelint\": \"npm run make-i18n\",\n \"lint\": \"npm run typecheck && eslint src && prettier --check src/**/*.{ts,tsx}\",\n \"lint:fix\": \"eslint src --fix && prettier --write src/**/*.{ts,tsx}\",\n \"postinstall\": \"node -e \\\"if (process.env.npm_config_global === 'true') { console.log('\\\\n\\\\x1b[32m\\\\x1b[1m\\\\u2713 @openhands/agent-canvas installed!\\\\x1b[0m\\\\n\\\\nTo start Agent Canvas, run:\\\\n\\\\n \\\\x1b[36m\\\\x1b[1magent-canvas\\\\x1b[0m\\\\n\\\\nThis launches the full stack at \\\\x1b[36mhttp://localhost:8000\\\\x1b[0m.\\\\n\\\\nDocs: https://docs.openhands.dev/openhands/usage/agent-canvas/setup\\\\n') }\\\"\",\n \"prepare\": \"husky\",\n \"typecheck\": \"react-router typegen && tsc\",\n \"typecheck:staged\": \"react-router typegen && npx tsc --noEmit --skipLibCheck\",\n \"check-translation-completeness\": \"node scripts/check-translation-completeness.cjs\",\n \"build:app\": \"npm run make-i18n && react-router build\",\n \"build:lib\": \"npm run make-i18n && react-router typegen && cross-env BUILD_LIB=true vite build && tsc -p tsconfig.lib.json\",\n \"build:docker\": \"node scripts/docker-build.mjs\",\n \"example:acp-docker:env\": \"node scripts/gen-acp-docker-env.mjs\",\n \"predesktop\": \"node scripts/brand-dev-electron.mjs\",\n \"desktop\": \"npm run build:app && electron electron\",\n \"build:desktop\": \"npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && electron-builder --config electron-builder.config.mjs --publish never\",\n \"build:desktop:universal\": \"npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && cross-env ELECTRON_ARCH=universal electron-builder --config electron-builder.config.mjs --publish never\",\n \"download-uv\": \"node scripts/download-uv.mjs\",\n \"download-node\": \"node scripts/download-node.mjs\",\n \"generate-icons\": \"node scripts/generate-icons.mjs\"\n },\n \"lint-staged\": {\n \"src/**/*.{ts,tsx,js}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"src/**/*.{ts,tsx}\": [\n \"node scripts/run-staged-typecheck.mjs\"\n ],\n \"src/**/*\": [\n \"npm run check-translation-completeness\"\n ]\n },\n \"devDependencies\": {\n \"@eslint/eslintrc\": \"3.3.6\",\n \"@eslint/js\": \"9.39.4\",\n \"@mswjs/socket.io-binding\": \"0.2.0\",\n \"@playwright/test\": \"1.62.1\",\n \"@react-router/dev\": \"7.18.2\",\n \"@stryker-mutator/core\": \"9.6.1\",\n \"@stryker-mutator/vitest-runner\": \"9.6.1\",\n \"@tailwindcss/typography\": \"0.5.20\",\n \"@tanstack/eslint-plugin-query\": \"5.101.4\",\n \"@testing-library/dom\": \"10.4.1\",\n \"@testing-library/jest-dom\": \"7.0.0\",\n \"@testing-library/react\": \"16.3.2\",\n \"@testing-library/user-event\": \"14.6.1\",\n \"@types/mdast\": \"4.0.4\",\n \"@types/node\": \"26.1.2\",\n \"@types/react\": \"19.2.18\",\n \"@types/react-dom\": \"19.2.4\",\n \"@types/react-syntax-highlighter\": \"15.5.13\",\n \"@typescript-eslint/eslint-plugin\": \"8.65.0\",\n \"@typescript-eslint/parser\": \"8.65.0\",\n \"@vercel/react-router\": \"1.3.0\",\n \"@vitest/coverage-v8\": \"4.1.10\",\n \"cross-env\": \"10.1.0\",\n \"electron\": \"42.3.3\",\n \"electron-builder\": \"26.15.3\",\n \"eslint\": \"9.39.5\",\n \"eslint-config-prettier\": \"10.1.8\",\n \"eslint-import-resolver-typescript\": \"4.4.5\",\n \"eslint-plugin-i18next\": \"6.1.5\",\n \"eslint-plugin-import-x\": \"4.17.1\",\n \"eslint-plugin-jsx-a11y\": \"6.10.2\",\n \"eslint-plugin-prettier\": \"5.5.6\",\n \"eslint-plugin-react\": \"7.37.5\",\n \"eslint-plugin-react-hooks\": \"7.1.1\",\n \"eslint-plugin-unused-imports\": \"4.4.1\",\n \"globals\": \"16.5.0\",\n \"husky\": \"9.1.7\",\n \"jsdom\": \"30.0.1\",\n \"lint-staged\": \"17.3.0\",\n \"msw\": \"2.15.0\",\n \"png2icons\": \"2.0.1\",\n \"postcss-prefix-selector\": \"2.1.1\",\n \"prettier\": \"3.8.3\",\n \"tailwindcss\": \"4.3.3\",\n \"typescript\": \"6.0.3\",\n \"vite-plugin-svgr\": \"5.2.0\",\n \"vitest\": \"4.1.10\"\n },\n \"packageManager\": \"npm@10.5.0\",\n \"volta\": {\n \"node\": \"22.12.0\"\n },\n \"msw\": {\n \"workerDirectory\": [\n \"public\"\n ]\n },\n \"overrides\": {\n \"@vercel/static-config\": {\n \"ajv\": \"8.20.0\"\n },\n \"dompurify\": \"3.4.14\",\n \"typed-rest-client\": {\n \"qs\": \"6.15.3\"\n }\n },\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"files\": [\n \"dist\",\n \"bin\",\n \"build\",\n \"config\",\n \"scripts\",\n \"tools\"\n ],\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\",\n \"require\": \"./dist/index.cjs\"\n },\n \"./browser\": {\n \"types\": \"./dist/components/browser/index.d.ts\",\n \"import\": \"./dist/components/browser/index.js\",\n \"require\": \"./dist/components/browser/index.cjs\"\n },\n \"./conversation\": {\n \"types\": \"./dist/components/conversation/index.d.ts\",\n \"import\": \"./dist/components/conversation/index.js\",\n \"require\": \"./dist/components/conversation/index.cjs\"\n },\n \"./files\": {\n \"types\": \"./dist/components/files/index.d.ts\",\n \"import\": \"./dist/components/files/index.js\",\n \"require\": \"./dist/components/files/index.cjs\"\n },\n \"./settings\": {\n \"types\": \"./dist/components/settings/index.d.ts\",\n \"import\": \"./dist/components/settings/index.js\",\n \"require\": \"./dist/components/settings/index.cjs\"\n },\n \"./sidebar\": {\n \"types\": \"./dist/components/sidebar/index.d.ts\",\n \"import\": \"./dist/components/sidebar/index.js\",\n \"require\": \"./dist/components/sidebar/index.cjs\"\n },\n \"./terminal\": {\n \"types\": \"./dist/components/terminal/index.d.ts\",\n \"import\": \"./dist/components/terminal/index.js\",\n \"require\": \"./dist/components/terminal/index.cjs\"\n },\n \"./i18n\": {\n \"types\": \"./dist/i18n/index.d.ts\",\n \"import\": \"./dist/i18n/index.js\",\n \"require\": \"./dist/i18n/index.cjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"peerDependencies\": {\n \"react\": \"19.2.8\",\n \"react-dom\": \"19.2.8\",\n \"react-router\": \"7.18.2\"\n }\n}\n"],"mappings":""}
|
package/dist/package.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var e = {
|
|
2
2
|
name: "@openhands/agent-canvas",
|
|
3
|
-
version: "1.
|
|
3
|
+
version: "1.20.0",
|
|
4
4
|
description: "Agent Canvas UI for OpenHands - run AI coding agents with a visual interface",
|
|
5
5
|
license: "MIT",
|
|
6
6
|
private: !1,
|
|
@@ -17,8 +17,8 @@ var e = {
|
|
|
17
17
|
"@heroui/react": "2.8.10",
|
|
18
18
|
"@microlink/react-json-view": "1.31.25",
|
|
19
19
|
"@monaco-editor/react": "4.7.0",
|
|
20
|
-
"@openhands/extensions": "0.
|
|
21
|
-
"@openhands/typescript-client": "1.
|
|
20
|
+
"@openhands/extensions": "0.22.1",
|
|
21
|
+
"@openhands/typescript-client": "1.49.1",
|
|
22
22
|
"@react-router/node": "7.18.2",
|
|
23
23
|
"@react-router/serve": "7.18.2",
|
|
24
24
|
"@tailwindcss/vite": "4.3.3",
|
package/dist/package.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.js","names":[],"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@openhands/agent-canvas\",\n \"version\": \"1.19.0\",\n \"description\": \"Agent Canvas UI for OpenHands - run AI coding agents with a visual interface\",\n \"license\": \"MIT\",\n \"private\": false,\n \"type\": \"module\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/OpenHands/OpenHands\"\n },\n \"homepage\": \"https://github.com/OpenHands/OpenHands#readme\",\n \"bugs\": {\n \"url\": \"https://github.com/OpenHands/OpenHands/issues\"\n },\n \"bin\": {\n \"agent-canvas\": \"bin/agent-canvas.mjs\"\n },\n \"engines\": {\n \"node\": \">=24\"\n },\n \"dependencies\": {\n \"@heroui/react\": \"2.8.10\",\n \"@microlink/react-json-view\": \"1.31.25\",\n \"@monaco-editor/react\": \"4.7.0\",\n \"@openhands/extensions\": \"0.20.0\",\n \"@openhands/typescript-client\": \"1.48.0\",\n \"@react-router/node\": \"7.18.2\",\n \"@react-router/serve\": \"7.18.2\",\n \"@tailwindcss/vite\": \"4.3.3\",\n \"@tanstack/react-query\": \"5.101.4\",\n \"@types/shell-quote\": \"1.7.5\",\n \"@uidotdev/usehooks\": \"2.4.1\",\n \"@xterm/addon-fit\": \"0.11.0\",\n \"@xterm/xterm\": \"6.0.0\",\n \"axios\": \"1.18.0\",\n \"class-variance-authority\": \"0.7.1\",\n \"clsx\": \"2.1.1\",\n \"downshift\": \"9.3.2\",\n \"framer-motion\": \"12.38.0\",\n \"httpxy\": \"0.5.3\",\n \"i18next\": \"26.3.6\",\n \"i18next-browser-languagedetector\": \"8.2.1\",\n \"i18next-http-backend\": \"4.0.1\",\n \"isbot\": \"5.1.39\",\n \"lucide-react\": \"1.25.0\",\n \"monaco-editor\": \"0.56.0\",\n \"posthog-js\": \"1.380.0\",\n \"react\": \"19.2.8\",\n \"react-dom\": \"19.2.8\",\n \"react-hot-toast\": \"2.6.0\",\n \"react-i18next\": \"17.0.11\",\n \"react-icons\": \"5.6.0\",\n \"react-markdown\": \"10.1.0\",\n \"react-router\": \"7.18.2\",\n \"react-syntax-highlighter\": \"16.1.1\",\n \"rehype-raw\": \"7.0.0\",\n \"rehype-sanitize\": \"6.0.0\",\n \"remark-breaks\": \"4.0.0\",\n \"remark-gfm\": \"4.0.1\",\n \"shell-quote\": \"1.9.0\",\n \"sirv\": \"3.0.2\",\n \"sirv-cli\": \"3.0.1\",\n \"socket.io-client\": \"4.8.3\",\n \"tailwind-merge\": \"3.6.0\",\n \"tailwind-scrollbar\": \"4.0.2\",\n \"unist-util-visit\": \"5.1.0\",\n \"uuid\": \"14.0.0\",\n \"vite\": \"8.0.16\",\n \"winston\": \"3.19.0\",\n \"winston-daily-rotate-file\": \"5.0.0\",\n \"zustand\": \"5.0.14\"\n },\n \"scripts\": {\n \"dev\": \"node --env-file-if-exists=.env scripts/dev-with-automation.mjs\",\n \"dev:static\": \"node --env-file-if-exists=.env scripts/dev-static.mjs\",\n \"dev:extra-backend\": \"node --env-file-if-exists=.env scripts/dev-extra-backend.mjs\",\n \"dev:minimal\": \"node --env-file-if-exists=.env scripts/dev-safe.mjs\",\n \"dev:frontend\": \"npm run make-i18n && cross-env VITE_MOCK_API=false react-router dev\",\n \"dev:mock\": \"npm run make-i18n && cross-env VITE_MOCK_API=true react-router dev\",\n \"build\": \"npm run build:app\",\n \"build:mock\": \"npm run make-i18n && cross-env VITE_MOCK_API=true react-router build\",\n \"start\": \"npx sirv-cli build/ --single\",\n \"test\": \"npm run make-i18n && vitest run\",\n \"test:e2e\": \"playwright test --pass-with-no-tests\",\n \"test:e2e:live\": \"node --env-file-if-exists=.env tests/e2e/live/scripts/run-live-e2e.mjs\",\n \"test:e2e:mock-llm\": \"playwright test --config=playwright.mock-llm.config.ts\",\n \"test:e2e:mock-llm:docker\": \"playwright test --config=playwright.mock-llm-docker.config.ts\",\n \"test:coverage\": \"npm run make-i18n && vitest run --coverage\",\n \"test:mutation\": \"npm run make-i18n && stryker run\",\n \"test:mutation:diff\": \"npm run make-i18n && node scripts/stryker-diff.mjs\",\n \"test:mutation:incremental\": \"npm run make-i18n && stryker run --incremental\",\n \"dev_wsl\": \"VITE_WATCH_USE_POLLING=true vite\",\n \"preview\": \"vite preview\",\n \"make-i18n\": \"node scripts/make-i18n-translations.cjs\",\n \"prelint\": \"npm run make-i18n\",\n \"lint\": \"npm run typecheck && eslint src && prettier --check src/**/*.{ts,tsx}\",\n \"lint:fix\": \"eslint src --fix && prettier --write src/**/*.{ts,tsx}\",\n \"postinstall\": \"node -e \\\"if (process.env.npm_config_global === 'true') { console.log('\\\\n\\\\x1b[32m\\\\x1b[1m\\\\u2713 @openhands/agent-canvas installed!\\\\x1b[0m\\\\n\\\\nTo start Agent Canvas, run:\\\\n\\\\n \\\\x1b[36m\\\\x1b[1magent-canvas\\\\x1b[0m\\\\n\\\\nThis launches the full stack at \\\\x1b[36mhttp://localhost:8000\\\\x1b[0m.\\\\n\\\\nDocs: https://docs.openhands.dev/openhands/usage/agent-canvas/setup\\\\n') }\\\"\",\n \"prepare\": \"husky\",\n \"typecheck\": \"react-router typegen && tsc\",\n \"typecheck:staged\": \"react-router typegen && npx tsc --noEmit --skipLibCheck\",\n \"check-translation-completeness\": \"node scripts/check-translation-completeness.cjs\",\n \"build:app\": \"npm run make-i18n && react-router build\",\n \"build:lib\": \"npm run make-i18n && react-router typegen && cross-env BUILD_LIB=true vite build && tsc -p tsconfig.lib.json\",\n \"build:docker\": \"node scripts/docker-build.mjs\",\n \"example:acp-docker:env\": \"node scripts/gen-acp-docker-env.mjs\",\n \"predesktop\": \"node scripts/brand-dev-electron.mjs\",\n \"desktop\": \"npm run build:app && electron electron\",\n \"build:desktop\": \"npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && electron-builder --config electron-builder.config.mjs --publish never\",\n \"build:desktop:universal\": \"npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && cross-env ELECTRON_ARCH=universal electron-builder --config electron-builder.config.mjs --publish never\",\n \"download-uv\": \"node scripts/download-uv.mjs\",\n \"download-node\": \"node scripts/download-node.mjs\",\n \"generate-icons\": \"node scripts/generate-icons.mjs\"\n },\n \"lint-staged\": {\n \"src/**/*.{ts,tsx,js}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"src/**/*.{ts,tsx}\": [\n \"node scripts/run-staged-typecheck.mjs\"\n ],\n \"src/**/*\": [\n \"npm run check-translation-completeness\"\n ]\n },\n \"devDependencies\": {\n \"@eslint/eslintrc\": \"3.3.6\",\n \"@eslint/js\": \"9.39.4\",\n \"@mswjs/socket.io-binding\": \"0.2.0\",\n \"@playwright/test\": \"1.62.1\",\n \"@react-router/dev\": \"7.18.2\",\n \"@stryker-mutator/core\": \"9.6.1\",\n \"@stryker-mutator/vitest-runner\": \"9.6.1\",\n \"@tailwindcss/typography\": \"0.5.20\",\n \"@tanstack/eslint-plugin-query\": \"5.101.4\",\n \"@testing-library/dom\": \"10.4.1\",\n \"@testing-library/jest-dom\": \"7.0.0\",\n \"@testing-library/react\": \"16.3.2\",\n \"@testing-library/user-event\": \"14.6.1\",\n \"@types/mdast\": \"4.0.4\",\n \"@types/node\": \"26.1.2\",\n \"@types/react\": \"19.2.18\",\n \"@types/react-dom\": \"19.2.4\",\n \"@types/react-syntax-highlighter\": \"15.5.13\",\n \"@typescript-eslint/eslint-plugin\": \"8.65.0\",\n \"@typescript-eslint/parser\": \"8.65.0\",\n \"@vercel/react-router\": \"1.3.0\",\n \"@vitest/coverage-v8\": \"4.1.10\",\n \"cross-env\": \"10.1.0\",\n \"electron\": \"42.3.3\",\n \"electron-builder\": \"26.15.3\",\n \"eslint\": \"9.39.5\",\n \"eslint-config-prettier\": \"10.1.8\",\n \"eslint-import-resolver-typescript\": \"4.4.5\",\n \"eslint-plugin-i18next\": \"6.1.5\",\n \"eslint-plugin-import-x\": \"4.17.1\",\n \"eslint-plugin-jsx-a11y\": \"6.10.2\",\n \"eslint-plugin-prettier\": \"5.5.6\",\n \"eslint-plugin-react\": \"7.37.5\",\n \"eslint-plugin-react-hooks\": \"7.1.1\",\n \"eslint-plugin-unused-imports\": \"4.4.1\",\n \"globals\": \"16.5.0\",\n \"husky\": \"9.1.7\",\n \"jsdom\": \"30.0.1\",\n \"lint-staged\": \"17.3.0\",\n \"msw\": \"2.15.0\",\n \"png2icons\": \"2.0.1\",\n \"postcss-prefix-selector\": \"2.1.1\",\n \"prettier\": \"3.8.3\",\n \"tailwindcss\": \"4.3.3\",\n \"typescript\": \"6.0.3\",\n \"vite-plugin-svgr\": \"5.2.0\",\n \"vitest\": \"4.1.10\"\n },\n \"packageManager\": \"npm@10.5.0\",\n \"volta\": {\n \"node\": \"22.12.0\"\n },\n \"msw\": {\n \"workerDirectory\": [\n \"public\"\n ]\n },\n \"overrides\": {\n \"@vercel/static-config\": {\n \"ajv\": \"8.20.0\"\n },\n \"dompurify\": \"3.4.14\",\n \"typed-rest-client\": {\n \"qs\": \"6.15.3\"\n }\n },\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"files\": [\n \"dist\",\n \"bin\",\n \"build\",\n \"config\",\n \"scripts\",\n \"tools\"\n ],\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\",\n \"require\": \"./dist/index.cjs\"\n },\n \"./browser\": {\n \"types\": \"./dist/components/browser/index.d.ts\",\n \"import\": \"./dist/components/browser/index.js\",\n \"require\": \"./dist/components/browser/index.cjs\"\n },\n \"./conversation\": {\n \"types\": \"./dist/components/conversation/index.d.ts\",\n \"import\": \"./dist/components/conversation/index.js\",\n \"require\": \"./dist/components/conversation/index.cjs\"\n },\n \"./files\": {\n \"types\": \"./dist/components/files/index.d.ts\",\n \"import\": \"./dist/components/files/index.js\",\n \"require\": \"./dist/components/files/index.cjs\"\n },\n \"./settings\": {\n \"types\": \"./dist/components/settings/index.d.ts\",\n \"import\": \"./dist/components/settings/index.js\",\n \"require\": \"./dist/components/settings/index.cjs\"\n },\n \"./sidebar\": {\n \"types\": \"./dist/components/sidebar/index.d.ts\",\n \"import\": \"./dist/components/sidebar/index.js\",\n \"require\": \"./dist/components/sidebar/index.cjs\"\n },\n \"./terminal\": {\n \"types\": \"./dist/components/terminal/index.d.ts\",\n \"import\": \"./dist/components/terminal/index.js\",\n \"require\": \"./dist/components/terminal/index.cjs\"\n },\n \"./i18n\": {\n \"types\": \"./dist/i18n/index.d.ts\",\n \"import\": \"./dist/i18n/index.js\",\n \"require\": \"./dist/i18n/index.cjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"peerDependencies\": {\n \"react\": \"19.2.8\",\n \"react-dom\": \"19.2.8\",\n \"react-router\": \"7.18.2\"\n }\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"package.js","names":[],"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@openhands/agent-canvas\",\n \"version\": \"1.20.0\",\n \"description\": \"Agent Canvas UI for OpenHands - run AI coding agents with a visual interface\",\n \"license\": \"MIT\",\n \"private\": false,\n \"type\": \"module\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/OpenHands/OpenHands\"\n },\n \"homepage\": \"https://github.com/OpenHands/OpenHands#readme\",\n \"bugs\": {\n \"url\": \"https://github.com/OpenHands/OpenHands/issues\"\n },\n \"bin\": {\n \"agent-canvas\": \"bin/agent-canvas.mjs\"\n },\n \"engines\": {\n \"node\": \">=24\"\n },\n \"dependencies\": {\n \"@heroui/react\": \"2.8.10\",\n \"@microlink/react-json-view\": \"1.31.25\",\n \"@monaco-editor/react\": \"4.7.0\",\n \"@openhands/extensions\": \"0.22.1\",\n \"@openhands/typescript-client\": \"1.49.1\",\n \"@react-router/node\": \"7.18.2\",\n \"@react-router/serve\": \"7.18.2\",\n \"@tailwindcss/vite\": \"4.3.3\",\n \"@tanstack/react-query\": \"5.101.4\",\n \"@types/shell-quote\": \"1.7.5\",\n \"@uidotdev/usehooks\": \"2.4.1\",\n \"@xterm/addon-fit\": \"0.11.0\",\n \"@xterm/xterm\": \"6.0.0\",\n \"axios\": \"1.18.0\",\n \"class-variance-authority\": \"0.7.1\",\n \"clsx\": \"2.1.1\",\n \"downshift\": \"9.3.2\",\n \"framer-motion\": \"12.38.0\",\n \"httpxy\": \"0.5.3\",\n \"i18next\": \"26.3.6\",\n \"i18next-browser-languagedetector\": \"8.2.1\",\n \"i18next-http-backend\": \"4.0.1\",\n \"isbot\": \"5.1.39\",\n \"lucide-react\": \"1.25.0\",\n \"monaco-editor\": \"0.56.0\",\n \"posthog-js\": \"1.380.0\",\n \"react\": \"19.2.8\",\n \"react-dom\": \"19.2.8\",\n \"react-hot-toast\": \"2.6.0\",\n \"react-i18next\": \"17.0.11\",\n \"react-icons\": \"5.6.0\",\n \"react-markdown\": \"10.1.0\",\n \"react-router\": \"7.18.2\",\n \"react-syntax-highlighter\": \"16.1.1\",\n \"rehype-raw\": \"7.0.0\",\n \"rehype-sanitize\": \"6.0.0\",\n \"remark-breaks\": \"4.0.0\",\n \"remark-gfm\": \"4.0.1\",\n \"shell-quote\": \"1.9.0\",\n \"sirv\": \"3.0.2\",\n \"sirv-cli\": \"3.0.1\",\n \"socket.io-client\": \"4.8.3\",\n \"tailwind-merge\": \"3.6.0\",\n \"tailwind-scrollbar\": \"4.0.2\",\n \"unist-util-visit\": \"5.1.0\",\n \"uuid\": \"14.0.0\",\n \"vite\": \"8.0.16\",\n \"winston\": \"3.19.0\",\n \"winston-daily-rotate-file\": \"5.0.0\",\n \"zustand\": \"5.0.14\"\n },\n \"scripts\": {\n \"dev\": \"node --env-file-if-exists=.env scripts/dev-with-automation.mjs\",\n \"dev:static\": \"node --env-file-if-exists=.env scripts/dev-static.mjs\",\n \"dev:extra-backend\": \"node --env-file-if-exists=.env scripts/dev-extra-backend.mjs\",\n \"dev:minimal\": \"node --env-file-if-exists=.env scripts/dev-safe.mjs\",\n \"dev:frontend\": \"npm run make-i18n && cross-env VITE_MOCK_API=false react-router dev\",\n \"dev:mock\": \"npm run make-i18n && cross-env VITE_MOCK_API=true react-router dev\",\n \"build\": \"npm run build:app\",\n \"build:mock\": \"npm run make-i18n && cross-env VITE_MOCK_API=true react-router build\",\n \"start\": \"npx sirv-cli build/ --single\",\n \"test\": \"npm run make-i18n && vitest run\",\n \"test:e2e\": \"playwright test --pass-with-no-tests\",\n \"test:e2e:live\": \"node --env-file-if-exists=.env tests/e2e/live/scripts/run-live-e2e.mjs\",\n \"test:e2e:mock-llm\": \"playwright test --config=playwright.mock-llm.config.ts\",\n \"test:e2e:mock-llm:docker\": \"playwright test --config=playwright.mock-llm-docker.config.ts\",\n \"test:coverage\": \"npm run make-i18n && vitest run --coverage\",\n \"test:mutation\": \"npm run make-i18n && stryker run\",\n \"test:mutation:diff\": \"npm run make-i18n && node scripts/stryker-diff.mjs\",\n \"test:mutation:incremental\": \"npm run make-i18n && stryker run --incremental\",\n \"dev_wsl\": \"VITE_WATCH_USE_POLLING=true vite\",\n \"preview\": \"vite preview\",\n \"make-i18n\": \"node scripts/make-i18n-translations.cjs\",\n \"prelint\": \"npm run make-i18n\",\n \"lint\": \"npm run typecheck && eslint src && prettier --check src/**/*.{ts,tsx}\",\n \"lint:fix\": \"eslint src --fix && prettier --write src/**/*.{ts,tsx}\",\n \"postinstall\": \"node -e \\\"if (process.env.npm_config_global === 'true') { console.log('\\\\n\\\\x1b[32m\\\\x1b[1m\\\\u2713 @openhands/agent-canvas installed!\\\\x1b[0m\\\\n\\\\nTo start Agent Canvas, run:\\\\n\\\\n \\\\x1b[36m\\\\x1b[1magent-canvas\\\\x1b[0m\\\\n\\\\nThis launches the full stack at \\\\x1b[36mhttp://localhost:8000\\\\x1b[0m.\\\\n\\\\nDocs: https://docs.openhands.dev/openhands/usage/agent-canvas/setup\\\\n') }\\\"\",\n \"prepare\": \"husky\",\n \"typecheck\": \"react-router typegen && tsc\",\n \"typecheck:staged\": \"react-router typegen && npx tsc --noEmit --skipLibCheck\",\n \"check-translation-completeness\": \"node scripts/check-translation-completeness.cjs\",\n \"build:app\": \"npm run make-i18n && react-router build\",\n \"build:lib\": \"npm run make-i18n && react-router typegen && cross-env BUILD_LIB=true vite build && tsc -p tsconfig.lib.json\",\n \"build:docker\": \"node scripts/docker-build.mjs\",\n \"example:acp-docker:env\": \"node scripts/gen-acp-docker-env.mjs\",\n \"predesktop\": \"node scripts/brand-dev-electron.mjs\",\n \"desktop\": \"npm run build:app && electron electron\",\n \"build:desktop\": \"npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && electron-builder --config electron-builder.config.mjs --publish never\",\n \"build:desktop:universal\": \"npm run build:app && node scripts/download-uv.mjs && node scripts/download-node.mjs && cross-env ELECTRON_ARCH=universal electron-builder --config electron-builder.config.mjs --publish never\",\n \"download-uv\": \"node scripts/download-uv.mjs\",\n \"download-node\": \"node scripts/download-node.mjs\",\n \"generate-icons\": \"node scripts/generate-icons.mjs\"\n },\n \"lint-staged\": {\n \"src/**/*.{ts,tsx,js}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"src/**/*.{ts,tsx}\": [\n \"node scripts/run-staged-typecheck.mjs\"\n ],\n \"src/**/*\": [\n \"npm run check-translation-completeness\"\n ]\n },\n \"devDependencies\": {\n \"@eslint/eslintrc\": \"3.3.6\",\n \"@eslint/js\": \"9.39.4\",\n \"@mswjs/socket.io-binding\": \"0.2.0\",\n \"@playwright/test\": \"1.62.1\",\n \"@react-router/dev\": \"7.18.2\",\n \"@stryker-mutator/core\": \"9.6.1\",\n \"@stryker-mutator/vitest-runner\": \"9.6.1\",\n \"@tailwindcss/typography\": \"0.5.20\",\n \"@tanstack/eslint-plugin-query\": \"5.101.4\",\n \"@testing-library/dom\": \"10.4.1\",\n \"@testing-library/jest-dom\": \"7.0.0\",\n \"@testing-library/react\": \"16.3.2\",\n \"@testing-library/user-event\": \"14.6.1\",\n \"@types/mdast\": \"4.0.4\",\n \"@types/node\": \"26.1.2\",\n \"@types/react\": \"19.2.18\",\n \"@types/react-dom\": \"19.2.4\",\n \"@types/react-syntax-highlighter\": \"15.5.13\",\n \"@typescript-eslint/eslint-plugin\": \"8.65.0\",\n \"@typescript-eslint/parser\": \"8.65.0\",\n \"@vercel/react-router\": \"1.3.0\",\n \"@vitest/coverage-v8\": \"4.1.10\",\n \"cross-env\": \"10.1.0\",\n \"electron\": \"42.3.3\",\n \"electron-builder\": \"26.15.3\",\n \"eslint\": \"9.39.5\",\n \"eslint-config-prettier\": \"10.1.8\",\n \"eslint-import-resolver-typescript\": \"4.4.5\",\n \"eslint-plugin-i18next\": \"6.1.5\",\n \"eslint-plugin-import-x\": \"4.17.1\",\n \"eslint-plugin-jsx-a11y\": \"6.10.2\",\n \"eslint-plugin-prettier\": \"5.5.6\",\n \"eslint-plugin-react\": \"7.37.5\",\n \"eslint-plugin-react-hooks\": \"7.1.1\",\n \"eslint-plugin-unused-imports\": \"4.4.1\",\n \"globals\": \"16.5.0\",\n \"husky\": \"9.1.7\",\n \"jsdom\": \"30.0.1\",\n \"lint-staged\": \"17.3.0\",\n \"msw\": \"2.15.0\",\n \"png2icons\": \"2.0.1\",\n \"postcss-prefix-selector\": \"2.1.1\",\n \"prettier\": \"3.8.3\",\n \"tailwindcss\": \"4.3.3\",\n \"typescript\": \"6.0.3\",\n \"vite-plugin-svgr\": \"5.2.0\",\n \"vitest\": \"4.1.10\"\n },\n \"packageManager\": \"npm@10.5.0\",\n \"volta\": {\n \"node\": \"22.12.0\"\n },\n \"msw\": {\n \"workerDirectory\": [\n \"public\"\n ]\n },\n \"overrides\": {\n \"@vercel/static-config\": {\n \"ajv\": \"8.20.0\"\n },\n \"dompurify\": \"3.4.14\",\n \"typed-rest-client\": {\n \"qs\": \"6.15.3\"\n }\n },\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"files\": [\n \"dist\",\n \"bin\",\n \"build\",\n \"config\",\n \"scripts\",\n \"tools\"\n ],\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\",\n \"require\": \"./dist/index.cjs\"\n },\n \"./browser\": {\n \"types\": \"./dist/components/browser/index.d.ts\",\n \"import\": \"./dist/components/browser/index.js\",\n \"require\": \"./dist/components/browser/index.cjs\"\n },\n \"./conversation\": {\n \"types\": \"./dist/components/conversation/index.d.ts\",\n \"import\": \"./dist/components/conversation/index.js\",\n \"require\": \"./dist/components/conversation/index.cjs\"\n },\n \"./files\": {\n \"types\": \"./dist/components/files/index.d.ts\",\n \"import\": \"./dist/components/files/index.js\",\n \"require\": \"./dist/components/files/index.cjs\"\n },\n \"./settings\": {\n \"types\": \"./dist/components/settings/index.d.ts\",\n \"import\": \"./dist/components/settings/index.js\",\n \"require\": \"./dist/components/settings/index.cjs\"\n },\n \"./sidebar\": {\n \"types\": \"./dist/components/sidebar/index.d.ts\",\n \"import\": \"./dist/components/sidebar/index.js\",\n \"require\": \"./dist/components/sidebar/index.cjs\"\n },\n \"./terminal\": {\n \"types\": \"./dist/components/terminal/index.d.ts\",\n \"import\": \"./dist/components/terminal/index.js\",\n \"require\": \"./dist/components/terminal/index.cjs\"\n },\n \"./i18n\": {\n \"types\": \"./dist/i18n/index.d.ts\",\n \"import\": \"./dist/i18n/index.js\",\n \"require\": \"./dist/i18n/index.cjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"peerDependencies\": {\n \"react\": \"19.2.8\",\n \"react-dom\": \"19.2.8\",\n \"react-router\": \"7.18.2\"\n }\n}\n"],"mappings":""}
|
|
@@ -15,9 +15,11 @@ export type AgentProfileFieldsDraft = {
|
|
|
15
15
|
enable_sub_agents: boolean;
|
|
16
16
|
enable_switch_llm_tool?: boolean;
|
|
17
17
|
tool_concurrency_limit?: number;
|
|
18
|
+
secret_refs?: string[] | null;
|
|
18
19
|
} | {
|
|
19
20
|
agent_kind: "acp";
|
|
20
21
|
mcp_server_refs: string[] | null;
|
|
22
|
+
secret_refs?: string[] | null;
|
|
21
23
|
acp_server: string;
|
|
22
24
|
acp_model: string | null;
|
|
23
25
|
acp_command: string | null;
|
|
@@ -46,6 +48,10 @@ export interface AgentProfileFieldsInput {
|
|
|
46
48
|
toolConcurrency: string | boolean;
|
|
47
49
|
mcpMode: ProfileScopeMode;
|
|
48
50
|
selectedMcpServers: string[];
|
|
51
|
+
secretsMode: ProfileScopeMode;
|
|
52
|
+
selectedSecrets: string[];
|
|
53
|
+
/** Whether the backend's *profile* model accepts `secret_refs`. */
|
|
54
|
+
secretRefsSupportedOnProfile: boolean;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* Translate the live Agent-settings form state into the variant-specific
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automation.cjs","names":[],"sources":["../../src/types/automation.ts"],"sourcesContent":["export interface AutomationTrigger {\n /**\n * Trigger kind. Known values are the schedule aliases \"cron\" / \"schedule\"\n * (time-based) and \"event\" (webhook/event-driven). Kept as `string` rather\n * than a closed union on purpose: the backend emits more than one\n * scheduled-trigger alias and may introduce new kinds, so UI code branches\n * on `type === \"event\"` and treats every other value as a schedule.\n */\n type: string;\n /** Cron expression (schedule triggers only). */\n schedule?: string;\n /** Human-readable schedule description (schedule triggers only). */\n schedule_human?: string;\n /** IANA timezone name (schedule triggers only). */\n timezone?: string;\n /** Event source, e.g. \"github\" (event triggers only). */\n source?: string;\n /** Event key pattern(s) to match, e.g. \"pull_request.opened\" or [\"push\", \"release.*\"]. */\n on?: string | string[];\n /** JMESPath filter expression evaluated against the raw webhook payload. */\n filter?: string;\n}\n\nexport interface Automation {\n id: string;\n name: string;\n trigger: AutomationTrigger;\n enabled: boolean;\n /**\n * Human-readable reason the automation was last disabled (the latest\n * disablement event overwrites this). Mirrors the automation service's\n * `AutomationResponse.disabled_reason`. `null`/absent for enabled automations\n * or an automation service older than the release that started recording it.\n */\n disabled_reason?: string | null;\n /**\n * Structured disablement metadata from the automation service\n * (`AutomationResponse.disabled_detail`): `{reason, source, run_id, ...}`\n * plus rule-specific fields (threshold, consecutive counts, status_detail).\n * Used to tell user-initiated (\"manual\") disables from automatic ones\n * (consecutive failures, permanent config faults).\n */\n disabled_detail?: {\n reason?: string;\n source?: string;\n run_id?: string | null;\n [key: string]: unknown;\n } | null;\n /** UTC timestamp the automation was last disabled. */\n disabled_at?: string | null;\n /**\n * UUID of the user who created this automation. The backend returns it in\n * `AutomationResponse.user_id`; the frontend uses it to implement the\n * \"creator escape hatch\" — a member (view-only) may still edit their own\n * automations even without `manage_automations`.\n */\n user_id?: string;\n repository?: string;\n /** LLM/model profile name used
|
|
1
|
+
{"version":3,"file":"automation.cjs","names":[],"sources":["../../src/types/automation.ts"],"sourcesContent":["export interface AutomationTrigger {\n /**\n * Trigger kind. Known values are the schedule aliases \"cron\" / \"schedule\"\n * (time-based) and \"event\" (webhook/event-driven). Kept as `string` rather\n * than a closed union on purpose: the backend emits more than one\n * scheduled-trigger alias and may introduce new kinds, so UI code branches\n * on `type === \"event\"` and treats every other value as a schedule.\n */\n type: string;\n /** Cron expression (schedule triggers only). */\n schedule?: string;\n /** Human-readable schedule description (schedule triggers only). */\n schedule_human?: string;\n /** IANA timezone name (schedule triggers only). */\n timezone?: string;\n /** Event source, e.g. \"github\" (event triggers only). */\n source?: string;\n /** Event key pattern(s) to match, e.g. \"pull_request.opened\" or [\"push\", \"release.*\"]. */\n on?: string | string[];\n /** JMESPath filter expression evaluated against the raw webhook payload. */\n filter?: string;\n}\n\nexport interface Automation {\n id: string;\n name: string;\n trigger: AutomationTrigger;\n enabled: boolean;\n /**\n * Human-readable reason the automation was last disabled (the latest\n * disablement event overwrites this). Mirrors the automation service's\n * `AutomationResponse.disabled_reason`. `null`/absent for enabled automations\n * or an automation service older than the release that started recording it.\n */\n disabled_reason?: string | null;\n /**\n * Structured disablement metadata from the automation service\n * (`AutomationResponse.disabled_detail`): `{reason, source, run_id, ...}`\n * plus rule-specific fields (threshold, consecutive counts, status_detail).\n * Used to tell user-initiated (\"manual\") disables from automatic ones\n * (consecutive failures, permanent config faults).\n */\n disabled_detail?: {\n reason?: string;\n source?: string;\n run_id?: string | null;\n [key: string]: unknown;\n } | null;\n /** UTC timestamp the automation was last disabled. */\n disabled_at?: string | null;\n /**\n * UUID of the user who created this automation. The backend returns it in\n * `AutomationResponse.user_id`; the frontend uses it to implement the\n * \"creator escape hatch\" — a member (view-only) may still edit their own\n * automations even without `manage_automations`.\n */\n user_id?: string;\n repository?: string;\n /** Saved agent profile controlling model, tools, and selected secrets. */\n agent_profile_id?: string | null;\n /** LLM/model profile name used when no agent profile is selected. */\n model?: string | null;\n /**\n * Maximum run time in seconds. `null`/omitted uses the server default\n * (600s, 10 min); the deployment reports the maximum it accepts.\n */\n timeout?: number | null;\n\n created_at: string;\n updated_at: string;\n prompt: string | null;\n branch?: string;\n plugins?: string[];\n notification?: string;\n timezone?: string;\n last_triggered_at?: string | null;\n /**\n * Service-owned preset state, returned verbatim. The GUI reads only the\n * `template` provenance block inside it ({id, version, config}, written at\n * setup time), and only through the guarded helper in\n * `#/utils/automation-catalog`.\n */\n preset_metadata?: Record<string, unknown> | null;\n}\n\nexport type AutomationSpec = Omit<\n Automation,\n | \"id\"\n | \"created_at\"\n | \"updated_at\"\n | \"last_triggered_at\"\n | \"preset_metadata\"\n | \"disabled_reason\"\n | \"disabled_detail\"\n | \"disabled_at\"\n>;\n\n/** The envelope constants come from the interface manifest's import/export spec. */\nexport interface AutomationExportFile {\n version: number;\n kind: string;\n spec: AutomationSpec;\n}\n\nexport interface AutomationsResponse {\n automations: Automation[];\n total: number;\n}\n\n/** Mirrors `RunStatus` in the automation service's OpenAPI schema. */\nexport enum AutomationRunStatus {\n PENDING = \"PENDING\",\n RUNNING = \"RUNNING\",\n COMPLETED = \"COMPLETED\",\n FAILED = \"FAILED\",\n CANCELLED = \"CANCELLED\",\n SKIPPED = \"SKIPPED\",\n}\n\nexport type AutomationTaskOutcomeStatus =\n | \"success\"\n | \"partial_success\"\n | \"blocked\"\n | \"failed\"\n | \"unknown\";\n\nexport interface AutomationFinishToolResponse {\n status?: AutomationTaskOutcomeStatus | string;\n outcome_summary?: string;\n [key: string]: unknown;\n}\n\nexport interface AutomationRunMetadata {\n finish_tool_response?: AutomationFinishToolResponse | string | null;\n [key: string]: unknown;\n}\n\nexport interface AutomationRunStatusDetail {\n phase?: string;\n kind?: string;\n detail?: string;\n formatted_detail?: string;\n transient?: boolean;\n source?: string;\n operation?: string;\n code?: string;\n status_code?: number;\n [key: string]: unknown;\n}\n\nexport interface AutomationRun {\n id: string;\n status: AutomationRunStatus;\n conversation_id: string | null;\n /**\n * ID of the bash command that ran the automation inside the agent-server\n * sandbox. Used to fetch run logs from\n * `/api/bash/bash_events/{bash_command_id}` and the matching\n * `BashOutput` events. Null when the run failed before a command was\n * dispatched (e.g. sandbox provisioning errors).\n */\n bash_command_id: string | null;\n error_detail: string | null;\n status_detail?: AutomationRunStatusDetail | null;\n run_metadata?: AutomationRunMetadata | null;\n /**\n * Accumulated LLM cost of the run in USD, reported by the SDK in the\n * completion callback. `null` means unknown — the run predates cost\n * tracking, or ended without a callback (cancelled, watchdog timeout).\n * Absent entirely when the automation service is older than the release\n * that added the field, hence optional.\n */\n cost?: number | null;\n /**\n * Machine-readable code for the run's current or last-known phase (e.g.\n * \"sandbox_provisioning\"). `null` means nothing has reported one; absent\n * entirely against an automation service that predates phase reporting.\n * Code and label are one value, always written together.\n */\n phase_code?: string | null;\n /**\n * Author-supplied description of the phase (at most 200 characters, no\n * control or separator characters, emoji and non-Latin text allowed).\n * Data, not translatable interface copy.\n */\n phase_label?: string | null;\n /** UTC datetime the phase was last written. Same nullability as `phase_code`. */\n phase_updated_at?: string | null;\n started_at: string;\n completed_at: string | null;\n}\n\nexport interface AutomationRunsResponse {\n runs: AutomationRun[];\n total: number;\n /**\n * Lifetime run counts by status, unaffected by pagination. Sparse — a\n * status with no runs has no key, so when the field is present a missing\n * key means zero. Absent entirely when the automation service is older\n * than the release that added it.\n */\n status_counts?: Partial<Record<AutomationRunStatus, number>>;\n}\n\nexport type ActivityLogExportFormat = \"json\" | \"csv\";\n\n/** Client-built Activity Log export row (from list runs + automation detail). */\nexport interface AutomationRunExportRow {\n run_id: string;\n automation_id: string;\n automation_name: string;\n trigger: AutomationTrigger | Record<string, unknown>;\n start_time: string | null;\n end_time: string | null;\n duration_seconds: number | null;\n status: AutomationRunStatus;\n conversation_id: string | null;\n conversation_url: string | null;\n error: string | null;\n /**\n * Accumulated LLM cost in USD, or null when unknown. Unlike\n * `AutomationRun[\"cost\"]` this is always present: the row normalizes a\n * missing field to null so every exported record has the same shape.\n */\n cost: number | null;\n /**\n * The raw `phase_code`, like `status`, falling back to `phase_label` for a\n * phase reported without a code. Null only when the run has no phase.\n */\n phase: string | null;\n}\n"],"mappings":"6CA8GA,IAAY,EAAL,SAAA,EAAA,OACL,GAAA,QAAA,UACA,EAAA,QAAA,UACA,EAAA,UAAA,YACA,EAAA,OAAA,SACA,EAAA,UAAA,YACA,EAAA,QAAA,WACF,EAAA,CAAA,CAAA"}
|
|
@@ -55,7 +55,9 @@ export interface Automation {
|
|
|
55
55
|
*/
|
|
56
56
|
user_id?: string;
|
|
57
57
|
repository?: string;
|
|
58
|
-
/**
|
|
58
|
+
/** Saved agent profile controlling model, tools, and selected secrets. */
|
|
59
|
+
agent_profile_id?: string | null;
|
|
60
|
+
/** LLM/model profile name used when no agent profile is selected. */
|
|
59
61
|
model?: string | null;
|
|
60
62
|
/**
|
|
61
63
|
* Maximum run time in seconds. `null`/omitted uses the server default
|