@openhands/agent-canvas 1.12.0 → 1.14.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-BkL3HWa3.js → acp-providers-CYy8qA2z.js} +1 -1
- package/build/assets/active-backend-context-BZDG15C0.js +2 -0
- package/build/assets/{agent-context-settings-CzWS1DgR.js → agent-context-settings-DGWBBbcp.js} +1 -1
- package/build/assets/agent-profiles-settings-DrkGdf4_.js +1 -0
- package/build/assets/agent-server-conversation-service.api-DK56YPTs.js +86 -0
- package/build/assets/{agent-settings-D2J1dKVd.js → agent-settings-DfcSgkLD.js} +2 -2
- package/build/assets/agent-settings-Lrc5-twS.js +1 -0
- package/build/assets/{alert-banner-lrK-2_0Y.js → alert-banner-BgDHhL7b.js} +1 -1
- package/build/assets/api-error-message-BEIE_yD1.js +1 -0
- package/build/assets/{api-key-entry-screen-D70oJj2c.js → api-key-entry-screen-DaZnOlVo.js} +1 -1
- package/build/assets/{app-settings-D0OKHB3M.js → app-settings-BG5NAUbC.js} +1 -1
- package/build/assets/automation-detail-D4Hs831Z.js +3 -0
- package/build/assets/automation-export-n0X6FB0C.js +2 -0
- package/build/assets/automation-git-sync-CDrm8WV7.js +1 -0
- package/build/assets/automation-setup-route-CZCl4ONs.js +1 -0
- package/build/assets/{automation-templates-D9gs6ihu.js → automation-templates-DFF96AdL.js} +1 -1
- package/build/assets/automations-list-Bl-oGOrV.js +1 -0
- package/build/assets/{back-nav-button-B3pYwmUJ.js → back-nav-button-H_ThtDA0.js} +1 -1
- package/build/assets/{backend-form-modal-HwclKrUS.js → backend-form-modal-CbCemvHt.js} +1 -1
- package/build/assets/backend-not-configured-DP8KLNq_.js +1 -0
- package/build/assets/{backend-synced-settings-badge-YI3k09Wr.js → backend-synced-settings-badge-BBASWqsb.js} +1 -1
- package/build/assets/{badge-Dpn3-LTV.js → badge-B-51h-SW.js} +1 -1
- package/build/assets/{base-modal-3NmIOKDm.js → base-modal-BbjycA8X.js} +1 -1
- package/build/assets/bot-CGPCg03p.js +1 -0
- package/build/assets/{brand-button-CJcwjnfb.js → brand-button-Blxv5nww.js} +1 -1
- package/build/assets/browser-CuW0nWvh.js +7 -0
- package/build/assets/{browser-tab-4CPdj3J3.js → browser-tab-D5G0ORwt.js} +1 -1
- package/build/assets/{chat-send-button-B8n6-DQA.js → chat-send-button-BD2tii1r.js} +1 -1
- package/build/assets/check-DSuS-lyr.js +1 -0
- package/build/assets/chevron-down-CgGcmtE2.js +1 -0
- package/build/assets/circle-check-CG5-NPw7.js +1 -0
- package/build/assets/{circle-plus-check-toggle-BVzv5EkZ.js → circle-plus-check-toggle-ASbpB8vN.js} +1 -1
- package/build/assets/cloud-funnel-analytics-GlCUG0gk.js +1 -0
- package/build/assets/cog-CZiR80uT.js +1 -0
- package/build/assets/{combobox-caret-BlmRwiM8.js → combobox-caret-DvpEsh2O.js} +1 -1
- package/build/assets/{command-menu-BKOLj-TC.js → command-menu-DwUQzjYP.js} +1 -1
- package/build/assets/{condenser-settings-DLQogFnB.js → condenser-settings-BptcoiLA.js} +1 -1
- package/build/assets/{confirmation-modal-DAH0XtOp.js → confirmation-modal-CiEwxZAA.js} +1 -1
- package/build/assets/{context-menu-list-item-BQhmFVEK.js → context-menu-list-item-CdcamfM1.js} +1 -1
- package/build/assets/conversation-DREHj4nT.js +1 -0
- package/build/assets/conversation-DotRfiDz.js +90 -0
- package/build/assets/conversation-panel-DREHj4nT.js +1 -0
- package/build/assets/conversation-state-store-DMLtlHbE.js +1 -0
- package/build/assets/conversation-store-Blc5xysY.js +6 -0
- package/build/assets/{conversation-tab-empty-state-C9sfDOlt.js → conversation-tab-empty-state-D-puECpY.js} +1 -1
- package/build/assets/{copy-to-clipboard-button-DatoElj8.js → copy-to-clipboard-button-BGxcUbgy.js} +1 -1
- package/build/assets/{device-verify-BIjXeW9N.js → device-verify-CZJfWaJf.js} +1 -1
- package/build/assets/{dropdown-classes-zFW7qPSK.js → dropdown-classes-tLhpwtxS.js} +1 -1
- package/build/assets/{entry.client-EBn3ZtNP.js → entry.client-D8GnI6GZ.js} +2 -2
- package/build/assets/{enum-filter-dropdown-CctILg5t.js → enum-filter-dropdown-Fk8k60nk.js} +1 -1
- package/build/assets/{environment-switch-overlay-Cvmo6clk.js → environment-switch-overlay-DeztVYuL.js} +1 -1
- package/build/assets/{extensions-hub-BZ3HYztk.js → extensions-hub-Cd6GCYzq.js} +1 -1
- package/build/assets/{extensions-navigation-Bnx32WAb.js → extensions-navigation-C4sgZg-y.js} +1 -1
- package/build/assets/external-link-C0UpBgsE.js +1 -0
- package/build/assets/{file-text-RecuaId_.js → file-text-C6WYtNdV.js} +1 -1
- package/build/assets/files-tab-BW_qzyAm.js +1 -0
- package/build/assets/{form-control-classes-DLN3Qgub.js → form-control-classes-CGXBLcn1.js} +1 -1
- package/build/assets/format-model-name-BNPKVsIq.js +1 -0
- package/build/assets/format-relative-time-ZhQD4rsl.js +1 -0
- package/build/assets/git-provider-icon-CaQ1yLPi.js +1 -0
- package/build/assets/{git-repo-dropdown-B5VnMftu.js → git-repo-dropdown-CgXR6M_E.js} +1 -1
- package/build/assets/git-repo-dropdown-D2Uei3CO.js +1 -0
- package/build/assets/{highlighted-source-view-CgJfD5VT.js → highlighted-source-view-C_YOp8Fo.js} +1 -1
- package/build/assets/home-DNzzJcMP.js +1 -0
- package/build/assets/home-aCos-5vc.js +1 -0
- package/build/assets/{home-store-Cubdq0uP.js → home-store-DgzViC3f.js} +1 -1
- package/build/assets/index-home-DNzzJcMP.js +1 -0
- package/build/assets/info-CLoC1LRo.js +1 -0
- package/build/assets/install-server-modal-D7zIqNKz.js +1 -0
- package/build/assets/kebab-menu-item-content-DERMdnDv.js +1 -0
- package/build/assets/{launch-c4GEP8oo.js → launch-5PjKeLak.js} +1 -1
- package/build/assets/{list-todo-CheUtB7F.js → list-todo-BF049YaY.js} +1 -1
- package/build/assets/llm-not-configured-banner-BK9z5eS0.js +27 -0
- package/build/assets/llm-settings-BLAMK2tR.js +1 -0
- package/build/assets/llm-settings-BWsbarGM.js +1 -0
- package/build/assets/llm-subscription-service-SfnEV9Uc.js +1 -0
- package/build/assets/loader-circle-D7IagAyF.js +1 -0
- package/build/assets/{loading-spinner-CN3riY7k.js → loading-spinner-DBgXgra0.js} +1 -1
- package/build/assets/{manage-backends-modal-DTCME_Pu.js → manage-backends-modal-BTqNPhzc.js} +1 -1
- package/build/assets/manifest-abebca3c.js +1 -0
- package/build/assets/manifest-subpage-layout-Rn-glaxV.js +1 -0
- package/build/assets/{map-provider-7Bp2aih5.js → map-provider-BK4HnqYz.js} +1 -1
- package/build/assets/markdown-renderer-Cp6DlHQN.js +8 -0
- package/build/assets/{mcp-Da7wFU7A.js → mcp-BC-Ixn4T.js} +2 -2
- package/build/assets/mcp-marketplace-utils-BJWJgbB6.js +1 -0
- package/build/assets/messages-CzFKrzPG.js +40 -0
- package/build/assets/{modal-body-duRaxj_K.js → modal-body-BdKfD3Hl.js} +1 -1
- package/build/assets/{modal-classes-CLEXO6dj.js → modal-classes-D5_b5vMi.js} +1 -1
- package/build/assets/{modal-close-button-D0aT02hs.js → modal-close-button-objukxk_.js} +1 -1
- package/build/assets/{mouse-pointer-click-Px-dXWcS.js → mouse-pointer-click-C_gXyLyD.js} +1 -1
- package/build/assets/{npm-Cswluf6-.js → npm-CHVHV1MC.js} +1 -1
- package/build/assets/{onboarding-BKbTYlW1.js → onboarding-Diw0V51A.js} +1 -1
- package/build/assets/onboarding-modal-Da4yHzsA.js +1 -0
- package/build/assets/{organization-service.api-DK8csGvK.js → organization-service.api-BztSy69u.js} +1 -1
- package/build/assets/parse-git-remote-url-BkXN9jzl.js +1 -0
- package/build/assets/pencil-49avMHlD.js +1 -0
- package/build/assets/{planner-tab-D-mZ1I7n.js → planner-tab-CJiSpNax.js} +1 -1
- package/build/assets/{plugins-management-service-CywqyfLK.js → plugins-management-service-lHdNKWNU.js} +1 -1
- package/build/assets/plus-C0BagBpV.js +1 -0
- package/build/assets/profiles-service.api-BLr7FXec.js +1 -0
- package/build/assets/providers-CWXnb7S3.js +1 -0
- package/build/assets/{proxy-b4aqL4SX.js → proxy-DYDXxtje.js} +1 -1
- package/build/assets/{puzzle-B3v361yY.js → puzzle-Bt2B1rzf.js} +1 -1
- package/build/assets/recommended-automations-launcher-CcFMfJRR.js +1 -0
- package/build/assets/refresh-cw-nmcesifB.js +1 -0
- package/build/assets/root-CT4t7apy.css +1 -0
- package/build/assets/root-DnRgLKpU.js +2 -0
- package/build/assets/root-layout-2L9tr-BN.js +2 -0
- package/build/assets/{schema-field-Z-rMg9ti.js → schema-field-C59lVZTA.js} +1 -1
- package/build/assets/{sdk-section-page-m_cjygxR.js → sdk-section-page-BbBEQQjq.js} +1 -1
- package/build/assets/search-CYSDBczG.js +1 -0
- package/build/assets/secrets-service-BtsgYSlj.js +1 -0
- package/build/assets/secrets-settings-DJ0OKa4_.js +1 -0
- package/build/assets/{segmented-toggle-SmvsR3jW.js → segmented-toggle-DiVfTZuN.js} +1 -1
- package/build/assets/{settings-CZPGNens.js → settings-CDqL_Uqh.js} +1 -1
- package/build/assets/{settings-CWFxymAf.js → settings-DcNPxz0v.js} +1 -1
- package/build/assets/{settings-dropdown-input-TWIeiG02.js → settings-dropdown-input-Ba1UN5Du.js} +1 -1
- package/build/assets/{settings-index-Dtlegd6s.js → settings-index-Cz2cKt2K.js} +1 -1
- package/build/assets/{settings-input-D61Vzp9e.js → settings-input-CWUEHHvS.js} +1 -1
- package/build/assets/{settings-list-classes-sE0ASr1s.js → settings-list-classes-DdcLXDGn.js} +1 -1
- package/build/assets/{settings-modal-CalzJP2l.js → settings-modal-nEEK1Kh1.js} +1 -1
- package/build/assets/{settings-service.api-DfPYaxZJ.js → settings-service.api-3yAUFcaP.js} +1 -1
- package/build/assets/{settings-switch-Drt-rF5s.js → settings-switch-Dk9hChx1.js} +1 -1
- package/build/assets/{settings-utils-gw2ppAvw.js → settings-utils-CxjtCSB3.js} +1 -1
- package/build/assets/shared-conversation-DbAcrx3s.js +1 -0
- package/build/assets/shield-check-CiOTXxV2.js +1 -0
- package/build/assets/{sidebar-layout-Dxg6zc2K.js → sidebar-layout-lrfPooIB.js} +1 -1
- package/build/assets/{sidebar-mobile-menu-toggle-C6HpQ55l.js → sidebar-mobile-menu-toggle-KERXfNu1.js} +1 -1
- package/build/assets/{sidebar-nav-link-CxLoG-dG.js → sidebar-nav-link-B8lFD6Cb.js} +1 -1
- package/build/assets/{sidebar-store-BJeYY-E9.js → sidebar-store-u6pUpxJ7.js} +1 -1
- package/build/assets/{skill-card-pill-row-B_BYBONu.js → skill-card-pill-row-dGIUzr_b.js} +1 -1
- package/build/assets/{skill-icon-badge-CN41Hy9l.js → skill-icon-badge-kkOWZ89w.js} +1 -1
- package/build/assets/{skill-scope-Dt1V5X2p.js → skill-scope-DWN1PBPH.js} +1 -1
- package/build/assets/{skills-plugins-B-H0cCOP.js → skills-plugins-DFjH2Nq6.js} +1 -1
- package/build/assets/{skills-settings-DthdIDUb.js → skills-settings-DIHpl3ol.js} +2 -2
- package/build/assets/{sparkles-g7y3r-Ut.js → sparkles-ntyMLnbj.js} +1 -1
- package/build/assets/{styled-tooltip-C5C07RQC.js → styled-tooltip-B6JXcsmL.js} +1 -1
- package/build/assets/{task-list-tab-BTde81Iu.js → task-list-tab-aEJzEcHD.js} +1 -1
- package/build/assets/{terminal-DRrJo-cR.js → terminal-Dch7Ty5K.js} +1 -1
- package/build/assets/{toggle-switch-CIioisto.js → toggle-switch-B2MLKsgt.js} +1 -1
- package/build/assets/trash-2-yZnDM4Ji.js +1 -0
- package/build/assets/{typography-D9tiHct7.js → typography-DB5HoCk0.js} +1 -1
- package/build/assets/usage-tab-DrEtBmBT.js +1 -0
- package/build/assets/use-acp-credential-form-c8KXAa8A.js +1 -0
- package/build/assets/{use-activate-agent-profile-DrPzIKJF.js → use-activate-agent-profile-B0p34N3q.js} +1 -1
- package/build/assets/use-agent-profiles-CPIc6wLH.js +1 -0
- package/build/assets/{use-can-manage-org-profiles-BzE28H3x.js → use-can-manage-org-profiles-Dz_8Eqkv.js} +1 -1
- package/build/assets/{use-cloud-current-user-id-U6HPjy50.js → use-cloud-current-user-id-DvUVqCle.js} +1 -1
- package/build/assets/use-config-C3PO4TBw.js +1 -0
- package/build/assets/use-create-conversation-DVrA_uLD.js +1 -0
- package/build/assets/use-create-secret-DbBIpaCR.js +1 -0
- package/build/assets/use-get-secrets-6PBitf54.js +1 -0
- package/build/assets/use-has-permission-CQ31Cl8j.js +1 -0
- package/build/assets/use-is-authed-2UrDIziV.js +1 -0
- package/build/assets/use-is-creating-conversation-BvYpmb3v.js +1 -0
- package/build/assets/{use-launch-skill-in-chat-BcKNjxxd.js → use-launch-skill-in-chat-COnDpxCQ.js} +1 -1
- package/build/assets/use-llm-profiles-diZS4FiN.js +1 -0
- package/build/assets/use-manifest-capabilities-HIWCtIUm.js +1 -0
- package/build/assets/{use-onboarding-completion-6kWOW3ul.js → use-onboarding-completion-Bs8PcXik.js} +1 -1
- package/build/assets/{use-plugins-marketplace-CqkR8kLE.js → use-plugins-marketplace-BCuNLFsr.js} +1 -1
- package/build/assets/use-save-agent-profile-BaMNSpBV.js +1 -0
- package/build/assets/{use-save-settings-DIEurJ3D.js → use-save-settings-BahvC2Gw.js} +1 -1
- package/build/assets/{use-settings-BmLzQjnC.js → use-settings-C6ZxpBDX.js} +1 -1
- package/build/assets/{use-settings-nav-items-DV9qgeu7.js → use-settings-nav-items-Bqn69Ggw.js} +2 -2
- package/build/assets/use-tracking-Bhu7gk2y.js +3 -0
- package/build/assets/{use-user-conversation-Dt-W6uNw.js → use-user-conversation-BkNXpXrd.js} +1 -1
- package/build/assets/{useInfiniteQuery-DbCv0Jzd.js → useInfiniteQuery-c_OmS3lK.js} +1 -1
- package/build/assets/{useMutation-ChpkYxI5.js → useMutation-6ZsQCqAn.js} +1 -1
- package/build/assets/{useQueries-Cjv3E8_1.js → useQueries-xDrGlTO_.js} +1 -1
- package/build/assets/{useQuery-BCnzy4LX.js → useQuery-Bs5NFz2s.js} +1 -1
- package/build/assets/utils-DUD5ScdA.js +1 -0
- package/build/assets/{vendor~browser-DJ1pl_wn.js → vendor~browser-B-fae1JU.js} +14 -14
- package/build/assets/{vendor~entry.client-CgNUwtQL.js → vendor~entry.client-BFE7Llz9.js} +1 -1
- package/build/assets/{vendor~entry.client-zSIea5EO.js → vendor~entry.client-BaKt_PIp.js} +1 -1
- package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kv3pap4j-oGvLV0dO.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kepq2zme-D87mAf6K.js} +3 -3
- package/build/assets/{vendor~files-tab-C87pjSpi.js → vendor~files-tab-B6POTS66.js} +1 -1
- package/build/assets/vendor~index-home~home~conversation-panel~conversation-53Q_U6uP.js +13 -0
- package/build/assets/vendor~root-layout-DeQACFVA.js +1 -0
- package/build/assets/{vendor~root-layout~conversation-panel~conversation-DEzjR4K7.js → vendor~root-layout~conversation-panel~conversation-bv7ooVgH.js} +1 -1
- package/build/assets/{vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-U-xdsAEx.js → vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-e8pX05xf.js} +1 -1
- package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-CQR5Sa0H.js → vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-BvS6PCK2.js} +1 -1
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hjcjabwg-CuQhkiS7.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hjcjabwg-DOPLJMH9.js} +2 -2
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~gxu4j2ea-Cwhh3zLe.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~iw7io29p-Dz8NQve5.js} +1 -1
- package/build/assets/{verification-settings-oi54wEc1.js → verification-settings-COueVXmM.js} +1 -1
- package/build/assets/{wrench-B1_H-tL1.js → wrench-C95ujnYo.js} +1 -1
- package/build/assets/x-86ZCfxKY.js +1 -0
- package/build/assets/zap-DRa-r-Tf.js +1 -0
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +88 -3
- package/build/locales/ca/openhands.json +88 -3
- package/build/locales/de/openhands.json +88 -3
- package/build/locales/en/openhands.json +88 -3
- package/build/locales/es/openhands.json +88 -3
- package/build/locales/fr/openhands.json +88 -3
- package/build/locales/it/openhands.json +88 -3
- package/build/locales/ja/openhands.json +88 -3
- package/build/locales/ko-KR/openhands.json +88 -3
- package/build/locales/no/openhands.json +88 -3
- package/build/locales/pt/openhands.json +88 -3
- package/build/locales/tr/openhands.json +88 -3
- package/build/locales/uk/openhands.json +88 -3
- package/build/locales/zh-CN/openhands.json +88 -3
- package/build/locales/zh-TW/openhands.json +88 -3
- package/config/defaults.json +3 -3
- package/dist/api/agent-server-compatibility.cjs +1 -1
- package/dist/api/agent-server-compatibility.cjs.map +1 -1
- package/dist/api/agent-server-compatibility.js +1 -1
- package/dist/api/agent-server-compatibility.js.map +1 -1
- package/dist/api/automation-service/automation-service.api.cjs +1 -1
- package/dist/api/automation-service/automation-service.api.cjs.map +1 -1
- package/dist/api/automation-service/automation-service.api.d.ts +10 -0
- package/dist/api/automation-service/automation-service.api.js +42 -0
- package/dist/api/automation-service/automation-service.api.js.map +1 -1
- package/dist/api/cloud/conversation-service.api.cjs +1 -1
- package/dist/api/cloud/conversation-service.api.cjs.map +1 -1
- package/dist/api/cloud/conversation-service.api.d.ts +9 -0
- package/dist/api/cloud/conversation-service.api.js +11 -1
- package/dist/api/cloud/conversation-service.api.js.map +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs.map +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.d.ts +24 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.js +116 -97
- package/dist/api/conversation-service/agent-server-conversation-service.api.js.map +1 -1
- package/dist/api/llm-balance-service.cjs +2 -0
- package/dist/api/llm-balance-service.cjs.map +1 -0
- package/dist/api/llm-balance-service.d.ts +33 -0
- package/dist/api/llm-balance-service.js +53 -0
- package/dist/api/llm-balance-service.js.map +1 -0
- package/dist/api/llm-subscription-service.cjs +1 -1
- package/dist/api/llm-subscription-service.cjs.map +1 -1
- package/dist/api/llm-subscription-service.js +42 -34
- package/dist/api/llm-subscription-service.js.map +1 -1
- package/dist/api/profiles-service/profiles-service.api.cjs +1 -1
- package/dist/api/profiles-service/profiles-service.api.cjs.map +1 -1
- package/dist/api/profiles-service/profiles-service.api.d.ts +15 -2
- package/dist/api/profiles-service/profiles-service.api.js +25 -2
- package/dist/api/profiles-service/profiles-service.api.js.map +1 -1
- package/dist/api/secrets-service.cjs +1 -1
- package/dist/api/secrets-service.cjs.map +1 -1
- package/dist/api/secrets-service.d.ts +5 -0
- package/dist/api/secrets-service.js +12 -6
- package/dist/api/secrets-service.js.map +1 -1
- package/dist/components/conversation/index.cjs +1 -1
- package/dist/components/conversation/index.d.ts +0 -1
- package/dist/components/conversation/index.js +0 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.cjs +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.js +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.js.map +1 -1
- package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.cjs +1 -1
- package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.js +24 -23
- package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.js.map +1 -1
- package/dist/components/conversation-events/chat/event-message-components/index.d.ts +0 -1
- package/dist/components/conversation-events/chat/group-events.cjs +1 -1
- package/dist/components/conversation-events/chat/group-events.cjs.map +1 -1
- package/dist/components/conversation-events/chat/group-events.d.ts +3 -3
- package/dist/components/conversation-events/chat/group-events.js +27 -26
- package/dist/components/conversation-events/chat/group-events.js.map +1 -1
- package/dist/components/features/automations/git-sync/git-sync-activity-row.d.ts +15 -0
- package/dist/components/features/automations/git-sync/git-sync-config-form.d.ts +13 -0
- package/dist/components/features/automations/git-sync/git-sync-error-banner.d.ts +6 -0
- package/dist/components/features/automations/git-sync/git-sync-not-local-state.d.ts +1 -0
- package/dist/components/features/automations/git-sync/git-sync-overview-section.d.ts +12 -0
- package/dist/components/features/automations/git-sync/git-sync-skeleton.d.ts +1 -0
- package/dist/components/features/automations/git-sync/git-sync-status-pill.d.ts +7 -0
- package/dist/components/features/automations/git-sync/git-sync-unsupported-state.d.ts +7 -0
- package/dist/components/features/automations/recommended-automations-section.d.ts +7 -0
- package/dist/components/features/automations/responder-deployment-modal.d.ts +2 -1
- package/dist/components/features/chat/chat-interface.cjs +2 -2
- package/dist/components/features/chat/chat-interface.cjs.map +1 -1
- package/dist/components/features/chat/chat-interface.js +177 -176
- package/dist/components/features/chat/chat-interface.js.map +1 -1
- package/dist/components/features/chat/components/chat-input-actions.cjs +1 -1
- package/dist/components/features/chat/components/chat-input-actions.cjs.map +1 -1
- package/dist/components/features/chat/components/chat-input-actions.js +123 -118
- package/dist/components/features/chat/components/chat-input-actions.js.map +1 -1
- package/dist/components/features/chat/components/chat-input-grip.cjs +1 -1
- package/dist/components/features/chat/components/chat-input-grip.cjs.map +1 -1
- package/dist/components/features/chat/components/chat-input-grip.d.ts +2 -1
- package/dist/components/features/chat/components/chat-input-grip.js +7 -7
- package/dist/components/features/chat/components/chat-input-grip.js.map +1 -1
- package/dist/components/features/chat/components/context-window-meter.cjs +2 -0
- package/dist/components/features/chat/components/context-window-meter.cjs.map +1 -0
- package/dist/components/features/chat/components/context-window-meter.d.ts +2 -0
- package/dist/components/features/chat/components/context-window-meter.js +131 -0
- package/dist/components/features/chat/components/context-window-meter.js.map +1 -0
- package/dist/components/features/chat/components/context-window-ring.cjs +2 -0
- package/dist/components/features/chat/components/context-window-ring.cjs.map +1 -0
- package/dist/components/features/chat/components/context-window-ring.d.ts +26 -0
- package/dist/components/features/chat/components/context-window-ring.js +45 -0
- package/dist/components/features/chat/components/context-window-ring.js.map +1 -0
- package/dist/components/features/chat/custom-chat-input.cjs +1 -1
- package/dist/components/features/chat/custom-chat-input.cjs.map +1 -1
- package/dist/components/features/chat/custom-chat-input.js +68 -67
- package/dist/components/features/chat/custom-chat-input.js.map +1 -1
- package/dist/components/features/chat/error-message-banner.cjs +1 -1
- package/dist/components/features/chat/error-message-banner.cjs.map +1 -1
- package/dist/components/features/chat/error-message-banner.d.ts +3 -1
- package/dist/components/features/chat/error-message-banner.js +64 -58
- package/dist/components/features/chat/error-message-banner.js.map +1 -1
- package/dist/components/features/chat/path-component.cjs +1 -1
- package/dist/components/features/chat/path-component.cjs.map +1 -1
- package/dist/components/features/chat/path-component.js +9 -6
- package/dist/components/features/chat/path-component.js.map +1 -1
- package/dist/components/features/chat/plan-preview.cjs +1 -1
- package/dist/components/features/chat/plan-preview.js +4 -4
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.cjs +1 -1
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.cjs.map +1 -1
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.d.ts +0 -8
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.js +92 -50
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.js.map +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.cjs +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.cjs.map +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.d.ts +7 -2
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.js +15 -9
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.js.map +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.cjs +2 -0
- package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.cjs.map +1 -0
- package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.d.ts +20 -0
- package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.js +76 -0
- package/dist/components/features/chat/tool-visualizers/primitives/markdown-file-preview.js.map +1 -0
- package/dist/components/features/controls/server-status-context-menu.cjs +1 -1
- package/dist/components/features/controls/server-status-context-menu.cjs.map +1 -1
- package/dist/components/features/controls/server-status-context-menu.d.ts +5 -3
- package/dist/components/features/controls/server-status-context-menu.js +8 -8
- package/dist/components/features/controls/server-status-context-menu.js.map +1 -1
- package/dist/components/features/conversation/conversation-name-context-menu.cjs +1 -1
- package/dist/components/features/conversation/conversation-name-context-menu.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-name-context-menu.js +58 -61
- package/dist/components/features/conversation/conversation-name-context-menu.js.map +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.cjs +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.js +74 -46
- package/dist/components/features/conversation/conversation-name-with-status.js.map +1 -1
- package/dist/components/features/conversation/conversation-name.cjs +1 -1
- package/dist/components/features/conversation/conversation-name.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-name.js +69 -71
- package/dist/components/features/conversation/conversation-name.js.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.cjs +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.js +7 -6
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.js.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.cjs +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.js +92 -86
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.js.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.cjs +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.js +81 -71
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.js.map +1 -1
- package/dist/components/features/conversation/metrics-modal/cost-section.cjs +1 -1
- package/dist/components/features/conversation/metrics-modal/cost-section.cjs.map +1 -1
- package/dist/components/features/conversation/metrics-modal/cost-section.js +6 -6
- package/dist/components/features/conversation/metrics-modal/cost-section.js.map +1 -1
- package/dist/components/features/conversation/metrics-modal/metric-row.cjs +1 -1
- package/dist/components/features/conversation/metrics-modal/metric-row.cjs.map +1 -1
- package/dist/components/features/conversation/metrics-modal/metric-row.d.ts +2 -1
- package/dist/components/features/conversation/metrics-modal/metric-row.js +10 -9
- package/dist/components/features/conversation/metrics-modal/metric-row.js.map +1 -1
- package/dist/components/features/conversation/metrics-modal/usage-section.cjs +1 -1
- package/dist/components/features/conversation/metrics-modal/usage-section.cjs.map +1 -1
- package/dist/components/features/conversation/metrics-modal/usage-section.js +2 -1
- package/dist/components/features/conversation/metrics-modal/usage-section.js.map +1 -1
- package/dist/components/features/conversation/usage-panel/compact-context-button.cjs +2 -0
- package/dist/components/features/conversation/usage-panel/compact-context-button.cjs.map +1 -0
- package/dist/components/features/conversation/usage-panel/compact-context-button.d.ts +16 -0
- package/dist/components/features/conversation/usage-panel/compact-context-button.js +59 -0
- package/dist/components/features/conversation/usage-panel/compact-context-button.js.map +1 -0
- package/dist/components/features/conversation/usage-panel/context-meter.cjs +2 -0
- package/dist/components/features/conversation/usage-panel/context-meter.cjs.map +1 -0
- package/dist/components/features/conversation/usage-panel/context-meter.d.ts +19 -0
- package/dist/components/features/conversation/usage-panel/context-meter.js +46 -0
- package/dist/components/features/conversation/usage-panel/context-meter.js.map +1 -0
- package/dist/components/features/conversation/usage-panel/provider-balance-card.cjs +2 -0
- package/dist/components/features/conversation/usage-panel/provider-balance-card.cjs.map +1 -0
- package/dist/components/features/conversation/usage-panel/provider-balance-card.d.ts +7 -0
- package/dist/components/features/conversation/usage-panel/provider-balance-card.js +57 -0
- package/dist/components/features/conversation/usage-panel/provider-balance-card.js.map +1 -0
- package/dist/components/features/conversation/usage-panel/usage-panel.cjs +2 -0
- package/dist/components/features/conversation/usage-panel/usage-panel.cjs.map +1 -0
- package/dist/components/features/conversation/usage-panel/usage-panel.d.ts +9 -0
- package/dist/components/features/conversation/usage-panel/usage-panel.js +68 -0
- package/dist/components/features/conversation/usage-panel/usage-panel.js.map +1 -0
- package/dist/components/features/conversation-panel/budget-display.cjs +1 -1
- package/dist/components/features/conversation-panel/budget-display.cjs.map +1 -1
- package/dist/components/features/conversation-panel/budget-display.js +10 -13
- package/dist/components/features/conversation-panel/budget-display.js.map +1 -1
- package/dist/components/features/conversation-panel/budget-progress-bar.cjs +1 -1
- package/dist/components/features/conversation-panel/budget-progress-bar.cjs.map +1 -1
- package/dist/components/features/conversation-panel/budget-progress-bar.js +2 -2
- package/dist/components/features/conversation-panel/budget-progress-bar.js.map +1 -1
- package/dist/components/features/conversation-panel/compact-conversation-row.cjs +1 -1
- package/dist/components/features/conversation-panel/compact-conversation-row.js +6 -6
- package/dist/components/features/conversation-panel/confirm-archive-modal.cjs +2 -0
- package/dist/components/features/conversation-panel/confirm-archive-modal.cjs.map +1 -0
- package/dist/components/features/conversation-panel/confirm-archive-modal.d.ts +8 -0
- package/dist/components/features/conversation-panel/confirm-archive-modal.js +48 -0
- package/dist/components/features/conversation-panel/confirm-archive-modal.js.map +1 -0
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.d.ts +3 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.js +39 -34
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.d.ts +3 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.js +104 -80
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.d.ts +7 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.js +25 -17
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card.d.ts +9 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card.js +94 -84
- package/dist/components/features/conversation-panel/conversation-card/conversation-card.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-list.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-list.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-list.d.ts +2 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-list.js +32 -31
- package/dist/components/features/conversation-panel/conversation-group-folder-list.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-row.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-row.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-row.d.ts +2 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-row.js +27 -26
- package/dist/components/features/conversation-panel/conversation-group-folder-row.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.d.ts +3 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.js +116 -106
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.d.ts +27 -0
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.js +69 -46
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.js +240 -175
- package/dist/components/features/conversation-panel/conversation-panel.js.map +1 -1
- package/dist/components/features/files-tab/file-content-viewer.cjs +1 -1
- package/dist/components/features/files-tab/file-content-viewer.cjs.map +1 -1
- package/dist/components/features/files-tab/file-content-viewer.js +22 -25
- package/dist/components/features/files-tab/file-content-viewer.js.map +1 -1
- package/dist/components/features/markdown/markdown-table-scroll.cjs +1 -1
- package/dist/components/features/markdown/markdown-table-scroll.cjs.map +1 -1
- package/dist/components/features/markdown/markdown-table-scroll.js +2 -2
- package/dist/components/features/markdown/markdown-table-scroll.js.map +1 -1
- package/dist/components/features/onboarding/steps/setup-llm-step.d.ts +10 -7
- package/dist/components/shared/buttons/conversation-confirmation-buttons.cjs +1 -1
- package/dist/components/shared/buttons/conversation-confirmation-buttons.cjs.map +1 -1
- package/dist/components/shared/buttons/conversation-confirmation-buttons.js +2 -2
- package/dist/components/shared/buttons/conversation-confirmation-buttons.js.map +1 -1
- package/dist/components/shared/modals/confirmation-modals/base-modal.cjs +1 -1
- package/dist/components/shared/modals/confirmation-modals/base-modal.cjs.map +1 -1
- package/dist/components/shared/modals/confirmation-modals/base-modal.js +1 -1
- package/dist/components/shared/modals/confirmation-modals/base-modal.js.map +1 -1
- 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/llm-balance.cjs +2 -0
- package/dist/constants/llm-balance.cjs.map +1 -0
- package/dist/constants/llm-balance.d.ts +13 -0
- package/dist/constants/llm-balance.js +6 -0
- package/dist/constants/llm-balance.js.map +1 -0
- package/dist/contexts/conversation-websocket-context.cjs +2 -2
- package/dist/contexts/conversation-websocket-context.cjs.map +1 -1
- package/dist/contexts/conversation-websocket-context.js +227 -219
- package/dist/contexts/conversation-websocket-context.js.map +1 -1
- package/dist/hooks/chat/use-grip-resize.cjs +1 -1
- package/dist/hooks/chat/use-grip-resize.cjs.map +1 -1
- package/dist/hooks/chat/use-grip-resize.d.ts +1 -0
- package/dist/hooks/chat/use-grip-resize.js +39 -30
- package/dist/hooks/chat/use-grip-resize.js.map +1 -1
- package/dist/hooks/mutation/use-condense-conversation.cjs +2 -0
- package/dist/hooks/mutation/use-condense-conversation.cjs.map +1 -0
- package/dist/hooks/mutation/use-condense-conversation.d.ts +12 -0
- package/dist/hooks/mutation/use-condense-conversation.js +17 -0
- package/dist/hooks/mutation/use-condense-conversation.js.map +1 -0
- 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 -21
- package/dist/hooks/mutation/use-create-conversation.js.map +1 -1
- package/dist/hooks/mutation/use-new-conversation-command.cjs +1 -1
- package/dist/hooks/mutation/use-new-conversation-command.cjs.map +1 -1
- package/dist/hooks/mutation/use-new-conversation-command.js +1 -1
- package/dist/hooks/mutation/use-new-conversation-command.js.map +1 -1
- package/dist/hooks/query/use-commit-changes.cjs +1 -1
- package/dist/hooks/query/use-commit-changes.js +4 -4
- package/dist/hooks/query/use-conversation-metrics.cjs +1 -1
- package/dist/hooks/query/use-conversation-metrics.cjs.map +1 -1
- package/dist/hooks/query/use-conversation-metrics.js +1 -1
- package/dist/hooks/query/use-conversation-metrics.js.map +1 -1
- package/dist/hooks/query/use-git-sync.d.ts +19 -0
- package/dist/hooks/query/use-llm-balance.cjs +2 -0
- package/dist/hooks/query/use-llm-balance.cjs.map +1 -0
- package/dist/hooks/query/use-llm-balance.d.ts +10 -0
- package/dist/hooks/query/use-llm-balance.js +24 -0
- package/dist/hooks/query/use-llm-balance.js.map +1 -0
- package/dist/hooks/query/use-search-providers.cjs +1 -1
- package/dist/hooks/query/use-search-providers.cjs.map +1 -1
- package/dist/hooks/query/use-search-providers.js +1 -1
- package/dist/hooks/query/use-search-providers.js.map +1 -1
- package/dist/hooks/query/use-task-polling.cjs +1 -1
- package/dist/hooks/query/use-task-polling.cjs.map +1 -1
- package/dist/hooks/query/use-task-polling.js +12 -10
- package/dist/hooks/query/use-task-polling.js.map +1 -1
- package/dist/hooks/query/use-unified-get-git-changes.cjs +1 -1
- package/dist/hooks/query/use-unified-get-git-changes.js +4 -4
- package/dist/hooks/query/use-unified-git-commits.cjs +1 -1
- package/dist/hooks/query/use-unified-git-commits.js +4 -4
- package/dist/hooks/query/use-unified-git-diff.cjs +1 -1
- package/dist/hooks/query/use-unified-git-diff.js +4 -4
- package/dist/hooks/query/use-workspace-files.cjs +1 -1
- package/dist/hooks/query/use-workspace-files.cjs.map +1 -1
- package/dist/hooks/query/use-workspace-files.d.ts +14 -4
- package/dist/hooks/query/use-workspace-files.js +45 -32
- package/dist/hooks/query/use-workspace-files.js.map +1 -1
- package/dist/hooks/use-await-context-compaction.cjs +2 -0
- package/dist/hooks/use-await-context-compaction.cjs.map +1 -0
- package/dist/hooks/use-await-context-compaction.d.ts +38 -0
- package/dist/hooks/use-await-context-compaction.js +61 -0
- package/dist/hooks/use-await-context-compaction.js.map +1 -0
- package/dist/hooks/use-compact-context-action.cjs +2 -0
- package/dist/hooks/use-compact-context-action.cjs.map +1 -0
- package/dist/hooks/use-compact-context-action.d.ts +10 -0
- package/dist/hooks/use-compact-context-action.js +61 -0
- package/dist/hooks/use-compact-context-action.js.map +1 -0
- package/dist/hooks/use-context-window-usage.cjs +2 -0
- package/dist/hooks/use-context-window-usage.cjs.map +1 -0
- package/dist/hooks/use-context-window-usage.d.ts +5 -0
- package/dist/hooks/use-context-window-usage.js +20 -0
- package/dist/hooks/use-context-window-usage.js.map +1 -0
- package/dist/hooks/use-conversation-name-context-menu.cjs +1 -1
- package/dist/hooks/use-conversation-name-context-menu.cjs.map +1 -1
- package/dist/hooks/use-conversation-name-context-menu.d.ts +0 -3
- package/dist/hooks/use-conversation-name-context-menu.js +54 -57
- package/dist/hooks/use-conversation-name-context-menu.js.map +1 -1
- package/dist/hooks/use-drag-resize.cjs +1 -1
- package/dist/hooks/use-drag-resize.cjs.map +1 -1
- package/dist/hooks/use-drag-resize.d.ts +8 -0
- package/dist/hooks/use-drag-resize.js +21 -18
- package/dist/hooks/use-drag-resize.js.map +1 -1
- package/dist/hooks/use-live-conversation-metrics.cjs +2 -0
- package/dist/hooks/use-live-conversation-metrics.cjs.map +1 -0
- package/dist/hooks/use-live-conversation-metrics.d.ts +18 -0
- package/dist/hooks/use-live-conversation-metrics.js +37 -0
- package/dist/hooks/use-live-conversation-metrics.js.map +1 -0
- package/dist/hooks/use-responder-url-secret.d.ts +5 -0
- package/dist/hooks/use-select-conversation-tab.cjs +1 -1
- package/dist/hooks/use-select-conversation-tab.cjs.map +1 -1
- package/dist/hooks/use-select-conversation-tab.js +2 -2
- package/dist/hooks/use-select-conversation-tab.js.map +1 -1
- package/dist/hooks/use-tracking.cjs +1 -1
- package/dist/hooks/use-tracking.cjs.map +1 -1
- package/dist/hooks/use-tracking.d.ts +6 -0
- package/dist/hooks/use-tracking.js +6 -0
- package/dist/hooks/use-tracking.js.map +1 -1
- package/dist/i18n/declaration.cjs +1 -1
- package/dist/i18n/declaration.cjs.map +1 -1
- package/dist/i18n/declaration.d.ts +86 -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 +1475 -30
- package/dist/i18n/translation.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +28 -29
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.js +0 -1
- package/dist/locales/ar/openhands.json +88 -3
- package/dist/locales/ca/openhands.json +88 -3
- package/dist/locales/de/openhands.json +88 -3
- package/dist/locales/en/openhands.json +88 -3
- package/dist/locales/es/openhands.json +88 -3
- package/dist/locales/fr/openhands.json +88 -3
- package/dist/locales/it/openhands.json +88 -3
- package/dist/locales/ja/openhands.json +88 -3
- package/dist/locales/ko-KR/openhands.json +88 -3
- package/dist/locales/no/openhands.json +88 -3
- package/dist/locales/pt/openhands.json +88 -3
- package/dist/locales/tr/openhands.json +88 -3
- package/dist/locales/uk/openhands.json +88 -3
- package/dist/locales/zh-CN/openhands.json +88 -3
- package/dist/locales/zh-TW/openhands.json +88 -3
- package/dist/node_modules/@microlink/react-json-view/dist/main.cjs +5 -5
- package/dist/node_modules/@microlink/react-json-view/dist/main.cjs.map +1 -1
- package/dist/node_modules/@microlink/react-json-view/dist/main.js +5194 -5187
- package/dist/node_modules/@microlink/react-json-view/dist/main.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs +2 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js +21 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/hooks-client.cjs +2 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/hooks-client.cjs.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/hooks-client.js +22 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/hooks-client.js.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.cjs +2 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.cjs.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.js +33 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.js.map +1 -0
- 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 +56 -22
- package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/profiles-client.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/profiles-client.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/profiles-client.js +3 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/profiles-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/shared-client.cjs +2 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/shared-client.cjs.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/shared-client.js +31 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/shared-client.js.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/sub-agents-client.cjs +2 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/sub-agents-client.cjs.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/sub-agents-client.js +21 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/sub-agents-client.js.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/tool-client.cjs +2 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/tool-client.cjs.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/tool-client.js +21 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/tool-client.js.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/local-conversation.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/local-conversation.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.js +9 -5
- package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.js.map +1 -1
- package/dist/node_modules/i18next-http-backend/esm/index.cjs +1 -1
- package/dist/node_modules/i18next-http-backend/esm/index.cjs.map +1 -1
- package/dist/node_modules/i18next-http-backend/esm/index.js +2 -2
- package/dist/node_modules/i18next-http-backend/esm/index.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/archive-restore.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/archive-restore.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/archive-restore.js +31 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/archive-restore.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/archive.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/archive.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/archive.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/archive.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/minimize.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/minimize.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/minimize.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/minimize.js.map +1 -0
- package/dist/node_modules/zustand/esm/middleware.cjs +3 -3
- package/dist/node_modules/zustand/esm/middleware.cjs.map +1 -1
- package/dist/node_modules/zustand/esm/middleware.js +33 -31
- package/dist/node_modules/zustand/esm/middleware.js.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +17 -16
- package/dist/package.js.map +1 -1
- package/dist/routes/files-tab.cjs +1 -1
- package/dist/routes/files-tab.js +11 -11
- package/dist/routes/files-tab.js.map +1 -1
- package/dist/routes/usage-tab.cjs +2 -0
- package/dist/routes/usage-tab.cjs.map +1 -0
- package/dist/routes/usage-tab.d.ts +2 -0
- package/dist/routes/usage-tab.js +10 -0
- package/dist/routes/usage-tab.js.map +1 -0
- package/dist/services/child-conversation-launch.cjs +1 -1
- package/dist/services/child-conversation-launch.cjs.map +1 -1
- package/dist/services/child-conversation-launch.js +11 -5
- package/dist/services/child-conversation-launch.js.map +1 -1
- package/dist/services/settings.cjs +1 -1
- package/dist/services/settings.cjs.map +1 -1
- package/dist/services/settings.js +2 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/services/telemetry.cjs +1 -1
- package/dist/services/telemetry.cjs.map +1 -1
- package/dist/services/telemetry.js +47 -51
- package/dist/services/telemetry.js.map +1 -1
- package/dist/stores/archived-conversations-store.cjs +2 -0
- package/dist/stores/archived-conversations-store.cjs.map +1 -0
- package/dist/stores/archived-conversations-store.d.ts +24 -0
- package/dist/stores/archived-conversations-store.js +33 -0
- package/dist/stores/archived-conversations-store.js.map +1 -0
- package/dist/stores/conversation-panel-preferences-store.cjs +1 -1
- package/dist/stores/conversation-panel-preferences-store.cjs.map +1 -1
- package/dist/stores/conversation-panel-preferences-store.d.ts +3 -0
- package/dist/stores/conversation-panel-preferences-store.js +4 -0
- package/dist/stores/conversation-panel-preferences-store.js.map +1 -1
- package/dist/stores/conversation-store.cjs.map +1 -1
- package/dist/stores/conversation-store.d.ts +1 -1
- package/dist/stores/conversation-store.js.map +1 -1
- package/dist/stores/error-message-store.cjs +1 -1
- package/dist/stores/error-message-store.cjs.map +1 -1
- package/dist/stores/error-message-store.d.ts +3 -1
- package/dist/stores/error-message-store.js +5 -3
- package/dist/stores/error-message-store.js.map +1 -1
- package/dist/stores/metrics-store.cjs +1 -1
- package/dist/stores/metrics-store.cjs.map +1 -1
- package/dist/stores/metrics-store.d.ts +1 -0
- package/dist/stores/metrics-store.js +7 -4
- package/dist/stores/metrics-store.js.map +1 -1
- package/dist/types/agent-server/core/events/condensation-event.d.ts +3 -0
- package/dist/types/agent-server/core/events/conversation-state-event.d.ts +4 -6
- package/dist/types/agent-server/type-guards.cjs +1 -1
- package/dist/types/agent-server/type-guards.cjs.map +1 -1
- package/dist/types/agent-server/type-guards.d.ts +5 -0
- package/dist/types/agent-server/type-guards.js +3 -3
- package/dist/types/agent-server/type-guards.js.map +1 -1
- package/dist/types/git-sync.d.ts +51 -0
- package/dist/utils/conversation-local-storage.cjs +1 -1
- package/dist/utils/conversation-local-storage.cjs.map +1 -1
- package/dist/utils/conversation-local-storage.js +2 -1
- package/dist/utils/conversation-local-storage.js.map +1 -1
- package/dist/utils/error-handler.cjs +1 -1
- package/dist/utils/error-handler.cjs.map +1 -1
- package/dist/utils/error-handler.d.ts +3 -2
- package/dist/utils/error-handler.js +18 -5
- package/dist/utils/error-handler.js.map +1 -1
- package/dist/utils/format-model-name.cjs +1 -1
- package/dist/utils/format-model-name.cjs.map +1 -1
- package/dist/utils/format-model-name.d.ts +1 -0
- package/dist/utils/format-model-name.js +1 -0
- package/dist/utils/format-model-name.js.map +1 -1
- package/dist/utils/format-token-count.cjs +2 -0
- package/dist/utils/format-token-count.cjs.map +1 -0
- package/dist/utils/format-token-count.d.ts +3 -0
- package/dist/utils/format-token-count.js +19 -0
- package/dist/utils/format-token-count.js.map +1 -0
- package/dist/utils/hover-reveal-classes.cjs +2 -0
- package/dist/utils/hover-reveal-classes.cjs.map +1 -0
- package/dist/utils/hover-reveal-classes.d.ts +34 -0
- package/dist/utils/hover-reveal-classes.js +41 -0
- package/dist/utils/hover-reveal-classes.js.map +1 -0
- package/dist/utils/is-markdown-file-path.cjs +2 -0
- package/dist/utils/is-markdown-file-path.cjs.map +1 -0
- package/dist/utils/is-markdown-file-path.d.ts +4 -0
- package/dist/utils/is-markdown-file-path.js +14 -0
- package/dist/utils/is-markdown-file-path.js.map +1 -0
- package/dist/utils/mcp-marketplace-utils.cjs +1 -1
- package/dist/utils/mcp-marketplace-utils.cjs.map +1 -1
- package/dist/utils/mcp-marketplace-utils.d.ts +7 -0
- package/dist/utils/mcp-marketplace-utils.js +19 -16
- package/dist/utils/mcp-marketplace-utils.js.map +1 -1
- package/dist/utils/transcript-export/index.cjs +3 -3
- package/dist/utils/transcript-export/index.cjs.map +1 -1
- package/dist/utils/transcript-export/index.js +12 -12
- package/dist/utils/transcript-export/index.js.map +1 -1
- package/dist/utils/transcript-export/load-complete-events.cjs +1 -1
- package/dist/utils/transcript-export/load-complete-events.cjs.map +1 -1
- package/dist/utils/transcript-export/load-complete-events.js +25 -17
- package/dist/utils/transcript-export/load-complete-events.js.map +1 -1
- package/dist/utils/workspace-relative-path.cjs +2 -0
- package/dist/utils/workspace-relative-path.cjs.map +1 -0
- package/dist/utils/workspace-relative-path.d.ts +10 -0
- package/dist/utils/workspace-relative-path.js +22 -0
- package/dist/utils/workspace-relative-path.js.map +1 -0
- package/package.json +17 -16
- package/scripts/check-sdk-version-sync.mjs +6 -6
- package/scripts/check-translation-completeness.cjs +3 -0
- package/scripts/dev-process-utils.mjs +6 -1
- package/scripts/dev-safe.mjs +57 -2
- package/scripts/dev-with-automation.mjs +98 -9
- package/build/assets/active-backend-context-B_bg5h9O.js +0 -2
- package/build/assets/agent-profiles-settings-hd2cAIZM.js +0 -1
- package/build/assets/agent-server-conversation-service.api-BheU4HX3.js +0 -86
- package/build/assets/agent-settings-D_SVrWhI.js +0 -1
- package/build/assets/automation-detail-C0SxWTnQ.js +0 -3
- package/build/assets/automation-export-BjQa_fT6.js +0 -2
- package/build/assets/automation-setup-route-BzCNpljP.js +0 -1
- package/build/assets/automations-list-dZg8zOCl.js +0 -1
- package/build/assets/bot-DuN83i3p.js +0 -1
- package/build/assets/browser--eoQOo4M.js +0 -6
- package/build/assets/check-DLOKoFU9.js +0 -1
- package/build/assets/chevron-down-CnIbtM6i.js +0 -1
- package/build/assets/circle-check-CxCYJrpZ.js +0 -1
- package/build/assets/cloud-funnel-analytics-CcSez21r.js +0 -1
- package/build/assets/conversation-Cmyw9bFh.js +0 -90
- package/build/assets/conversation-CvoGZ5vC.js +0 -1
- package/build/assets/conversation-panel-CvoGZ5vC.js +0 -1
- package/build/assets/conversation-state-store-CtgILxWF.js +0 -1
- package/build/assets/conversation-store-B8Eahyeg.js +0 -6
- package/build/assets/external-link-zWbg5KXS.js +0 -1
- package/build/assets/files-tab-D5zuU5TY.js +0 -1
- package/build/assets/format-model-name-BN_rx1Y3.js +0 -1
- package/build/assets/format-relative-time-BerVamGl.js +0 -1
- package/build/assets/git-provider-icon-zuKz2cwo.js +0 -1
- package/build/assets/git-repo-dropdown-Bo7ciSNX.js +0 -1
- package/build/assets/home-DqyeeFA_.js +0 -1
- package/build/assets/home-Y0aDou-a.js +0 -1
- package/build/assets/index-home-DqyeeFA_.js +0 -1
- package/build/assets/info-C9lpK5pw.js +0 -1
- package/build/assets/install-server-modal-DW6dSyGr.js +0 -1
- package/build/assets/kebab-menu-item-content-CKydZrbH.js +0 -1
- package/build/assets/llm-not-configured-banner-DCE_0B4I.js +0 -27
- package/build/assets/llm-settings-8eWBF3Ij.js +0 -1
- package/build/assets/llm-settings-D9ko42Pi.js +0 -1
- package/build/assets/llm-subscription-service-B3K-97lP.js +0 -1
- package/build/assets/loader-circle-C5AnEN8r.js +0 -1
- package/build/assets/manifest-e1c3bc3b.js +0 -1
- package/build/assets/manifest-subpage-layout-Ds7G5GZ8.js +0 -1
- package/build/assets/markdown-renderer-DzvgdZey.js +0 -8
- package/build/assets/mcp-marketplace-utils-DSLou4n7.js +0 -1
- package/build/assets/messages-B2l0qLVk.js +0 -40
- package/build/assets/onboarding-modal-DrrGlEQq.js +0 -1
- package/build/assets/pencil-Bl3GWhgq.js +0 -1
- package/build/assets/plus-CtzlyAoF.js +0 -1
- package/build/assets/profiles-service.api-vcE_jJCe.js +0 -1
- package/build/assets/providers-CdrPPm0z.js +0 -1
- package/build/assets/recommended-automations-launcher-DIYgUdMm.js +0 -1
- package/build/assets/refresh-cw-B9GhC3QC.js +0 -1
- package/build/assets/root-CBBi6IAe.js +0 -2
- package/build/assets/root-CRK9fOFd.css +0 -1
- package/build/assets/root-layout-BFN2rCOy.js +0 -2
- package/build/assets/search-CYaiKHRp.js +0 -1
- package/build/assets/secrets-service-BHF4fxML.js +0 -1
- package/build/assets/secrets-settings-aBGXtQhX.js +0 -1
- package/build/assets/shared-conversation-BIAcuORk.js +0 -1
- package/build/assets/shield-check-D2cpEpv3.js +0 -1
- package/build/assets/trash-2-CzDVN-Iw.js +0 -1
- package/build/assets/use-acp-credential-form-DGyo0QvL.js +0 -1
- package/build/assets/use-agent-profiles-B37XWDLq.js +0 -1
- package/build/assets/use-config-DapX3pjC.js +0 -1
- package/build/assets/use-create-conversation-CRf1dCm5.js +0 -1
- package/build/assets/use-create-secret-DcpT3RPw.js +0 -1
- package/build/assets/use-is-authed-Bka89Xmm.js +0 -1
- package/build/assets/use-is-creating-conversation-CVefC9Ns.js +0 -1
- package/build/assets/use-llm-profiles-CHxqoHiN.js +0 -1
- package/build/assets/use-manifest-capabilities-zihHDbMW.js +0 -1
- package/build/assets/use-save-agent-profile-CH9_EXQG.js +0 -1
- package/build/assets/use-tracking-salbPJxT.js +0 -3
- package/build/assets/utils-DPQfkd-7.js +0 -1
- package/build/assets/vendor~index-home~home~conversation-panel~conversation-DiXf0dkj.js +0 -13
- package/build/assets/x-RYDBg-e2.js +0 -1
- package/build/assets/zap-tbKDzCe3.js +0 -1
- package/dist/api/cloud/suggestions-service.api.d.ts +0 -8
- package/dist/api/suggestions-service/suggestions-service.api.d.ts +0 -11
- package/dist/components/conversation-events/chat/event-message-components/observation-pair-event-message.d.ts +0 -7
- package/dist/components/conversation-events/index.d.ts +0 -1
- package/dist/components/features/automations/metadata-chip.d.ts +0 -6
- package/dist/components/features/chat/task-tracking/status-badge.d.ts +0 -5
- package/dist/components/features/chat/task-tracking/status-icon.d.ts +0 -5
- package/dist/components/features/chat/task-tracking/task-list-section.d.ts +0 -10
- package/dist/components/features/controls/tools.d.ts +0 -2
- package/dist/components/features/conversation/metrics-modal/context-window-section.cjs +0 -2
- package/dist/components/features/conversation/metrics-modal/context-window-section.cjs.map +0 -1
- package/dist/components/features/conversation/metrics-modal/context-window-section.d.ts +0 -6
- package/dist/components/features/conversation/metrics-modal/context-window-section.js +0 -46
- package/dist/components/features/conversation/metrics-modal/context-window-section.js.map +0 -1
- package/dist/components/features/conversation/metrics-modal/empty-state.cjs +0 -2
- package/dist/components/features/conversation/metrics-modal/empty-state.cjs.map +0 -1
- package/dist/components/features/conversation/metrics-modal/empty-state.d.ts +0 -1
- package/dist/components/features/conversation/metrics-modal/empty-state.js +0 -18
- package/dist/components/features/conversation/metrics-modal/empty-state.js.map +0 -1
- package/dist/components/features/conversation/metrics-modal/metrics-modal-header.cjs +0 -2
- package/dist/components/features/conversation/metrics-modal/metrics-modal-header.cjs.map +0 -1
- package/dist/components/features/conversation/metrics-modal/metrics-modal-header.d.ts +0 -5
- package/dist/components/features/conversation/metrics-modal/metrics-modal-header.js +0 -20
- package/dist/components/features/conversation/metrics-modal/metrics-modal-header.js.map +0 -1
- package/dist/components/features/conversation/metrics-modal/metrics-modal.cjs +0 -2
- package/dist/components/features/conversation/metrics-modal/metrics-modal.cjs.map +0 -1
- package/dist/components/features/conversation/metrics-modal/metrics-modal.d.ts +0 -6
- package/dist/components/features/conversation/metrics-modal/metrics-modal.js +0 -57
- package/dist/components/features/conversation/metrics-modal/metrics-modal.js.map +0 -1
- package/dist/components/features/conversation-panel/new-conversation-button.d.ts +0 -23
- package/dist/components/features/home/home-header/guide-message.d.ts +0 -1
- package/dist/components/features/home/home-header/home-header.d.ts +0 -1
- package/dist/components/features/home/new-conversation/create-conversation-button.d.ts +0 -1
- package/dist/components/features/home/new-conversation/new-conversation.d.ts +0 -1
- package/dist/components/features/home/new-conversation.d.ts +0 -1
- package/dist/components/features/home/tasks/task-card.d.ts +0 -6
- package/dist/components/features/home/tasks/task-group.d.ts +0 -7
- package/dist/components/features/home/tasks/task-issue-number.d.ts +0 -6
- package/dist/components/features/home/tasks/task-item-title.d.ts +0 -1
- package/dist/components/features/home/tasks/task-suggestions-skeleton.d.ts +0 -1
- package/dist/components/features/home/tasks/task-suggestions.d.ts +0 -6
- package/dist/components/features/settings/agent-server-onboarding.d.ts +0 -10
- package/dist/components/features/settings/mcp-settings/mcp-server-list-item.d.ts +0 -6
- package/dist/components/features/settings/mcp-settings/mcp-server-list.d.ts +0 -8
- package/dist/hooks/query/use-suggested-tasks.d.ts +0 -1
- package/dist/hooks/use-should-show-user-features.d.ts +0 -1
- package/dist/icons/u-credit-card.cjs +0 -2
- package/dist/icons/u-credit-card.cjs.map +0 -1
- package/dist/icons/u-credit-card.js +0 -21
- package/dist/icons/u-credit-card.js.map +0 -1
- package/dist/ui/card-title.d.ts +0 -16
- package/dist/ui/card.d.ts +0 -14
- package/dist/utils/group-suggested-tasks.d.ts +0 -7
- /package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~cy4jtuc2-rfV8mQ9m.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~dcc51rps-rfV8mQ9m.js} +0 -0
- /package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~lq5hicxx-cHFhpUBq.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~ox0jfsa0-cHFhpUBq.js} +0 -0
- /package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~9pstowjp-BOVIFA_g.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-BOVIFA_g.js} +0 -0
- /package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~ht43enc2-C0JXQb_q.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~jz4f6vo2-C0JXQb_q.js} +0 -0
|
@@ -1 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs")
|
|
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 getUrl(e){return(await this.client.get(`/api/desktop/url`,{params:e?{base_url:e}:void 0})).data.url}close(){this.client.close()}};exports.DesktopClient=t;
|
|
2
|
+
//# sourceMappingURL=desktop-client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desktop-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/desktop-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class DesktopClient {\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 getUrl(baseUrl) {\n const response = await this.client.get('/api/desktop/url', {\n params: baseUrl ? { base_url: baseUrl } : undefined,\n });\n return response.data.url;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=desktop-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FACA,IAAa,EAAb,KAA2B,CACvB,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,OAAO,EAAS,CAIlB,OAAO,MAHgB,KAAK,OAAO,IAAI,mBAAoB,CACvD,OAAQ,EAAU,CAAE,SAAU,CAAQ,EAAI,IAAA,EAC9C,CAAC,GACe,KAAK,GACzB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
import "./http-client.js";
|
|
1
|
+
import { HttpClient as e } from "./http-client.js";
|
|
2
|
+
//#region node_modules/@openhands/typescript-client/dist/client/desktop-client.js
|
|
3
|
+
var t = class {
|
|
4
|
+
constructor(t) {
|
|
5
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = new e({
|
|
6
|
+
baseUrl: this.host,
|
|
7
|
+
apiKey: this.apiKey,
|
|
8
|
+
timeout: t.timeout || 6e4
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async getUrl(e) {
|
|
12
|
+
return (await this.client.get("/api/desktop/url", { params: e ? { base_url: e } : void 0 })).data.url;
|
|
13
|
+
}
|
|
14
|
+
close() {
|
|
15
|
+
this.client.close();
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { t as DesktopClient };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=desktop-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desktop-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/desktop-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class DesktopClient {\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 getUrl(baseUrl) {\n const response = await this.client.get('/api/desktop/url', {\n params: baseUrl ? { base_url: baseUrl } : undefined,\n });\n return response.data.url;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=desktop-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAA2B;CACvB,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,OAAO,GAAS;EAIlB,QAAO,MAHgB,KAAK,OAAO,IAAI,oBAAoB,EACvD,QAAQ,IAAU,EAAE,UAAU,EAAQ,IAAI,KAAA,EAC9C,CAAC,GACe,KAAK;CACzB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs")
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./http-client.cjs"),t=require("./agent-server-compatibility.cjs");var n=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 loadHooks(e={}){return await t.assertAgentServerSupports(this.client,t.AgentServerFeatureRequirements.hooks),(await this.client.post(`/api/hooks`,e)).data}close(){this.client.close()}};exports.HooksClient=n;
|
|
2
|
+
//# sourceMappingURL=hooks-client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks-client.cjs","names":["HttpClient","assertAgentServerSupports","AgentServerFeatureRequirements"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/hooks-client.js"],"sourcesContent":["import { AgentServerFeatureRequirements, assertAgentServerSupports, } from './agent-server-compatibility.js';\nimport { HttpClient } from './http-client.js';\nexport class HooksClient {\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 loadHooks(request = {}) {\n await assertAgentServerSupports(this.client, AgentServerFeatureRequirements.hooks);\n const response = await this.client.post('/api/hooks', request);\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=hooks-client.js.map"],"x_google_ignoreList":[0],"mappings":"4IAEA,IAAa,EAAb,KAAyB,CACrB,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,UAAU,EAAU,CAAC,EAAG,CAG1B,OAFA,MAAMC,EAAAA,0BAA0B,KAAK,OAAQC,EAAAA,+BAA+B,KAAK,GAE1E,MADgB,KAAK,OAAO,KAAK,aAAc,CAAO,GAC7C,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -1 +1,22 @@
|
|
|
1
|
-
import "./http-client.js";
|
|
1
|
+
import { HttpClient as e } from "./http-client.js";
|
|
2
|
+
import { AgentServerFeatureRequirements as t, assertAgentServerSupports as n } from "./agent-server-compatibility.js";
|
|
3
|
+
//#region node_modules/@openhands/typescript-client/dist/client/hooks-client.js
|
|
4
|
+
var r = class {
|
|
5
|
+
constructor(t) {
|
|
6
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = new e({
|
|
7
|
+
baseUrl: this.host,
|
|
8
|
+
apiKey: this.apiKey,
|
|
9
|
+
timeout: t.timeout || 6e4
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
async loadHooks(e = {}) {
|
|
13
|
+
return await n(this.client, t.hooks), (await this.client.post("/api/hooks", e)).data;
|
|
14
|
+
}
|
|
15
|
+
close() {
|
|
16
|
+
this.client.close();
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { r as HooksClient };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=hooks-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/hooks-client.js"],"sourcesContent":["import { AgentServerFeatureRequirements, assertAgentServerSupports, } from './agent-server-compatibility.js';\nimport { HttpClient } from './http-client.js';\nexport class HooksClient {\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 loadHooks(request = {}) {\n await assertAgentServerSupports(this.client, AgentServerFeatureRequirements.hooks);\n const response = await this.client.post('/api/hooks', request);\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=hooks-client.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAEA,IAAa,IAAb,MAAyB;CACrB,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,UAAU,IAAU,CAAC,GAAG;EAG1B,OAFA,MAAM,EAA0B,KAAK,QAAQ,EAA+B,KAAK,IAE1E,MADgB,KAAK,OAAO,KAAK,cAAc,CAAO,GAC7C;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs")
|
|
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 listMetaProfiles(){return(await this.client.get(`/api/meta-profiles`)).data}async getMetaProfile(e){return(await this.client.get(`/api/meta-profiles/${encodeURIComponent(e)}`)).data}async saveMetaProfile(e,t){return(await this.client.post(`/api/meta-profiles/${encodeURIComponent(e)}`,t)).data}async deleteMetaProfile(e){return(await this.client.delete(`/api/meta-profiles/${encodeURIComponent(e)}`)).data}async activateMetaProfile(e){return(await this.client.post(`/api/meta-profiles/${encodeURIComponent(e)}/activate`,{})).data}close(){this.client.close()}};exports.MetaProfilesClient=t;
|
|
2
|
+
//# sourceMappingURL=meta-profiles-client.cjs.map
|
package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta-profiles-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\n/**\n * Client for the agent-server ``/api/meta-profiles`` endpoints.\n *\n * A meta-profile is a model-routing configuration consumed by the\n * ``classify_and_switch_llm`` tool. Unlike LLM profiles, meta-profiles hold no\n * secrets — they are plain JSON documents — so there is no secret-exposure\n * handling here.\n */\nexport class MetaProfilesClient {\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 listMetaProfiles() {\n const response = await this.client.get('/api/meta-profiles');\n return response.data;\n }\n async getMetaProfile(name) {\n const response = await this.client.get(`/api/meta-profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async saveMetaProfile(name, config) {\n const response = await this.client.post(`/api/meta-profiles/${encodeURIComponent(name)}`, config);\n return response.data;\n }\n async deleteMetaProfile(name) {\n const response = await this.client.delete(`/api/meta-profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async activateMetaProfile(name) {\n const response = await this.client.post(`/api/meta-profiles/${encodeURIComponent(name)}/activate`, {});\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=meta-profiles-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FASA,IAAa,EAAb,KAAgC,CAC5B,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,kBAAmB,CAErB,OAAO,MADgB,KAAK,OAAO,IAAI,oBAAoB,GAC3C,IACpB,CACA,MAAM,eAAe,EAAM,CAEvB,OAAO,MADgB,KAAK,OAAO,IAAI,sBAAsB,mBAAmB,CAAI,GAAG,GACvE,IACpB,CACA,MAAM,gBAAgB,EAAM,EAAQ,CAEhC,OAAO,MADgB,KAAK,OAAO,KAAK,sBAAsB,mBAAmB,CAAI,IAAK,CAAM,GAChF,IACpB,CACA,MAAM,kBAAkB,EAAM,CAE1B,OAAO,MADgB,KAAK,OAAO,OAAO,sBAAsB,mBAAmB,CAAI,GAAG,GAC1E,IACpB,CACA,MAAM,oBAAoB,EAAM,CAE5B,OAAO,MADgB,KAAK,OAAO,KAAK,sBAAsB,mBAAmB,CAAI,EAAE,WAAY,CAAC,CAAC,GACrF,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -1 +1,33 @@
|
|
|
1
|
-
import "./http-client.js";
|
|
1
|
+
import { HttpClient as e } from "./http-client.js";
|
|
2
|
+
//#region node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.js
|
|
3
|
+
var t = class {
|
|
4
|
+
constructor(t) {
|
|
5
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = new e({
|
|
6
|
+
baseUrl: this.host,
|
|
7
|
+
apiKey: this.apiKey,
|
|
8
|
+
timeout: t.timeout || 6e4
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async listMetaProfiles() {
|
|
12
|
+
return (await this.client.get("/api/meta-profiles")).data;
|
|
13
|
+
}
|
|
14
|
+
async getMetaProfile(e) {
|
|
15
|
+
return (await this.client.get(`/api/meta-profiles/${encodeURIComponent(e)}`)).data;
|
|
16
|
+
}
|
|
17
|
+
async saveMetaProfile(e, t) {
|
|
18
|
+
return (await this.client.post(`/api/meta-profiles/${encodeURIComponent(e)}`, t)).data;
|
|
19
|
+
}
|
|
20
|
+
async deleteMetaProfile(e) {
|
|
21
|
+
return (await this.client.delete(`/api/meta-profiles/${encodeURIComponent(e)}`)).data;
|
|
22
|
+
}
|
|
23
|
+
async activateMetaProfile(e) {
|
|
24
|
+
return (await this.client.post(`/api/meta-profiles/${encodeURIComponent(e)}/activate`, {})).data;
|
|
25
|
+
}
|
|
26
|
+
close() {
|
|
27
|
+
this.client.close();
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { t as MetaProfilesClient };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=meta-profiles-client.js.map
|
package/dist/node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta-profiles-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/meta-profiles-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\n/**\n * Client for the agent-server ``/api/meta-profiles`` endpoints.\n *\n * A meta-profile is a model-routing configuration consumed by the\n * ``classify_and_switch_llm`` tool. Unlike LLM profiles, meta-profiles hold no\n * secrets — they are plain JSON documents — so there is no secret-exposure\n * handling here.\n */\nexport class MetaProfilesClient {\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 listMetaProfiles() {\n const response = await this.client.get('/api/meta-profiles');\n return response.data;\n }\n async getMetaProfile(name) {\n const response = await this.client.get(`/api/meta-profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async saveMetaProfile(name, config) {\n const response = await this.client.post(`/api/meta-profiles/${encodeURIComponent(name)}`, config);\n return response.data;\n }\n async deleteMetaProfile(name) {\n const response = await this.client.delete(`/api/meta-profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async activateMetaProfile(name) {\n const response = await this.client.post(`/api/meta-profiles/${encodeURIComponent(name)}/activate`, {});\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=meta-profiles-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AASA,IAAa,IAAb,MAAgC;CAC5B,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,mBAAmB;EAErB,QAAO,MADgB,KAAK,OAAO,IAAI,oBAAoB,GAC3C;CACpB;CACA,MAAM,eAAe,GAAM;EAEvB,QAAO,MADgB,KAAK,OAAO,IAAI,sBAAsB,mBAAmB,CAAI,GAAG,GACvE;CACpB;CACA,MAAM,gBAAgB,GAAM,GAAQ;EAEhC,QAAO,MADgB,KAAK,OAAO,KAAK,sBAAsB,mBAAmB,CAAI,KAAK,CAAM,GAChF;CACpB;CACA,MAAM,kBAAkB,GAAM;EAE1B,QAAO,MADgB,KAAK,OAAO,OAAO,sBAAsB,mBAAmB,CAAI,GAAG,GAC1E;CACpB;CACA,MAAM,oBAAoB,GAAM;EAE5B,QAAO,MADgB,KAAK,OAAO,KAAK,sBAAsB,mBAAmB,CAAI,EAAE,YAAY,CAAC,CAAC,GACrF;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs")
|
|
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("./desktop-client.cjs"),v=require("./shared-client.cjs"),y=require("./workspaces-client.cjs");var b=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(){}},x=class extends b{constructor(b){super(b),this.kind=`agent-server`;let x={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(x),this.conversations=new i.ConversationClient(x),this.files=new a.FileClient(x),this.bash=new r.BashClient(x),this.settings=new d.SettingsClient(x),this.profiles=new l.ProfilesClient(x),this.agentProfiles=new t.AgentProfilesClient(x),this.metaProfiles=new u.MetaProfilesClient(x),this.skills=new f.SkillsClient(x),this.subAgents=new p.SubAgentsClient(x),this.hooks=new o.HooksClient(x),this.mcp=new c.MCPClient(x),this.plugins=new m.PluginsClient(x),this.tools=new h.ToolClient(x),this.vscode=new g.VSCodeClient(x),this.desktop=new _.DesktopClient(x),this.shared=new v.SharedClient(x),this.llm=new s.LLMMetadataClient(x),this.workspaces=new y.WorkspacesClient(x)}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=x,exports.OpenHandsClient=b;
|
|
2
2
|
//# sourceMappingURL=openhands-client.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openhands-client.cjs","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 { DesktopClient } from './desktop-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.desktop = new DesktopClient(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":"
|
|
1
|
+
{"version":3,"file":"openhands-client.cjs","names":["HttpClient","ServerClient","ConversationClient","FileClient","BashClient","SettingsClient","ProfilesClient","AgentProfilesClient","MetaProfilesClient","SkillsClient","SubAgentsClient","HooksClient","MCPClient","PluginsClient","ToolClient","VSCodeClient","DesktopClient","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 { DesktopClient } from './desktop-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.desktop = new DesktopClient(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":"uuBAoBA,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,QAAU,IAAIC,EAAAA,cAAc,CAAa,EAC9C,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,IAAInB,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"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "./http-client.js";
|
|
2
|
-
import "./agent-profiles-client.js";
|
|
3
|
-
import "./server-client.js";
|
|
4
|
-
import "./bash-client.js";
|
|
5
|
-
import "./conversation-client.js";
|
|
6
|
-
import "./file-client.js";
|
|
7
|
-
import "./hooks-client.js";
|
|
8
|
-
import "./llm-client.js";
|
|
9
|
-
import "./mcp-client.js";
|
|
10
|
-
import "./profiles-client.js";
|
|
11
|
-
import "./meta-profiles-client.js";
|
|
12
|
-
import "./settings-client.js";
|
|
13
|
-
import "./skills-client.js";
|
|
14
|
-
import "./sub-agents-client.js";
|
|
15
|
-
import "./plugins-client.js";
|
|
16
|
-
import "./tool-client.js";
|
|
17
|
-
import "./vscode-client.js";
|
|
18
|
-
import "./desktop-client.js";
|
|
19
|
-
import "./shared-client.js";
|
|
20
|
-
import "./workspaces-client.js";
|
|
1
|
+
import { HttpClient as e } from "./http-client.js";
|
|
2
|
+
import { AgentProfilesClient as t } from "./agent-profiles-client.js";
|
|
3
|
+
import { ServerClient as n } from "./server-client.js";
|
|
4
|
+
import { BashClient as r } from "./bash-client.js";
|
|
5
|
+
import { ConversationClient as i } from "./conversation-client.js";
|
|
6
|
+
import { FileClient as a } from "./file-client.js";
|
|
7
|
+
import { HooksClient as o } from "./hooks-client.js";
|
|
8
|
+
import { LLMMetadataClient as s } from "./llm-client.js";
|
|
9
|
+
import { MCPClient as c } from "./mcp-client.js";
|
|
10
|
+
import { ProfilesClient as l } from "./profiles-client.js";
|
|
11
|
+
import { MetaProfilesClient as u } from "./meta-profiles-client.js";
|
|
12
|
+
import { SettingsClient as d } from "./settings-client.js";
|
|
13
|
+
import { SkillsClient as f } from "./skills-client.js";
|
|
14
|
+
import { SubAgentsClient as p } from "./sub-agents-client.js";
|
|
15
|
+
import { PluginsClient as m } from "./plugins-client.js";
|
|
16
|
+
import { ToolClient as h } from "./tool-client.js";
|
|
17
|
+
import { VSCodeClient as g } from "./vscode-client.js";
|
|
18
|
+
import { DesktopClient as _ } from "./desktop-client.js";
|
|
19
|
+
import { SharedClient as v } from "./shared-client.js";
|
|
20
|
+
import { WorkspacesClient as y } from "./workspaces-client.js";
|
|
21
21
|
//#region node_modules/@openhands/typescript-client/dist/client/openhands-client.js
|
|
22
|
-
var
|
|
22
|
+
var b = class {
|
|
23
23
|
constructor(e) {
|
|
24
24
|
this.host = e.host.replace(/\/+$/, ""), this.apiKey = e.apiKey, this.timeout = e.timeout || 6e4;
|
|
25
25
|
}
|
|
@@ -62,8 +62,42 @@ var e = class {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
close() {}
|
|
65
|
+
}, x = class extends b {
|
|
66
|
+
constructor(b) {
|
|
67
|
+
super(b), this.kind = "agent-server";
|
|
68
|
+
let x = {
|
|
69
|
+
host: this.host,
|
|
70
|
+
apiKey: this.apiKey,
|
|
71
|
+
timeout: this.timeout
|
|
72
|
+
};
|
|
73
|
+
this.client = new e({
|
|
74
|
+
baseUrl: this.host,
|
|
75
|
+
apiKey: this.apiKey,
|
|
76
|
+
timeout: this.timeout
|
|
77
|
+
}), this.server = new n(x), this.conversations = new i(x), this.files = new a(x), this.bash = new r(x), this.settings = new d(x), this.profiles = new l(x), this.agentProfiles = new t(x), this.metaProfiles = new u(x), this.skills = new f(x), this.subAgents = new p(x), this.hooks = new o(x), this.mcp = new c(x), this.plugins = new m(x), this.tools = new h(x), this.vscode = new g(x), this.desktop = new _(x), this.shared = new v(x), this.llm = new s(x), this.workspaces = new y(x);
|
|
78
|
+
}
|
|
79
|
+
async request(t) {
|
|
80
|
+
let n = t.hostOverride?.replace(/\/+$/, "") ?? this.host, r = t.authMode === "none" ? void 0 : t.authMode === "session-api-key" ? t.sessionApiKey ?? void 0 : this.apiKey;
|
|
81
|
+
return (await (n === this.host && r === this.apiKey ? this.client : new e({
|
|
82
|
+
baseUrl: n,
|
|
83
|
+
apiKey: r,
|
|
84
|
+
timeout: this.timeout
|
|
85
|
+
})).request({
|
|
86
|
+
method: t.method,
|
|
87
|
+
url: t.path,
|
|
88
|
+
params: t.params,
|
|
89
|
+
data: t.body,
|
|
90
|
+
headers: t.headers,
|
|
91
|
+
timeout: t.timeoutSeconds ? t.timeoutSeconds * 1e3 : this.timeout,
|
|
92
|
+
acceptableStatusCodes: t.acceptableStatusCodes,
|
|
93
|
+
responseType: t.responseType
|
|
94
|
+
})).data;
|
|
95
|
+
}
|
|
96
|
+
close() {
|
|
97
|
+
this.client.close();
|
|
98
|
+
}
|
|
65
99
|
};
|
|
66
100
|
//#endregion
|
|
67
|
-
export {
|
|
101
|
+
export { x as AgentServerClient, b as OpenHandsClient };
|
|
68
102
|
|
|
69
103
|
//# 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 { DesktopClient } from './desktop-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.desktop = new DesktopClient(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":";;;;;;;;;;;;;;;;;;;;;AAoBA,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"}
|
|
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 { DesktopClient } from './desktop-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.desktop = new DesktopClient(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":";;;;;;;;;;;;;;;;;;;;;AAoBA,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;EAwBA,AAvBA,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,UAAU,IAAI,EAAc,CAAa,GAC9C,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 listProfiles(){return(await this.client.get(`/api/profiles`)).data}async getProfile(e,t={}){let n={};return t.exposeSecrets&&(n[`X-Expose-Secrets`]=t.exposeSecrets),(await this.client.get(`/api/profiles/${encodeURIComponent(e)}`,{headers:n})).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}async activateProfile(e){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}/activate`,{})).data}close(){this.client.close()}};exports.ProfilesClient=t;
|
|
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 listProfiles(){return(await this.client.get(`/api/profiles`)).data}async getProfile(e,t={}){let n={};return t.exposeSecrets&&(n[`X-Expose-Secrets`]=t.exposeSecrets),(await this.client.get(`/api/profiles/${encodeURIComponent(e)}`,{headers:n})).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}async activateProfile(e){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}/activate`,{})).data}async validateProfile(e,t){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}/validate`,t)).data}close(){this.client.close()}};exports.ProfilesClient=t;
|
|
2
2
|
//# sourceMappingURL=profiles-client.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/profiles-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class ProfilesClient {\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 listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const headers = {};\n if (options.exposeSecrets) {\n headers['X-Expose-Secrets'] = options.exposeSecrets;\n }\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, { headers });\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 async activateProfile(name) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/activate`, {});\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=profiles-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,cAAe,CAEjB,OAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC,IACpB,CACA,MAAM,WAAW,EAAM,EAAU,CAAC,EAAG,CACjC,IAAM,EAAU,CAAC,EAKjB,OAJI,EAAQ,gBACR,EAAQ,oBAAsB,EAAQ,gBAGnC,MADgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,IAAK,CAAE,SAAQ,CAAC,GAC/E,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,MAAM,gBAAgB,EAAM,CAExB,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,WAAY,CAAC,CAAC,GAChF,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
1
|
+
{"version":3,"file":"profiles-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/profiles-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class ProfilesClient {\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 listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const headers = {};\n if (options.exposeSecrets) {\n headers['X-Expose-Secrets'] = options.exposeSecrets;\n }\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, { headers });\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 async activateProfile(name) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/activate`, {});\n return response.data;\n }\n /**\n * Pre-flight check: fire a minimal LLM completion (``ping``,\n * ``max_tokens=1``) with the submitted config to catch misconfigurations\n * (invalid model names, missing provider prefixes, bad base URLs, invalid\n * API keys) before a profile is saved.\n *\n * A structured ``{ valid: false, error: { type, message } }`` response is\n * returned on blocking errors. Transient errors (rate limits, timeouts) are\n * non-blocking (``valid: true``). Older agent-server versions that do not\n * implement the endpoint respond 404, which surfaces as an ``HttpError`` so\n * callers can treat it as \"no verdict\" and proceed.\n */\n async validateProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/validate`, request);\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=profiles-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,cAAe,CAEjB,OAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC,IACpB,CACA,MAAM,WAAW,EAAM,EAAU,CAAC,EAAG,CACjC,IAAM,EAAU,CAAC,EAKjB,OAJI,EAAQ,gBACR,EAAQ,oBAAsB,EAAQ,gBAGnC,MADgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,IAAK,CAAE,SAAQ,CAAC,GAC/E,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,MAAM,gBAAgB,EAAM,CAExB,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,WAAY,CAAC,CAAC,GAChF,IACpB,CAaA,MAAM,gBAAgB,EAAM,EAAS,CAEjC,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,WAAY,CAAO,GACrF,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -27,6 +27,9 @@ var t = class {
|
|
|
27
27
|
async activateProfile(e) {
|
|
28
28
|
return (await this.client.post(`/api/profiles/${encodeURIComponent(e)}/activate`, {})).data;
|
|
29
29
|
}
|
|
30
|
+
async validateProfile(e, t) {
|
|
31
|
+
return (await this.client.post(`/api/profiles/${encodeURIComponent(e)}/validate`, t)).data;
|
|
32
|
+
}
|
|
30
33
|
close() {
|
|
31
34
|
this.client.close();
|
|
32
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/profiles-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class ProfilesClient {\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 listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const headers = {};\n if (options.exposeSecrets) {\n headers['X-Expose-Secrets'] = options.exposeSecrets;\n }\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, { headers });\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 async activateProfile(name) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/activate`, {});\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=profiles-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,eAAe;EAEjB,QAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC;CACpB;CACA,MAAM,WAAW,GAAM,IAAU,CAAC,GAAG;EACjC,IAAM,IAAU,CAAC;EAKjB,OAJI,EAAQ,kBACR,EAAQ,sBAAsB,EAAQ,iBAGnC,MADgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,KAAK,EAAE,WAAQ,CAAC,GAC/E;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,MAAM,gBAAgB,GAAM;EAExB,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,YAAY,CAAC,CAAC,GAChF;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
1
|
+
{"version":3,"file":"profiles-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/profiles-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class ProfilesClient {\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 listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const headers = {};\n if (options.exposeSecrets) {\n headers['X-Expose-Secrets'] = options.exposeSecrets;\n }\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, { headers });\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 async activateProfile(name) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/activate`, {});\n return response.data;\n }\n /**\n * Pre-flight check: fire a minimal LLM completion (``ping``,\n * ``max_tokens=1``) with the submitted config to catch misconfigurations\n * (invalid model names, missing provider prefixes, bad base URLs, invalid\n * API keys) before a profile is saved.\n *\n * A structured ``{ valid: false, error: { type, message } }`` response is\n * returned on blocking errors. Transient errors (rate limits, timeouts) are\n * non-blocking (``valid: true``). Older agent-server versions that do not\n * implement the endpoint respond 404, which surfaces as an ``HttpError`` so\n * callers can treat it as \"no verdict\" and proceed.\n */\n async validateProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/validate`, request);\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=profiles-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,eAAe;EAEjB,QAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC;CACpB;CACA,MAAM,WAAW,GAAM,IAAU,CAAC,GAAG;EACjC,IAAM,IAAU,CAAC;EAKjB,OAJI,EAAQ,kBACR,EAAQ,sBAAsB,EAAQ,iBAGnC,MADgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,KAAK,EAAE,WAAQ,CAAC,GAC/E;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,MAAM,gBAAgB,GAAM;EAExB,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,YAAY,CAAC,CAAC,GAChF;CACpB;CAaA,MAAM,gBAAgB,GAAM,GAAS;EAEjC,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,YAAY,CAAO,GACrF;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs")
|
|
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 getSharedConversations(e){return(await this.client.get(`/api/shared-conversations`,{params:{ids:e}})).data}async getSharedConversation(e){return(await this.getSharedConversations([e]))[0]??null}async searchSharedEvents(e){return(await this.client.get(`/api/shared-events/search`,{params:{conversation_id:e.conversationId,limit:e.limit,page_id:e.pageId}})).data}close(){this.client.close()}};exports.SharedClient=t;
|
|
2
|
+
//# sourceMappingURL=shared-client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/shared-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SharedClient {\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 getSharedConversations(ids) {\n const response = await this.client.get('/api/shared-conversations', { params: { ids } });\n return response.data;\n }\n async getSharedConversation(id) {\n const conversations = await this.getSharedConversations([id]);\n return conversations[0] ?? null;\n }\n async searchSharedEvents(options) {\n const response = await this.client.get('/api/shared-events/search', {\n params: {\n conversation_id: options.conversationId,\n limit: options.limit,\n page_id: options.pageId,\n },\n });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=shared-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FACA,IAAa,EAAb,KAA0B,CACtB,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,uBAAuB,EAAK,CAE9B,OAAO,MADgB,KAAK,OAAO,IAAI,4BAA6B,CAAE,OAAQ,CAAE,KAAI,CAAE,CAAC,GACvE,IACpB,CACA,MAAM,sBAAsB,EAAI,CAE5B,OAAO,MADqB,KAAK,uBAAuB,CAAC,CAAE,CAAC,GACvC,IAAM,IAC/B,CACA,MAAM,mBAAmB,EAAS,CAQ9B,OAAO,MAPgB,KAAK,OAAO,IAAI,4BAA6B,CAChE,OAAQ,CACJ,gBAAiB,EAAQ,eACzB,MAAO,EAAQ,MACf,QAAS,EAAQ,MACrB,CACJ,CAAC,GACe,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -1 +1,31 @@
|
|
|
1
|
-
import "./http-client.js";
|
|
1
|
+
import { HttpClient as e } from "./http-client.js";
|
|
2
|
+
//#region node_modules/@openhands/typescript-client/dist/client/shared-client.js
|
|
3
|
+
var t = class {
|
|
4
|
+
constructor(t) {
|
|
5
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = new e({
|
|
6
|
+
baseUrl: this.host,
|
|
7
|
+
apiKey: this.apiKey,
|
|
8
|
+
timeout: t.timeout || 6e4
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async getSharedConversations(e) {
|
|
12
|
+
return (await this.client.get("/api/shared-conversations", { params: { ids: e } })).data;
|
|
13
|
+
}
|
|
14
|
+
async getSharedConversation(e) {
|
|
15
|
+
return (await this.getSharedConversations([e]))[0] ?? null;
|
|
16
|
+
}
|
|
17
|
+
async searchSharedEvents(e) {
|
|
18
|
+
return (await this.client.get("/api/shared-events/search", { params: {
|
|
19
|
+
conversation_id: e.conversationId,
|
|
20
|
+
limit: e.limit,
|
|
21
|
+
page_id: e.pageId
|
|
22
|
+
} })).data;
|
|
23
|
+
}
|
|
24
|
+
close() {
|
|
25
|
+
this.client.close();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { t as SharedClient };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=shared-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/shared-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SharedClient {\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 getSharedConversations(ids) {\n const response = await this.client.get('/api/shared-conversations', { params: { ids } });\n return response.data;\n }\n async getSharedConversation(id) {\n const conversations = await this.getSharedConversations([id]);\n return conversations[0] ?? null;\n }\n async searchSharedEvents(options) {\n const response = await this.client.get('/api/shared-events/search', {\n params: {\n conversation_id: options.conversationId,\n limit: options.limit,\n page_id: options.pageId,\n },\n });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=shared-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAA0B;CACtB,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,uBAAuB,GAAK;EAE9B,QAAO,MADgB,KAAK,OAAO,IAAI,6BAA6B,EAAE,QAAQ,EAAE,OAAI,EAAE,CAAC,GACvE;CACpB;CACA,MAAM,sBAAsB,GAAI;EAE5B,QAAO,MADqB,KAAK,uBAAuB,CAAC,CAAE,CAAC,GACvC,MAAM;CAC/B;CACA,MAAM,mBAAmB,GAAS;EAQ9B,QAAO,MAPgB,KAAK,OAAO,IAAI,6BAA6B,EAChE,QAAQ;GACJ,iBAAiB,EAAQ;GACzB,OAAO,EAAQ;GACf,SAAS,EAAQ;EACrB,EACJ,CAAC,GACe;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs")
|
|
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 getSubAgents(e={}){return(await this.client.post(`/api/sub-agents`,e)).data}close(){this.client.close()}};exports.SubAgentsClient=t;
|
|
2
|
+
//# sourceMappingURL=sub-agents-client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sub-agents-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/sub-agents-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\n/**\n * Client for the agent-server's sub-agents catalog.\n *\n * A single read endpoint (`POST /api/sub-agents`) listing the file-based and\n * built-in sub-agents available to a workspace. Read-only: it discovers the\n * catalog, it does not mutate it.\n */\nexport class SubAgentsClient {\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 /**\n * List the file-based and built-in sub-agents for the workspace.\n *\n * Merged first-wins by name with precedence project > user > builtin.\n */\n async getSubAgents(request = {}) {\n const response = await this.client.post('/api/sub-agents', request);\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=sub-agents-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FAQA,IAAa,EAAb,KAA6B,CACzB,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,CAMA,MAAM,aAAa,EAAU,CAAC,EAAG,CAE7B,OAAO,MADgB,KAAK,OAAO,KAAK,kBAAmB,CAAO,GAClD,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
import "./http-client.js";
|
|
1
|
+
import { HttpClient as e } from "./http-client.js";
|
|
2
|
+
//#region node_modules/@openhands/typescript-client/dist/client/sub-agents-client.js
|
|
3
|
+
var t = class {
|
|
4
|
+
constructor(t) {
|
|
5
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = new e({
|
|
6
|
+
baseUrl: this.host,
|
|
7
|
+
apiKey: this.apiKey,
|
|
8
|
+
timeout: t.timeout || 6e4
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async getSubAgents(e = {}) {
|
|
12
|
+
return (await this.client.post("/api/sub-agents", e)).data;
|
|
13
|
+
}
|
|
14
|
+
close() {
|
|
15
|
+
this.client.close();
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { t as SubAgentsClient };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=sub-agents-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sub-agents-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/sub-agents-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\n/**\n * Client for the agent-server's sub-agents catalog.\n *\n * A single read endpoint (`POST /api/sub-agents`) listing the file-based and\n * built-in sub-agents available to a workspace. Read-only: it discovers the\n * catalog, it does not mutate it.\n */\nexport class SubAgentsClient {\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 /**\n * List the file-based and built-in sub-agents for the workspace.\n *\n * Merged first-wins by name with precedence project > user > builtin.\n */\n async getSubAgents(request = {}) {\n const response = await this.client.post('/api/sub-agents', request);\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=sub-agents-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AAQA,IAAa,IAAb,MAA6B;CACzB,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;CAMA,MAAM,aAAa,IAAU,CAAC,GAAG;EAE7B,QAAO,MADgB,KAAK,OAAO,KAAK,mBAAmB,CAAO,GAClD;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs")
|
|
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 listTools(){return(await this.client.get(`/api/tools/`)).data}close(){this.client.close()}};exports.ToolClient=t;
|
|
2
|
+
//# sourceMappingURL=tool-client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/tool-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class ToolClient {\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 listTools() {\n const response = await this.client.get('/api/tools/');\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=tool-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FACA,IAAa,EAAb,KAAwB,CACpB,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,WAAY,CAEd,OAAO,MADgB,KAAK,OAAO,IAAI,aAAa,GACpC,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
import "./http-client.js";
|
|
1
|
+
import { HttpClient as e } from "./http-client.js";
|
|
2
|
+
//#region node_modules/@openhands/typescript-client/dist/client/tool-client.js
|
|
3
|
+
var t = class {
|
|
4
|
+
constructor(t) {
|
|
5
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = new e({
|
|
6
|
+
baseUrl: this.host,
|
|
7
|
+
apiKey: this.apiKey,
|
|
8
|
+
timeout: t.timeout || 6e4
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async listTools() {
|
|
12
|
+
return (await this.client.get("/api/tools/")).data;
|
|
13
|
+
}
|
|
14
|
+
close() {
|
|
15
|
+
this.client.close();
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { t as ToolClient };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=tool-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/tool-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class ToolClient {\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 listTools() {\n const response = await this.client.get('/api/tools/');\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=tool-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAAwB;CACpB,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,YAAY;EAEd,QAAO,MADgB,KAAK,OAAO,IAAI,aAAa,GACpC;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|