@openhands/agent-canvas 1.18.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/README.md +1 -1
  2. package/README.windows.md +2 -2
  3. package/build/assets/acp-providers-DOKcGeaV.js +1 -0
  4. package/build/assets/active-backend-context-BETEdaJl.js +2 -0
  5. package/build/assets/{agent-context-settings-D3peZkjX.js → agent-context-settings-Dir0loAn.js} +1 -1
  6. package/build/assets/{agent-profiles-service.api-DkeZaqIl.js → agent-profiles-service.api-CiMVQAIT.js} +1 -1
  7. package/build/assets/{agent-profiles-settings-7yMWYjGF.js → agent-profiles-settings-CT5owzRT.js} +1 -1
  8. package/build/assets/agent-server-conversation-service.api-BtOlitCD.js +88 -0
  9. package/build/assets/agent-settings-BnzyTgCb.js +2 -0
  10. package/build/assets/agent-settings-CeXj3xK-.js +1 -0
  11. package/build/assets/{alert-banner-eYyqvHL3.js → alert-banner-Ccx1Du6n.js} +1 -1
  12. package/build/assets/{api-key-entry-screen-CCBvBD8u.js → api-key-entry-screen-DXIuzBjY.js} +1 -1
  13. package/build/assets/{app-settings-BtYDs-Be.js → app-settings-DkIJVTKL.js} +1 -1
  14. package/build/assets/automation-detail-CF2SweVs.js +3 -0
  15. package/build/assets/automation-disabled-reason-QFtMrdOr.js +1 -0
  16. package/build/assets/{automation-export-BJsfi7n2.js → automation-export-CkvehhPF.js} +1 -1
  17. package/build/assets/{automation-git-sync-B7o_Nbl-.js → automation-git-sync-di4tBAyZ.js} +1 -1
  18. package/build/assets/automation-setup-route-FERj7WEe.js +3 -0
  19. package/build/assets/{automation-templates-Bb98r-kx.js → automation-templates-DlaCRvD-.js} +1 -1
  20. package/build/assets/automations-list-yK7ETmYP.js +1 -0
  21. package/build/assets/{back-nav-button-B2yBiVMB.js → back-nav-button-oDvIxpQ5.js} +1 -1
  22. package/build/assets/backend-form-modal-DzYf_arO.js +1 -0
  23. package/build/assets/{backend-synced-settings-badge-DLEp6cq7.js → backend-synced-settings-badge-DXDDHWX4.js} +1 -1
  24. package/build/assets/{badge-ehL-kgeO.js → badge-CDHZEVeN.js} +1 -1
  25. package/build/assets/{base-modal-C1a0TsSx.js → base-modal-CZq4kB_H.js} +1 -1
  26. package/build/assets/{brand-button-CUMfjb99.js → brand-button-CGUwj6zK.js} +1 -1
  27. package/build/assets/{browser-SE24Tk8g.js → browser-kY6jN61T.js} +2 -2
  28. package/build/assets/{browser-tab-HjJxHA0V.js → browser-tab-DFyZXsnB.js} +1 -1
  29. package/build/assets/{canvas-extension-page-BsUGBb1T.js → canvas-extension-page-DsGq1DtT.js} +1 -1
  30. package/build/assets/{canvas-extensions-C9Tm6s_E.js → canvas-extensions-Cb2Z0Hdc.js} +1 -1
  31. package/build/assets/{canvas-extensions-runtime-B8kxM4rO.js → canvas-extensions-runtime-DS6eT4nK.js} +1 -1
  32. package/build/assets/{chat-send-button-CGvc2wpE.js → chat-send-button-B6aVaD9V.js} +1 -1
  33. package/build/assets/{circle-plus-check-toggle-BDX_ctNs.js → circle-plus-check-toggle-ZOXpJ3I2.js} +1 -1
  34. package/build/assets/{cloud-funnel-analytics-D5uJ_4JE.js → cloud-funnel-analytics-BH_zxjiO.js} +1 -1
  35. package/build/assets/{cog-CAEugqtV.js → cog-DVZT1f0s.js} +1 -1
  36. package/build/assets/{command-menu-CQxs4mtX.js → command-menu-ImeHQ6c2.js} +1 -1
  37. package/build/assets/{commits-tab-D0xgjipP.js → commits-tab-B5SUF66c.js} +1 -1
  38. package/build/assets/{condenser-settings-D63NJRBT.js → condenser-settings-BlGOXEXM.js} +1 -1
  39. package/build/assets/{confirmation-modal-78sd9Vny.js → confirmation-modal-oN1EId79.js} +1 -1
  40. package/build/assets/{context-menu-list-item-Cm7-7Y-7.js → context-menu-list-item-DIm5xQg6.js} +1 -1
  41. package/build/assets/{conversation-B_nweu5p.js → conversation-9a53tdbO.js} +4 -4
  42. package/build/assets/conversation-XRsI28ZM.js +1 -0
  43. package/build/assets/conversation-panel-XRsI28ZM.js +1 -0
  44. package/build/assets/{conversation-state-store-9D_3P7q4.js → conversation-state-store-Br-eE-gg.js} +1 -1
  45. package/build/assets/{conversation-tab-empty-state-B3dpJXX0.js → conversation-tab-empty-state-BT1GrnKP.js} +1 -1
  46. package/build/assets/{copy-to-clipboard-button-B1ljgNxO.js → copy-to-clipboard-button-CvTHqY13.js} +1 -1
  47. package/build/assets/{device-verify-D5QRIS_x.js → device-verify-DX0xdNjo.js} +1 -1
  48. package/build/assets/{dropdown-classes-BGvOvW2_.js → dropdown-classes-DyyMaaXl.js} +1 -1
  49. package/build/assets/edit-automation-modal-bfD-5NIc.js +1 -0
  50. package/build/assets/empty-state-B5advKVW.js +1 -0
  51. package/build/assets/{entry.client-BMafTpjO.js → entry.client-D_2gnSyB.js} +2 -2
  52. package/build/assets/{enum-filter-dropdown-UNaom12H.js → enum-filter-dropdown-VAJp5mqh.js} +1 -1
  53. package/build/assets/{environment-switch-overlay-COibRUA-.js → environment-switch-overlay-C7x_yhEs.js} +1 -1
  54. package/build/assets/{error-state-Cf8LRuuY.js → error-state-BgYl7YeB.js} +1 -1
  55. package/build/assets/{extensions-hub-C_6ahIua.js → extensions-hub-DjhOed1I.js} +1 -1
  56. package/build/assets/{extensions-navigation-C5GfpzFe.js → extensions-navigation-Di-J2KUR.js} +1 -1
  57. package/build/assets/{files-tab-D5PPIWI1.js → files-tab-BNDp3e_x.js} +1 -1
  58. package/build/assets/{form-control-classes-Dbq-7YP_.js → form-control-classes-BVI_szaj.js} +1 -1
  59. package/build/assets/{get-git-path-jU2zjqIB.js → get-git-path-DOe6PM_a.js} +1 -1
  60. package/build/assets/git-repo-dropdown-1fZGYtYm.js +1 -0
  61. package/build/assets/{git-repo-dropdown-uxlFw2gn.js → git-repo-dropdown-DNlinQ7r.js} +1 -1
  62. package/build/assets/{highlighted-source-view-C7pAXrT0.js → highlighted-source-view-DPerL6tF.js} +1 -1
  63. package/build/assets/home-4lyLzYjG.js +1 -0
  64. package/build/assets/home-BGaB0EeK.js +1 -0
  65. package/build/assets/home-automation-run-tooltip-v5n7zXR0.js +1 -0
  66. package/build/assets/{home-store-DCbei3DX.js → home-store-roz1x6D5.js} +1 -1
  67. package/build/assets/{hooks-service-Dnmhqc0Z.js → hooks-service-tzRqtAlm.js} +1 -1
  68. package/build/assets/index-home-6Y_Y7kOo.js +1 -0
  69. package/build/assets/{install-server-modal-B81I-5OE.js → install-server-modal-DkMCfj0J.js} +1 -1
  70. package/build/assets/{key-O84CMFHb.js → key-DpfBWQbk.js} +1 -1
  71. package/build/assets/{launch-ZLxI4opd.js → launch-TrnYlJe6.js} +1 -1
  72. package/build/assets/link-external-B4gx3EeM.js +1 -0
  73. package/build/assets/llm-not-configured-banner-BdjItKQR.js +27 -0
  74. package/build/assets/{llm-settings-CODhjQzy.js → llm-settings-CUgt39uu.js} +1 -1
  75. package/build/assets/llm-settings-DEfw-fUJ.js +1 -0
  76. package/build/assets/{llm-subscription-service-CgIDc38n.js → llm-subscription-service-LGYVzyAc.js} +1 -1
  77. package/build/assets/{loading-spinner-BeLV0IXf.js → loading-spinner-BJc2J0Dw.js} +1 -1
  78. package/build/assets/{manage-backends-modal-cMXqCb-B.js → manage-backends-modal-CIjk0B2H.js} +1 -1
  79. package/build/assets/manifest-23d79467.js +1 -0
  80. package/build/assets/{manifest-subpage-layout-CVZgVKoY.js → manifest-subpage-layout-DGYRoP_8.js} +1 -1
  81. package/build/assets/{markdown-renderer-DyFl9-mL.js → markdown-renderer-DRpwRlNm.js} +1 -1
  82. package/build/assets/mcp-CoUOIGBF.js +1 -0
  83. package/build/assets/mcp-installed-servers-BW51n6PC.js +1 -0
  84. package/build/assets/mcp-marketplace-utils-BwEnDYqm.js +1 -0
  85. package/build/assets/mcp-page-hZ4aJjj_.js +9 -0
  86. package/build/assets/{messages-Bk1xhbU2.js → messages-WUb9Yh-p.js} +4 -4
  87. package/build/assets/{modal-body-C24WsdFb.js → modal-body-B_95ci1c.js} +1 -1
  88. package/build/assets/{modal-classes-B0b9eiL8.js → modal-classes-BPcBCWVj.js} +1 -1
  89. package/build/assets/{modal-close-button-DfqfB2Nj.js → modal-close-button-Cq3dma5u.js} +1 -1
  90. package/build/assets/onboarding-Cc4Av7bi.js +1 -0
  91. package/build/assets/{onboarding-modal-BT3Gx_sZ.js → onboarding-modal-DCFD4Dsa.js} +1 -1
  92. package/build/assets/{organization-service.api-B5CvmnYQ.js → organization-service.api-zhHpQU0t.js} +1 -1
  93. package/build/assets/parse-git-remote-url-BG8pcKL8.js +1 -0
  94. package/build/assets/{planner-tab-CstoOlAB.js → planner-tab-yISBVUKu.js} +1 -1
  95. package/build/assets/{plugins-management-service-5rqVPEGN.js → plugins-management-service-2oP6_tWr.js} +1 -1
  96. package/build/assets/{profiles-service.api-D1XKMgr0.js → profiles-service.api-B5thiTI3.js} +1 -1
  97. package/build/assets/{providers-XmZ9HM4Q.js → providers-Co9PsD0s.js} +1 -1
  98. package/build/assets/{proxy-XP6U1Dhv.js → proxy-BCCQUna8.js} +1 -1
  99. package/build/assets/recommended-automations-launcher-D1Do753p.js +1 -0
  100. package/build/assets/root-D1y82Lhg.js +2 -0
  101. package/build/assets/{root-layout-DUquNZTU.js → root-layout-cQTYEG2w.js} +2 -2
  102. package/build/assets/root-sEWn3ha1.css +1 -0
  103. package/build/assets/{schema-field-Y3F8JvXd.js → schema-field-DSi0d7a8.js} +1 -1
  104. package/build/assets/{sdk-section-page-CNZTLwH9.js → sdk-section-page-DCoI2dtd.js} +1 -1
  105. package/build/assets/{secret-form-9-BoGA40.js → secret-form-BDvzojzN.js} +1 -1
  106. package/build/assets/{secrets-service-BOIsfD9j.js → secrets-service-C3CNNEpY.js} +1 -1
  107. package/build/assets/{secrets-settings-CBJgFr42.js → secrets-settings-BKqfYQt5.js} +1 -1
  108. package/build/assets/{settings-D4hdToD4.js → settings-C8ZLONyx.js} +1 -1
  109. package/build/assets/{settings-dropdown-input-DBvsZ7-Q.js → settings-dropdown-input-Df_HXRk4.js} +1 -1
  110. package/build/assets/{settings-index-DeQphyBK.js → settings-index-BWvlGHg3.js} +1 -1
  111. package/build/assets/{settings-input-dVuzapBA.js → settings-input-B3i5U9GL.js} +1 -1
  112. package/build/assets/{settings-list-classes-DhAPuXm6.js → settings-list-classes-DbqcSiVW.js} +1 -1
  113. package/build/assets/{settings-modal-tHiJ8iYV.js → settings-modal-DHKJSBPL.js} +1 -1
  114. package/build/assets/{settings-nav-GAQjW1a-.js → settings-nav-BThjwLWD.js} +1 -1
  115. package/build/assets/{settings-service.api-C1vZH9Vh.js → settings-service.api-CYBTLGOd.js} +1 -1
  116. package/build/assets/{settings-switch-DDd1cQ8t.js → settings-switch-CI93Iozg.js} +1 -1
  117. package/build/assets/{shared-conversation-Cyg7m7ns.js → shared-conversation-C7OILS-U.js} +1 -1
  118. package/build/assets/{sidebar-layout-DH0E-5KW.js → sidebar-layout-Csb6Geq0.js} +1 -1
  119. package/build/assets/{sidebar-mobile-menu-toggle-CQ4iky__.js → sidebar-mobile-menu-toggle-B2xwXm4s.js} +1 -1
  120. package/build/assets/{sidebar-nav-link-oLQiKUBu.js → sidebar-nav-link-Xv7QEMVS.js} +1 -1
  121. package/build/assets/{sidebar-onboarding-checklist-storage-TfvNNnnr.js → sidebar-onboarding-checklist-storage-_zxMqHS0.js} +1 -1
  122. package/build/assets/{skill-card-pill-row-DfjIfj0K.js → skill-card-pill-row-CxOFySng.js} +1 -1
  123. package/build/assets/{skill-enablement-DXeaImBz.js → skill-enablement-BBKya60C.js} +1 -1
  124. package/build/assets/{skill-filter-DsNLmn76.js → skill-filter-BvtbD--b.js} +1 -1
  125. package/build/assets/{skill-icon-badge-0MK_68Nc.js → skill-icon-badge-CVxE42yg.js} +1 -1
  126. package/build/assets/{skill-scope-BE-H9TSZ.js → skill-scope-C0NxJnpT.js} +1 -1
  127. package/build/assets/{skills-plugins-vzSdxSk_.js → skills-plugins-BGjX4jve.js} +1 -1
  128. package/build/assets/{skills-settings-BiPOH9H9.js → skills-settings-d3ZwIjSP.js} +1 -1
  129. package/build/assets/{styled-tooltip-CejG0rqv.js → styled-tooltip-CknPQH4Y.js} +1 -1
  130. package/build/assets/{task-list-tab-OkZSqnTp.js → task-list-tab-CQisRcPh.js} +1 -1
  131. package/build/assets/{terminal-Dph60VFZ.js → terminal-Bs50gJPC.js} +1 -1
  132. package/build/assets/{toggle-switch-B2uXaAUS.js → toggle-switch-D3TBxlsc.js} +1 -1
  133. package/build/assets/trash-D1QMHInX.js +1 -0
  134. package/build/assets/{typography-DgcLGdHk.js → typography-BdAApXGl.js} +1 -1
  135. package/build/assets/{usage-tab-MCmNRAnR.js → usage-tab-ClVHAFJy.js} +1 -1
  136. package/build/assets/{use-acp-credential-form-ychoGqjC.js → use-acp-credential-form-GfqcTJl5.js} +1 -1
  137. package/build/assets/{use-activate-agent-profile-8L8Xdghy.js → use-activate-agent-profile-DO6SNPkK.js} +1 -1
  138. package/build/assets/{use-agent-profiles-Bi8hSkze.js → use-agent-profiles-YsBlt3tT.js} +1 -1
  139. package/build/assets/{use-automation-health-U99vvHxx.js → use-automation-health-CbQ9n-k7.js} +1 -1
  140. package/build/assets/{use-automation-permissions-Buus0R6h.js → use-automation-permissions-gFy-2VD0.js} +1 -1
  141. package/build/assets/{use-automations-Bq5hVuv0.js → use-automations-7_XBXHQK.js} +1 -1
  142. package/build/assets/{use-can-manage-org-profiles-MzIeEV8F.js → use-can-manage-org-profiles-Dt4YkPO7.js} +1 -1
  143. package/build/assets/{use-canvas-extensions-Ca9KoVEm.js → use-canvas-extensions-BhYQrtMK.js} +1 -1
  144. package/build/assets/{use-cloud-current-user-id-B4ZLUZSa.js → use-cloud-current-user-id-Dqw6qQUg.js} +1 -1
  145. package/build/assets/{use-config-l5tkDHyD.js → use-config-BJ_FJCjV.js} +1 -1
  146. package/build/assets/use-create-conversation-D15Px574.js +1 -0
  147. package/build/assets/use-create-secret-D_qPU88t.js +1 -0
  148. package/build/assets/{use-free-models-gCsJ5BV0.js → use-free-models-FAk2nngq.js} +1 -1
  149. package/build/assets/{use-get-secrets-CMTuWEp_.js → use-get-secrets-Pbo9jh2A.js} +1 -1
  150. package/build/assets/{use-llm-configured-Dl4zg8ht.js → use-llm-configured-DF9BYmIe.js} +1 -1
  151. package/build/assets/{use-llm-profiles-SWsuFmFu.js → use-llm-profiles-U4u1gzuk.js} +1 -1
  152. package/build/assets/use-manifest-capabilities-D81_YdAF.js +1 -0
  153. package/build/assets/{use-onboarding-completion-Xl63ZvzQ.js → use-onboarding-completion-C4W-m2Jk.js} +1 -1
  154. package/build/assets/{use-pinned-home-route-BXDIUaxQ.js → use-pinned-home-route-DByWTojw.js} +1 -1
  155. package/build/assets/{use-plugins-marketplace-BIIaPiaB.js → use-plugins-marketplace-CTRoukH0.js} +1 -1
  156. package/build/assets/{use-save-agent-profile-D-ZHHE94.js → use-save-agent-profile-xpHBxMZM.js} +1 -1
  157. package/build/assets/{use-save-settings-Dapkf4cC.js → use-save-settings-CmX41wlf.js} +1 -1
  158. package/build/assets/{use-settings-C2KKQKVC.js → use-settings-D69cw06D.js} +1 -1
  159. package/build/assets/{use-settings-nav-items-TOc0Rsfd.js → use-settings-nav-items-CVz0SnDr.js} +1 -1
  160. package/build/assets/use-tracking-BAFpgpgq.js +3 -0
  161. package/build/assets/{use-user-conversation-5UFqMoO4.js → use-user-conversation-BBDXUbOc.js} +1 -1
  162. package/build/assets/utils-CbjwNcR-.js +1 -0
  163. package/build/assets/{vendor~browser-hbU4u2Ag.js → vendor~browser-BZ-zIfb6.js} +1 -1
  164. package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~b0x1wrp2-DvZtOcoT.js +2 -0
  165. package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~mcp~automations-list~aut~ibfbmr9f-CxhwKuAd.js → vendor~root-layout~index-home~home~conversation-panel~conversation~mcp~automations-list~aut~ibfbmr9f-BIjRfQ4u.js} +1 -1
  166. package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~inibp4qe-BBfdJIV9.js +48 -0
  167. package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-3eJ4ExtV.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-fgzdgvrL.js} +3579 -165
  168. package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~jz4f6vo2-C7HiY4Ae.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~jz4f6vo2-BqdU447s.js} +794 -227
  169. package/build/assets/{verification-settings-DdBpaVPz.js → verification-settings-BXspn27q.js} +1 -1
  170. package/build/index.html +4 -4
  171. package/build/locales/ar/openhands.json +18 -1
  172. package/build/locales/ca/openhands.json +18 -1
  173. package/build/locales/de/openhands.json +18 -1
  174. package/build/locales/en/openhands.json +18 -1
  175. package/build/locales/es/openhands.json +18 -1
  176. package/build/locales/fr/openhands.json +18 -1
  177. package/build/locales/it/openhands.json +18 -1
  178. package/build/locales/ja/openhands.json +18 -1
  179. package/build/locales/ko-KR/openhands.json +18 -1
  180. package/build/locales/no/openhands.json +18 -1
  181. package/build/locales/pt/openhands.json +18 -1
  182. package/build/locales/tr/openhands.json +18 -1
  183. package/build/locales/uk/openhands.json +18 -1
  184. package/build/locales/zh-CN/openhands.json +18 -1
  185. package/build/locales/zh-TW/openhands.json +18 -1
  186. package/config/defaults.json +3 -3
  187. package/dist/api/agent-profiles-service/profile-field-support.d.ts +2 -0
  188. package/dist/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.cjs +3 -3
  189. package/dist/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.cjs.map +1 -1
  190. package/dist/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.js +12 -16
  191. package/dist/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.js.map +1 -1
  192. package/dist/components/features/automations/agent-profile-selector.d.ts +7 -0
  193. package/dist/components/features/automations/detail/disabled-reason-banner.d.ts +16 -0
  194. package/dist/components/features/home/featured-automations/home-automation-run-tooltip.cjs +1 -1
  195. package/dist/components/features/home/featured-automations/home-automation-run-tooltip.cjs.map +1 -1
  196. package/dist/components/features/home/featured-automations/home-automation-run-tooltip.js +38 -29
  197. package/dist/components/features/home/featured-automations/home-automation-run-tooltip.js.map +1 -1
  198. package/dist/components/features/settings/agent-profiles/profile-scope-list.d.ts +20 -0
  199. package/dist/config/defaults.cjs +1 -1
  200. package/dist/config/defaults.cjs.map +1 -1
  201. package/dist/config/defaults.js +3 -3
  202. package/dist/config/defaults.js.map +1 -1
  203. package/dist/constants/acp-providers.cjs +1 -1
  204. package/dist/constants/acp-providers.cjs.map +1 -1
  205. package/dist/constants/acp-providers.d.ts +0 -5
  206. package/dist/constants/acp-providers.js +20 -16
  207. package/dist/constants/acp-providers.js.map +1 -1
  208. package/dist/constants/profile-scope.d.ts +21 -0
  209. package/dist/hooks/mutation/use-create-conversation.cjs +1 -1
  210. package/dist/hooks/mutation/use-create-conversation.cjs.map +1 -1
  211. package/dist/hooks/mutation/use-create-conversation.js +30 -19
  212. package/dist/hooks/mutation/use-create-conversation.js.map +1 -1
  213. package/dist/hooks/mutation/use-switch-acp-model.cjs +1 -1
  214. package/dist/hooks/mutation/use-switch-acp-model.cjs.map +1 -1
  215. package/dist/hooks/mutation/use-switch-acp-model.js +11 -12
  216. package/dist/hooks/mutation/use-switch-acp-model.js.map +1 -1
  217. package/dist/hooks/query/query-keys.cjs +1 -1
  218. package/dist/hooks/query/query-keys.cjs.map +1 -1
  219. package/dist/hooks/query/query-keys.d.ts +1 -0
  220. package/dist/hooks/query/query-keys.js +10 -1
  221. package/dist/hooks/query/query-keys.js.map +1 -1
  222. package/dist/hooks/query/use-active-acp-profile-detail.cjs +1 -1
  223. package/dist/hooks/query/use-active-acp-profile-detail.cjs.map +1 -1
  224. package/dist/hooks/query/use-active-acp-profile-detail.d.ts +0 -9
  225. package/dist/hooks/query/use-active-acp-profile-detail.js +4 -13
  226. package/dist/hooks/query/use-active-acp-profile-detail.js.map +1 -1
  227. package/dist/hooks/query/use-automation-sdk-version.cjs +1 -1
  228. package/dist/hooks/query/use-automation-sdk-version.cjs.map +1 -1
  229. package/dist/hooks/query/use-automation-sdk-version.js +3 -1
  230. package/dist/hooks/query/use-automation-sdk-version.js.map +1 -1
  231. package/dist/hooks/use-drag-resize.cjs +1 -1
  232. package/dist/hooks/use-drag-resize.cjs.map +1 -1
  233. package/dist/hooks/use-drag-resize.js +8 -9
  234. package/dist/hooks/use-drag-resize.js.map +1 -1
  235. package/dist/i18n/declaration.cjs +1 -1
  236. package/dist/i18n/declaration.cjs.map +1 -1
  237. package/dist/i18n/declaration.d.ts +18 -1
  238. package/dist/i18n/declaration.js +1 -1
  239. package/dist/i18n/declaration.js.map +1 -1
  240. package/dist/i18n/translation.cjs +3 -3
  241. package/dist/i18n/translation.cjs.map +1 -1
  242. package/dist/i18n/translation.js +289 -0
  243. package/dist/i18n/translation.js.map +1 -1
  244. package/dist/locales/ar/openhands.json +18 -1
  245. package/dist/locales/ca/openhands.json +18 -1
  246. package/dist/locales/de/openhands.json +18 -1
  247. package/dist/locales/en/openhands.json +18 -1
  248. package/dist/locales/es/openhands.json +18 -1
  249. package/dist/locales/fr/openhands.json +18 -1
  250. package/dist/locales/it/openhands.json +18 -1
  251. package/dist/locales/ja/openhands.json +18 -1
  252. package/dist/locales/ko-KR/openhands.json +18 -1
  253. package/dist/locales/no/openhands.json +18 -1
  254. package/dist/locales/pt/openhands.json +18 -1
  255. package/dist/locales/tr/openhands.json +18 -1
  256. package/dist/locales/uk/openhands.json +18 -1
  257. package/dist/locales/zh-CN/openhands.json +18 -1
  258. package/dist/locales/zh-TW/openhands.json +18 -1
  259. package/dist/manifests/automation-setup.cjs.map +1 -1
  260. package/dist/manifests/automation-setup.js.map +1 -1
  261. package/dist/manifests/manifest-local-validation.cjs.map +1 -1
  262. package/dist/manifests/manifest-local-validation.js.map +1 -1
  263. package/dist/manifests/manifest-validation.cjs +1 -1
  264. package/dist/manifests/manifest-validation.cjs.map +1 -1
  265. package/dist/manifests/manifest-validation.js +2 -2
  266. package/dist/manifests/manifest-validation.js.map +1 -1
  267. package/dist/node_modules/@openhands/extensions/automations/bundle-index.cjs +3670 -247
  268. package/dist/node_modules/@openhands/extensions/automations/bundle-index.cjs.map +1 -1
  269. package/dist/node_modules/@openhands/extensions/automations/bundle-index.js +26 -3
  270. package/dist/node_modules/@openhands/extensions/automations/bundle-index.js.map +1 -1
  271. package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.cjs +1 -1
  272. package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.cjs.map +1 -1
  273. package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.js +4 -1
  274. package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.js.map +1 -1
  275. package/dist/node_modules/@openhands/extensions/automations/catalog/github-delivery-watchdog/manifest.cjs +2 -0
  276. package/dist/node_modules/@openhands/extensions/automations/catalog/github-delivery-watchdog/manifest.cjs.map +1 -0
  277. package/dist/node_modules/@openhands/extensions/automations/catalog/github-delivery-watchdog/manifest.js +79 -0
  278. package/dist/node_modules/@openhands/extensions/automations/catalog/github-delivery-watchdog/manifest.js.map +1 -0
  279. package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.cjs +1 -11
  280. package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.cjs.map +1 -1
  281. package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.js +25 -11
  282. package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.js.map +1 -1
  283. package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-triage/manifest.cjs +2 -0
  284. package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-triage/manifest.cjs.map +1 -0
  285. package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-triage/manifest.js +72 -0
  286. package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-triage/manifest.js.map +1 -0
  287. package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.cjs +1 -10
  288. package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.cjs.map +1 -1
  289. package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.js +24 -11
  290. package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.js.map +1 -1
  291. package/dist/node_modules/@openhands/extensions/automations/catalog/gitlab-issue-to-mr/manifest.cjs +12 -0
  292. package/dist/node_modules/@openhands/extensions/automations/catalog/gitlab-issue-to-mr/manifest.cjs.map +1 -0
  293. package/dist/node_modules/@openhands/extensions/automations/catalog/gitlab-issue-to-mr/manifest.js +115 -0
  294. package/dist/node_modules/@openhands/extensions/automations/catalog/gitlab-issue-to-mr/manifest.js.map +1 -0
  295. package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs +1 -1
  296. package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs.map +1 -1
  297. package/dist/node_modules/@openhands/extensions/automations/catalog-index.js +20 -14
  298. package/dist/node_modules/@openhands/extensions/automations/catalog-index.js.map +1 -1
  299. package/dist/node_modules/@openhands/extensions/integrations/catalog/reportportal.cjs +2 -0
  300. package/dist/node_modules/@openhands/extensions/integrations/catalog/reportportal.cjs.map +1 -0
  301. package/dist/node_modules/@openhands/extensions/integrations/catalog/reportportal.js +73 -0
  302. package/dist/node_modules/@openhands/extensions/integrations/catalog/reportportal.js.map +1 -0
  303. package/dist/node_modules/@openhands/extensions/integrations/catalog-index.cjs +1 -1
  304. package/dist/node_modules/@openhands/extensions/integrations/catalog-index.cjs.map +1 -1
  305. package/dist/node_modules/@openhands/extensions/integrations/catalog-index.js +9 -7
  306. package/dist/node_modules/@openhands/extensions/integrations/catalog-index.js.map +1 -1
  307. package/dist/node_modules/@openhands/extensions/skills/index.cjs +794 -227
  308. package/dist/node_modules/@openhands/extensions/skills/index.cjs.map +1 -1
  309. package/dist/node_modules/@openhands/extensions/skills/index.js +46 -6
  310. package/dist/node_modules/@openhands/extensions/skills/index.js.map +1 -1
  311. package/dist/node_modules/@openhands/typescript-client/dist/client/agent-server-compatibility.cjs +1 -1
  312. package/dist/node_modules/@openhands/typescript-client/dist/client/agent-server-compatibility.cjs.map +1 -1
  313. package/dist/node_modules/@openhands/typescript-client/dist/client/agent-server-compatibility.js +15 -8
  314. package/dist/node_modules/@openhands/typescript-client/dist/client/agent-server-compatibility.js.map +1 -1
  315. package/dist/node_modules/@openhands/typescript-client/dist/client/bash-client.cjs +1 -1
  316. package/dist/node_modules/@openhands/typescript-client/dist/client/bash-client.cjs.map +1 -1
  317. package/dist/node_modules/@openhands/typescript-client/dist/client/bash-client.js +11 -13
  318. package/dist/node_modules/@openhands/typescript-client/dist/client/bash-client.js.map +1 -1
  319. package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.cjs +1 -1
  320. package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.cjs.map +1 -1
  321. package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.js +6 -0
  322. package/dist/node_modules/@openhands/typescript-client/dist/client/conversation-client.js.map +1 -1
  323. package/dist/node_modules/@openhands/typescript-client/dist/client/file-client.cjs +1 -1
  324. package/dist/node_modules/@openhands/typescript-client/dist/client/file-client.cjs.map +1 -1
  325. package/dist/node_modules/@openhands/typescript-client/dist/client/file-client.js +9 -12
  326. package/dist/node_modules/@openhands/typescript-client/dist/client/file-client.js.map +1 -1
  327. package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.cjs +1 -1
  328. package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.cjs.map +1 -1
  329. package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.js +9 -10
  330. package/dist/node_modules/@openhands/typescript-client/dist/client/openhands-client.js.map +1 -1
  331. package/dist/node_modules/@openhands/typescript-client/dist/client/runtime-transport.cjs +2 -0
  332. package/dist/node_modules/@openhands/typescript-client/dist/client/runtime-transport.cjs.map +1 -0
  333. package/dist/node_modules/@openhands/typescript-client/dist/client/runtime-transport.js +41 -0
  334. package/dist/node_modules/@openhands/typescript-client/dist/client/runtime-transport.js.map +1 -0
  335. package/dist/node_modules/@openhands/typescript-client/dist/client/settings-client.cjs +1 -1
  336. package/dist/node_modules/@openhands/typescript-client/dist/client/settings-client.cjs.map +1 -1
  337. package/dist/node_modules/@openhands/typescript-client/dist/client/settings-client.js +2 -2
  338. package/dist/node_modules/@openhands/typescript-client/dist/client/settings-client.js.map +1 -1
  339. package/dist/node_modules/@openhands/typescript-client/dist/client/vscode-client.cjs +1 -1
  340. package/dist/node_modules/@openhands/typescript-client/dist/client/vscode-client.cjs.map +1 -1
  341. package/dist/node_modules/@openhands/typescript-client/dist/client/vscode-client.js +3 -6
  342. package/dist/node_modules/@openhands/typescript-client/dist/client/vscode-client.js.map +1 -1
  343. package/dist/node_modules/@openhands/typescript-client/dist/clients.cjs +1 -1
  344. package/dist/node_modules/@openhands/typescript-client/dist/clients.js +1 -2
  345. package/dist/node_modules/@openhands/typescript-client/dist/conversation/conversation-manager.cjs +1 -1
  346. package/dist/node_modules/@openhands/typescript-client/dist/conversation/conversation-manager.js +0 -1
  347. package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.cjs +1 -1
  348. package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.cjs.map +1 -1
  349. package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.js +199 -61
  350. package/dist/node_modules/@openhands/typescript-client/dist/models/acp-providers.js.map +1 -1
  351. package/dist/node_modules/@openhands/typescript-client/dist/workspace/remote-workspace.cjs +1 -1
  352. package/dist/node_modules/@openhands/typescript-client/dist/workspace/remote-workspace.cjs.map +1 -1
  353. package/dist/node_modules/@openhands/typescript-client/dist/workspace/remote-workspace.js +9 -8
  354. package/dist/node_modules/@openhands/typescript-client/dist/workspace/remote-workspace.js.map +1 -1
  355. package/dist/package.cjs +1 -1
  356. package/dist/package.cjs.map +1 -1
  357. package/dist/package.js +3 -3
  358. package/dist/package.js.map +1 -1
  359. package/dist/routes/agent-settings.d.ts +11 -0
  360. package/dist/types/automation.cjs.map +1 -1
  361. package/dist/types/automation.d.ts +26 -2
  362. package/dist/types/automation.js.map +1 -1
  363. package/dist/utils/automation-disabled-reason.cjs +2 -0
  364. package/dist/utils/automation-disabled-reason.cjs.map +1 -0
  365. package/dist/utils/automation-disabled-reason.d.ts +32 -0
  366. package/dist/utils/automation-disabled-reason.js +19 -0
  367. package/dist/utils/automation-disabled-reason.js.map +1 -0
  368. package/dist/utils/parse-git-remote-url.cjs +1 -1
  369. package/dist/utils/parse-git-remote-url.cjs.map +1 -1
  370. package/dist/utils/parse-git-remote-url.d.ts +5 -1
  371. package/dist/utils/parse-git-remote-url.js +20 -13
  372. package/dist/utils/parse-git-remote-url.js.map +1 -1
  373. package/package.json +3 -3
  374. package/scripts/check-sdk-version-sync.mjs +79 -8
  375. package/scripts/dev-safe.mjs +14 -1
  376. package/scripts/docker-build.mjs +3 -0
  377. package/scripts/static-server.mjs +24 -7
  378. package/build/assets/acp-providers-DcY_mKYa.js +0 -1
  379. package/build/assets/active-backend-context-BnH4-L8h.js +0 -2
  380. package/build/assets/agent-server-conversation-service.api-jiCopc2E.js +0 -88
  381. package/build/assets/agent-settings-BF8hM6wb.js +0 -2
  382. package/build/assets/agent-settings-YPutBAeR.js +0 -1
  383. package/build/assets/automation-detail-BxXhb_m2.js +0 -3
  384. package/build/assets/automation-setup-route-qaJ6lLCf.js +0 -3
  385. package/build/assets/automations-list-DEPVNud3.js +0 -1
  386. package/build/assets/backend-form-modal-DxisQV_6.js +0 -1
  387. package/build/assets/conversation-edjzrv5w.js +0 -1
  388. package/build/assets/conversation-panel-edjzrv5w.js +0 -1
  389. package/build/assets/edit-automation-modal-D_JWSmxT.js +0 -1
  390. package/build/assets/empty-state-FK_s1B60.js +0 -1
  391. package/build/assets/git-repo-dropdown-BoDDWXfX.js +0 -1
  392. package/build/assets/home-BM5_Wz_R.js +0 -1
  393. package/build/assets/home-Ivfm7KC4.js +0 -1
  394. package/build/assets/home-automation-run-tooltip-B1N2uO9p.js +0 -1
  395. package/build/assets/index-home-td9BN2T3.js +0 -1
  396. package/build/assets/kebab-menu-item-content-SCJBwZnp.js +0 -1
  397. package/build/assets/link-external-BNZzCM1I.js +0 -1
  398. package/build/assets/llm-not-configured-banner-Dh_ajcM8.js +0 -27
  399. package/build/assets/llm-settings-CZaXYgtw.js +0 -1
  400. package/build/assets/manifest-bfeccb98.js +0 -1
  401. package/build/assets/mcp-CraxoXQv.js +0 -1
  402. package/build/assets/mcp-marketplace-utils-C7PYr293.js +0 -1
  403. package/build/assets/mcp-page-CteH_K0N.js +0 -9
  404. package/build/assets/onboarding-DXFBRqEy.js +0 -1
  405. package/build/assets/parse-git-remote-url-DpDM9bK6.js +0 -1
  406. package/build/assets/recommended-automations-launcher-DEHRKIAg.js +0 -1
  407. package/build/assets/root-CM6IZHlg.css +0 -1
  408. package/build/assets/root-DdFkodKW.js +0 -2
  409. package/build/assets/trash-Ckh7yCaB.js +0 -1
  410. package/build/assets/use-create-conversation-i_PdFdIs.js +0 -1
  411. package/build/assets/use-create-secret-CjWq0J4O.js +0 -1
  412. package/build/assets/use-manifest-capabilities-CdqYfUAC.js +0 -1
  413. package/build/assets/use-tracking-j4uo9VEW.js +0 -3
  414. package/build/assets/utils-BgLSZdyy.js +0 -1
  415. package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~b0x1wrp2-Z0lly3FE.js +0 -2
  416. package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~inibp4qe-CnsDDzeE.js +0 -48
  417. package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs +0 -2
  418. package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.cjs.map +0 -1
  419. package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js +0 -21
  420. package/dist/node_modules/@openhands/typescript-client/dist/client/desktop-client.js.map +0 -1
@@ -15,11 +15,10 @@ import { SubAgentsClient as p } from "./sub-agents-client.js";
15
15
  import { PluginsClient as m } from "./plugins-client.js";
16
16
  import { ToolClient as h } from "./tool-client.js";
17
17
  import { VSCodeClient as g } from "./vscode-client.js";
18
- import { DesktopClient as _ } from "./desktop-client.js";
19
- import { SharedClient as v } from "./shared-client.js";
20
- import { WorkspacesClient as y } from "./workspaces-client.js";
18
+ import { SharedClient as _ } from "./shared-client.js";
19
+ import { WorkspacesClient as v } from "./workspaces-client.js";
21
20
  //#region node_modules/@openhands/typescript-client/dist/client/openhands-client.js
22
- var b = class {
21
+ var y = class {
23
22
  constructor(e) {
24
23
  this.host = e.host.replace(/\/+$/, ""), this.apiKey = e.apiKey, this.timeout = e.timeout || 6e4;
25
24
  }
@@ -62,10 +61,10 @@ var b = class {
62
61
  });
63
62
  }
64
63
  close() {}
65
- }, x = class extends b {
66
- constructor(b) {
67
- super(b), this.kind = "agent-server";
68
- let x = {
64
+ }, b = class extends y {
65
+ constructor(y) {
66
+ super(y), this.kind = "agent-server";
67
+ let b = {
69
68
  host: this.host,
70
69
  apiKey: this.apiKey,
71
70
  timeout: this.timeout
@@ -74,7 +73,7 @@ var b = class {
74
73
  baseUrl: this.host,
75
74
  apiKey: this.apiKey,
76
75
  timeout: this.timeout
77
- }), this.server = new n(x), this.conversations = new i(x), this.files = new a(x), this.bash = new r(x), this.settings = new d(x), this.profiles = new l(x), this.agentProfiles = new t(x), this.metaProfiles = new u(x), this.skills = new f(x), this.subAgents = new p(x), this.hooks = new o(x), this.mcp = new c(x), this.plugins = new m(x), this.tools = new h(x), this.vscode = new g(x), this.desktop = new _(x), this.shared = new v(x), this.llm = new s(x), this.workspaces = new y(x);
76
+ }), this.server = new n(b), this.conversations = new i(b), this.files = new a(b), this.bash = new r(b), this.settings = new d(b), this.profiles = new l(b), this.agentProfiles = new t(b), this.metaProfiles = new u(b), this.skills = new f(b), this.subAgents = new p(b), this.hooks = new o(b), this.mcp = new c(b), this.plugins = new m(b), this.tools = new h(b), this.vscode = new g(b), this.shared = new _(b), this.llm = new s(b), this.workspaces = new v(b);
78
77
  }
79
78
  async request(t) {
80
79
  let n = t.hostOverride?.replace(/\/+$/, "") ?? this.host, r = t.authMode === "none" ? void 0 : t.authMode === "session-api-key" ? t.sessionApiKey ?? void 0 : this.apiKey;
@@ -98,6 +97,6 @@ var b = class {
98
97
  }
99
98
  };
100
99
  //#endregion
101
- export { x as AgentServerClient, b as OpenHandsClient };
100
+ export { b as AgentServerClient, y as OpenHandsClient };
102
101
 
103
102
  //# sourceMappingURL=openhands-client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"openhands-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/openhands-client.js"],"sourcesContent":["import { AgentProfilesClient } from './agent-profiles-client.js';\nimport { BashClient } from './bash-client.js';\nimport { ConversationClient } from './conversation-client.js';\nimport { DesktopClient } from './desktop-client.js';\nimport { FileClient } from './file-client.js';\nimport { HooksClient } from './hooks-client.js';\nimport { HttpClient } from './http-client.js';\nimport { LLMMetadataClient } from './llm-client.js';\nimport { MCPClient } from './mcp-client.js';\nimport { MetaProfilesClient } from './meta-profiles-client.js';\nimport { PluginsClient } from './plugins-client.js';\nimport { ProfilesClient } from './profiles-client.js';\nimport { ServerClient } from './server-client.js';\nimport { SettingsClient } from './settings-client.js';\nimport { SharedClient } from './shared-client.js';\nimport { SkillsClient } from './skills-client.js';\nimport { SubAgentsClient } from './sub-agents-client.js';\nimport { ToolClient } from './tool-client.js';\nimport { VSCodeClient } from './vscode-client.js';\nimport { WorkspacesClient } from './workspaces-client.js';\nexport class OpenHandsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/+$/, '');\n this.apiKey = options.apiKey;\n this.timeout = options.timeout || 60000;\n }\n get(path, options = {}) {\n return this.request({ ...options, method: 'GET', path });\n }\n post(path, body, options = {}) {\n return this.request({ ...options, method: 'POST', path, body });\n }\n patch(path, body, options = {}) {\n return this.request({ ...options, method: 'PATCH', path, body });\n }\n put(path, body, options = {}) {\n return this.request({ ...options, method: 'PUT', path, body });\n }\n delete(path, options = {}) {\n return this.request({ ...options, method: 'DELETE', path });\n }\n close() {\n // Implemented by concrete clients when they own resources.\n }\n}\nexport class AgentServerClient extends OpenHandsClient {\n constructor(options) {\n super(options);\n this.kind = 'agent-server';\n const clientOptions = {\n host: this.host,\n apiKey: this.apiKey,\n timeout: this.timeout,\n };\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: this.timeout,\n });\n this.server = new ServerClient(clientOptions);\n this.conversations = new ConversationClient(clientOptions);\n this.files = new FileClient(clientOptions);\n this.bash = new BashClient(clientOptions);\n this.settings = new SettingsClient(clientOptions);\n this.profiles = new ProfilesClient(clientOptions);\n this.agentProfiles = new AgentProfilesClient(clientOptions);\n this.metaProfiles = new MetaProfilesClient(clientOptions);\n this.skills = new SkillsClient(clientOptions);\n this.subAgents = new SubAgentsClient(clientOptions);\n this.hooks = new HooksClient(clientOptions);\n this.mcp = new MCPClient(clientOptions);\n this.plugins = new PluginsClient(clientOptions);\n this.tools = new ToolClient(clientOptions);\n this.vscode = new VSCodeClient(clientOptions);\n this.desktop = new DesktopClient(clientOptions);\n this.shared = new SharedClient(clientOptions);\n this.llm = new LLMMetadataClient(clientOptions);\n this.workspaces = new WorkspacesClient(clientOptions);\n }\n async request(options) {\n const host = options.hostOverride?.replace(/\\/+$/, '') ?? this.host;\n const apiKey = options.authMode === 'none'\n ? undefined\n : options.authMode === 'session-api-key'\n ? (options.sessionApiKey ?? undefined)\n : this.apiKey;\n const client = host === this.host && apiKey === this.apiKey\n ? this.client\n : new HttpClient({\n baseUrl: host,\n apiKey,\n timeout: this.timeout,\n });\n const response = await client.request({\n method: options.method,\n url: options.path,\n params: options.params,\n data: options.body,\n headers: options.headers,\n timeout: options.timeoutSeconds ? options.timeoutSeconds * 1000 : this.timeout,\n acceptableStatusCodes: options.acceptableStatusCodes,\n responseType: options.responseType,\n });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=openhands-client.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;AAoBA,IAAa,IAAb,MAA6B;CACzB,YAAY,GAAS;EAGjB,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,QAAQ,EAAE,GAC3C,KAAK,SAAS,EAAQ,QACtB,KAAK,UAAU,EAAQ,WAAW;CACtC;CACA,IAAI,GAAM,IAAU,CAAC,GAAG;EACpB,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAO;EAAK,CAAC;CAC3D;CACA,KAAK,GAAM,GAAM,IAAU,CAAC,GAAG;EAC3B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAQ;GAAM;EAAK,CAAC;CAClE;CACA,MAAM,GAAM,GAAM,IAAU,CAAC,GAAG;EAC5B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAS;GAAM;EAAK,CAAC;CACnE;CACA,IAAI,GAAM,GAAM,IAAU,CAAC,GAAG;EAC1B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAO;GAAM;EAAK,CAAC;CACjE;CACA,OAAO,GAAM,IAAU,CAAC,GAAG;EACvB,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAU;EAAK,CAAC;CAC9D;CACA,QAAQ,CAER;AACJ,GACa,IAAb,cAAuC,EAAgB;CACnD,YAAY,GAAS;EAEjB,AADA,MAAM,CAAO,GACb,KAAK,OAAO;EACZ,IAAM,IAAgB;GAClB,MAAM,KAAK;GACX,QAAQ,KAAK;GACb,SAAS,KAAK;EAClB;EAwBA,AAvBA,KAAK,SAAS,IAAI,EAAW;GACzB,SAAS,KAAK;GACd,QAAQ,KAAK;GACb,SAAS,KAAK;EAClB,CAAC,GACD,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,gBAAgB,IAAI,EAAmB,CAAa,GACzD,KAAK,QAAQ,IAAI,EAAW,CAAa,GACzC,KAAK,OAAO,IAAI,EAAW,CAAa,GACxC,KAAK,WAAW,IAAI,EAAe,CAAa,GAChD,KAAK,WAAW,IAAI,EAAe,CAAa,GAChD,KAAK,gBAAgB,IAAI,EAAoB,CAAa,GAC1D,KAAK,eAAe,IAAI,EAAmB,CAAa,GACxD,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,YAAY,IAAI,EAAgB,CAAa,GAClD,KAAK,QAAQ,IAAI,EAAY,CAAa,GAC1C,KAAK,MAAM,IAAI,EAAU,CAAa,GACtC,KAAK,UAAU,IAAI,EAAc,CAAa,GAC9C,KAAK,QAAQ,IAAI,EAAW,CAAa,GACzC,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,UAAU,IAAI,EAAc,CAAa,GAC9C,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,MAAM,IAAI,EAAkB,CAAa,GAC9C,KAAK,aAAa,IAAI,EAAiB,CAAa;CACxD;CACA,MAAM,QAAQ,GAAS;EACnB,IAAM,IAAO,EAAQ,cAAc,QAAQ,QAAQ,EAAE,KAAK,KAAK,MACzD,IAAS,EAAQ,aAAa,SAC9B,KAAA,IACA,EAAQ,aAAa,oBAChB,EAAQ,iBAAiB,KAAA,IAC1B,KAAK;EAkBf,QAAO,OAjBQ,MAAS,KAAK,QAAQ,MAAW,KAAK,SAC/C,KAAK,SACL,IAAI,EAAW;GACb,SAAS;GACT;GACA,SAAS,KAAK;EAClB,CAAC,GACyB,QAAQ;GAClC,QAAQ,EAAQ;GAChB,KAAK,EAAQ;GACb,QAAQ,EAAQ;GAChB,MAAM,EAAQ;GACd,SAAS,EAAQ;GACjB,SAAS,EAAQ,iBAAiB,EAAQ,iBAAiB,MAAO,KAAK;GACvE,uBAAuB,EAAQ;GAC/B,cAAc,EAAQ;EAC1B,CAAC,GACe;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
1
+ {"version":3,"file":"openhands-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/openhands-client.js"],"sourcesContent":["import { AgentProfilesClient } from './agent-profiles-client.js';\nimport { BashClient } from './bash-client.js';\nimport { ConversationClient } from './conversation-client.js';\nimport { FileClient } from './file-client.js';\nimport { HooksClient } from './hooks-client.js';\nimport { HttpClient } from './http-client.js';\nimport { LLMMetadataClient } from './llm-client.js';\nimport { MCPClient } from './mcp-client.js';\nimport { MetaProfilesClient } from './meta-profiles-client.js';\nimport { PluginsClient } from './plugins-client.js';\nimport { ProfilesClient } from './profiles-client.js';\nimport { ServerClient } from './server-client.js';\nimport { SettingsClient } from './settings-client.js';\nimport { SharedClient } from './shared-client.js';\nimport { SkillsClient } from './skills-client.js';\nimport { SubAgentsClient } from './sub-agents-client.js';\nimport { ToolClient } from './tool-client.js';\nimport { VSCodeClient } from './vscode-client.js';\nimport { WorkspacesClient } from './workspaces-client.js';\nexport class OpenHandsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/+$/, '');\n this.apiKey = options.apiKey;\n this.timeout = options.timeout || 60000;\n }\n get(path, options = {}) {\n return this.request({ ...options, method: 'GET', path });\n }\n post(path, body, options = {}) {\n return this.request({ ...options, method: 'POST', path, body });\n }\n patch(path, body, options = {}) {\n return this.request({ ...options, method: 'PATCH', path, body });\n }\n put(path, body, options = {}) {\n return this.request({ ...options, method: 'PUT', path, body });\n }\n delete(path, options = {}) {\n return this.request({ ...options, method: 'DELETE', path });\n }\n close() {\n // Implemented by concrete clients when they own resources.\n }\n}\nexport class AgentServerClient extends OpenHandsClient {\n constructor(options) {\n super(options);\n this.kind = 'agent-server';\n const clientOptions = {\n host: this.host,\n apiKey: this.apiKey,\n timeout: this.timeout,\n };\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: this.timeout,\n });\n this.server = new ServerClient(clientOptions);\n this.conversations = new ConversationClient(clientOptions);\n this.files = new FileClient(clientOptions);\n this.bash = new BashClient(clientOptions);\n this.settings = new SettingsClient(clientOptions);\n this.profiles = new ProfilesClient(clientOptions);\n this.agentProfiles = new AgentProfilesClient(clientOptions);\n this.metaProfiles = new MetaProfilesClient(clientOptions);\n this.skills = new SkillsClient(clientOptions);\n this.subAgents = new SubAgentsClient(clientOptions);\n this.hooks = new HooksClient(clientOptions);\n this.mcp = new MCPClient(clientOptions);\n this.plugins = new PluginsClient(clientOptions);\n this.tools = new ToolClient(clientOptions);\n this.vscode = new VSCodeClient(clientOptions);\n this.shared = new SharedClient(clientOptions);\n this.llm = new LLMMetadataClient(clientOptions);\n this.workspaces = new WorkspacesClient(clientOptions);\n }\n async request(options) {\n const host = options.hostOverride?.replace(/\\/+$/, '') ?? this.host;\n const apiKey = options.authMode === 'none'\n ? undefined\n : options.authMode === 'session-api-key'\n ? (options.sessionApiKey ?? undefined)\n : this.apiKey;\n const client = host === this.host && apiKey === this.apiKey\n ? this.client\n : new HttpClient({\n baseUrl: host,\n apiKey,\n timeout: this.timeout,\n });\n const response = await client.request({\n method: options.method,\n url: options.path,\n params: options.params,\n data: options.body,\n headers: options.headers,\n timeout: options.timeoutSeconds ? options.timeoutSeconds * 1000 : this.timeout,\n acceptableStatusCodes: options.acceptableStatusCodes,\n responseType: options.responseType,\n });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=openhands-client.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;AAmBA,IAAa,IAAb,MAA6B;CACzB,YAAY,GAAS;EAGjB,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,QAAQ,EAAE,GAC3C,KAAK,SAAS,EAAQ,QACtB,KAAK,UAAU,EAAQ,WAAW;CACtC;CACA,IAAI,GAAM,IAAU,CAAC,GAAG;EACpB,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAO;EAAK,CAAC;CAC3D;CACA,KAAK,GAAM,GAAM,IAAU,CAAC,GAAG;EAC3B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAQ;GAAM;EAAK,CAAC;CAClE;CACA,MAAM,GAAM,GAAM,IAAU,CAAC,GAAG;EAC5B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAS;GAAM;EAAK,CAAC;CACnE;CACA,IAAI,GAAM,GAAM,IAAU,CAAC,GAAG;EAC1B,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAO;GAAM;EAAK,CAAC;CACjE;CACA,OAAO,GAAM,IAAU,CAAC,GAAG;EACvB,OAAO,KAAK,QAAQ;GAAE,GAAG;GAAS,QAAQ;GAAU;EAAK,CAAC;CAC9D;CACA,QAAQ,CAER;AACJ,GACa,IAAb,cAAuC,EAAgB;CACnD,YAAY,GAAS;EAEjB,AADA,MAAM,CAAO,GACb,KAAK,OAAO;EACZ,IAAM,IAAgB;GAClB,MAAM,KAAK;GACX,QAAQ,KAAK;GACb,SAAS,KAAK;EAClB;EAuBA,AAtBA,KAAK,SAAS,IAAI,EAAW;GACzB,SAAS,KAAK;GACd,QAAQ,KAAK;GACb,SAAS,KAAK;EAClB,CAAC,GACD,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,gBAAgB,IAAI,EAAmB,CAAa,GACzD,KAAK,QAAQ,IAAI,EAAW,CAAa,GACzC,KAAK,OAAO,IAAI,EAAW,CAAa,GACxC,KAAK,WAAW,IAAI,EAAe,CAAa,GAChD,KAAK,WAAW,IAAI,EAAe,CAAa,GAChD,KAAK,gBAAgB,IAAI,EAAoB,CAAa,GAC1D,KAAK,eAAe,IAAI,EAAmB,CAAa,GACxD,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,YAAY,IAAI,EAAgB,CAAa,GAClD,KAAK,QAAQ,IAAI,EAAY,CAAa,GAC1C,KAAK,MAAM,IAAI,EAAU,CAAa,GACtC,KAAK,UAAU,IAAI,EAAc,CAAa,GAC9C,KAAK,QAAQ,IAAI,EAAW,CAAa,GACzC,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,SAAS,IAAI,EAAa,CAAa,GAC5C,KAAK,MAAM,IAAI,EAAkB,CAAa,GAC9C,KAAK,aAAa,IAAI,EAAiB,CAAa;CACxD;CACA,MAAM,QAAQ,GAAS;EACnB,IAAM,IAAO,EAAQ,cAAc,QAAQ,QAAQ,EAAE,KAAK,KAAK,MACzD,IAAS,EAAQ,aAAa,SAC9B,KAAA,IACA,EAAQ,aAAa,oBAChB,EAAQ,iBAAiB,KAAA,IAC1B,KAAK;EAkBf,QAAO,OAjBQ,MAAS,KAAK,QAAQ,MAAW,KAAK,SAC/C,KAAK,SACL,IAAI,EAAW;GACb,SAAS;GACT;GACA,SAAS,KAAK;EAClB,CAAC,GACyB,QAAQ;GAClC,QAAQ,EAAQ;GAChB,KAAK,EAAQ;GACb,QAAQ,EAAQ;GAChB,MAAM,EAAQ;GACd,SAAS,EAAQ;GACjB,SAAS,EAAQ,iBAAiB,EAAQ,iBAAiB,MAAO,KAAK;GACvE,uBAAuB,EAAQ;GAC/B,cAAc,EAAQ;EAC1B,CAAC,GACe;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
@@ -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("./http-client.cjs");var t=class{constructor(t){this.host=t.host.replace(/\/$/,``),this.apiKey=t.apiKey,this.client=new e.HttpClient({baseUrl:this.host,apiKey:this.apiKey,timeout:t.timeout||6e4})}async getAgentSchema(){return(await this.client.get(`/api/settings/agent-schema`)).data}async getSettings(e={}){return(await this.client.get(`/api/settings`,{headers:e.exposeSecrets?{"X-Expose-Secrets":e.exposeSecrets}:void 0})).data}async updateSettings(e){return(await this.client.patch(`/api/settings`,e)).data}async createMcpServer(e,t){return(await this.client.post(`/api/settings/mcp/${encodeURIComponent(e)}`,t)).data}async patchMcpServer(e,t){return(await this.client.patch(`/api/settings/mcp/${encodeURIComponent(e)}`,t)).data}async deleteMcpServer(e){return(await this.client.delete(`/api/settings/mcp/${encodeURIComponent(e)}`)).data}async listSecrets(){return(await this.client.get(`/api/settings/secrets`)).data}async upsertSecret(e){return(await this.client.put(`/api/settings/secrets`,e)).data}async getSecret(e){return(await this.client.get(`/api/settings/secrets/${encodeURIComponent(e)}`,{responseType:`text`})).data}async deleteSecret(e){return(await this.client.delete(`/api/settings/secrets/${encodeURIComponent(e)}`)).data}async getConversationSchema(){return(await this.client.get(`/api/settings/conversation-schema`)).data}async listProfiles(){return(await this.client.get(`/api/profiles`)).data}async getProfile(e,t={}){return(await this.client.get(`/api/profiles/${encodeURIComponent(e)}`,{headers:t.exposeSecrets?{"X-Expose-Secrets":t.exposeSecrets}:void 0})).data}async saveProfile(e,t){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}`,t)).data}async deleteProfile(e){return(await this.client.delete(`/api/profiles/${encodeURIComponent(e)}`)).data}async renameProfile(e,t){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}/rename`,{new_name:t})).data}close(){this.client.close()}};exports.SettingsClient=t;
1
+ require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./http-client.cjs");var t=class{constructor(t){this.host=t.host.replace(/\/$/,``),this.apiKey=t.apiKey,this.client=new e.HttpClient({baseUrl:this.host,apiKey:this.apiKey,timeout:t.timeout||6e4})}async getAgentSchema(){return(await this.client.get(`/api/settings/agent-schema`)).data}async getSettings(e={}){return(await this.client.get(`/api/settings`,{headers:e.exposeSecrets?{"X-Expose-Secrets":e.exposeSecrets}:void 0})).data}async updateSettings(e){return(await this.client.patch(`/api/settings`,e)).data}async createMcpServer(e,t){return(await this.client.post(`/api/settings/mcp/${encodeURIComponent(e)}`,t)).data}async patchMcpServer(e,t){return(await this.client.patch(`/api/settings/mcp/${encodeURIComponent(e)}`,t)).data}async deleteMcpServer(e){return(await this.client.delete(`/api/settings/mcp/${encodeURIComponent(e)}`)).data}async listSecrets(e={}){return(await this.client.get(`/api/settings/secrets`,{params:e.agentProfileId?{agent_profile_id:e.agentProfileId}:void 0})).data}async upsertSecret(e){return(await this.client.put(`/api/settings/secrets`,e)).data}async getSecret(e){return(await this.client.get(`/api/settings/secrets/${encodeURIComponent(e)}`,{responseType:`text`})).data}async deleteSecret(e){return(await this.client.delete(`/api/settings/secrets/${encodeURIComponent(e)}`)).data}async getConversationSchema(){return(await this.client.get(`/api/settings/conversation-schema`)).data}async listProfiles(){return(await this.client.get(`/api/profiles`)).data}async getProfile(e,t={}){return(await this.client.get(`/api/profiles/${encodeURIComponent(e)}`,{headers:t.exposeSecrets?{"X-Expose-Secrets":t.exposeSecrets}:void 0})).data}async saveProfile(e,t){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}`,t)).data}async deleteProfile(e){return(await this.client.delete(`/api/profiles/${encodeURIComponent(e)}`)).data}async renameProfile(e,t){return(await this.client.post(`/api/profiles/${encodeURIComponent(e)}/rename`,{new_name:t})).data}close(){this.client.close()}};exports.SettingsClient=t;
2
2
  //# sourceMappingURL=settings-client.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/settings-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SettingsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getAgentSchema() {\n const response = await this.client.get('/api/settings/agent-schema');\n return response.data;\n }\n async getSettings(options = {}) {\n const response = await this.client.get('/api/settings', {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async updateSettings(request) {\n const response = await this.client.patch('/api/settings', request);\n return response.data;\n }\n /** Create one named MCP server without reading or resending the catalog. */\n async createMcpServer(settingsKey, server) {\n const response = await this.client.post(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, server);\n return response.data;\n }\n /** Sparsely update one existing named MCP server. */\n async patchMcpServer(settingsKey, patch) {\n const response = await this.client.patch(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, patch);\n return response.data;\n }\n /** Delete one existing named MCP server. */\n async deleteMcpServer(settingsKey) {\n const response = await this.client.delete(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`);\n return response.data;\n }\n async listSecrets() {\n const response = await this.client.get('/api/settings/secrets');\n return response.data;\n }\n async upsertSecret(request) {\n const response = await this.client.put('/api/settings/secrets', request);\n return response.data;\n }\n async getSecret(name) {\n const response = await this.client.get(`/api/settings/secrets/${encodeURIComponent(name)}`, { responseType: 'text' });\n return response.data;\n }\n async deleteSecret(name) {\n const response = await this.client.delete(`/api/settings/secrets/${encodeURIComponent(name)}`);\n return response.data;\n }\n async getConversationSchema() {\n const response = await this.client.get('/api/settings/conversation-schema');\n return response.data;\n }\n async listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async saveProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}`, request);\n return response.data;\n }\n async deleteProfile(name) {\n const response = await this.client.delete(`/api/profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async renameProfile(name, newName) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/rename`, { new_name: newName });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=settings-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FACA,IAAa,EAAb,KAA4B,CACxB,YAAY,EAAS,CACjB,KAAK,KAAO,EAAQ,KAAK,QAAQ,MAAO,EAAE,EAC1C,KAAK,OAAS,EAAQ,OACtB,KAAK,OAAS,IAAIA,EAAAA,WAAW,CACzB,QAAS,KAAK,KACd,OAAQ,KAAK,OACb,QAAS,EAAQ,SAAW,GAChC,CAAC,CACL,CACA,MAAM,gBAAiB,CAEnB,OAAO,MADgB,KAAK,OAAO,IAAI,4BAA4B,GACnD,IACpB,CACA,MAAM,YAAY,EAAU,CAAC,EAAG,CAI5B,OAAO,MAHgB,KAAK,OAAO,IAAI,gBAAiB,CACpD,QAAS,EAAQ,cAAgB,CAAE,mBAAoB,EAAQ,aAAc,EAAI,IAAA,EACrF,CAAC,GACe,IACpB,CACA,MAAM,eAAe,EAAS,CAE1B,OAAO,MADgB,KAAK,OAAO,MAAM,gBAAiB,CAAO,GACjD,IACpB,CAEA,MAAM,gBAAgB,EAAa,EAAQ,CAEvC,OAAO,MADgB,KAAK,OAAO,KAAK,qBAAqB,mBAAmB,CAAW,IAAK,CAAM,GACtF,IACpB,CAEA,MAAM,eAAe,EAAa,EAAO,CAErC,OAAO,MADgB,KAAK,OAAO,MAAM,qBAAqB,mBAAmB,CAAW,IAAK,CAAK,GACtF,IACpB,CAEA,MAAM,gBAAgB,EAAa,CAE/B,OAAO,MADgB,KAAK,OAAO,OAAO,qBAAqB,mBAAmB,CAAW,GAAG,GAChF,IACpB,CACA,MAAM,aAAc,CAEhB,OAAO,MADgB,KAAK,OAAO,IAAI,uBAAuB,GAC9C,IACpB,CACA,MAAM,aAAa,EAAS,CAExB,OAAO,MADgB,KAAK,OAAO,IAAI,wBAAyB,CAAO,GACvD,IACpB,CACA,MAAM,UAAU,EAAM,CAElB,OAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,mBAAmB,CAAI,IAAK,CAAE,aAAc,MAAO,CAAC,GACpG,IACpB,CACA,MAAM,aAAa,EAAM,CAErB,OAAO,MADgB,KAAK,OAAO,OAAO,yBAAyB,mBAAmB,CAAI,GAAG,GAC7E,IACpB,CACA,MAAM,uBAAwB,CAE1B,OAAO,MADgB,KAAK,OAAO,IAAI,mCAAmC,GAC1D,IACpB,CACA,MAAM,cAAe,CAEjB,OAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC,IACpB,CACA,MAAM,WAAW,EAAM,EAAU,CAAC,EAAG,CAIjC,OAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,IAAK,CAChF,QAAS,EAAQ,cAAgB,CAAE,mBAAoB,EAAQ,aAAc,EAAI,IAAA,EACrF,CAAC,GACe,IACpB,CACA,MAAM,YAAY,EAAM,EAAS,CAE7B,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,IAAK,CAAO,GAC5E,IACpB,CACA,MAAM,cAAc,EAAM,CAEtB,OAAO,MADgB,KAAK,OAAO,OAAO,iBAAiB,mBAAmB,CAAI,GAAG,GACrE,IACpB,CACA,MAAM,cAAc,EAAM,EAAS,CAE/B,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,SAAU,CAAE,SAAU,CAAQ,CAAC,GACjG,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
1
+ {"version":3,"file":"settings-client.cjs","names":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/settings-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SettingsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getAgentSchema() {\n const response = await this.client.get('/api/settings/agent-schema');\n return response.data;\n }\n async getSettings(options = {}) {\n const response = await this.client.get('/api/settings', {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async updateSettings(request) {\n const response = await this.client.patch('/api/settings', request);\n return response.data;\n }\n /** Create one named MCP server without reading or resending the catalog. */\n async createMcpServer(settingsKey, server) {\n const response = await this.client.post(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, server);\n return response.data;\n }\n /** Sparsely update one existing named MCP server. */\n async patchMcpServer(settingsKey, patch) {\n const response = await this.client.patch(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, patch);\n return response.data;\n }\n /** Delete one existing named MCP server. */\n async deleteMcpServer(settingsKey) {\n const response = await this.client.delete(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`);\n return response.data;\n }\n async listSecrets(options = {}) {\n const response = await this.client.get('/api/settings/secrets', {\n params: options.agentProfileId ? { agent_profile_id: options.agentProfileId } : undefined,\n });\n return response.data;\n }\n async upsertSecret(request) {\n const response = await this.client.put('/api/settings/secrets', request);\n return response.data;\n }\n async getSecret(name) {\n const response = await this.client.get(`/api/settings/secrets/${encodeURIComponent(name)}`, { responseType: 'text' });\n return response.data;\n }\n async deleteSecret(name) {\n const response = await this.client.delete(`/api/settings/secrets/${encodeURIComponent(name)}`);\n return response.data;\n }\n async getConversationSchema() {\n const response = await this.client.get('/api/settings/conversation-schema');\n return response.data;\n }\n async listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async saveProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}`, request);\n return response.data;\n }\n async deleteProfile(name) {\n const response = await this.client.delete(`/api/profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async renameProfile(name, newName) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/rename`, { new_name: newName });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=settings-client.js.map"],"x_google_ignoreList":[0],"mappings":"8FACA,IAAa,EAAb,KAA4B,CACxB,YAAY,EAAS,CACjB,KAAK,KAAO,EAAQ,KAAK,QAAQ,MAAO,EAAE,EAC1C,KAAK,OAAS,EAAQ,OACtB,KAAK,OAAS,IAAIA,EAAAA,WAAW,CACzB,QAAS,KAAK,KACd,OAAQ,KAAK,OACb,QAAS,EAAQ,SAAW,GAChC,CAAC,CACL,CACA,MAAM,gBAAiB,CAEnB,OAAO,MADgB,KAAK,OAAO,IAAI,4BAA4B,GACnD,IACpB,CACA,MAAM,YAAY,EAAU,CAAC,EAAG,CAI5B,OAAO,MAHgB,KAAK,OAAO,IAAI,gBAAiB,CACpD,QAAS,EAAQ,cAAgB,CAAE,mBAAoB,EAAQ,aAAc,EAAI,IAAA,EACrF,CAAC,GACe,IACpB,CACA,MAAM,eAAe,EAAS,CAE1B,OAAO,MADgB,KAAK,OAAO,MAAM,gBAAiB,CAAO,GACjD,IACpB,CAEA,MAAM,gBAAgB,EAAa,EAAQ,CAEvC,OAAO,MADgB,KAAK,OAAO,KAAK,qBAAqB,mBAAmB,CAAW,IAAK,CAAM,GACtF,IACpB,CAEA,MAAM,eAAe,EAAa,EAAO,CAErC,OAAO,MADgB,KAAK,OAAO,MAAM,qBAAqB,mBAAmB,CAAW,IAAK,CAAK,GACtF,IACpB,CAEA,MAAM,gBAAgB,EAAa,CAE/B,OAAO,MADgB,KAAK,OAAO,OAAO,qBAAqB,mBAAmB,CAAW,GAAG,GAChF,IACpB,CACA,MAAM,YAAY,EAAU,CAAC,EAAG,CAI5B,OAAO,MAHgB,KAAK,OAAO,IAAI,wBAAyB,CAC5D,OAAQ,EAAQ,eAAiB,CAAE,iBAAkB,EAAQ,cAAe,EAAI,IAAA,EACpF,CAAC,GACe,IACpB,CACA,MAAM,aAAa,EAAS,CAExB,OAAO,MADgB,KAAK,OAAO,IAAI,wBAAyB,CAAO,GACvD,IACpB,CACA,MAAM,UAAU,EAAM,CAElB,OAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,mBAAmB,CAAI,IAAK,CAAE,aAAc,MAAO,CAAC,GACpG,IACpB,CACA,MAAM,aAAa,EAAM,CAErB,OAAO,MADgB,KAAK,OAAO,OAAO,yBAAyB,mBAAmB,CAAI,GAAG,GAC7E,IACpB,CACA,MAAM,uBAAwB,CAE1B,OAAO,MADgB,KAAK,OAAO,IAAI,mCAAmC,GAC1D,IACpB,CACA,MAAM,cAAe,CAEjB,OAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC,IACpB,CACA,MAAM,WAAW,EAAM,EAAU,CAAC,EAAG,CAIjC,OAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,IAAK,CAChF,QAAS,EAAQ,cAAgB,CAAE,mBAAoB,EAAQ,aAAc,EAAI,IAAA,EACrF,CAAC,GACe,IACpB,CACA,MAAM,YAAY,EAAM,EAAS,CAE7B,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,IAAK,CAAO,GAC5E,IACpB,CACA,MAAM,cAAc,EAAM,CAEtB,OAAO,MADgB,KAAK,OAAO,OAAO,iBAAiB,mBAAmB,CAAI,GAAG,GACrE,IACpB,CACA,MAAM,cAAc,EAAM,EAAS,CAE/B,OAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,SAAU,CAAE,SAAU,CAAQ,CAAC,GACjG,IACpB,CACA,OAAQ,CACJ,KAAK,OAAO,MAAM,CACtB,CACJ"}
@@ -26,8 +26,8 @@ var t = class {
26
26
  async deleteMcpServer(e) {
27
27
  return (await this.client.delete(`/api/settings/mcp/${encodeURIComponent(e)}`)).data;
28
28
  }
29
- async listSecrets() {
30
- return (await this.client.get("/api/settings/secrets")).data;
29
+ async listSecrets(e = {}) {
30
+ return (await this.client.get("/api/settings/secrets", { params: e.agentProfileId ? { agent_profile_id: e.agentProfileId } : void 0 })).data;
31
31
  }
32
32
  async upsertSecret(e) {
33
33
  return (await this.client.put("/api/settings/secrets", e)).data;
@@ -1 +1 @@
1
- {"version":3,"file":"settings-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/settings-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SettingsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getAgentSchema() {\n const response = await this.client.get('/api/settings/agent-schema');\n return response.data;\n }\n async getSettings(options = {}) {\n const response = await this.client.get('/api/settings', {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async updateSettings(request) {\n const response = await this.client.patch('/api/settings', request);\n return response.data;\n }\n /** Create one named MCP server without reading or resending the catalog. */\n async createMcpServer(settingsKey, server) {\n const response = await this.client.post(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, server);\n return response.data;\n }\n /** Sparsely update one existing named MCP server. */\n async patchMcpServer(settingsKey, patch) {\n const response = await this.client.patch(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, patch);\n return response.data;\n }\n /** Delete one existing named MCP server. */\n async deleteMcpServer(settingsKey) {\n const response = await this.client.delete(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`);\n return response.data;\n }\n async listSecrets() {\n const response = await this.client.get('/api/settings/secrets');\n return response.data;\n }\n async upsertSecret(request) {\n const response = await this.client.put('/api/settings/secrets', request);\n return response.data;\n }\n async getSecret(name) {\n const response = await this.client.get(`/api/settings/secrets/${encodeURIComponent(name)}`, { responseType: 'text' });\n return response.data;\n }\n async deleteSecret(name) {\n const response = await this.client.delete(`/api/settings/secrets/${encodeURIComponent(name)}`);\n return response.data;\n }\n async getConversationSchema() {\n const response = await this.client.get('/api/settings/conversation-schema');\n return response.data;\n }\n async listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async saveProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}`, request);\n return response.data;\n }\n async deleteProfile(name) {\n const response = await this.client.delete(`/api/profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async renameProfile(name, newName) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/rename`, { new_name: newName });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=settings-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAA4B;CACxB,YAAY,GAAS;EAGjB,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,OAAO,EAAE,GAC1C,KAAK,SAAS,EAAQ,QACtB,KAAK,SAAS,IAAI,EAAW;GACzB,SAAS,KAAK;GACd,QAAQ,KAAK;GACb,SAAS,EAAQ,WAAW;EAChC,CAAC;CACL;CACA,MAAM,iBAAiB;EAEnB,QAAO,MADgB,KAAK,OAAO,IAAI,4BAA4B,GACnD;CACpB;CACA,MAAM,YAAY,IAAU,CAAC,GAAG;EAI5B,QAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,EACpD,SAAS,EAAQ,gBAAgB,EAAE,oBAAoB,EAAQ,cAAc,IAAI,KAAA,EACrF,CAAC,GACe;CACpB;CACA,MAAM,eAAe,GAAS;EAE1B,QAAO,MADgB,KAAK,OAAO,MAAM,iBAAiB,CAAO,GACjD;CACpB;CAEA,MAAM,gBAAgB,GAAa,GAAQ;EAEvC,QAAO,MADgB,KAAK,OAAO,KAAK,qBAAqB,mBAAmB,CAAW,KAAK,CAAM,GACtF;CACpB;CAEA,MAAM,eAAe,GAAa,GAAO;EAErC,QAAO,MADgB,KAAK,OAAO,MAAM,qBAAqB,mBAAmB,CAAW,KAAK,CAAK,GACtF;CACpB;CAEA,MAAM,gBAAgB,GAAa;EAE/B,QAAO,MADgB,KAAK,OAAO,OAAO,qBAAqB,mBAAmB,CAAW,GAAG,GAChF;CACpB;CACA,MAAM,cAAc;EAEhB,QAAO,MADgB,KAAK,OAAO,IAAI,uBAAuB,GAC9C;CACpB;CACA,MAAM,aAAa,GAAS;EAExB,QAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,CAAO,GACvD;CACpB;CACA,MAAM,UAAU,GAAM;EAElB,QAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,mBAAmB,CAAI,KAAK,EAAE,cAAc,OAAO,CAAC,GACpG;CACpB;CACA,MAAM,aAAa,GAAM;EAErB,QAAO,MADgB,KAAK,OAAO,OAAO,yBAAyB,mBAAmB,CAAI,GAAG,GAC7E;CACpB;CACA,MAAM,wBAAwB;EAE1B,QAAO,MADgB,KAAK,OAAO,IAAI,mCAAmC,GAC1D;CACpB;CACA,MAAM,eAAe;EAEjB,QAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC;CACpB;CACA,MAAM,WAAW,GAAM,IAAU,CAAC,GAAG;EAIjC,QAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,KAAK,EAChF,SAAS,EAAQ,gBAAgB,EAAE,oBAAoB,EAAQ,cAAc,IAAI,KAAA,EACrF,CAAC,GACe;CACpB;CACA,MAAM,YAAY,GAAM,GAAS;EAE7B,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,KAAK,CAAO,GAC5E;CACpB;CACA,MAAM,cAAc,GAAM;EAEtB,QAAO,MADgB,KAAK,OAAO,OAAO,iBAAiB,mBAAmB,CAAI,GAAG,GACrE;CACpB;CACA,MAAM,cAAc,GAAM,GAAS;EAE/B,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,UAAU,EAAE,UAAU,EAAQ,CAAC,GACjG;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
1
+ {"version":3,"file":"settings-client.js","names":[],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/settings-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class SettingsClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getAgentSchema() {\n const response = await this.client.get('/api/settings/agent-schema');\n return response.data;\n }\n async getSettings(options = {}) {\n const response = await this.client.get('/api/settings', {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async updateSettings(request) {\n const response = await this.client.patch('/api/settings', request);\n return response.data;\n }\n /** Create one named MCP server without reading or resending the catalog. */\n async createMcpServer(settingsKey, server) {\n const response = await this.client.post(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, server);\n return response.data;\n }\n /** Sparsely update one existing named MCP server. */\n async patchMcpServer(settingsKey, patch) {\n const response = await this.client.patch(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`, patch);\n return response.data;\n }\n /** Delete one existing named MCP server. */\n async deleteMcpServer(settingsKey) {\n const response = await this.client.delete(`/api/settings/mcp/${encodeURIComponent(settingsKey)}`);\n return response.data;\n }\n async listSecrets(options = {}) {\n const response = await this.client.get('/api/settings/secrets', {\n params: options.agentProfileId ? { agent_profile_id: options.agentProfileId } : undefined,\n });\n return response.data;\n }\n async upsertSecret(request) {\n const response = await this.client.put('/api/settings/secrets', request);\n return response.data;\n }\n async getSecret(name) {\n const response = await this.client.get(`/api/settings/secrets/${encodeURIComponent(name)}`, { responseType: 'text' });\n return response.data;\n }\n async deleteSecret(name) {\n const response = await this.client.delete(`/api/settings/secrets/${encodeURIComponent(name)}`);\n return response.data;\n }\n async getConversationSchema() {\n const response = await this.client.get('/api/settings/conversation-schema');\n return response.data;\n }\n async listProfiles() {\n const response = await this.client.get('/api/profiles');\n return response.data;\n }\n async getProfile(name, options = {}) {\n const response = await this.client.get(`/api/profiles/${encodeURIComponent(name)}`, {\n headers: options.exposeSecrets ? { 'X-Expose-Secrets': options.exposeSecrets } : undefined,\n });\n return response.data;\n }\n async saveProfile(name, request) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}`, request);\n return response.data;\n }\n async deleteProfile(name) {\n const response = await this.client.delete(`/api/profiles/${encodeURIComponent(name)}`);\n return response.data;\n }\n async renameProfile(name, newName) {\n const response = await this.client.post(`/api/profiles/${encodeURIComponent(name)}/rename`, { new_name: newName });\n return response.data;\n }\n close() {\n this.client.close();\n }\n}\n//# sourceMappingURL=settings-client.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,MAA4B;CACxB,YAAY,GAAS;EAGjB,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,OAAO,EAAE,GAC1C,KAAK,SAAS,EAAQ,QACtB,KAAK,SAAS,IAAI,EAAW;GACzB,SAAS,KAAK;GACd,QAAQ,KAAK;GACb,SAAS,EAAQ,WAAW;EAChC,CAAC;CACL;CACA,MAAM,iBAAiB;EAEnB,QAAO,MADgB,KAAK,OAAO,IAAI,4BAA4B,GACnD;CACpB;CACA,MAAM,YAAY,IAAU,CAAC,GAAG;EAI5B,QAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,EACpD,SAAS,EAAQ,gBAAgB,EAAE,oBAAoB,EAAQ,cAAc,IAAI,KAAA,EACrF,CAAC,GACe;CACpB;CACA,MAAM,eAAe,GAAS;EAE1B,QAAO,MADgB,KAAK,OAAO,MAAM,iBAAiB,CAAO,GACjD;CACpB;CAEA,MAAM,gBAAgB,GAAa,GAAQ;EAEvC,QAAO,MADgB,KAAK,OAAO,KAAK,qBAAqB,mBAAmB,CAAW,KAAK,CAAM,GACtF;CACpB;CAEA,MAAM,eAAe,GAAa,GAAO;EAErC,QAAO,MADgB,KAAK,OAAO,MAAM,qBAAqB,mBAAmB,CAAW,KAAK,CAAK,GACtF;CACpB;CAEA,MAAM,gBAAgB,GAAa;EAE/B,QAAO,MADgB,KAAK,OAAO,OAAO,qBAAqB,mBAAmB,CAAW,GAAG,GAChF;CACpB;CACA,MAAM,YAAY,IAAU,CAAC,GAAG;EAI5B,QAAO,MAHgB,KAAK,OAAO,IAAI,yBAAyB,EAC5D,QAAQ,EAAQ,iBAAiB,EAAE,kBAAkB,EAAQ,eAAe,IAAI,KAAA,EACpF,CAAC,GACe;CACpB;CACA,MAAM,aAAa,GAAS;EAExB,QAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,CAAO,GACvD;CACpB;CACA,MAAM,UAAU,GAAM;EAElB,QAAO,MADgB,KAAK,OAAO,IAAI,yBAAyB,mBAAmB,CAAI,KAAK,EAAE,cAAc,OAAO,CAAC,GACpG;CACpB;CACA,MAAM,aAAa,GAAM;EAErB,QAAO,MADgB,KAAK,OAAO,OAAO,yBAAyB,mBAAmB,CAAI,GAAG,GAC7E;CACpB;CACA,MAAM,wBAAwB;EAE1B,QAAO,MADgB,KAAK,OAAO,IAAI,mCAAmC,GAC1D;CACpB;CACA,MAAM,eAAe;EAEjB,QAAO,MADgB,KAAK,OAAO,IAAI,eAAe,GACtC;CACpB;CACA,MAAM,WAAW,GAAM,IAAU,CAAC,GAAG;EAIjC,QAAO,MAHgB,KAAK,OAAO,IAAI,iBAAiB,mBAAmB,CAAI,KAAK,EAChF,SAAS,EAAQ,gBAAgB,EAAE,oBAAoB,EAAQ,cAAc,IAAI,KAAA,EACrF,CAAC,GACe;CACpB;CACA,MAAM,YAAY,GAAM,GAAS;EAE7B,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,KAAK,CAAO,GAC5E;CACpB;CACA,MAAM,cAAc,GAAM;EAEtB,QAAO,MADgB,KAAK,OAAO,OAAO,iBAAiB,mBAAmB,CAAI,GAAG,GACrE;CACpB;CACA,MAAM,cAAc,GAAM,GAAS;EAE/B,QAAO,MADgB,KAAK,OAAO,KAAK,iBAAiB,mBAAmB,CAAI,EAAE,UAAU,EAAE,UAAU,EAAQ,CAAC,GACjG;CACpB;CACA,QAAQ;EACJ,KAAK,OAAO,MAAM;CACtB;AACJ"}
@@ -1,2 +1,2 @@
1
- require("../../../../../_virtual/_rolldown/runtime.cjs");const e=require("./http-client.cjs");var t=class{constructor(t){this.host=t.host.replace(/\/$/,``),this.apiKey=t.apiKey,this.client=new e.HttpClient({baseUrl:this.host,apiKey:this.apiKey,timeout:t.timeout||6e4})}async 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;
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":["HttpClient"],"sources":["../../../../../../node_modules/@openhands/typescript-client/dist/client/vscode-client.js"],"sourcesContent":["import { HttpClient } from './http-client.js';\nexport class VSCodeClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getUrl(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":"8FACA,IAAa,EAAb,KAA0B,CACtB,YAAY,EAAS,CACjB,KAAK,KAAO,EAAQ,KAAK,QAAQ,MAAO,EAAE,EAC1C,KAAK,OAAS,EAAQ,OACtB,KAAK,OAAS,IAAIA,EAAAA,WAAW,CACzB,QAAS,KAAK,KACd,OAAQ,KAAK,OACb,QAAS,EAAQ,SAAW,GAChC,CAAC,CACL,CACA,MAAM,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
+ {"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 { HttpClient as e } from "./http-client.js";
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
- this.host = t.host.replace(/\/$/, ""), this.apiKey = t.apiKey, this.client = new e({
6
- baseUrl: this.host,
7
- apiKey: this.apiKey,
8
- timeout: t.timeout || 6e4
9
- });
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 { HttpClient } from './http-client.js';\nexport class VSCodeClient {\n constructor(options) {\n this.host = options.host.replace(/\\/$/, '');\n this.apiKey = options.apiKey;\n this.client = new HttpClient({\n baseUrl: this.host,\n apiKey: this.apiKey,\n timeout: options.timeout || 60000,\n });\n }\n async getUrl(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;EAGjB,AAFA,KAAK,OAAO,EAAQ,KAAK,QAAQ,OAAO,EAAE,GAC1C,KAAK,SAAS,EAAQ,QACtB,KAAK,SAAS,IAAI,EAAW;GACzB,SAAS,KAAK;GACd,QAAQ,KAAK;GACb,SAAS,EAAQ,WAAW;EAChC,CAAC;CACL;CACA,MAAM,OAAO,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
+ {"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/bash-client.cjs"),require("./client/conversation-client.cjs"),require("./client/file-client.cjs"),require("./client/agent-server-compatibility.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
+ require("../../../../_virtual/_rolldown/runtime.cjs"),require("./client/agent-profiles-client.cjs"),require("./client/server-client.cjs"),require("./client/agent-server-compatibility.cjs"),require("./client/bash-client.cjs"),require("./client/conversation-client.cjs"),require("./client/file-client.cjs"),require("./client/hooks-client.cjs"),require("./client/llm-client.cjs"),require("./client/mcp-client.cjs"),require("./client/profiles-client.cjs"),require("./client/meta-profiles-client.cjs"),require("./client/settings-client.cjs"),require("./client/skills-client.cjs"),require("./client/sub-agents-client.cjs"),require("./client/plugins-client.cjs"),require("./client/tool-client.cjs"),require("./client/vscode-client.cjs"),require("./client/shared-client.cjs"),require("./client/workspaces-client.cjs"),require("./client/openhands-client.cjs"),require("./client/device-flow-client.cjs"),require("./client/cloud-client.cjs");
@@ -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";
@@ -15,7 +15,6 @@ import "./client/sub-agents-client.js";
15
15
  import "./client/plugins-client.js";
16
16
  import "./client/tool-client.js";
17
17
  import "./client/vscode-client.js";
18
- import "./client/desktop-client.js";
19
18
  import "./client/shared-client.js";
20
19
  import "./client/workspaces-client.js";
21
20
  import "./client/openhands-client.js";
@@ -1 +1 @@
1
- require("../../../../../_virtual/_rolldown/runtime.cjs"),require("../client/http-client.cjs"),require("../client/agent-profiles-client.cjs"),require("../client/server-client.cjs"),require("../client/file-client.cjs"),require("../client/hooks-client.cjs"),require("../client/llm-client.cjs"),require("../client/mcp-client.cjs"),require("../client/profiles-client.cjs"),require("../client/meta-profiles-client.cjs"),require("../client/settings-client.cjs"),require("../client/skills-client.cjs"),require("../client/sub-agents-client.cjs"),require("../client/tool-client.cjs"),require("../client/vscode-client.cjs"),require("../client/desktop-client.cjs"),require("../client/shared-client.cjs"),require("../client/workspaces-client.cjs"),require("../workspace/remote-workspace.cjs"),require("./remote-conversation.cjs");
1
+ require("../../../../../_virtual/_rolldown/runtime.cjs"),require("../client/http-client.cjs"),require("../client/agent-profiles-client.cjs"),require("../client/server-client.cjs"),require("../client/file-client.cjs"),require("../client/hooks-client.cjs"),require("../client/llm-client.cjs"),require("../client/mcp-client.cjs"),require("../client/profiles-client.cjs"),require("../client/meta-profiles-client.cjs"),require("../client/settings-client.cjs"),require("../client/skills-client.cjs"),require("../client/sub-agents-client.cjs"),require("../client/tool-client.cjs"),require("../client/vscode-client.cjs"),require("../client/shared-client.cjs"),require("../client/workspaces-client.cjs"),require("../workspace/remote-workspace.cjs"),require("./remote-conversation.cjs");
@@ -12,7 +12,6 @@ import "../client/skills-client.js";
12
12
  import "../client/sub-agents-client.js";
13
13
  import "../client/tool-client.js";
14
14
  import "../client/vscode-client.js";
15
- import "../client/desktop-client.js";
16
15
  import "../client/shared-client.js";
17
16
  import "../client/workspaces-client.js";
18
17
  import "../workspace/remote-workspace.js";
@@ -1,2 +1,2 @@
1
- require("../../../../../_virtual/_rolldown/runtime.cjs");var e={"claude-code":{key:`claude-code`,display_name:`Claude Code`,default_command:[`npx`,`-y`,`@agentclientprotocol/claude-agent-acp@0.63.0`],api_key_env_var:`ANTHROPIC_API_KEY`,base_url_env_var:`ANTHROPIC_BASE_URL`,default_session_mode:`bypassPermissions`,agent_name_patterns:[`claude-agent`],supports_set_session_model:!0,session_meta_key:`claudeCode`,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`}],default_model:`opus[1m]`,supports_runtime_model_switch:!0,file_secrets:[],binary_name:`claude-agent-acp`,data_dir_env_var:`CLAUDE_CONFIG_DIR`},codex:{key:`codex`,display_name:`Codex`,default_command:[`npx`,`-y`,`@agentclientprotocol/codex-acp@1.1.7`],api_key_env_var:`OPENAI_API_KEY`,base_url_env_var:`OPENAI_BASE_URL`,default_session_mode:`agent-full-access`,agent_name_patterns:[`codex-acp`],supports_set_session_model:!0,session_meta_key:null,available_models:[{id:`gpt-5.6`,label:`GPT-5.6`},{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`},{id:`gpt-5.4`,label:`GPT-5.4`},{id:`gpt-5.4-mini`,label:`GPT-5.4 Mini`}],default_model:`gpt-5.5`,supports_runtime_model_switch:!0,file_secrets:[{secret_name:`CODEX_AUTH_JSON`,filename:`auth.json`,env_var:`CODEX_HOME`,subdir:`codex`,env_points_to:`dir`,warn_if_unset:[]}],binary_name:`codex-acp`,data_dir_env_var:`CODEX_HOME`},"gemini-cli":{key:`gemini-cli`,display_name:`Gemini CLI`,default_command:[`npx`,`-y`,`@google/gemini-cli@0.46.0`,`--acp`],api_key_env_var:`GEMINI_API_KEY`,base_url_env_var:`GEMINI_BASE_URL`,default_session_mode:`default`,agent_name_patterns:[`gemini-cli`],supports_set_session_model:!0,session_meta_key:null,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`}],default_model:`auto`,supports_runtime_model_switch:!0,file_secrets:[{secret_name:`GOOGLE_APPLICATION_CREDENTIALS_JSON`,filename:`gcloud-credentials.json`,env_var:`GOOGLE_APPLICATION_CREDENTIALS`,subdir:`gemini-cli`,env_points_to:`file`,warn_if_unset:[`GOOGLE_CLOUD_PROJECT`,`GOOGLE_CLOUD_LOCATION`]}],binary_name:`gemini`,data_dir_env_var:`HOME`}};exports.default=e;
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 \"key\": \"claude-code\",\n \"display_name\": \"Claude Code\",\n \"default_command\": [\"npx\", \"-y\", \"@agentclientprotocol/claude-agent-acp@0.63.0\"],\n \"api_key_env_var\": \"ANTHROPIC_API_KEY\",\n \"base_url_env_var\": \"ANTHROPIC_BASE_URL\",\n \"default_session_mode\": \"bypassPermissions\",\n \"agent_name_patterns\": [\"claude-agent\"],\n \"supports_set_session_model\": true,\n \"session_meta_key\": \"claudeCode\",\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 \"default_model\": \"opus[1m]\",\n \"supports_runtime_model_switch\": true,\n \"file_secrets\": [],\n \"binary_name\": \"claude-agent-acp\",\n \"data_dir_env_var\": \"CLAUDE_CONFIG_DIR\"\n },\n \"codex\": {\n \"key\": \"codex\",\n \"display_name\": \"Codex\",\n \"default_command\": [\"npx\", \"-y\", \"@agentclientprotocol/codex-acp@1.1.7\"],\n \"api_key_env_var\": \"OPENAI_API_KEY\",\n \"base_url_env_var\": \"OPENAI_BASE_URL\",\n \"default_session_mode\": \"agent-full-access\",\n \"agent_name_patterns\": [\"codex-acp\"],\n \"supports_set_session_model\": true,\n \"session_meta_key\": null,\n \"available_models\": [\n {\n \"id\": \"gpt-5.6\",\n \"label\": \"GPT-5.6\"\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 \"id\": \"gpt-5.4\",\n \"label\": \"GPT-5.4\"\n },\n {\n \"id\": \"gpt-5.4-mini\",\n \"label\": \"GPT-5.4 Mini\"\n }\n ],\n \"default_model\": \"gpt-5.5\",\n \"supports_runtime_model_switch\": true,\n \"file_secrets\": [\n {\n \"secret_name\": \"CODEX_AUTH_JSON\",\n \"filename\": \"auth.json\",\n \"env_var\": \"CODEX_HOME\",\n \"subdir\": \"codex\",\n \"env_points_to\": \"dir\",\n \"warn_if_unset\": []\n }\n ],\n \"binary_name\": \"codex-acp\",\n \"data_dir_env_var\": \"CODEX_HOME\"\n },\n \"gemini-cli\": {\n \"key\": \"gemini-cli\",\n \"display_name\": \"Gemini CLI\",\n \"default_command\": [\"npx\", \"-y\", \"@google/gemini-cli@0.46.0\", \"--acp\"],\n \"api_key_env_var\": \"GEMINI_API_KEY\",\n \"base_url_env_var\": \"GEMINI_BASE_URL\",\n \"default_session_mode\": \"default\",\n \"agent_name_patterns\": [\"gemini-cli\"],\n \"supports_set_session_model\": true,\n \"session_meta_key\": null,\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 \"default_model\": \"auto\",\n \"supports_runtime_model_switch\": true,\n \"file_secrets\": [\n {\n \"secret_name\": \"GOOGLE_APPLICATION_CREDENTIALS_JSON\",\n \"filename\": \"gcloud-credentials.json\",\n \"env_var\": \"GOOGLE_APPLICATION_CREDENTIALS\",\n \"subdir\": \"gemini-cli\",\n \"env_points_to\": \"file\",\n \"warn_if_unset\": [\"GOOGLE_CLOUD_PROJECT\", \"GOOGLE_CLOUD_LOCATION\"]\n }\n ],\n \"binary_name\": \"gemini\",\n \"data_dir_env_var\": \"HOME\"\n }\n}\n"],"x_google_ignoreList":[0],"mappings":""}
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":""}