@openhands/agent-canvas 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.windows.md +2 -2
- package/build/assets/acp-providers-BQ4o4vqy.js +1 -0
- package/build/assets/active-backend-context-BsLfwrXB.js +2 -0
- package/build/assets/{agent-context-settings-CJUrcBut.js → agent-context-settings-D9i6ezoJ.js} +1 -1
- package/build/assets/{agent-profiles-service.api-Biieml2L.js → agent-profiles-service.api-U-9YzDFU.js} +1 -1
- package/build/assets/agent-profiles-settings-D-bUV2PX.js +1 -0
- package/build/assets/agent-server-client-options-EHB23gyx.js +1 -0
- package/build/assets/agent-server-config-C_x8Otd9.js +1 -0
- package/build/assets/agent-server-conversation-service.api-BaVQ6NpE.js +88 -0
- package/build/assets/agent-settings-BZJHtaIK.js +2 -0
- package/build/assets/agent-settings-D4snDd6u.js +1 -0
- package/build/assets/alert-banner-BkVt_8Or.js +1 -0
- package/build/assets/{api-error-message-Ve79qDcN.js → api-error-message-BXo0lCI5.js} +1 -1
- package/build/assets/api-key-entry-screen-fAIld-n7.js +1 -0
- package/build/assets/app-settings-DITbrM2u.js +1 -0
- package/build/assets/automation-detail-DawHmaOl.js +3 -0
- package/build/assets/automation-disabled-reason-DtgC8Ppt.js +1 -0
- package/build/assets/{automation-export-DxY47m3T.js → automation-export-Kv6e0bHx.js} +1 -1
- package/build/assets/automation-git-sync-Dd98G_Oz.js +1 -0
- package/build/assets/automation-setup-route-Cdc109ZD.js +3 -0
- package/build/assets/{automation-templates-4C4PM8K7.js → automation-templates-Xhr-FDAB.js} +1 -1
- package/build/assets/automations-list-BeP1LuzQ.js +1 -0
- package/build/assets/{back-nav-button-B8tH0BEp.js → back-nav-button-DWNiN277.js} +1 -1
- package/build/assets/backend-form-modal-DeaUJIik.js +1 -0
- package/build/assets/backend-synced-settings-badge-Br85iWIY.js +1 -0
- package/build/assets/badge-Cdnei7Ly.js +1 -0
- package/build/assets/{base-modal-DTULovNc.js → base-modal-Ds7grR67.js} +1 -1
- package/build/assets/{bot-CLMxGFaq.js → bot-ByolqPEr.js} +1 -1
- package/build/assets/{brand-button-DxPO4Lf8.js → brand-button-mQq2Ld1I.js} +1 -1
- package/build/assets/browser-Bfum8fkE.js +46 -0
- package/build/assets/browser-tab-CmYT4j_r.js +1 -0
- package/build/assets/canvas-extension-page-CokKSVRG.js +1 -0
- package/build/assets/canvas-extensions-BoQEYG-2.js +1 -0
- package/build/assets/{canvas-extensions-runtime-DdnkgJXV.js → canvas-extensions-runtime-Du2M5iEX.js} +1 -1
- package/build/assets/{chat-send-button-B3SFSIg5.js → chat-send-button-DM3JgMc2.js} +1 -1
- package/build/assets/check-Bo8s5Ylg.js +1 -0
- package/build/assets/chevron-down-Cr6Fn_wS.js +1 -0
- package/build/assets/chevron-right-CfdfRn-8.js +1 -0
- package/build/assets/circle-check-5pH3qCji.js +1 -0
- package/build/assets/circle-plus-check-toggle-BbYBiUwv.js +1 -0
- package/build/assets/{cloud-funnel-analytics-BQanUEEC.js → cloud-funnel-analytics-D02kgq1s.js} +1 -1
- package/build/assets/{cog-VBlRo6iw.js → cog-Dy1eWbSZ.js} +1 -1
- package/build/assets/command-menu-mehU3Evb.js +1 -0
- package/build/assets/commits-tab-DhQW8CXi.js +1 -0
- package/build/assets/{condenser-settings-eVKFMvap.js → condenser-settings-eRk6Fkx6.js} +1 -1
- package/build/assets/confirmation-modal-BmVt_c0I.js +1 -0
- package/build/assets/{context-menu-list-item-DDROe12Z.js → context-menu-list-item-lx2zk9G7.js} +1 -1
- package/build/assets/{conversation-BnjJSFf5.js → conversation-BOj0ENI6.js} +8 -8
- package/build/assets/conversation-SouWlGvs.js +1 -0
- package/build/assets/conversation-panel-SouWlGvs.js +1 -0
- package/build/assets/conversation-state-store-C6YncQNo.js +1 -0
- package/build/assets/conversation-store-DC-JlJuq.js +6 -0
- package/build/assets/{conversation-tab-empty-state-DKlzAz5c.js → conversation-tab-empty-state-DIhwCC2J.js} +1 -1
- package/build/assets/copy-to-clipboard-button-DVNXLylP.js +1 -0
- package/build/assets/device-verify-LP-x7nra.js +1 -0
- package/build/assets/{dropdown-classes-B9kJVDIk.js → dropdown-classes-goDldkiu.js} +1 -1
- package/build/assets/edit-automation-modal-BJJR9wSW.js +1 -0
- package/build/assets/empty-state-Cd-TFe7i.js +1 -0
- package/build/assets/{entry.client-Ds8LVp-E.js → entry.client-CJdjIvMZ.js} +2 -2
- package/build/assets/enum-filter-dropdown-pocrz9AL.js +1 -0
- package/build/assets/environment-switch-overlay-Dwe78wRl.js +1 -0
- package/build/assets/error-state-SuWwztxV.js +1 -0
- package/build/assets/extensions-hub-O0esK3Er.js +1 -0
- package/build/assets/extensions-navigation-CgCVSXje.js +1 -0
- package/build/assets/{external-link-DQtv7eTh.js → external-link-Bd7Tga-1.js} +1 -1
- package/build/assets/files-tab-B_6t8ljw.js +1 -0
- package/build/assets/{form-control-classes-B-z85REi.js → form-control-classes-lQfLxzH4.js} +1 -1
- package/build/assets/format-model-name-Dfh9Udrx.js +1 -0
- package/build/assets/get-git-path-Bp5rsUkl.js +1 -0
- package/build/assets/git-repo-dropdown-CbD0_LPN.js +1 -0
- package/build/assets/git-repo-dropdown-DPQVumZg.js +1 -0
- package/build/assets/highlighted-source-view-Bp0sgK-f.js +1 -0
- package/build/assets/home-BghzJd-D.js +1 -0
- package/build/assets/home-CXZ8zawS.js +1 -0
- package/build/assets/home-automation-run-tooltip-BdpCckKO.js +1 -0
- package/build/assets/home-store-DNQpfIEO.js +1 -0
- package/build/assets/hooks-service-DkxnQa4N.js +1 -0
- package/build/assets/index-home-Ca6Q5CtT.js +1 -0
- package/build/assets/info-BcajzHn1.js +1 -0
- package/build/assets/install-server-modal-DvxxYKia.js +1 -0
- package/build/assets/{key-CfXbJa8w.js → key-CwTE6XJj.js} +1 -1
- package/build/assets/launch-jsRGPRBx.js +1 -0
- package/build/assets/link-external-B4gx3EeM.js +1 -0
- package/build/assets/list-filter-B8PQk3RA.js +1 -0
- package/build/assets/{list-todo-ByXMdY4W.js → list-todo-Caa8E1X_.js} +1 -1
- package/build/assets/llm-not-configured-banner-DMdL1vaX.js +27 -0
- package/build/assets/llm-settings-dkQ5Oq7W.js +1 -0
- package/build/assets/llm-settings-lNDerSlu.js +1 -0
- package/build/assets/{llm-subscription-service-aDNBQ7Gq.js → llm-subscription-service-BiQaZbvv.js} +1 -1
- package/build/assets/loader-circle-BxJgk73D.js +1 -0
- package/build/assets/{loading-spinner-DfHI77BA.js → loading-spinner-DK1sAwVg.js} +1 -1
- package/build/assets/manage-backends-modal-DqCJohsX.js +1 -0
- package/build/assets/manifest-ff93dc8c.js +1 -0
- package/build/assets/manifest-subpage-layout-sxuPqfUr.js +1 -0
- package/build/assets/{map-provider-DXvssjw9.js → map-provider-iRs80q_6.js} +1 -1
- package/build/assets/markdown-renderer-BH5pqDuJ.js +8 -0
- package/build/assets/mcp-BtaJDXnP.js +1 -0
- package/build/assets/mcp-installed-servers-Br4ZLsjr.js +1 -0
- package/build/assets/mcp-marketplace-utils-BwEnDYqm.js +1 -0
- package/build/assets/mcp-page-DwbnQpVs.js +9 -0
- package/build/assets/messages-DmFJlW6c.js +41 -0
- package/build/assets/{modal-body-DJw4xBki.js → modal-body-DBweM2EN.js} +1 -1
- package/build/assets/{modal-classes-Dg0ngBPO.js → modal-classes-jvG85nkU.js} +1 -1
- package/build/assets/modal-close-button-BrM5fNnn.js +1 -0
- package/build/assets/{mouse-pointer-click-DEhsSUpu.js → mouse-pointer-click-BXlRN92t.js} +1 -1
- package/build/assets/onboarding-CQ8T6T0U.js +1 -0
- package/build/assets/onboarding-modal-CnliiaSN.js +1 -0
- package/build/assets/{organization-service.api-Cyg1Tn03.js → organization-service.api-DmFUEmu5.js} +1 -1
- package/build/assets/parse-git-remote-url-BG8pcKL8.js +1 -0
- package/build/assets/{pencil-D5c47kyN.js → pencil-q-ihqDYv.js} +1 -1
- package/build/assets/{pin-C7vMagvf.js → pin-BdroVQdN.js} +1 -1
- package/build/assets/planner-tab-CXph_C9F.js +1 -0
- package/build/assets/{plug-CeaqeF6u.js → plug-7ACOEbMs.js} +1 -1
- package/build/assets/{plugins-management-service-Bh_pBuf-.js → plugins-management-service-CcEpfNKz.js} +1 -1
- package/build/assets/plus-C2e21TFC.js +1 -0
- package/build/assets/{profiles-service.api-BbOK0EkF.js → profiles-service.api-DdF_4Zhe.js} +1 -1
- package/build/assets/providers-BWRnl31s.js +1 -0
- package/build/assets/proxy-DbEf3Nqr.js +1 -0
- package/build/assets/{puzzle-DdAqbUrb.js → puzzle-LJYnuxKe.js} +1 -1
- package/build/assets/react-BX7IV650.js +1 -0
- package/build/assets/recommended-automations-launcher-r0oI91HN.js +1 -0
- package/build/assets/{refresh-cw-DEQdPCpH.js → refresh-cw-BtdC3T8P.js} +1 -1
- package/build/assets/root-j2fFRlWS.js +2 -0
- package/build/assets/root-layout-CfGgm2lo.js +2 -0
- package/build/assets/root-sEWn3ha1.css +1 -0
- package/build/assets/schema-field-c3Ncgm4x.js +1 -0
- package/build/assets/sdk-section-page-DFEiuiFQ.js +1 -0
- package/build/assets/secret-form-WXXNFqTM.js +1 -0
- package/build/assets/{secrets-service-Cr8g8xuv.js → secrets-service-DU6wh3wX.js} +1 -1
- package/build/assets/secrets-settings-BEqbPvjy.js +1 -0
- package/build/assets/settings-DjaSQwFh.js +1 -0
- package/build/assets/settings-dropdown-input-BRR2OZwi.js +1 -0
- package/build/assets/settings-index-DHv4XFcM.js +1 -0
- package/build/assets/settings-input-Cm4VxUon.js +1 -0
- package/build/assets/{settings-list-classes-Ds4jPBHK.js → settings-list-classes-CaUfKZ33.js} +1 -1
- package/build/assets/settings-modal-djXuAnBO.js +1 -0
- package/build/assets/settings-nav-DFb3hBMr.js +16 -0
- package/build/assets/{settings-service.api-9_xdv_mh.js → settings-service.api-Q9lKW1TX.js} +1 -1
- package/build/assets/settings-switch-seaSJc7t.js +1 -0
- package/build/assets/{settings-utils-8GIIgOQL.js → settings-utils-BTaaRhLZ.js} +1 -1
- package/build/assets/shared-conversation-x3rxVCon.js +1 -0
- package/build/assets/{shield-check-DO7wa_eu.js → shield-check-C3Rl0NF8.js} +1 -1
- package/build/assets/{sidebar-layout-EPfWxk11.js → sidebar-layout-B6mcvvdV.js} +1 -1
- package/build/assets/sidebar-mobile-menu-toggle-CEqS8KnA.js +1 -0
- package/build/assets/{sidebar-nav-link-_t4_Ef-9.js → sidebar-nav-link-BTHX11LG.js} +1 -1
- package/build/assets/{sidebar-onboarding-checklist-storage-DbDX-Wvj.js → sidebar-onboarding-checklist-storage-BP1kzn6p.js} +1 -1
- package/build/assets/sidebar-store-DAZVH-DR.js +1 -0
- package/build/assets/skill-card-pill-row-TD39nfP3.js +1 -0
- package/build/assets/{skill-filter-BBeZ4JEP.js → skill-filter-CdBbbwjm.js} +2 -2
- package/build/assets/{skill-icon-badge-BDhQ-tQ0.js → skill-icon-badge-vUEp7gsC.js} +1 -1
- package/build/assets/skill-scope-BTRBQt0-.js +1 -0
- package/build/assets/skills-plugins-k1tUNAw4.js +1 -0
- package/build/assets/skills-settings-CENviPT7.js +1 -0
- package/build/assets/{styled-tooltip-Pd22BIvr.js → styled-tooltip-DVAlWYnL.js} +1 -1
- package/build/assets/task-list-tab-BLKF_x9f.js +1 -0
- package/build/assets/{terminal-onXx0_Qz.js → terminal-Ckbnqb23.js} +1 -1
- package/build/assets/{toggle-switch-lwQtxDcm.js → toggle-switch-DeiG9Mf6.js} +1 -1
- package/build/assets/{trash-2-ZhKuTLiz.js → trash-2-Bb40zQzs.js} +1 -1
- package/build/assets/trash-CXN2R54L.js +1 -0
- package/build/assets/{triangle-alert-BajLPpQg.js → triangle-alert-DEdu-b_L.js} +1 -1
- package/build/assets/{typography-HLLg_FAn.js → typography-NarNyelM.js} +1 -1
- package/build/assets/usage-tab-Drd3O006.js +1 -0
- package/build/assets/use-acp-credential-form-CJ5wPsQm.js +1 -0
- package/build/assets/{use-activate-agent-profile-BLKML6vQ.js → use-activate-agent-profile-iQZ0U3qV.js} +1 -1
- package/build/assets/use-agent-profiles-LCvb5OXT.js +1 -0
- package/build/assets/{use-automation-health-BZkQNEA8.js → use-automation-health-DdgSa8sA.js} +1 -1
- package/build/assets/{use-automation-permissions-B_RpvL-s.js → use-automation-permissions-D3kEeieu.js} +1 -1
- package/build/assets/{use-automations-Cg0PDIZr.js → use-automations-CEubcYTD.js} +1 -1
- package/build/assets/{use-can-manage-org-profiles-BbN6KfDr.js → use-can-manage-org-profiles-CB8ybxFK.js} +1 -1
- package/build/assets/{use-canvas-extensions-CFUpHat6.js → use-canvas-extensions-BMacwi2v.js} +1 -1
- package/build/assets/{use-cloud-current-user-id-Dk0rjr63.js → use-cloud-current-user-id-BEKRd6XZ.js} +1 -1
- package/build/assets/{use-config-DpafU_QP.js → use-config-3WYcJsgC.js} +1 -1
- package/build/assets/{use-create-conversation-1YgmAHt-.js → use-create-conversation-Be-eVpFp.js} +1 -1
- package/build/assets/use-create-secret-Bk9ZxTjl.js +1 -0
- package/build/assets/use-free-models-Ci3FkKEm.js +1 -0
- package/build/assets/{use-get-secrets-CQ4b0qK8.js → use-get-secrets-fqS0kxt6.js} +1 -1
- package/build/assets/use-is-authed-A2Yinlt0.js +1 -0
- package/build/assets/{use-launch-skill-in-chat-DeYa1tFM.js → use-launch-skill-in-chat-QbXDhiHr.js} +1 -1
- package/build/assets/use-llm-configured-B71ZEVg2.js +1 -0
- package/build/assets/use-llm-profiles-xtCBMbef.js +1 -0
- package/build/assets/{use-manifest-capabilities-AOWGcu0j.js → use-manifest-capabilities-Bso6A_-A.js} +1 -1
- package/build/assets/{use-onboarding-completion-CoINurkm.js → use-onboarding-completion-CEgjL02y.js} +1 -1
- package/build/assets/{use-pinned-home-route-D6krwXjy.js → use-pinned-home-route-pK4IlJ-p.js} +1 -1
- package/build/assets/{use-plugins-marketplace-mLsIDhBv.js → use-plugins-marketplace-B8-ZEB34.js} +1 -1
- package/build/assets/use-save-agent-profile-D7hJuW_u.js +1 -0
- package/build/assets/{use-save-settings-3U5K9-8x.js → use-save-settings-CikTu5xV.js} +1 -1
- package/build/assets/{use-settings-Dn00UISA.js → use-settings-BWIH5EuN.js} +1 -1
- package/build/assets/use-settings-nav-items-DSKwLDnd.js +1 -0
- package/build/assets/use-tracking-ChnSFChv.js +3 -0
- package/build/assets/{use-user-conversation-ZWlXtbZb.js → use-user-conversation-C_l65DqW.js} +1 -1
- package/build/assets/{useInfiniteQuery-BzrRqjLg.js → useInfiniteQuery-CtSRG7uW.js} +1 -1
- package/build/assets/{useMutation-CJuK90oc.js → useMutation-Cszf8mKy.js} +1 -1
- package/build/assets/useQueries-pUohFMSP.js +1 -0
- package/build/assets/useQuery-DAAacS7O.js +1 -0
- package/build/assets/useTranslation-CCgUjPJF.js +1 -0
- package/build/assets/utils-D-gOfhmN.js +1 -0
- package/build/assets/{vendor~conversation-panel~conversation-4eJ0tml3.js → vendor~conversation-panel~conversation-C22sJuWZ.js} +1 -1
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~b0x1wrp2-D6owle9R.js +2 -0
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~czjee3a3-BXXGJNDU.js +185 -0
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~ew9ih1s8-40UR63Gt.js +1 -0
- package/build/assets/{vendor~index-home~home~conversation-panel~conversation-CSFLzmTN.js → vendor~index-home~home~conversation-panel~conversation-UTl7gUo9.js} +1 -1
- package/build/assets/{vendor~root-layout-n8XCEXG8.js → vendor~root-layout-CcdIqs-C.js} +1 -1
- package/build/assets/{vendor~root-layout~conversation-panel~conversation-3Idg1_U3.js → vendor~root-layout~conversation-panel~conversation-C3EBV3kp.js} +1 -1
- package/build/assets/vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-BCe0JJVy.js +1 -0
- package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation-DgQ564nC.js → vendor~root-layout~index-home~home~conversation-panel~conversation-BGGbPcYh.js} +1 -1
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~inibp4qe-BFRW8wt-.js +48 -0
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-BPjI-atc.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-3eJ4ExtV.js} +1 -1
- package/build/assets/{verification-settings-u2POabjH.js → verification-settings-PKtoIUUY.js} +1 -1
- package/build/assets/{wrench-CkgI4rxA.js → wrench-B8Wg_nbp.js} +1 -1
- package/build/assets/{x-By6qCmtY.js → x-CX8lVGwm.js} +1 -1
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +16 -2
- package/build/locales/ca/openhands.json +16 -2
- package/build/locales/de/openhands.json +16 -2
- package/build/locales/en/openhands.json +16 -2
- package/build/locales/es/openhands.json +16 -2
- package/build/locales/fr/openhands.json +16 -2
- package/build/locales/it/openhands.json +16 -2
- package/build/locales/ja/openhands.json +16 -2
- package/build/locales/ko-KR/openhands.json +16 -2
- package/build/locales/no/openhands.json +16 -2
- package/build/locales/pt/openhands.json +16 -2
- package/build/locales/tr/openhands.json +16 -2
- package/build/locales/uk/openhands.json +16 -2
- package/build/locales/zh-CN/openhands.json +16 -2
- package/build/locales/zh-TW/openhands.json +16 -2
- package/config/defaults.json +3 -3
- package/dist/api/cloud/organization-service.api.cjs.map +1 -1
- package/dist/api/cloud/organization-service.api.d.ts +9 -1
- package/dist/api/cloud/organization-service.api.js.map +1 -1
- package/dist/api/config-service/config-service.api.cjs +1 -1
- package/dist/api/config-service/config-service.api.cjs.map +1 -1
- package/dist/api/config-service/config-service.api.js +6 -2
- package/dist/api/config-service/config-service.api.js.map +1 -1
- package/dist/api/config-service/config-service.types.d.ts +13 -0
- package/dist/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.cjs +3 -3
- package/dist/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.js +12 -16
- package/dist/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.js.map +1 -1
- package/dist/components/features/automations/automation-card.cjs +1 -1
- package/dist/components/features/automations/automation-card.cjs.map +1 -1
- package/dist/components/features/automations/automation-card.js +39 -38
- package/dist/components/features/automations/automation-card.js.map +1 -1
- package/dist/components/features/automations/automation-list-row.cjs +1 -1
- package/dist/components/features/automations/automation-list-row.cjs.map +1 -1
- package/dist/components/features/automations/automation-list-row.js +73 -72
- package/dist/components/features/automations/automation-list-row.js.map +1 -1
- package/dist/components/features/automations/build-automation-menu-items.cjs +1 -1
- package/dist/components/features/automations/build-automation-menu-items.cjs.map +1 -1
- package/dist/components/features/automations/build-automation-menu-items.d.ts +3 -1
- package/dist/components/features/automations/build-automation-menu-items.js +12 -11
- package/dist/components/features/automations/build-automation-menu-items.js.map +1 -1
- package/dist/components/features/automations/detail/configuration-section.d.ts +7 -1
- package/dist/components/features/automations/detail/detail-header.d.ts +8 -5
- package/dist/components/features/automations/detail/disabled-reason-banner.d.ts +16 -0
- package/dist/components/features/backends/backend-selector.cjs +1 -1
- package/dist/components/features/backends/backend-selector.cjs.map +1 -1
- package/dist/components/features/backends/backend-selector.js +112 -112
- package/dist/components/features/backends/backend-selector.js.map +1 -1
- package/dist/components/features/chat/components/chat-input-llm-profile-picker.cjs +1 -1
- package/dist/components/features/chat/components/chat-input-llm-profile-picker.cjs.map +1 -1
- package/dist/components/features/chat/components/chat-input-llm-profile-picker.js +62 -61
- package/dist/components/features/chat/components/chat-input-llm-profile-picker.js.map +1 -1
- package/dist/components/features/chat/model-messages.cjs +1 -1
- package/dist/components/features/chat/model-messages.cjs.map +1 -1
- package/dist/components/features/chat/model-messages.js +27 -26
- package/dist/components/features/chat/model-messages.js.map +1 -1
- 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.d.ts +1 -2
- package/dist/components/features/conversation-panel/budget-display.js +12 -19
- package/dist/components/features/conversation-panel/budget-display.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.js +45 -44
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.js.map +1 -1
- package/dist/components/features/home/featured-automations/build-home-automation-menu-items.d.ts +1 -2
- package/dist/components/features/home/featured-automations/build-pinned-automation-menu-items.d.ts +0 -1
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.cjs +1 -1
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.cjs.map +1 -1
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.js +38 -29
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.js.map +1 -1
- package/dist/components/features/images/image-lightbox.cjs +2 -0
- package/dist/components/features/images/image-lightbox.cjs.map +1 -0
- package/dist/components/features/images/image-lightbox.d.ts +11 -0
- package/dist/components/features/images/image-lightbox.js +37 -0
- package/dist/components/features/images/image-lightbox.js.map +1 -0
- package/dist/components/features/images/image-preview.cjs +1 -1
- package/dist/components/features/images/image-preview.cjs.map +1 -1
- package/dist/components/features/images/image-preview.d.ts +2 -1
- package/dist/components/features/images/image-preview.js +33 -13
- package/dist/components/features/images/image-preview.js.map +1 -1
- package/dist/components/features/onboarding/steps/setup-llm-step.d.ts +3 -4
- package/dist/components/features/settings/agent-profiles/profile-scope-list.d.ts +20 -0
- package/dist/components/features/settings/cloud-settings-link.cjs +1 -1
- package/dist/components/features/settings/cloud-settings-link.cjs.map +1 -1
- package/dist/components/features/settings/cloud-settings-link.d.ts +3 -1
- package/dist/components/features/settings/cloud-settings-link.js +22 -21
- package/dist/components/features/settings/cloud-settings-link.js.map +1 -1
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.cjs +1 -1
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.js +2 -1
- package/dist/components/features/settings/llm-profiles/profile-row.cjs +1 -1
- package/dist/components/features/settings/llm-profiles/profile-row.js +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.cjs +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.cjs.map +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.d.ts +2 -1
- package/dist/components/features/sidebar/sidebar-rail-body.js +143 -142
- package/dist/components/features/sidebar/sidebar-rail-body.js.map +1 -1
- package/dist/components/features/sidebar/sidebar.cjs +1 -1
- package/dist/components/features/sidebar/sidebar.cjs.map +1 -1
- package/dist/components/features/sidebar/sidebar.js +28 -27
- package/dist/components/features/sidebar/sidebar.js.map +1 -1
- package/dist/components/providers/agent-server-ui-providers.cjs +1 -1
- package/dist/components/providers/agent-server-ui-providers.cjs.map +1 -1
- package/dist/components/providers/agent-server-ui-providers.js +33 -29
- package/dist/components/providers/agent-server-ui-providers.js.map +1 -1
- package/dist/components/shared/buttons/remove-button.cjs +1 -1
- package/dist/components/shared/buttons/remove-button.cjs.map +1 -1
- package/dist/components/shared/buttons/remove-button.d.ts +2 -1
- package/dist/components/shared/buttons/remove-button.js +2 -1
- package/dist/components/shared/buttons/remove-button.js.map +1 -1
- package/dist/components/shared/free-models-note.cjs +2 -0
- package/dist/components/shared/free-models-note.cjs.map +1 -0
- package/dist/components/shared/free-models-note.d.ts +3 -0
- package/dist/components/shared/free-models-note.js +20 -0
- package/dist/components/shared/free-models-note.js.map +1 -0
- package/dist/components/shared/modals/settings/model-selector.cjs +1 -1
- package/dist/components/shared/modals/settings/model-selector.cjs.map +1 -1
- package/dist/components/shared/modals/settings/model-selector.js +102 -112
- package/dist/components/shared/modals/settings/model-selector.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/acp-providers.cjs +1 -1
- package/dist/constants/acp-providers.cjs.map +1 -1
- package/dist/constants/acp-providers.d.ts +7 -0
- package/dist/constants/acp-providers.js +20 -16
- package/dist/constants/acp-providers.js.map +1 -1
- package/dist/constants/profile-scope.d.ts +21 -0
- package/dist/hooks/chat/use-slash-command.cjs +1 -1
- package/dist/hooks/chat/use-slash-command.cjs.map +1 -1
- package/dist/hooks/chat/use-slash-command.js +63 -62
- package/dist/hooks/chat/use-slash-command.js.map +1 -1
- package/dist/hooks/query/use-automation-sdk-version.cjs +1 -1
- package/dist/hooks/query/use-automation-sdk-version.cjs.map +1 -1
- package/dist/hooks/query/use-automation-sdk-version.js +3 -1
- package/dist/hooks/query/use-automation-sdk-version.js.map +1 -1
- package/dist/hooks/query/use-free-models.cjs +2 -0
- package/dist/hooks/query/use-free-models.cjs.map +1 -0
- package/dist/hooks/query/use-free-models.d.ts +23 -0
- package/dist/hooks/query/use-free-models.js +67 -0
- package/dist/hooks/query/use-free-models.js.map +1 -0
- package/dist/hooks/query/use-local-git-info.cjs.map +1 -1
- package/dist/hooks/query/use-local-git-info.js.map +1 -1
- package/dist/hooks/query/use-provider-models.cjs +1 -1
- package/dist/hooks/query/use-provider-models.cjs.map +1 -1
- package/dist/hooks/query/use-provider-models.js +34 -25
- package/dist/hooks/query/use-provider-models.js.map +1 -1
- 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 +31 -19
- package/dist/hooks/query/use-search-providers.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.js +8 -9
- package/dist/hooks/use-drag-resize.js.map +1 -1
- package/dist/hooks/use-home-automation-actions.cjs +1 -1
- package/dist/hooks/use-home-automation-actions.cjs.map +1 -1
- package/dist/hooks/use-home-automation-actions.d.ts +1 -2
- package/dist/hooks/use-home-automation-actions.js +0 -1
- package/dist/hooks/use-home-automation-actions.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 +16 -2
- package/dist/i18n/declaration.js +1 -1
- package/dist/i18n/declaration.js.map +1 -1
- package/dist/i18n/translation.cjs +3 -3
- package/dist/i18n/translation.cjs.map +1 -1
- package/dist/i18n/translation.js +255 -17
- package/dist/i18n/translation.js.map +1 -1
- package/dist/locales/ar/openhands.json +16 -2
- package/dist/locales/ca/openhands.json +16 -2
- package/dist/locales/de/openhands.json +16 -2
- package/dist/locales/en/openhands.json +16 -2
- package/dist/locales/es/openhands.json +16 -2
- package/dist/locales/fr/openhands.json +16 -2
- package/dist/locales/it/openhands.json +16 -2
- package/dist/locales/ja/openhands.json +16 -2
- package/dist/locales/ko-KR/openhands.json +16 -2
- package/dist/locales/no/openhands.json +16 -2
- package/dist/locales/pt/openhands.json +16 -2
- package/dist/locales/tr/openhands.json +16 -2
- package/dist/locales/uk/openhands.json +16 -2
- package/dist/locales/zh-CN/openhands.json +16 -2
- package/dist/locales/zh-TW/openhands.json +16 -2
- package/dist/manifests/manifest-validation.cjs +1 -1
- package/dist/manifests/manifest-validation.cjs.map +1 -1
- package/dist/manifests/manifest-validation.js +2 -2
- package/dist/manifests/manifest-validation.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/agent-server-compatibility.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/agent-server-compatibility.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/agent-server-compatibility.js +15 -8
- package/dist/node_modules/@openhands/typescript-client/dist/client/agent-server-compatibility.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/bash-client.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/bash-client.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/bash-client.js +11 -13
- package/dist/node_modules/@openhands/typescript-client/dist/client/bash-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.js +6 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js +3 -6
- package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/file-client.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/file-client.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/file-client.js +9 -12
- package/dist/node_modules/@openhands/typescript-client/dist/client/file-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/runtime-transport.cjs +2 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/runtime-transport.cjs.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/runtime-transport.js +41 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/runtime-transport.js.map +1 -0
- package/dist/node_modules/@openhands/typescript-client/dist/client/vscode-client.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/vscode-client.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/client/vscode-client.js +3 -6
- package/dist/node_modules/@openhands/typescript-client/dist/client/vscode-client.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/clients.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/clients.js +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 +199 -61
- package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/workspace/remote-workspace.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/workspace/remote-workspace.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/workspace/remote-workspace.js +9 -8
- package/dist/node_modules/@openhands/typescript-client/dist/workspace/remote-workspace.js.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +2 -2
- package/dist/package.js.map +1 -1
- package/dist/routes/agent-settings.d.ts +5 -0
- package/dist/routes/app-settings.cjs +1 -1
- package/dist/routes/app-settings.cjs.map +1 -1
- package/dist/routes/app-settings.js +52 -47
- package/dist/routes/app-settings.js.map +1 -1
- package/dist/routes/llm-settings.cjs +1 -1
- package/dist/routes/llm-settings.cjs.map +1 -1
- package/dist/routes/llm-settings.js +137 -145
- package/dist/routes/llm-settings.js.map +1 -1
- package/dist/stores/free-models-store.cjs +2 -0
- package/dist/stores/free-models-store.cjs.map +1 -0
- package/dist/stores/free-models-store.d.ts +30 -0
- package/dist/stores/free-models-store.js +22 -0
- package/dist/stores/free-models-store.js.map +1 -0
- package/dist/types/automation.cjs.map +1 -1
- package/dist/types/automation.d.ts +23 -1
- package/dist/types/automation.js.map +1 -1
- package/dist/utils/automation-disabled-reason.cjs +2 -0
- package/dist/utils/automation-disabled-reason.cjs.map +1 -0
- package/dist/utils/automation-disabled-reason.d.ts +32 -0
- package/dist/utils/automation-disabled-reason.js +19 -0
- package/dist/utils/automation-disabled-reason.js.map +1 -0
- 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 +27 -6
- package/dist/utils/format-model-name.js +14 -6
- package/dist/utils/format-model-name.js.map +1 -1
- package/dist/utils/parse-git-remote-url.cjs +1 -1
- package/dist/utils/parse-git-remote-url.cjs.map +1 -1
- package/dist/utils/parse-git-remote-url.d.ts +5 -1
- package/dist/utils/parse-git-remote-url.js +20 -13
- package/dist/utils/parse-git-remote-url.js.map +1 -1
- package/package.json +2 -2
- package/scripts/check-sdk-version-sync.mjs +79 -8
- package/scripts/dev-safe.mjs +1 -1
- package/scripts/static-server.mjs +24 -7
- package/build/assets/acp-providers-DrjNsPOH.js +0 -1
- package/build/assets/active-backend-context-rZiLJRUc.js +0 -2
- package/build/assets/agent-profiles-settings-x6RvPsq7.js +0 -1
- package/build/assets/agent-server-client-options-BikiNwTa.js +0 -1
- package/build/assets/agent-server-conversation-service.api-DYFsNHKf.js +0 -88
- package/build/assets/agent-settings-BJyovpJ_.js +0 -1
- package/build/assets/agent-settings-CpY3zObk.js +0 -2
- package/build/assets/alert-banner-vARz1idS.js +0 -1
- package/build/assets/api-key-entry-screen-CsMuBhoP.js +0 -1
- package/build/assets/app-settings-BaJ7nfHt.js +0 -1
- package/build/assets/automation-detail-CVoGDrKq.js +0 -3
- package/build/assets/automation-git-sync-CRMP9Bbm.js +0 -1
- package/build/assets/automation-setup-route-072beLz1.js +0 -3
- package/build/assets/automations-list-xuqTSQL4.js +0 -1
- package/build/assets/backend-form-modal-0aJmWdsa.js +0 -1
- package/build/assets/backend-synced-settings-badge-B7rKWBir.js +0 -1
- package/build/assets/badge-CcGx2TaV.js +0 -1
- package/build/assets/browser-C-_qBasq.js +0 -46
- package/build/assets/browser-tab-DZanIw5m.js +0 -1
- package/build/assets/canvas-extension-page-o_cWgE9B.js +0 -1
- package/build/assets/canvas-extensions-DSgNlCha.js +0 -1
- package/build/assets/check-fDEfgSzj.js +0 -1
- package/build/assets/chevron-down-CFrWHqu8.js +0 -1
- package/build/assets/chevron-right-C5roOrJu.js +0 -1
- package/build/assets/circle-check-ClTzJTdb.js +0 -1
- package/build/assets/circle-plus-check-toggle-Fr-h-mbL.js +0 -1
- package/build/assets/command-menu-BT3Ia5Ru.js +0 -1
- package/build/assets/commits-tab-2jhtaohl.js +0 -1
- package/build/assets/confirmation-modal-gIFHeZt6.js +0 -1
- package/build/assets/conversation-DZ578rOX.js +0 -1
- package/build/assets/conversation-panel-DZ578rOX.js +0 -1
- package/build/assets/conversation-state-store-D1_G_9I-.js +0 -1
- package/build/assets/conversation-store-DVVfkCsk.js +0 -6
- package/build/assets/copy-to-clipboard-button-B3w0X7WH.js +0 -1
- package/build/assets/device-verify-BfkCzyFB.js +0 -1
- package/build/assets/edit-automation-modal-BwhJ39JT.js +0 -1
- package/build/assets/empty-state-RZz0OfnY.js +0 -1
- package/build/assets/enum-filter-dropdown-C4pW0ORd.js +0 -1
- package/build/assets/environment-switch-overlay-P2ZAuzov.js +0 -1
- package/build/assets/error-state-B_5cgNPJ.js +0 -1
- package/build/assets/extensions-hub-DsaUr4ca.js +0 -1
- package/build/assets/extensions-navigation-CRMZd-FE.js +0 -1
- package/build/assets/files-tab-CCgAcVdc.js +0 -1
- package/build/assets/format-model-name-CasAP3nd.js +0 -1
- package/build/assets/get-git-path-EHrSDxTM.js +0 -1
- package/build/assets/git-repo-dropdown-D2WEQ97X.js +0 -1
- package/build/assets/git-repo-dropdown-DVeCUUXG.js +0 -1
- package/build/assets/highlighted-source-view-DjHO3SdW.js +0 -1
- package/build/assets/home-BorS_vdS.js +0 -1
- package/build/assets/home-aIMbHw5M.js +0 -1
- package/build/assets/home-automation-run-tooltip-CpHNFiFl.js +0 -1
- package/build/assets/home-store-DyXz0w6d.js +0 -1
- package/build/assets/hooks-service-C6dpRtZM.js +0 -1
- package/build/assets/index-home-zKFuKK2B.js +0 -1
- package/build/assets/info-CTIdjttz.js +0 -1
- package/build/assets/install-server-modal-DUiZMc8u.js +0 -1
- package/build/assets/kebab-menu-item-content-mm04SBD3.js +0 -1
- package/build/assets/launch-BSIf9KEg.js +0 -1
- package/build/assets/link-external-BNZzCM1I.js +0 -1
- package/build/assets/list-filter-CNpqTWVY.js +0 -1
- package/build/assets/llm-not-configured-banner-z_QRSeV0.js +0 -27
- package/build/assets/llm-settings-B-5AHMiX.js +0 -1
- package/build/assets/llm-settings-B3SjHDmA.js +0 -1
- package/build/assets/loader-circle-Dex47vVW.js +0 -1
- package/build/assets/manage-backends-modal-q1NdFisr.js +0 -1
- package/build/assets/manifest-8920b615.js +0 -1
- package/build/assets/manifest-subpage-layout-BQQy5ipR.js +0 -1
- package/build/assets/markdown-renderer-rivLvYh-.js +0 -8
- package/build/assets/mcp-CEXDhQWn.js +0 -1
- package/build/assets/mcp-marketplace-utils-Cn_NIMWM.js +0 -1
- package/build/assets/mcp-page-LGYIICMG.js +0 -9
- package/build/assets/messages-DUSeANAh.js +0 -41
- package/build/assets/modal-close-button-B9j4nasm.js +0 -1
- package/build/assets/onboarding-BjFebfs5.js +0 -1
- package/build/assets/onboarding-modal-DDTjOpyd.js +0 -1
- package/build/assets/parse-git-remote-url-DpDM9bK6.js +0 -1
- package/build/assets/planner-tab-D8f2Y3rn.js +0 -1
- package/build/assets/plus-B3wvU06-.js +0 -1
- package/build/assets/providers-2gIIkz2N.js +0 -1
- package/build/assets/proxy-CBgMd2zf.js +0 -1
- package/build/assets/recommended-automations-launcher-YLAQTp4s.js +0 -1
- package/build/assets/root-Bye_XmEL.js +0 -2
- package/build/assets/root-Cnwwzgo0.css +0 -1
- package/build/assets/root-layout-CSAwxBGM.js +0 -2
- package/build/assets/schema-field-CK0xYNbO.js +0 -1
- package/build/assets/sdk-section-page-Da73Rs_o.js +0 -1
- package/build/assets/secret-form-CB2VwYYg.js +0 -1
- package/build/assets/secrets-settings-Bh0udeKv.js +0 -1
- package/build/assets/settings-DmyIgRxO.js +0 -1
- package/build/assets/settings-dropdown-input-DVpyD87C.js +0 -1
- package/build/assets/settings-index-BSJUFmjE.js +0 -1
- package/build/assets/settings-input-C0dd8Utu.js +0 -1
- package/build/assets/settings-modal-yStgEh2o.js +0 -1
- package/build/assets/settings-switch-B78Khmyz.js +0 -1
- package/build/assets/shared-conversation-DM96X4KV.js +0 -1
- package/build/assets/sidebar-mobile-menu-toggle-D5GR5xT9.js +0 -1
- package/build/assets/sidebar-store-CSDFK0W5.js +0 -1
- package/build/assets/skill-card-pill-row-989y15jV.js +0 -1
- package/build/assets/skill-scope-Dz3kPH3P.js +0 -1
- package/build/assets/skills-plugins-e3CYGdUJ.js +0 -1
- package/build/assets/skills-settings-3e-FuHw_.js +0 -1
- package/build/assets/task-list-tab-3Jg8ywch.js +0 -1
- package/build/assets/trash-B6OIe4yX.js +0 -1
- package/build/assets/usage-tab-Cm-9j3UK.js +0 -1
- package/build/assets/use-acp-credential-form-BARcvjYE.js +0 -1
- package/build/assets/use-agent-profiles-1P91KSXz.js +0 -1
- package/build/assets/use-create-secret-D8p9ybQj.js +0 -1
- package/build/assets/use-is-authed-BRPjCRKM.js +0 -1
- package/build/assets/use-llm-configured-DGm8FiRR.js +0 -1
- package/build/assets/use-llm-profiles-BTTtpW4z.js +0 -1
- package/build/assets/use-save-agent-profile-CxyO9YG-.js +0 -1
- package/build/assets/use-settings-nav-items-vrjxTqcu.js +0 -16
- package/build/assets/use-tracking-B9prBsrq.js +0 -3
- package/build/assets/useQueries-CykmpT-a.js +0 -1
- package/build/assets/useQuery-S6j94er1.js +0 -1
- package/build/assets/utils-BOco8mxR.js +0 -1
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~b0x1wrp2-Z0lly3FE.js +0 -2
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~czjee3a3-BfkNGovw.js +0 -185
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~ew9ih1s8-DnDoaYNi.js +0 -1
- package/build/assets/vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-DkPlXWl9.js +0 -1
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~inibp4qe-CnsDDzeE.js +0 -48
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~iyia17eu-CV850oio.js +0 -1
package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/conversation-client.js"],"sourcesContent":["import { HttpClient, HttpError } from './http-client.js';\nexport class ConversationClient {\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 createConversation(payload) {\n const response = await this.client.post('/api/conversations', payload);\n return response.data;\n }\n async searchConversations(options = {}) {\n const response = await this.client.get('/api/conversations/search', {\n params: options,\n });\n return response.data;\n }\n async countConversations(options = {}) {\n const response = await this.client.get('/api/conversations/count', {\n params: options,\n });\n return response.data;\n }\n async getConversations(conversationIds) {\n const response = await this.client.get('/api/conversations', {\n params: { ids: conversationIds },\n });\n return response.data;\n }\n async getConversation(conversationId) {\n const response = await this.client.get(`/api/conversations/${conversationId}`);\n return response.data;\n }\n async searchEvents(conversationId, options = {}) {\n const response = await this.client.get(`/api/conversations/${conversationId}/events/search`, { params: options });\n return response.data;\n }\n async getEvent(conversationId, eventId) {\n const response = await this.client.get(`/api/conversations/${conversationId}/events/${eventId}`);\n return response.data;\n }\n async getEvents(conversationId, eventIds) {\n return Promise.all(eventIds.map(async (eventId) => {\n try {\n return await this.getEvent(conversationId, eventId);\n }\n catch (error) {\n if (error instanceof HttpError && error.status === 404) {\n return null;\n }\n throw error;\n }\n }));\n }\n async sendEvent(conversationId, event, options = {}) {\n await this.client.post(`/api/conversations/${conversationId}/events`, {\n ...event,\n ...(options.run === undefined ? {} : { run: options.run }),\n });\n }\n async pauseConversation(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/pause`, {});\n return response.data;\n }\n async interruptConversation(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/interrupt`, {});\n return response.data;\n }\n async runConversation(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/run`, {});\n return response.data;\n }\n /**\n * Start a `/goal` loop inside an existing conversation. The loop runs in the\n * conversation's own history and event stream (it does not fork). The server\n * returns 409 if a run or goal loop is already active and 400 for an invalid\n * objective (e.g. empty); a missing conversation yields 404.\n */\n async startGoal(conversationId, request) {\n const response = await this.client.post(`/api/conversations/${conversationId}/goal`, request);\n return response.data;\n }\n /**\n * Stop the active `/goal` loop in this conversation. Cancels only the\n * background goal loop (not the conversation) and records an `interrupted`\n * status so {@link resumeGoal} can continue it. Succeeds even when no loop is\n * running; a missing conversation yields 404.\n */\n async stopGoal(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/goal/stop`, {});\n return response.data;\n }\n /**\n * Resume the last interrupted `/goal` loop in this conversation. The server\n * returns 409 if a run or goal loop is already active and 400 when there is\n * no resumable goal (none started, or it already completed); a missing\n * conversation yields 404.\n */\n async resumeGoal(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/goal/resume`, {});\n return response.data;\n }\n async askAgent(conversationId, question) {\n const response = await this.client.post(`/api/conversations/${conversationId}/ask_agent`, { question });\n return response.data;\n }\n async getEventCount(conversationId, options = {}) {\n const response = await this.client.get(`/api/conversations/${conversationId}/events/count`, { params: options });\n return response.data;\n }\n async respondToConfirmation(conversationId, request) {\n const response = await this.client.post(`/api/conversations/${conversationId}/events/respond_to_confirmation`, request);\n return response.data;\n }\n async getAgentFinalResponse(conversationId) {\n const response = await this.client.get(`/api/conversations/${conversationId}/agent_final_response`);\n return response.data;\n }\n async setConfirmationPolicy(conversationId, policyOrRequest) {\n const request = 'policy' in policyOrRequest ? policyOrRequest : { policy: policyOrRequest };\n const response = await this.client.post(`/api/conversations/${conversationId}/confirmation_policy`, request);\n return response.data;\n }\n async condenseConversation(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/condense`, {});\n return response.data;\n }\n async setSecurityAnalyzer(conversationId, securityAnalyzerOrRequest) {\n const request = isSetSecurityAnalyzerRequest(securityAnalyzerOrRequest)\n ? securityAnalyzerOrRequest\n : { security_analyzer: securityAnalyzerOrRequest };\n const response = await this.client.post(`/api/conversations/${conversationId}/security_analyzer`, request);\n return response.data;\n }\n async updateSecrets(conversationId, request) {\n const response = await this.client.post(`/api/conversations/${conversationId}/secrets`, request);\n return response.data;\n }\n async forkConversation(conversationId, request = {}, options = {}) {\n const response = await this.client.post(`/api/conversations/${conversationId}/fork`, request, {\n params: options.includeSkills === undefined\n ? undefined\n : { include_skills: options.includeSkills },\n });\n return response.data;\n }\n /**\n * Move a conversation's HEAD to an existing event, re-rooting the active\n * branch the agent runs on next. Unlike {@link forkConversation}, this\n * creates no new conversation — all branches stay on disk. Pass\n * `{ event_id: null }` (or an empty request) to select the empty tree.\n *\n * Returns the updated {@link ConversationInfo}, carrying the new\n * `leaf_event_id`. The server answers 404 for an unknown conversation or an\n * unknown `event_id`.\n */\n async navigateConversation(conversationId, request = {}, options = {}) {\n const response = await this.client.post(`/api/conversations/${conversationId}/navigate`, request, {\n params: options.includeSkills === undefined\n ? undefined\n : { include_skills: options.includeSkills },\n });\n return response.data;\n }\n async switchProfile(conversationId, profileName) {\n await this.client.post(`/api/conversations/${conversationId}/switch_profile`, {\n profile_name: profileName,\n });\n }\n async switchLLM(conversationId, llm) {\n await this.client.post(`/api/conversations/${conversationId}/switch_llm`, { llm });\n }\n /**\n * Switch the model of a running ACP conversation in place (the ACP analog of\n * {@link switchLLM}). Calls the wrapper's `session/set_model` on the live\n * session; context is preserved. Only valid once the ACP session exists —\n * the server returns 409 before the first message (set the default via\n * settings instead) and 400 for non-ACP conversations.\n */\n async switchAcpModel(conversationId, model) {\n await this.client.post(`/api/conversations/${conversationId}/switch_acp_model`, {\n model,\n });\n }\n async deleteConversation(conversationId) {\n await this.client.delete(`/api/conversations/${conversationId}`);\n }\n async updateConversation(conversationId, update) {\n const response = await this.client.patch(`/api/conversations/${conversationId}`, update);\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\nfunction isSetSecurityAnalyzerRequest(value) {\n return typeof value === 'object' && value !== null && 'security_analyzer' in value;\n}\n//# sourceMappingURL=conversation-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,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,GAAS;EAE9B,QAAO,MADgB,KAAK,OAAO,KAAK,sBAAsB,CAAO,GACrD;CACpB;CACA,MAAM,oBAAoB,IAAU,CAAC,GAAG;EAIpC,QAAO,MAHgB,KAAK,OAAO,IAAI,6BAA6B,EAChE,QAAQ,EACZ,CAAC,GACe;CACpB;CACA,MAAM,mBAAmB,IAAU,CAAC,GAAG;EAInC,QAAO,MAHgB,KAAK,OAAO,IAAI,4BAA4B,EAC/D,QAAQ,EACZ,CAAC,GACe;CACpB;CACA,MAAM,iBAAiB,GAAiB;EAIpC,QAAO,MAHgB,KAAK,OAAO,IAAI,sBAAsB,EACzD,QAAQ,EAAE,KAAK,EAAgB,EACnC,CAAC,GACe;CACpB;CACA,MAAM,gBAAgB,GAAgB;EAElC,QAAO,MADgB,KAAK,OAAO,IAAI,sBAAsB,GAAgB,GAC7D;CACpB;CACA,MAAM,aAAa,GAAgB,IAAU,CAAC,GAAG;EAE7C,QAAO,MADgB,KAAK,OAAO,IAAI,sBAAsB,EAAe,iBAAiB,EAAE,QAAQ,EAAQ,CAAC,GAChG;CACpB;CACA,MAAM,SAAS,GAAgB,GAAS;EAEpC,QAAO,MADgB,KAAK,OAAO,IAAI,sBAAsB,EAAe,UAAU,GAAS,GAC/E;CACpB;CACA,MAAM,UAAU,GAAgB,GAAU;EACtC,OAAO,QAAQ,IAAI,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IAC5B,KAAA,IACA,EAAE,gBAAgB,EAAQ,cAAc,EAClD,CAAC,GACe;CACpB;CACA,MAAM,cAAc,GAAgB,GAAa;EAC7C,MAAM,KAAK,OAAO,KAAK,sBAAsB,EAAe,kBAAkB,EAC1E,cAAc,EAClB,CAAC;CACL;CACA,MAAM,UAAU,GAAgB,GAAK;EACjC,MAAM,KAAK,OAAO,KAAK,sBAAsB,EAAe,cAAc,EAAE,OAAI,CAAC;CACrF;CAQA,MAAM,eAAe,GAAgB,GAAO;EACxC,MAAM,KAAK,OAAO,KAAK,sBAAsB,EAAe,oBAAoB,EAC5E,SACJ,CAAC;CACL;CACA,MAAM,mBAAmB,GAAgB;EACrC,MAAM,KAAK,OAAO,OAAO,sBAAsB,GAAgB;CACnE;CACA,MAAM,mBAAmB,GAAgB,GAAQ;EAE7C,QAAO,MADgB,KAAK,OAAO,MAAM,sBAAsB,KAAkB,CAAM,GACvE;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ;AACA,SAAS,EAA6B,GAAO;CACzC,OAAO,OAAO,KAAU,cAAY,KAAkB,uBAAuB;AACjF"}
|
|
1
|
+
{"version":3,"file":"conversation-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/conversation-client.js"],"sourcesContent":["import { HttpClient, HttpError } from './http-client.js';\nexport class ConversationClient {\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 createConversation(payload) {\n const response = await this.client.post('/api/conversations', payload);\n return response.data;\n }\n async searchConversations(options = {}) {\n const response = await this.client.get('/api/conversations/search', {\n params: options,\n });\n return response.data;\n }\n async countConversations(options = {}) {\n const response = await this.client.get('/api/conversations/count', {\n params: options,\n });\n return response.data;\n }\n async getConversations(conversationIds) {\n const response = await this.client.get('/api/conversations', {\n params: { ids: conversationIds },\n });\n return response.data;\n }\n async getConversation(conversationId) {\n const response = await this.client.get(`/api/conversations/${conversationId}`);\n return response.data;\n }\n async getRuntime(conversationId) {\n const response = await this.client.get(`/api/conversations/${conversationId}/runtime`);\n return response.data;\n }\n async reprovisionRuntime(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/runtime/reprovision`, {});\n return response.data;\n }\n async searchEvents(conversationId, options = {}) {\n const response = await this.client.get(`/api/conversations/${conversationId}/events/search`, { params: options });\n return response.data;\n }\n async getEvent(conversationId, eventId) {\n const response = await this.client.get(`/api/conversations/${conversationId}/events/${eventId}`);\n return response.data;\n }\n async getEvents(conversationId, eventIds) {\n return Promise.all(eventIds.map(async (eventId) => {\n try {\n return await this.getEvent(conversationId, eventId);\n }\n catch (error) {\n if (error instanceof HttpError && error.status === 404) {\n return null;\n }\n throw error;\n }\n }));\n }\n async sendEvent(conversationId, event, options = {}) {\n await this.client.post(`/api/conversations/${conversationId}/events`, {\n ...event,\n ...(options.run === undefined ? {} : { run: options.run }),\n });\n }\n async pauseConversation(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/pause`, {});\n return response.data;\n }\n async interruptConversation(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/interrupt`, {});\n return response.data;\n }\n async runConversation(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/run`, {});\n return response.data;\n }\n /**\n * Start a `/goal` loop inside an existing conversation. The loop runs in the\n * conversation's own history and event stream (it does not fork). The server\n * returns 409 if a run or goal loop is already active and 400 for an invalid\n * objective (e.g. empty); a missing conversation yields 404.\n */\n async startGoal(conversationId, request) {\n const response = await this.client.post(`/api/conversations/${conversationId}/goal`, request);\n return response.data;\n }\n /**\n * Stop the active `/goal` loop in this conversation. Cancels only the\n * background goal loop (not the conversation) and records an `interrupted`\n * status so {@link resumeGoal} can continue it. Succeeds even when no loop is\n * running; a missing conversation yields 404.\n */\n async stopGoal(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/goal/stop`, {});\n return response.data;\n }\n /**\n * Resume the last interrupted `/goal` loop in this conversation. The server\n * returns 409 if a run or goal loop is already active and 400 when there is\n * no resumable goal (none started, or it already completed); a missing\n * conversation yields 404.\n */\n async resumeGoal(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/goal/resume`, {});\n return response.data;\n }\n async askAgent(conversationId, question) {\n const response = await this.client.post(`/api/conversations/${conversationId}/ask_agent`, { question });\n return response.data;\n }\n async getEventCount(conversationId, options = {}) {\n const response = await this.client.get(`/api/conversations/${conversationId}/events/count`, { params: options });\n return response.data;\n }\n async respondToConfirmation(conversationId, request) {\n const response = await this.client.post(`/api/conversations/${conversationId}/events/respond_to_confirmation`, request);\n return response.data;\n }\n async getAgentFinalResponse(conversationId) {\n const response = await this.client.get(`/api/conversations/${conversationId}/agent_final_response`);\n return response.data;\n }\n async setConfirmationPolicy(conversationId, policyOrRequest) {\n const request = 'policy' in policyOrRequest ? policyOrRequest : { policy: policyOrRequest };\n const response = await this.client.post(`/api/conversations/${conversationId}/confirmation_policy`, request);\n return response.data;\n }\n async condenseConversation(conversationId) {\n const response = await this.client.post(`/api/conversations/${conversationId}/condense`, {});\n return response.data;\n }\n async setSecurityAnalyzer(conversationId, securityAnalyzerOrRequest) {\n const request = isSetSecurityAnalyzerRequest(securityAnalyzerOrRequest)\n ? securityAnalyzerOrRequest\n : { security_analyzer: securityAnalyzerOrRequest };\n const response = await this.client.post(`/api/conversations/${conversationId}/security_analyzer`, request);\n return response.data;\n }\n async updateSecrets(conversationId, request) {\n const response = await this.client.post(`/api/conversations/${conversationId}/secrets`, request);\n return response.data;\n }\n async forkConversation(conversationId, request = {}, options = {}) {\n const response = await this.client.post(`/api/conversations/${conversationId}/fork`, request, {\n params: options.includeSkills === undefined\n ? undefined\n : { include_skills: options.includeSkills },\n });\n return response.data;\n }\n /**\n * Move a conversation's HEAD to an existing event, re-rooting the active\n * branch the agent runs on next. Unlike {@link forkConversation}, this\n * creates no new conversation — all branches stay on disk. Pass\n * `{ event_id: null }` (or an empty request) to select the empty tree.\n *\n * Returns the updated {@link ConversationInfo}, carrying the new\n * `leaf_event_id`. The server answers 404 for an unknown conversation or an\n * unknown `event_id`.\n */\n async navigateConversation(conversationId, request = {}, options = {}) {\n const response = await this.client.post(`/api/conversations/${conversationId}/navigate`, request, {\n params: options.includeSkills === undefined\n ? undefined\n : { include_skills: options.includeSkills },\n });\n return response.data;\n }\n async switchProfile(conversationId, profileName) {\n await this.client.post(`/api/conversations/${conversationId}/switch_profile`, {\n profile_name: profileName,\n });\n }\n async switchLLM(conversationId, llm) {\n await this.client.post(`/api/conversations/${conversationId}/switch_llm`, { llm });\n }\n /**\n * Switch the model of a running ACP conversation in place (the ACP analog of\n * {@link switchLLM}). Calls the wrapper's `session/set_model` on the live\n * session; context is preserved. Only valid once the ACP session exists —\n * the server returns 409 before the first message (set the default via\n * settings instead) and 400 for non-ACP conversations.\n */\n async switchAcpModel(conversationId, model) {\n await this.client.post(`/api/conversations/${conversationId}/switch_acp_model`, {\n model,\n });\n }\n async deleteConversation(conversationId) {\n await this.client.delete(`/api/conversations/${conversationId}`);\n }\n async updateConversation(conversationId, update) {\n const response = await this.client.patch(`/api/conversations/${conversationId}`, update);\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\nfunction isSetSecurityAnalyzerRequest(value) {\n return typeof value === 'object' && value !== null && 'security_analyzer' in value;\n}\n//# sourceMappingURL=conversation-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,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,GAAS;EAE9B,QAAO,MADgB,KAAK,OAAO,KAAK,sBAAsB,CAAO,GACrD;CACpB;C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AE,OAAI,CAAC;CACrF;CAQA,MAAM,eAAe,GAAgB,GAAO;EACxC,MAAM,KAAK,OAAO,KAAK,sBAAsB,EAAe,oBAAoB,EAC5E,SACJ,CAAC;CACL;CACA,MAAM,mBAAmB,GAAgB;EACrC,MAAM,KAAK,OAAO,OAAO,sBAAsB,GAAgB;CACnE;CACA,MAAM,mBAAmB,GAAgB,GAAQ;EAE7C,QAAO,MADgB,KAAK,OAAO,MAAM,sBAAsB,KAAkB,CAAM,GACvE;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ;AACA,SAAS,EAA6B,GAAO;CACzC,OAAO,OAAO,KAAU,cAAY,KAAkB,uBAAuB;AACjF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./runtime-transport.cjs");var t=class{constructor(t){let{runtimeClient:n}=e.createRuntimeHttpClients(t);this.host=t.host.replace(/\/$/,``),this.apiKey=t.apiKey,this.client=n}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
2
|
//# sourceMappingURL=desktop-client.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"desktop-client.cjs","names":["
|
|
1
|
+
{"version":3,"file":"desktop-client.cjs","names":["createRuntimeHttpClients"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/desktop-client.js"],"sourcesContent":["import { createRuntimeHttpClients } from './runtime-transport.js';\nexport class DesktopClient {\n constructor(options) {\n const { runtimeClient } = createRuntimeHttpClients(options);\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = runtimeClient;\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":"oGACA,IAAa,EAAb,KAA2B,CACvB,YAAY,EAAS,CACjB,GAAM,CAAE,iBAAkBA,EAAAA,yBAAyB,CAAO,EAC1D,KAAK,KAAO,EAAQ,KAAK,QAAQ,MAAO,EAAE,EAC1C,KAAK,OAAS,EAAQ,OACtB,KAAK,OAAS,CAClB,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,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createRuntimeHttpClients as e } from "./runtime-transport.js";
|
|
2
2
|
//#region node_modules/@openhands/typescript-client/dist/client/desktop-client.js
|
|
3
3
|
var t = class {
|
|
4
4
|
constructor(t) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
apiKey: this.apiKey,
|
|
8
|
-
timeout: t.timeout || 6e4
|
|
9
|
-
});
|
|
5
|
+
let { runtimeClient: n } = e(t);
|
|
6
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = n;
|
|
10
7
|
}
|
|
11
8
|
async getUrl(e) {
|
|
12
9
|
return (await this.client.get("/api/desktop/url", { params: e ? { base_url: e } : void 0 })).data.url;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"desktop-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/desktop-client.js"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"desktop-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/desktop-client.js"],"sourcesContent":["import { createRuntimeHttpClients } from './runtime-transport.js';\nexport class DesktopClient {\n constructor(options) {\n const { runtimeClient } = createRuntimeHttpClients(options);\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = runtimeClient;\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;EACjB,IAAM,EAAE,qBAAkB,EAAyB,CAAO;EAG1D,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,OAAO,EAAE,GAC1C,KAAK,SAAS,EAAQ,QACtB,KAAK,SAAS;CAClB;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,2 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./runtime-transport.cjs");var t=class{constructor(t){let{serverClient:n,runtimeClient:r}=e.createRuntimeHttpClients(t);this.host=t.host.replace(/\/$/,``),this.apiKey=t.apiKey,this.runtimeClient=r,this.serverClient=n}async searchSubdirectories(e,t={}){return(await this.serverClient.get(`/api/file/search_subdirs`,{params:{path:e,page_id:t.pageId,limit:t.limit,include_hidden:t.includeHidden||void 0}})).data}async getHome(e={}){return(await this.serverClient.get(`/api/file/home`,{params:{include_hidden:e.includeHidden||void 0}})).data}async downloadFile(e){return(await this.runtimeClient.get(`/api/file/download`,{params:{path:e},responseType:`arrayBuffer`})).data}async downloadTextFile(e){return new TextDecoder().decode(await this.downloadFile(e))}async uploadFile(e,t,n){let r=new FormData,i=typeof File>`u`?void 0:File;return i&&e instanceof i?r.append(`file`,e,n||e.name):e instanceof Blob?r.append(`file`,e,n||`blob-file`):r.append(`file`,new Blob([e],{type:`text/plain`}),n||`text-file.txt`),(await this.runtimeClient.post(`/api/file/upload`,r,{params:{path:t}})).data}async uploadTextFile(e,t,n){return this.uploadFile(e,t,n)}async downloadTrajectory(e){return(await this.runtimeClient.get(`/api/file/download-trajectory/${encodeURIComponent(e)}`,{responseType:`blob`})).data}close(){this.runtimeClient.close()}};exports.FileClient=t;
|
|
2
2
|
//# sourceMappingURL=file-client.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-client.cjs","names":["
|
|
1
|
+
{"version":3,"file":"file-client.cjs","names":["createRuntimeHttpClients"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/file-client.js"],"sourcesContent":["import { createRuntimeHttpClients } from './runtime-transport.js';\nexport class FileClient {\n constructor(options) {\n const { serverClient, runtimeClient } = createRuntimeHttpClients(options);\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.runtimeClient = runtimeClient;\n this.serverClient = serverClient;\n }\n async searchSubdirectories(path, options = {}) {\n const response = await this.serverClient.get('/api/file/search_subdirs', {\n params: {\n path,\n page_id: options.pageId,\n limit: options.limit,\n include_hidden: options.includeHidden || undefined,\n },\n });\n return response.data;\n }\n async getHome(options = {}) {\n const response = await this.serverClient.get('/api/file/home', {\n params: {\n include_hidden: options.includeHidden || undefined,\n },\n });\n return response.data;\n }\n async downloadFile(path) {\n const response = await this.runtimeClient.get('/api/file/download', {\n params: { path },\n responseType: 'arrayBuffer',\n });\n return response.data;\n }\n async downloadTextFile(path) {\n return new TextDecoder().decode(await this.downloadFile(path));\n }\n async uploadFile(content, destinationPath, fileName) {\n const formData = new FormData();\n const fileConstructor = typeof File === 'undefined' ? undefined : File;\n if (fileConstructor && content instanceof fileConstructor) {\n formData.append('file', content, fileName || content.name);\n }\n else if (content instanceof Blob) {\n formData.append('file', content, fileName || 'blob-file');\n }\n else {\n formData.append('file', new Blob([content], { type: 'text/plain' }), fileName || 'text-file.txt');\n }\n const response = await this.runtimeClient.post('/api/file/upload', formData, {\n params: { path: destinationPath },\n });\n return response.data;\n }\n async uploadTextFile(text, destinationPath, fileName) {\n return this.uploadFile(text, destinationPath, fileName);\n }\n async downloadTrajectory(conversationId) {\n const response = await this.runtimeClient.get(`/api/file/download-trajectory/${encodeURIComponent(conversationId)}`, { responseType: 'blob' });\n return response.data;\n }\n close() {\n this.runtimeClient.close();\n }\n}\n//# sourceMappingURL=file-client.js.map"],"x_google_ignoreList":[0],"mappings":"oGACA,IAAa,EAAb,KAAwB,CACpB,YAAY,EAAS,CACjB,GAAM,CAAE,eAAc,iBAAkBA,EAAAA,yBAAyB,CAAO,EACxE,KAAK,KAAO,EAAQ,KAAK,QAAQ,MAAO,EAAE,EAC1C,KAAK,OAAS,EAAQ,OACtB,KAAK,cAAgB,EACrB,KAAK,aAAe,CACxB,CACA,MAAM,qBAAqB,EAAM,EAAU,CAAC,EAAG,CAS3C,OAAO,MARgB,KAAK,aAAa,IAAI,2BAA4B,CACrE,OAAQ,CACJ,OACA,QAAS,EAAQ,OACjB,MAAO,EAAQ,MACf,eAAgB,EAAQ,eAAiB,IAAA,EAC7C,CACJ,CAAC,GACe,IACpB,CACA,MAAM,QAAQ,EAAU,CAAC,EAAG,CAMxB,OAAO,MALgB,KAAK,aAAa,IAAI,iBAAkB,CAC3D,OAAQ,CACJ,eAAgB,EAAQ,eAAiB,IAAA,EAC7C,CACJ,CAAC,GACe,IACpB,CACA,MAAM,aAAa,EAAM,CAKrB,OAAO,MAJgB,KAAK,cAAc,IAAI,qBAAsB,CAChE,OAAQ,CAAE,MAAK,EACf,aAAc,aAClB,CAAC,GACe,IACpB,CACA,MAAM,iBAAiB,EAAM,CACzB,OAAO,IAAI,YAAY,EAAE,OAAO,MAAM,KAAK,aAAa,CAAI,CAAC,CACjE,CACA,MAAM,WAAW,EAAS,EAAiB,EAAU,CACjD,IAAM,EAAW,IAAI,SACf,EAAkB,OAAO,KAAS,IAAc,IAAA,GAAY,KAalE,OAZI,GAAmB,aAAmB,EACtC,EAAS,OAAO,OAAQ,EAAS,GAAY,EAAQ,IAAI,EAEpD,aAAmB,KACxB,EAAS,OAAO,OAAQ,EAAS,GAAY,WAAW,EAGxD,EAAS,OAAO,OAAQ,IAAI,KAAK,CAAC,CAAO,EAAG,CAAE,KAAM,YAAa,CAAC,EAAG,GAAY,eAAe,GAK7F,MAHgB,KAAK,cAAc,KAAK,mBAAoB,EAAU,CACzE,OAAQ,CAAE,KAAM,CAAgB,CACpC,CAAC,GACe,IACpB,CACA,MAAM,eAAe,EAAM,EAAiB,EAAU,CAClD,OAAO,KAAK,WAAW,EAAM,EAAiB,CAAQ,CAC1D,CACA,MAAM,mBAAmB,EAAgB,CAErC,OAAO,MADgB,KAAK,cAAc,IAAI,iCAAiC,mBAAmB,CAAc,IAAK,CAAE,aAAc,MAAO,CAAC,GAC7H,IACpB,CACA,OAAQ,CACJ,KAAK,cAAc,MAAM,CAC7B,CACJ"}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createRuntimeHttpClients as e } from "./runtime-transport.js";
|
|
2
2
|
//#region node_modules/@openhands/typescript-client/dist/client/file-client.js
|
|
3
3
|
var t = class {
|
|
4
4
|
constructor(t) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
apiKey: this.apiKey,
|
|
8
|
-
timeout: t.timeout || 6e4
|
|
9
|
-
});
|
|
5
|
+
let { serverClient: n, runtimeClient: r } = e(t);
|
|
6
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.runtimeClient = r, this.serverClient = n;
|
|
10
7
|
}
|
|
11
8
|
async searchSubdirectories(e, t = {}) {
|
|
12
|
-
return (await this.
|
|
9
|
+
return (await this.serverClient.get("/api/file/search_subdirs", { params: {
|
|
13
10
|
path: e,
|
|
14
11
|
page_id: t.pageId,
|
|
15
12
|
limit: t.limit,
|
|
@@ -17,10 +14,10 @@ var t = class {
|
|
|
17
14
|
} })).data;
|
|
18
15
|
}
|
|
19
16
|
async getHome(e = {}) {
|
|
20
|
-
return (await this.
|
|
17
|
+
return (await this.serverClient.get("/api/file/home", { params: { include_hidden: e.includeHidden || void 0 } })).data;
|
|
21
18
|
}
|
|
22
19
|
async downloadFile(e) {
|
|
23
|
-
return (await this.
|
|
20
|
+
return (await this.runtimeClient.get("/api/file/download", {
|
|
24
21
|
params: { path: e },
|
|
25
22
|
responseType: "arrayBuffer"
|
|
26
23
|
})).data;
|
|
@@ -30,16 +27,16 @@ var t = class {
|
|
|
30
27
|
}
|
|
31
28
|
async uploadFile(e, t, n) {
|
|
32
29
|
let r = new FormData(), i = typeof File > "u" ? void 0 : File;
|
|
33
|
-
return i && e instanceof i ? r.append("file", e, n || e.name) : e instanceof Blob ? r.append("file", e, n || "blob-file") : r.append("file", new Blob([e], { type: "text/plain" }), n || "text-file.txt"), (await this.
|
|
30
|
+
return i && e instanceof i ? r.append("file", e, n || e.name) : e instanceof Blob ? r.append("file", e, n || "blob-file") : r.append("file", new Blob([e], { type: "text/plain" }), n || "text-file.txt"), (await this.runtimeClient.post("/api/file/upload", r, { params: { path: t } })).data;
|
|
34
31
|
}
|
|
35
32
|
async uploadTextFile(e, t, n) {
|
|
36
33
|
return this.uploadFile(e, t, n);
|
|
37
34
|
}
|
|
38
35
|
async downloadTrajectory(e) {
|
|
39
|
-
return (await this.
|
|
36
|
+
return (await this.runtimeClient.get(`/api/file/download-trajectory/${encodeURIComponent(e)}`, { responseType: "blob" })).data;
|
|
40
37
|
}
|
|
41
38
|
close() {
|
|
42
|
-
this.
|
|
39
|
+
this.runtimeClient.close();
|
|
43
40
|
}
|
|
44
41
|
};
|
|
45
42
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/file-client.js"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"file-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/file-client.js"],"sourcesContent":["import { createRuntimeHttpClients } from './runtime-transport.js';\nexport class FileClient {\n constructor(options) {\n const { serverClient, runtimeClient } = createRuntimeHttpClients(options);\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.runtimeClient = runtimeClient;\n this.serverClient = serverClient;\n }\n async searchSubdirectories(path, options = {}) {\n const response = await this.serverClient.get('/api/file/search_subdirs', {\n params: {\n path,\n page_id: options.pageId,\n limit: options.limit,\n include_hidden: options.includeHidden || undefined,\n },\n });\n return response.data;\n }\n async getHome(options = {}) {\n const response = await this.serverClient.get('/api/file/home', {\n params: {\n include_hidden: options.includeHidden || undefined,\n },\n });\n return response.data;\n }\n async downloadFile(path) {\n const response = await this.runtimeClient.get('/api/file/download', {\n params: { path },\n responseType: 'arrayBuffer',\n });\n return response.data;\n }\n async downloadTextFile(path) {\n return new TextDecoder().decode(await this.downloadFile(path));\n }\n async uploadFile(content, destinationPath, fileName) {\n const formData = new FormData();\n const fileConstructor = typeof File === 'undefined' ? undefined : File;\n if (fileConstructor && content instanceof fileConstructor) {\n formData.append('file', content, fileName || content.name);\n }\n else if (content instanceof Blob) {\n formData.append('file', content, fileName || 'blob-file');\n }\n else {\n formData.append('file', new Blob([content], { type: 'text/plain' }), fileName || 'text-file.txt');\n }\n const response = await this.runtimeClient.post('/api/file/upload', formData, {\n params: { path: destinationPath },\n });\n return response.data;\n }\n async uploadTextFile(text, destinationPath, fileName) {\n return this.uploadFile(text, destinationPath, fileName);\n }\n async downloadTrajectory(conversationId) {\n const response = await this.runtimeClient.get(`/api/file/download-trajectory/${encodeURIComponent(conversationId)}`, { responseType: 'blob' });\n return response.data;\n }\n close() {\n this.runtimeClient.close();\n }\n}\n//# sourceMappingURL=file-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAAwB;CACpB,YAAY,GAAS;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AAe,GAAM,GAAiB,GAAU;EAClD,OAAO,KAAK,WAAW,GAAM,GAAiB,CAAQ;CAC1D;CACA,MAAM,mBAAmB,GAAgB;EAErC,QAAO,MADgB,KAAK,cAAc,IAAI,iCAAiC,mBAAmB,CAAc,KAAK,EAAE,cAAc,OAAO,CAAC,GAC7H;CACpB;CACA,QAAQ;EACJ,KAAK,cAAc,MAAM;CAC7B;AACJ"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./http-client.cjs"),t=require("./agent-server-compatibility.cjs");var n=class extends e.HttpClient{constructor(e,t,n){if(super({baseUrl:e.host}),this.serverClient=t,this.conversationId=n,!n.trim())throw Error(`A runtime requires a conversation ID`)}async request(n){if(!n.url.startsWith(`/api/`)||n.url.includes(`?`)||n.url.includes(`#`)||n.url.includes(`\\`)||n.url.split(`/`).some(e=>[`.`,`..`].includes(decodeURIComponent(e))))throw Error(`Runtime requests require an API path and separate query parameters`);if(n.params?.cid!=null)throw Error(`A runtime conversation cannot be overridden`);let r=(await t.getCachedAgentServerInfo(this.serverClient).catch(n=>{if(n instanceof e.HttpError&&n.status===404)return null;throw t.clearAgentServerInfoCache(this.serverClient),n}))?.capabilities?.includes(`conversation_runtime_routes_v1`)?{...n,url:`/api/conversations/${encodeURIComponent(this.conversationId)}${n.url.slice(4)}`}:{...n,params:{...n.params,cid:this.conversationId}};return this.serverClient.request(r)}};function r(t){let r=new e.HttpClient({baseUrl:t.host,apiKey:t.apiKey,timeout:t.timeout});return{serverClient:r,runtimeClient:t.conversationId===void 0?r:new n(t,r,t.conversationId)}}exports.createRuntimeHttpClients=r;
|
|
2
|
+
//# sourceMappingURL=runtime-transport.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-transport.cjs","names":["HttpClient","getCachedAgentServerInfo","HttpError"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/runtime-transport.js"],"sourcesContent":["import { HttpClient, HttpError } from './http-client.js';\nimport { clearAgentServerInfoCache, getCachedAgentServerInfo } from './agent-server-compatibility.js';\n/** Internal transport for operations on one conversation's workspace. */\nclass ConversationScopedHttpClient extends HttpClient {\n constructor(options, serverClient, conversationId) {\n super({ baseUrl: options.host });\n this.serverClient = serverClient;\n this.conversationId = conversationId;\n if (!conversationId.trim())\n throw new Error('A runtime requires a conversation ID');\n }\n async request(options) {\n if (!options.url.startsWith('/api/') ||\n options.url.includes('?') ||\n options.url.includes('#') ||\n options.url.includes('\\\\') ||\n options.url.split('/').some((segment) => ['.', '..'].includes(decodeURIComponent(segment)))) {\n throw new Error('Runtime requests require an API path and separate query parameters');\n }\n if (options.params?.cid != null) {\n throw new Error('A runtime conversation cannot be overridden');\n }\n const serverInfo = await getCachedAgentServerInfo(this.serverClient).catch((error) => {\n if (error instanceof HttpError && error.status === 404)\n return null;\n clearAgentServerInfoCache(this.serverClient);\n throw error;\n });\n const scopedRequest = serverInfo?.capabilities?.includes('conversation_runtime_routes_v1')\n ? {\n ...options,\n url: `/api/conversations/${encodeURIComponent(this.conversationId)}${options.url.slice(4)}`,\n }\n : { ...options, params: { ...options.params, cid: this.conversationId } };\n return this.serverClient.request(scopedRequest);\n }\n}\nexport function createRuntimeHttpClients(options) {\n const serverClient = new HttpClient({\n baseUrl: options.host,\n apiKey: options.apiKey,\n timeout: options.timeout,\n });\n return {\n serverClient,\n runtimeClient: options.conversationId === undefined\n ? serverClient\n : new ConversationScopedHttpClient(options, serverClient, options.conversationId),\n };\n}\n//# sourceMappingURL=runtime-transport.js.map"],"x_google_ignoreList":[0],"mappings":"4IAGA,IAAM,EAAN,cAA2CA,EAAAA,UAAW,CAClD,YAAY,EAAS,EAAc,EAAgB,CAI/C,GAHA,MAAM,CAAE,QAAS,EAAQ,IAAK,CAAC,EAC/B,KAAK,aAAe,EACpB,KAAK,eAAiB,EAClB,CAAC,EAAe,KAAK,EACrB,MAAU,MAAM,sCAAsC,CAC9D,CACA,MAAM,QAAQ,EAAS,CACnB,GAAI,CAAC,EAAQ,IAAI,WAAW,OAAO,GAC/B,EAAQ,IAAI,SAAS,GAAG,GACxB,EAAQ,IAAI,SAAS,GAAG,GACxB,EAAQ,IAAI,SAAS,IAAI,GACzB,EAAQ,IAAI,MAAM,GAAG,EAAE,KAAM,GAAY,CAAC,IAAK,IAAI,EAAE,SAAS,mBAAmB,CAAO,CAAC,CAAC,EAC1F,MAAU,MAAM,oEAAoE,EAExF,GAAI,EAAQ,QAAQ,KAAO,KACvB,MAAU,MAAM,6CAA6C,EAQjE,IAAM,GAAgB,MANGC,EAAAA,yBAAyB,KAAK,YAAY,EAAE,MAAO,GAAU,CAClF,GAAI,aAAiBC,EAAAA,WAAa,EAAM,SAAW,IAC/C,OAAO,KAEX,MADA,EAAA,0BAA0B,KAAK,YAAY,EACrC,CACV,CAAC,IACiC,cAAc,SAAS,gCAAgC,EACnF,CACE,GAAG,EACH,IAAK,sBAAsB,mBAAmB,KAAK,cAAc,IAAI,EAAQ,IAAI,MAAM,CAAC,GAC5F,EACE,CAAE,GAAG,EAAS,OAAQ,CAAE,GAAG,EAAQ,OAAQ,IAAK,KAAK,cAAe,CAAE,EAC5E,OAAO,KAAK,aAAa,QAAQ,CAAa,CAClD,CACJ,EACA,SAAgB,EAAyB,EAAS,CAC9C,IAAM,EAAe,IAAIF,EAAAA,WAAW,CAChC,QAAS,EAAQ,KACjB,OAAQ,EAAQ,OAChB,QAAS,EAAQ,OACrB,CAAC,EACD,MAAO,CACH,eACA,cAAe,EAAQ,iBAAmB,IAAA,GACpC,EACA,IAAI,EAA6B,EAAS,EAAc,EAAQ,cAAc,CACxF,CACJ"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { HttpClient as e, HttpError as t } from "./http-client.js";
|
|
2
|
+
import { clearAgentServerInfoCache as n, getCachedAgentServerInfo as r } from "./agent-server-compatibility.js";
|
|
3
|
+
//#region node_modules/@openhands/typescript-client/dist/client/runtime-transport.js
|
|
4
|
+
var i = class extends e {
|
|
5
|
+
constructor(e, t, n) {
|
|
6
|
+
if (super({ baseUrl: e.host }), this.serverClient = t, this.conversationId = n, !n.trim()) throw Error("A runtime requires a conversation ID");
|
|
7
|
+
}
|
|
8
|
+
async request(e) {
|
|
9
|
+
if (!e.url.startsWith("/api/") || e.url.includes("?") || e.url.includes("#") || e.url.includes("\\") || e.url.split("/").some((e) => [".", ".."].includes(decodeURIComponent(e)))) throw Error("Runtime requests require an API path and separate query parameters");
|
|
10
|
+
if (e.params?.cid != null) throw Error("A runtime conversation cannot be overridden");
|
|
11
|
+
let i = (await r(this.serverClient).catch((e) => {
|
|
12
|
+
if (e instanceof t && e.status === 404) return null;
|
|
13
|
+
throw n(this.serverClient), e;
|
|
14
|
+
}))?.capabilities?.includes("conversation_runtime_routes_v1") ? {
|
|
15
|
+
...e,
|
|
16
|
+
url: `/api/conversations/${encodeURIComponent(this.conversationId)}${e.url.slice(4)}`
|
|
17
|
+
} : {
|
|
18
|
+
...e,
|
|
19
|
+
params: {
|
|
20
|
+
...e.params,
|
|
21
|
+
cid: this.conversationId
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
return this.serverClient.request(i);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
function a(t) {
|
|
28
|
+
let n = new e({
|
|
29
|
+
baseUrl: t.host,
|
|
30
|
+
apiKey: t.apiKey,
|
|
31
|
+
timeout: t.timeout
|
|
32
|
+
});
|
|
33
|
+
return {
|
|
34
|
+
serverClient: n,
|
|
35
|
+
runtimeClient: t.conversationId === void 0 ? n : new i(t, n, t.conversationId)
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { a as createRuntimeHttpClients };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=runtime-transport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-transport.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/runtime-transport.js"],"sourcesContent":["import { HttpClient, HttpError } from './http-client.js';\nimport { clearAgentServerInfoCache, getCachedAgentServerInfo } from './agent-server-compatibility.js';\n/** Internal transport for operations on one conversation's workspace. */\nclass ConversationScopedHttpClient extends HttpClient {\n constructor(options, serverClient, conversationId) {\n super({ baseUrl: options.host });\n this.serverClient = serverClient;\n this.conversationId = conversationId;\n if (!conversationId.trim())\n throw new Error('A runtime requires a conversation ID');\n }\n async request(options) {\n if (!options.url.startsWith('/api/') ||\n options.url.includes('?') ||\n options.url.includes('#') ||\n options.url.includes('\\\\') ||\n options.url.split('/').some((segment) => ['.', '..'].includes(decodeURIComponent(segment)))) {\n throw new Error('Runtime requests require an API path and separate query parameters');\n }\n if (options.params?.cid != null) {\n throw new Error('A runtime conversation cannot be overridden');\n }\n const serverInfo = await getCachedAgentServerInfo(this.serverClient).catch((error) => {\n if (error instanceof HttpError && error.status === 404)\n return null;\n clearAgentServerInfoCache(this.serverClient);\n throw error;\n });\n const scopedRequest = serverInfo?.capabilities?.includes('conversation_runtime_routes_v1')\n ? {\n ...options,\n url: `/api/conversations/${encodeURIComponent(this.conversationId)}${options.url.slice(4)}`,\n }\n : { ...options, params: { ...options.params, cid: this.conversationId } };\n return this.serverClient.request(scopedRequest);\n }\n}\nexport function createRuntimeHttpClients(options) {\n const serverClient = new HttpClient({\n baseUrl: options.host,\n apiKey: options.apiKey,\n timeout: options.timeout,\n });\n return {\n serverClient,\n runtimeClient: options.conversationId === undefined\n ? serverClient\n : new ConversationScopedHttpClient(options, serverClient, options.conversationId),\n };\n}\n//# sourceMappingURL=runtime-transport.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAN,cAA2C,EAAW;CAClD,YAAY,GAAS,GAAc,GAAgB;EAI/C,IAHA,MAAM,EAAE,SAAS,EAAQ,KAAK,CAAC,GAC/B,KAAK,eAAe,GACpB,KAAK,iBAAiB,GAClB,CAAC,EAAe,KAAK,GACrB,MAAU,MAAM,sCAAsC;CAC9D;CACA,MAAM,QAAQ,GAAS;EACnB,IAAI,CAAC,EAAQ,IAAI,WAAW,OAAO,KAC/B,EAAQ,IAAI,SAAS,GAAG,KACxB,EAAQ,IAAI,SAAS,GAAG,KACxB,EAAQ,IAAI,SAAS,IAAI,KACzB,EAAQ,IAAI,MAAM,GAAG,EAAE,MAAM,MAAY,CAAC,KAAK,IAAI,EAAE,SAAS,mBAAmB,CAAO,CAAC,CAAC,GAC1F,MAAU,MAAM,oEAAoE;EAExF,IAAI,EAAQ,QAAQ,OAAO,MACvB,MAAU,MAAM,6CAA6C;EAQjE,IAAM,KAAgB,MANG,EAAyB,KAAK,YAAY,EAAE,OAAO,MAAU;GAClF,IAAI,aAAiB,KAAa,EAAM,WAAW,KAC/C,OAAO;GAEX,MADA,EAA0B,KAAK,YAAY,GACrC;EACV,CAAC,IACiC,cAAc,SAAS,gCAAgC,IACnF;GACE,GAAG;GACH,KAAK,sBAAsB,mBAAmB,KAAK,cAAc,IAAI,EAAQ,IAAI,MAAM,CAAC;EAC5F,IACE;GAAE,GAAG;GAAS,QAAQ;IAAE,GAAG,EAAQ;IAAQ,KAAK,KAAK;GAAe;EAAE;EAC5E,OAAO,KAAK,aAAa,QAAQ,CAAa;CAClD;AACJ;AACA,SAAgB,EAAyB,GAAS;CAC9C,IAAM,IAAe,IAAI,EAAW;EAChC,SAAS,EAAQ;EACjB,QAAQ,EAAQ;EAChB,SAAS,EAAQ;CACrB,CAAC;CACD,OAAO;EACH;EACA,eAAe,EAAQ,mBAAmB,KAAA,IACpC,IACA,IAAI,EAA6B,GAAS,GAAc,EAAQ,cAAc;CACxF;AACJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./runtime-transport.cjs");var t=class{constructor(t){let{runtimeClient:n}=e.createRuntimeHttpClients(t);this.host=t.host.replace(/\/$/,``),this.apiKey=t.apiKey,this.client=n}async getUrl(e={}){return(await this.client.get(`/api/vscode/url`,{params:{...e.baseUrl?{base_url:e.baseUrl}:{},...e.workspaceDir?{workspace_dir:e.workspaceDir}:{}}})).data.url}async getStatus(){return(await this.client.get(`/api/vscode/status`)).data}close(){this.client.close()}};exports.VSCodeClient=t;
|
|
2
2
|
//# sourceMappingURL=vscode-client.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vscode-client.cjs","names":["
|
|
1
|
+
{"version":3,"file":"vscode-client.cjs","names":["createRuntimeHttpClients"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/vscode-client.js"],"sourcesContent":["import { createRuntimeHttpClients } from './runtime-transport.js';\nexport class VSCodeClient {\n constructor(options) {\n const { runtimeClient } = createRuntimeHttpClients(options);\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = runtimeClient;\n }\n async getUrl(options = {}) {\n const response = await this.client.get('/api/vscode/url', {\n params: {\n ...(options.baseUrl ? { base_url: options.baseUrl } : {}),\n ...(options.workspaceDir ? { workspace_dir: options.workspaceDir } : {}),\n },\n });\n return response.data.url;\n }\n async getStatus() {\n const response = await this.client.get('/api/vscode/status');\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=vscode-client.js.map"],"x_google_ignoreList":[0],"mappings":"oGACA,IAAa,EAAb,KAA0B,CACtB,YAAY,EAAS,CACjB,GAAM,CAAE,iBAAkBA,EAAAA,yBAAyB,CAAO,EAC1D,KAAK,KAAO,EAAQ,KAAK,QAAQ,MAAO,EAAE,EAC1C,KAAK,OAAS,EAAQ,OACtB,KAAK,OAAS,CAClB,CACA,MAAM,OAAO,EAAU,CAAC,EAAG,CAOvB,OAAO,MANgB,KAAK,OAAO,IAAI,kBAAmB,CACtD,OAAQ,CACJ,GAAI,EAAQ,QAAU,CAAE,SAAU,EAAQ,OAAQ,EAAI,CAAC,EACvD,GAAI,EAAQ,aAAe,CAAE,cAAe,EAAQ,YAAa,EAAI,CAAC,CAC1E,CACJ,CAAC,GACe,KAAK,GACzB,CACA,MAAM,WAAY,CAEd,OAAO,MADgB,KAAK,OAAO,IAAI,oBAAoB,GAC3C,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createRuntimeHttpClients as e } from "./runtime-transport.js";
|
|
2
2
|
//#region node_modules/@openhands/typescript-client/dist/client/vscode-client.js
|
|
3
3
|
var t = class {
|
|
4
4
|
constructor(t) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
apiKey: this.apiKey,
|
|
8
|
-
timeout: t.timeout || 6e4
|
|
9
|
-
});
|
|
5
|
+
let { runtimeClient: n } = e(t);
|
|
6
|
+
this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = n;
|
|
10
7
|
}
|
|
11
8
|
async getUrl(e = {}) {
|
|
12
9
|
return (await this.client.get("/api/vscode/url", { params: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vscode-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/vscode-client.js"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"vscode-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/vscode-client.js"],"sourcesContent":["import { createRuntimeHttpClients } from './runtime-transport.js';\nexport class VSCodeClient {\n constructor(options) {\n const { runtimeClient } = createRuntimeHttpClients(options);\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = runtimeClient;\n }\n async getUrl(options = {}) {\n const response = await this.client.get('/api/vscode/url', {\n params: {\n ...(options.baseUrl ? { base_url: options.baseUrl } : {}),\n ...(options.workspaceDir ? { workspace_dir: options.workspaceDir } : {}),\n },\n });\n return response.data.url;\n }\n async getStatus() {\n const response = await this.client.get('/api/vscode/status');\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=vscode-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAA0B;CACtB,YAAY,GAAS;EACjB,IAAM,EAAE,qBAAkB,EAAyB,CAAO;EAG1D,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,OAAO,EAAE,GAC1C,KAAK,SAAS,EAAQ,QACtB,KAAK,SAAS;CAClB;CACA,MAAM,OAAO,IAAU,CAAC,GAAG;EAOvB,QAAO,MANgB,KAAK,OAAO,IAAI,mBAAmB,EACtD,QAAQ;GACJ,GAAI,EAAQ,UAAU,EAAE,UAAU,EAAQ,QAAQ,IAAI,CAAC;GACvD,GAAI,EAAQ,eAAe,EAAE,eAAe,EAAQ,aAAa,IAAI,CAAC;EAC1E,EACJ,CAAC,GACe,KAAK;CACzB;CACA,MAAM,YAAY;EAEd,QAAO,MADgB,KAAK,OAAO,IAAI,oBAAoB,GAC3C;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require("../../../../_virtual/_rolldown/runtime.cjs"),require("./client/agent-profiles-client.cjs"),require("./client/server-client.cjs"),require("./client/
|
|
1
|
+
require("../../../../_virtual/_rolldown/runtime.cjs"),require("./client/agent-profiles-client.cjs"),require("./client/server-client.cjs"),require("./client/agent-server-compatibility.cjs"),require("./client/bash-client.cjs"),require("./client/conversation-client.cjs"),require("./client/file-client.cjs"),require("./client/hooks-client.cjs"),require("./client/llm-client.cjs"),require("./client/mcp-client.cjs"),require("./client/profiles-client.cjs"),require("./client/meta-profiles-client.cjs"),require("./client/settings-client.cjs"),require("./client/skills-client.cjs"),require("./client/sub-agents-client.cjs"),require("./client/plugins-client.cjs"),require("./client/tool-client.cjs"),require("./client/vscode-client.cjs"),require("./client/desktop-client.cjs"),require("./client/shared-client.cjs"),require("./client/workspaces-client.cjs"),require("./client/openhands-client.cjs"),require("./client/device-flow-client.cjs"),require("./client/cloud-client.cjs");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./client/agent-profiles-client.js";
|
|
2
2
|
import "./client/server-client.js";
|
|
3
|
+
import "./client/agent-server-compatibility.js";
|
|
3
4
|
import "./client/bash-client.js";
|
|
4
5
|
import "./client/conversation-client.js";
|
|
5
6
|
import "./client/file-client.js";
|
|
6
|
-
import "./client/agent-server-compatibility.js";
|
|
7
7
|
import "./client/hooks-client.js";
|
|
8
8
|
import "./client/llm-client.js";
|
|
9
9
|
import "./client/mcp-client.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../../../../_virtual/_rolldown/runtime.cjs");var e={"claude-code":{
|
|
1
|
+
require("../../../../../_virtual/_rolldown/runtime.cjs");var e={"claude-code":{agent_name_patterns:[`claude-agent`],api_key_env_var:`ANTHROPIC_API_KEY`,available_models:[{id:`default`,label:`Default (recommended)`},{id:`opus[1m]`,label:`Claude Opus (1M)`},{id:`claude-opus-5`,label:`Claude Opus 5`},{id:`sonnet`,label:`Claude Sonnet`},{id:`haiku`,label:`Claude Haiku`}],base_url_env_var:`ANTHROPIC_BASE_URL`,binary_name:`claude-agent-acp`,data_dir_env_var:`CLAUDE_CONFIG_DIR`,default_command:[`npx`,`-y`,`--prefer-offline`,`@agentclientprotocol/claude-agent-acp@0.63.0`],default_model:`opus[1m]`,default_session_mode:`bypassPermissions`,display_name:`Claude Code`,env_conflicts:[{dominant:`CLAUDE_CODE_OAUTH_TOKEN`,strip:[`ANTHROPIC_API_KEY`,`ANTHROPIC_BASE_URL`]}],file_secrets:[],key:`claude-code`,session_meta_key:`claudeCode`,supports_runtime_model_switch:!0,supports_set_session_model:!0},codex:{agent_name_patterns:[`codex-acp`],api_key_env_var:`OPENAI_API_KEY`,available_models:[{id:`gpt-6-astra`,label:`GPT-6 Astra`},{id:`gpt-5.6-sol`,label:`GPT-5.6 Sol`},{id:`gpt-5.6-terra`,label:`GPT-5.6 Terra`},{id:`gpt-5.6-luna`,label:`GPT-5.6 Luna`},{id:`gpt-5.5`,label:`GPT-5.5`}],base_url_env_var:`OPENAI_BASE_URL`,binary_name:`codex-acp`,data_dir_env_var:`CODEX_HOME`,default_command:[`npx`,`-y`,`--prefer-offline`,`@agentclientprotocol/codex-acp@1.10.0`],default_model:`gpt-5.5`,default_session_mode:`agent-full-access`,display_name:`Codex`,env_conflicts:[],file_secrets:[{env_points_to:`dir`,env_var:`CODEX_HOME`,filename:`auth.json`,secret_name:`CODEX_AUTH_JSON`,subdir:`codex`,warn_if_unset:[]}],key:`codex`,session_meta_key:null,supports_runtime_model_switch:!0,supports_set_session_model:!0},"gemini-cli":{agent_name_patterns:[`gemini-cli`],api_key_env_var:`GEMINI_API_KEY`,available_models:[{id:`auto`,label:`Auto`},{id:`gemini-3.1-pro-preview`,label:`Gemini 3.1 Pro (preview)`},{id:`gemini-3-pro-preview`,label:`Gemini 3 Pro (preview)`},{id:`gemini-3-flash-preview`,label:`Gemini 3 Flash (preview)`},{id:`gemini-3.1-flash-lite`,label:`Gemini 3.1 Flash Lite`},{id:`gemini-2.5-pro`,label:`Gemini 2.5 Pro`},{id:`gemini-2.5-flash`,label:`Gemini 2.5 Flash`}],base_url_env_var:`GEMINI_BASE_URL`,binary_name:`gemini`,data_dir_env_var:`HOME`,default_command:[`npx`,`-y`,`--prefer-offline`,`@google/gemini-cli@0.46.0`,`--acp`],default_model:`auto`,default_session_mode:`default`,display_name:`Gemini CLI`,env_conflicts:[],file_secrets:[{env_points_to:`file`,env_var:`GOOGLE_APPLICATION_CREDENTIALS`,filename:`gcloud-credentials.json`,secret_name:`GOOGLE_APPLICATION_CREDENTIALS_JSON`,subdir:`gemini-cli`,warn_if_unset:[`GOOGLE_CLOUD_PROJECT`,`GOOGLE_CLOUD_LOCATION`]}],key:`gemini-cli`,session_meta_key:null,supports_runtime_model_switch:!0,supports_set_session_model:!0},"kimi-code":{agent_name_patterns:[`kimi`],api_key_env_var:null,available_models:[],base_url_env_var:`KIMI_BASE_URL`,binary_name:`kimi`,data_dir_env_var:`KIMI_CODE_HOME`,default_command:[`npx`,`-y`,`--prefer-offline`,`@moonshot-ai/kimi-code@0.38.0`,`acp`],default_model:null,default_session_mode:`yolo`,display_name:`Kimi Code`,env_conflicts:[],file_secrets:[{env_points_to:`dir`,env_var:`KIMI_CODE_HOME`,filename:`config.toml`,secret_name:`KIMI_CODE_CONFIG_TOML`,subdir:`kimi-code`,warn_if_unset:[]}],key:`kimi-code`,session_meta_key:null,supports_runtime_model_switch:!0,supports_set_session_model:!0},opencode:{agent_name_patterns:[`opencode`],api_key_env_var:`OPENCODE_API_KEY`,available_models:[{id:`opencode/big-pickle`,label:`Big Pickle`},{id:`opencode/claude-opus-5`,label:`Claude Opus 5`},{id:`opencode/claude-sonnet-5`,label:`Claude Sonnet 5`},{id:`opencode/gpt-5.5`,label:`GPT-5.5`},{id:`opencode/gemini-3.1-pro`,label:`Gemini 3.1 Pro`},{id:`opencode/kimi-k3`,label:`Kimi K3`},{id:`opencode/nemotron-3-ultra-free`,label:`Nemotron 3 Ultra (free)`}],base_url_env_var:null,binary_name:`opencode`,data_dir_env_var:`HOME`,default_command:[`npx`,`-y`,`--prefer-offline`,`opencode-ai@1.18.23`,`acp`],default_model:`opencode/big-pickle`,default_session_mode:`build`,display_name:`OpenCode`,env_conflicts:[],file_secrets:[],key:`opencode`,session_meta_key:null,supports_runtime_model_switch:!0,supports_set_session_model:!0},pi:{agent_name_patterns:[`pi-acp`],api_key_env_var:`ANTHROPIC_API_KEY`,available_models:[{id:`anthropic/claude-opus-5`,label:`Claude Opus 5`},{id:`anthropic/claude-opus-4-8`,label:`Claude Opus 4.8`},{id:`anthropic/claude-sonnet-5`,label:`Claude Sonnet 5`},{id:`anthropic/claude-sonnet-4-6`,label:`Claude Sonnet 4.6`},{id:`anthropic/claude-haiku-4-5`,label:`Claude Haiku 4.5`}],base_url_env_var:null,binary_name:`pi-acp`,data_dir_env_var:`HOME`,default_command:[`npx`,`-y`,`--prefer-offline`,`--package=pi-acp@0.0.33`,`--package=@earendil-works/pi-coding-agent@0.83.0`,`pi-acp`],default_model:null,default_session_mode:null,display_name:`Pi`,env_conflicts:[],file_secrets:[{env_points_to:`dir`,env_var:`PI_CODING_AGENT_DIR`,filename:`auth.json`,secret_name:`PI_AUTH_JSON`,subdir:`pi`,warn_if_unset:[]}],key:`pi`,session_meta_key:null,supports_runtime_model_switch:!0,supports_set_session_model:!0}};exports.default=e;
|
|
2
2
|
//# sourceMappingURL=acp-providers.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acp-providers.cjs","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/models/acp-providers.json"],"sourcesContent":["{\n \"claude-code\": {\n \"
|
|
1
|
+
{"version":3,"file":"acp-providers.cjs","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/models/acp-providers.json"],"sourcesContent":["{\n \"claude-code\": {\n \"agent_name_patterns\": [\n \"claude-agent\"\n ],\n \"api_key_env_var\": \"ANTHROPIC_API_KEY\",\n \"available_models\": [\n {\n \"id\": \"default\",\n \"label\": \"Default (recommended)\"\n },\n {\n \"id\": \"opus[1m]\",\n \"label\": \"Claude Opus (1M)\"\n },\n {\n \"id\": \"claude-opus-5\",\n \"label\": \"Claude Opus 5\"\n },\n {\n \"id\": \"sonnet\",\n \"label\": \"Claude Sonnet\"\n },\n {\n \"id\": \"haiku\",\n \"label\": \"Claude Haiku\"\n }\n ],\n \"base_url_env_var\": \"ANTHROPIC_BASE_URL\",\n \"binary_name\": \"claude-agent-acp\",\n \"data_dir_env_var\": \"CLAUDE_CONFIG_DIR\",\n \"default_command\": [\n \"npx\",\n \"-y\",\n \"--prefer-offline\",\n \"@agentclientprotocol/claude-agent-acp@0.63.0\"\n ],\n \"default_model\": \"opus[1m]\",\n \"default_session_mode\": \"bypassPermissions\",\n \"display_name\": \"Claude Code\",\n \"env_conflicts\": [\n {\n \"dominant\": \"CLAUDE_CODE_OAUTH_TOKEN\",\n \"strip\": [\n \"ANTHROPIC_API_KEY\",\n \"ANTHROPIC_BASE_URL\"\n ]\n }\n ],\n \"file_secrets\": [],\n \"key\": \"claude-code\",\n \"session_meta_key\": \"claudeCode\",\n \"supports_runtime_model_switch\": true,\n \"supports_set_session_model\": true\n },\n \"codex\": {\n \"agent_name_patterns\": [\n \"codex-acp\"\n ],\n \"api_key_env_var\": \"OPENAI_API_KEY\",\n \"available_models\": [\n {\n \"id\": \"gpt-6-astra\",\n \"label\": \"GPT-6 Astra\"\n },\n {\n \"id\": \"gpt-5.6-sol\",\n \"label\": \"GPT-5.6 Sol\"\n },\n {\n \"id\": \"gpt-5.6-terra\",\n \"label\": \"GPT-5.6 Terra\"\n },\n {\n \"id\": \"gpt-5.6-luna\",\n \"label\": \"GPT-5.6 Luna\"\n },\n {\n \"id\": \"gpt-5.5\",\n \"label\": \"GPT-5.5\"\n }\n ],\n \"base_url_env_var\": \"OPENAI_BASE_URL\",\n \"binary_name\": \"codex-acp\",\n \"data_dir_env_var\": \"CODEX_HOME\",\n \"default_command\": [\n \"npx\",\n \"-y\",\n \"--prefer-offline\",\n \"@agentclientprotocol/codex-acp@1.10.0\"\n ],\n \"default_model\": \"gpt-5.5\",\n \"default_session_mode\": \"agent-full-access\",\n \"display_name\": \"Codex\",\n \"env_conflicts\": [],\n \"file_secrets\": [\n {\n \"env_points_to\": \"dir\",\n \"env_var\": \"CODEX_HOME\",\n \"filename\": \"auth.json\",\n \"secret_name\": \"CODEX_AUTH_JSON\",\n \"subdir\": \"codex\",\n \"warn_if_unset\": []\n }\n ],\n \"key\": \"codex\",\n \"session_meta_key\": null,\n \"supports_runtime_model_switch\": true,\n \"supports_set_session_model\": true\n },\n \"gemini-cli\": {\n \"agent_name_patterns\": [\n \"gemini-cli\"\n ],\n \"api_key_env_var\": \"GEMINI_API_KEY\",\n \"available_models\": [\n {\n \"id\": \"auto\",\n \"label\": \"Auto\"\n },\n {\n \"id\": \"gemini-3.1-pro-preview\",\n \"label\": \"Gemini 3.1 Pro (preview)\"\n },\n {\n \"id\": \"gemini-3-pro-preview\",\n \"label\": \"Gemini 3 Pro (preview)\"\n },\n {\n \"id\": \"gemini-3-flash-preview\",\n \"label\": \"Gemini 3 Flash (preview)\"\n },\n {\n \"id\": \"gemini-3.1-flash-lite\",\n \"label\": \"Gemini 3.1 Flash Lite\"\n },\n {\n \"id\": \"gemini-2.5-pro\",\n \"label\": \"Gemini 2.5 Pro\"\n },\n {\n \"id\": \"gemini-2.5-flash\",\n \"label\": \"Gemini 2.5 Flash\"\n }\n ],\n \"base_url_env_var\": \"GEMINI_BASE_URL\",\n \"binary_name\": \"gemini\",\n \"data_dir_env_var\": \"HOME\",\n \"default_command\": [\n \"npx\",\n \"-y\",\n \"--prefer-offline\",\n \"@google/gemini-cli@0.46.0\",\n \"--acp\"\n ],\n \"default_model\": \"auto\",\n \"default_session_mode\": \"default\",\n \"display_name\": \"Gemini CLI\",\n \"env_conflicts\": [],\n \"file_secrets\": [\n {\n \"env_points_to\": \"file\",\n \"env_var\": \"GOOGLE_APPLICATION_CREDENTIALS\",\n \"filename\": \"gcloud-credentials.json\",\n \"secret_name\": \"GOOGLE_APPLICATION_CREDENTIALS_JSON\",\n \"subdir\": \"gemini-cli\",\n \"warn_if_unset\": [\n \"GOOGLE_CLOUD_PROJECT\",\n \"GOOGLE_CLOUD_LOCATION\"\n ]\n }\n ],\n \"key\": \"gemini-cli\",\n \"session_meta_key\": null,\n \"supports_runtime_model_switch\": true,\n \"supports_set_session_model\": true\n },\n \"kimi-code\": {\n \"agent_name_patterns\": [\n \"kimi\"\n ],\n \"api_key_env_var\": null,\n \"available_models\": [],\n \"base_url_env_var\": \"KIMI_BASE_URL\",\n \"binary_name\": \"kimi\",\n \"data_dir_env_var\": \"KIMI_CODE_HOME\",\n \"default_command\": [\n \"npx\",\n \"-y\",\n \"--prefer-offline\",\n \"@moonshot-ai/kimi-code@0.38.0\",\n \"acp\"\n ],\n \"default_model\": null,\n \"default_session_mode\": \"yolo\",\n \"display_name\": \"Kimi Code\",\n \"env_conflicts\": [],\n \"file_secrets\": [\n {\n \"env_points_to\": \"dir\",\n \"env_var\": \"KIMI_CODE_HOME\",\n \"filename\": \"config.toml\",\n \"secret_name\": \"KIMI_CODE_CONFIG_TOML\",\n \"subdir\": \"kimi-code\",\n \"warn_if_unset\": []\n }\n ],\n \"key\": \"kimi-code\",\n \"session_meta_key\": null,\n \"supports_runtime_model_switch\": true,\n \"supports_set_session_model\": true\n },\n \"opencode\": {\n \"agent_name_patterns\": [\n \"opencode\"\n ],\n \"api_key_env_var\": \"OPENCODE_API_KEY\",\n \"available_models\": [\n {\n \"id\": \"opencode/big-pickle\",\n \"label\": \"Big Pickle\"\n },\n {\n \"id\": \"opencode/claude-opus-5\",\n \"label\": \"Claude Opus 5\"\n },\n {\n \"id\": \"opencode/claude-sonnet-5\",\n \"label\": \"Claude Sonnet 5\"\n },\n {\n \"id\": \"opencode/gpt-5.5\",\n \"label\": \"GPT-5.5\"\n },\n {\n \"id\": \"opencode/gemini-3.1-pro\",\n \"label\": \"Gemini 3.1 Pro\"\n },\n {\n \"id\": \"opencode/kimi-k3\",\n \"label\": \"Kimi K3\"\n },\n {\n \"id\": \"opencode/nemotron-3-ultra-free\",\n \"label\": \"Nemotron 3 Ultra (free)\"\n }\n ],\n \"base_url_env_var\": null,\n \"binary_name\": \"opencode\",\n \"data_dir_env_var\": \"HOME\",\n \"default_command\": [\n \"npx\",\n \"-y\",\n \"--prefer-offline\",\n \"opencode-ai@1.18.23\",\n \"acp\"\n ],\n \"default_model\": \"opencode/big-pickle\",\n \"default_session_mode\": \"build\",\n \"display_name\": \"OpenCode\",\n \"env_conflicts\": [],\n \"file_secrets\": [],\n \"key\": \"opencode\",\n \"session_meta_key\": null,\n \"supports_runtime_model_switch\": true,\n \"supports_set_session_model\": true\n },\n \"pi\": {\n \"agent_name_patterns\": [\n \"pi-acp\"\n ],\n \"api_key_env_var\": \"ANTHROPIC_API_KEY\",\n \"available_models\": [\n {\n \"id\": \"anthropic/claude-opus-5\",\n \"label\": \"Claude Opus 5\"\n },\n {\n \"id\": \"anthropic/claude-opus-4-8\",\n \"label\": \"Claude Opus 4.8\"\n },\n {\n \"id\": \"anthropic/claude-sonnet-5\",\n \"label\": \"Claude Sonnet 5\"\n },\n {\n \"id\": \"anthropic/claude-sonnet-4-6\",\n \"label\": \"Claude Sonnet 4.6\"\n },\n {\n \"id\": \"anthropic/claude-haiku-4-5\",\n \"label\": \"Claude Haiku 4.5\"\n }\n ],\n \"base_url_env_var\": null,\n \"binary_name\": \"pi-acp\",\n \"data_dir_env_var\": \"HOME\",\n \"default_command\": [\n \"npx\",\n \"-y\",\n \"--prefer-offline\",\n \"--package=pi-acp@0.0.33\",\n \"--package=@earendil-works/pi-coding-agent@0.83.0\",\n \"pi-acp\"\n ],\n \"default_model\": null,\n \"default_session_mode\": null,\n \"display_name\": \"Pi\",\n \"env_conflicts\": [],\n \"file_secrets\": [\n {\n \"env_points_to\": \"dir\",\n \"env_var\": \"PI_CODING_AGENT_DIR\",\n \"filename\": \"auth.json\",\n \"secret_name\": \"PI_AUTH_JSON\",\n \"subdir\": \"pi\",\n \"warn_if_unset\": []\n }\n ],\n \"key\": \"pi\",\n \"session_meta_key\": null,\n \"supports_runtime_model_switch\": true,\n \"supports_set_session_model\": true\n }\n}\n"],"x_google_ignoreList":[0],"mappings":""}
|