@openhands/agent-canvas 1.0.0-beta.5 → 1.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -7
- package/README.windows.md +27 -0
- package/bin/agent-canvas.mjs +26 -3
- package/build/assets/{QueryClientProvider-CkGuhXg-.js → QueryClientProvider-Cnr-Yl3j.js} +1 -1
- package/build/assets/{Trans-Cvm_-SMi.js → Trans-4jmk54WC.js} +1 -1
- package/build/assets/acp-providers-CPdgcp13.js +1 -0
- package/build/assets/{acp-route-guard-B2yoBZ_4.js → acp-route-guard-BoVmCn0e.js} +1 -1
- package/build/assets/active-backend-context-Beu-LZL-.js +1 -0
- package/build/assets/add-backend-modal-BheqYXHK.js +1 -0
- package/build/assets/agent-server-client-options-HEOwGVIU.js +1 -0
- package/build/assets/agent-server-compatibility-CdI3N7dr.js +1 -0
- package/build/assets/agent-server-conversation-service.api-CORdqJZg.js +5 -0
- package/build/assets/{agent-settings-CnGSCmK8.js → agent-settings-UFvcGjoI.js} +1 -1
- package/build/assets/{alert-banner-DtzAX654.js → alert-banner-DFnn_lC6.js} +1 -1
- package/build/assets/{analytics-consent-form-modal-CHZ3I37v.js → analytics-consent-form-modal-CVNugqzu.js} +1 -1
- package/build/assets/api-key-entry-screen-M6su2VSf.js +1 -0
- package/build/assets/{app-settings-Db9ITeJH.js → app-settings-BlvBhBdc.js} +1 -1
- package/build/assets/automation-detail-BWrQk4Oa.js +1 -0
- package/build/assets/automations-list-ux9KvYsU.js +1 -0
- package/build/assets/back-nav-button-7dQJ2k3O.js +1 -0
- package/build/assets/backend-form-modal-CDnEYjaU.js +1 -0
- package/build/assets/{backend-synced-settings-badge-Dc6c7GT4.js → backend-synced-settings-badge-BTIj-Ffq.js} +1 -1
- package/build/assets/base-modal-C2oy2EBG.js +1 -0
- package/build/assets/brand-button-DJ_S16rO.js +1 -0
- package/build/assets/{browser-D810xUYt.js → browser-CGM-k-sH.js} +2 -2
- package/build/assets/browser-store-DAsixKdU.js +1 -0
- package/build/assets/{browser-tab-B-aIqXRl.js → browser-tab-dvSPdvkm.js} +1 -1
- package/build/assets/{checkmark-DL7acQA7.js → checkmark-Dus0b6jt.js} +1 -1
- package/build/assets/{chevron-left-small-CVWf8TI6.js → chevron-left-small-_uvG7RVM.js} +1 -1
- package/build/assets/{circle-plus-check-toggle-P7ZZToV4.js → circle-plus-check-toggle-DKS8MAVV.js} +1 -1
- package/build/assets/{close-B5LROHR3.js → close-BU5iTc66.js} +1 -1
- package/build/assets/code-tag-BzyqOtPD.js +1 -0
- package/build/assets/combobox-caret-BJC7XJsz.js +1 -0
- package/build/assets/{command-store-DFN_17p1.js → command-store-CE1weJy8.js} +1 -1
- package/build/assets/{condenser-settings-wnEKhBof.js → condenser-settings-BolbDvm5.js} +1 -1
- package/build/assets/{confirmation-modal-Dau3w_sa.js → confirmation-modal-B5Ca6qFE.js} +1 -1
- package/build/assets/context-menu-list-item-7tAcm2c3.js +1 -0
- package/build/assets/conversation-D0N4dw_p.js +19 -0
- package/build/assets/conversation-DhRJuZLG.js +1 -0
- package/build/assets/conversation-panel-CNqHbS_Z.js +1 -0
- package/build/assets/conversation-service.api-BsJy6uuL.js +1 -0
- package/build/assets/conversation-state-store-D-w0uurj.js +1 -0
- package/build/assets/conversation-store-CC-isCnP.js +1 -0
- package/build/assets/{conversation-tab-empty-state-DyssnnWa.js → conversation-tab-empty-state-CStQLPVW.js} +1 -1
- package/build/assets/conversation-websocket-context-DvHgx_FE.js +3 -0
- package/build/assets/{copy-DYgmUdIw.js → copy-Chg-sFu3.js} +1 -1
- package/build/assets/{custom-toast-handlers-C-SZFmto.js → custom-toast-handlers-ufGJ6_Rc.js} +1 -1
- package/build/assets/declaration-CR6HMp29.js +1 -0
- package/build/assets/{device-verify-DqDlphsG.js → device-verify-C6mj28zv.js} +1 -1
- package/build/assets/dist-DNeWJ2bh.js +1 -0
- package/build/assets/dropdown-classes-BsVmxlNG.js +1 -0
- package/build/assets/edit-automation-modal-BpX-t-HD.js +1 -0
- package/build/assets/ellipsis-button-Vh5MvRZa.js +1 -0
- package/build/assets/entry.client-Ck9rQCg-.js +2 -0
- package/build/assets/enum-filter-dropdown-5JeF2RLb.js +1 -0
- package/build/assets/{environment-switch-overlay-XL8yCGP6.js → environment-switch-overlay-Tf_BIfeR.js} +1 -1
- package/build/assets/extensions-hub-CE9QOb5n.js +1 -0
- package/build/assets/{extensions-navigation-BYR8Giqq.js → extensions-navigation-DSLGNGbS.js} +1 -1
- package/build/assets/file-BTY6Gyy9.js +1 -0
- package/build/assets/files-tab-cL668j1I.js +1 -0
- package/build/assets/files-tab-store-m0ARqX_E.js +1 -0
- package/build/assets/{folder-ZZJVGgd7.js → folder-D1T2W1cj.js} +1 -1
- package/build/assets/git-control-bar-branch-button-DtIrOrie.js +27 -0
- package/build/assets/git-provider-icon-CHdGBdU2.js +1 -0
- package/build/assets/globe-Bzj_0oXT.js +1 -0
- package/build/assets/home-Cz2Veg56.js +1 -0
- package/build/assets/{i18n-CTohRuoO.js → i18n-DET2iOyh.js} +1 -1
- package/build/assets/install-server-modal-B9nXCS3u.js +1 -0
- package/build/assets/launch-CWz0dm4o.js +1 -0
- package/build/assets/{lesson-plan-dH5Bj0pN.js → lesson-plan-duSsqWVs.js} +1 -1
- package/build/assets/link-external-DGxVm4Ps.js +1 -0
- package/build/assets/{llm-client-DaH1TuyR.js → llm-client-CYEaUjGx.js} +1 -1
- package/build/assets/llm-settings-DFkXHuvT.js +1 -0
- package/build/assets/llm-settings-DhrdCXqX.js +1 -0
- package/build/assets/{loading-spinner-BPtYORNK.js → loading-spinner-5GT9q1xy.js} +1 -1
- package/build/assets/manage-backends-modal-DpBD_vR9.js +1 -0
- package/build/assets/manage-workspaces-modal-CtRbxREx.js +1 -0
- package/build/assets/manifest-eed90ff5.js +1 -0
- package/build/assets/{markdown-renderer-DMzf2i4x.js → markdown-renderer-B3IAVfv4.js} +1 -1
- package/build/assets/mcp-BUe7kiYM.js +9 -0
- package/build/assets/messages-dqp_KYyl.js +36 -0
- package/build/assets/{modal-backdrop-BAbgYsqB.js → modal-backdrop-RfNCrSpK.js} +1 -1
- package/build/assets/{modal-body-BI6Ru2Qr.js → modal-body-aoa2fx5W.js} +1 -1
- package/build/assets/modal-classes-6YqcqA6y.js +1 -0
- package/build/assets/{modal-close-button-t1Gh3qmL.js → modal-close-button-CtWOUMmw.js} +1 -1
- package/build/assets/{model-selector-SM9IUz-q.js → model-selector-BvSTrkhT.js} +1 -1
- package/build/assets/{navigation-context-D0YWpT8d.js → navigation-context-BdKYH32C.js} +1 -1
- package/build/assets/{navigation-link-Cn7KP3c5.js → navigation-link-U4vY9i_C.js} +1 -1
- package/build/assets/{openhands-logo-CnrF6LKb.js → openhands-logo-CCo0wJZX.js} +1 -1
- package/build/assets/{option-service.api-KvY_mZMY.js → option-service.api-DmNVxAvS.js} +1 -1
- package/build/assets/{organization-service.api-DzYTHTYC.js → organization-service.api-DbnougaQ.js} +1 -1
- package/build/assets/{path-utils-C3bQf6lJ.js → path-utils-onx24uF5.js} +1 -1
- package/build/assets/{plan-components-atxXCF0R.js → plan-components-CRDMQzsS.js} +1 -1
- package/build/assets/{planner-tab-BlrCpv-7.js → planner-tab-CmIjLz7q.js} +1 -1
- package/build/assets/{profiles-client-D6IkTJof.js → profiles-client-fEmgWkCW.js} +1 -1
- package/build/assets/{providers-Bx6EfrzZ.js → providers-CbD7fiic.js} +1 -1
- package/build/assets/proxy-BAdHH8QB.js +1 -0
- package/build/assets/{query-client-config-B7u9asM0.js → query-client-config-CRnGSujB.js} +1 -1
- package/build/assets/{recommended-automations-launcher-BQChv2rc.js → recommended-automations-launcher-uTyODuzB.js} +3 -3
- package/build/assets/{root-BgEbw3S0.js → root-DmjpFpTu.js} +2 -2
- package/build/assets/root-Z2VHU4R3.css +1 -0
- package/build/assets/root-layout-DejMsKhy.js +2 -0
- package/build/assets/{sdk-section-page-DOIKvwSL.js → sdk-section-page-BgDlMhcq.js} +1 -1
- package/build/assets/{sdk-settings-schema-DsUf9wu1.js → sdk-settings-schema-CLmJ9sho.js} +1 -1
- package/build/assets/{search-27Owlc3A.js → search-SuJctqNJ.js} +1 -1
- package/build/assets/secrets-service-B7CxNinp.js +1 -0
- package/build/assets/secrets-settings-yK7CqIpm.js +1 -0
- package/build/assets/{server-client-DyAQ3NZ_.js → server-client-Kh4QSwDJ.js} +1 -1
- package/build/assets/{settings-BYkVX7vW.js → settings-DN5PpgRD.js} +1 -1
- package/build/assets/{settings-dropdown-input-BJYvGdg-.js → settings-dropdown-input-BtoovFre.js} +1 -1
- package/build/assets/{settings-gear-C77PgE_O.js → settings-gear-Dd8K2_8B.js} +1 -1
- package/build/assets/settings-index-DKC8IY1P.js +1 -0
- package/build/assets/{settings-input-Bn7F5C75.js → settings-input-CehsXnb3.js} +1 -1
- package/build/assets/settings-list-classes-E3v_f6QG.js +1 -0
- package/build/assets/settings-modal-DJ4kGzUx.js +1 -0
- package/build/assets/{settings-section-header-context-BgZe5YkE.js → settings-section-header-context-DewwJ0-F.js} +1 -1
- package/build/assets/settings-service.api-C3rxTtPj.js +1 -0
- package/build/assets/{settings-switch-BeIKrWms.js → settings-switch-BiBuS3xa.js} +1 -1
- package/build/assets/{settings-utils-B6Nl07io.js → settings-utils-DY04tWG1.js} +1 -1
- package/build/assets/{shared-conversation-AMyqXvpk.js → shared-conversation-h9YnBtCU.js} +1 -1
- package/build/assets/sidebar-mobile-menu-toggle-D0-AvsnT.js +1 -0
- package/build/assets/{sidebar-nav-link-BGjiJq-4.js → sidebar-nav-link-OhIeFyna.js} +1 -1
- package/build/assets/{sidebar-store-Uy3v0AOV.js → sidebar-store-DnQAJAE5.js} +1 -1
- package/build/assets/{skill-card-pill-row-DF1axQCG.js → skill-card-pill-row-BW9qvhoK.js} +1 -1
- package/build/assets/{skills-ChIKZPK4.js → skills-0GRKX5Xj.js} +1 -1
- package/build/assets/{skills-plugins-CcI_19lM.js → skills-plugins-DNcsNF88.js} +1 -1
- package/build/assets/skills-settings-7liFiSY6.js +2 -0
- package/build/assets/{styled-tooltip-CBzrri6o.js → styled-tooltip-hdfMXPQC.js} +1 -1
- package/build/assets/{switch-skeleton-DnC9wLp7.js → switch-skeleton-DSKqSx2A.js} +1 -1
- package/build/assets/{task-list-tab-DUJn1sgz.js → task-list-tab-DT6_zfUs.js} +1 -1
- package/build/assets/{terminal-DgQk1Ay6.js → terminal-CDhQGDua.js} +2 -2
- package/build/assets/{terminal-RmuaSdhJ.js → terminal-CPYWdo4j.js} +1 -1
- package/build/assets/{toggle-switch-Pvyp2RAN.js → toggle-switch-T2v6sJ6l.js} +1 -1
- package/build/assets/{typography-gpuWmrQO.js → typography-BDgnT7Yp.js} +1 -1
- package/build/assets/{u-check-circle-IUIfACQQ.js → u-check-circle-DOauqQKb.js} +1 -1
- package/build/assets/{u-check-circle-half-C1YxB6py.js → u-check-circle-half-steSK_JB.js} +1 -1
- package/build/assets/{u-circuit-BmVikJHu.js → u-circuit-x3ExjBbU.js} +1 -1
- package/build/assets/{u-edit-CFvXHqZk.js → u-edit-BbrptMCa.js} +1 -1
- package/build/assets/{use-active-conversation-BEFNwnFk.js → use-active-conversation-DHGcmjCK.js} +1 -1
- package/build/assets/use-agent-settings-schema-CLoTOSJI.js +1 -0
- package/build/assets/{use-agent-state-Bkrd1FZq.js → use-agent-state-PKrUPMJ3.js} +1 -1
- package/build/assets/{use-cloud-current-user-id-CvkXFnTT.js → use-cloud-current-user-id-Ddr75hEz.js} +1 -1
- package/build/assets/{use-config-Co1O8-Ey.js → use-config-OIMQLQ2s.js} +1 -1
- package/build/assets/{use-create-conversation-CEgXpkfH.js → use-create-conversation-Bszyp13O.js} +1 -1
- package/build/assets/{use-event-store-BT_gV3ut.js → use-event-store-BomO7ywK.js} +1 -1
- package/build/assets/{use-get-secrets-DuhdIA59.js → use-get-secrets-8Jby8ele.js} +1 -1
- package/build/assets/{use-handle-plan-click-Ckkm5eIY.js → use-handle-plan-click-CohJPvvW.js} +1 -1
- package/build/assets/use-is-authed-dw2026rR.js +1 -0
- package/build/assets/{use-is-creating-conversation-BZ5hB_Bg.js → use-is-creating-conversation-DX2qSlfL.js} +1 -1
- package/build/assets/{use-launch-skill-in-chat-fNN_xGZG.js → use-launch-skill-in-chat-sQNEOLGD.js} +1 -1
- package/build/assets/use-llm-profiles-C861aFAq.js +1 -0
- package/build/assets/use-runtime-is-ready-Do2h_hRl.js +1 -0
- package/build/assets/{use-save-settings-VUrj_QNG.js → use-save-settings-DkAOEfD9.js} +1 -1
- package/build/assets/use-settings-D5hbTS9t.js +1 -0
- package/build/assets/{use-settings-nav-items-1ZvovKSr.js → use-settings-nav-items-BcSbo02d.js} +1 -1
- package/build/assets/{use-skills-DAMLFjKU.js → use-skills-D7PS0fH0.js} +1 -1
- package/build/assets/{use-task-list-CLJbuJgM.js → use-task-list-CsT10CBb.js} +1 -1
- package/build/assets/{use-unified-vscode-url-DdSRw-6P.js → use-unified-vscode-url-DEoe-NRI.js} +1 -1
- package/build/assets/use-user-conversation-Cs5H1pUF.js +1 -0
- package/build/assets/{useMutation-DqrumCWD.js → useMutation-GSSKKebK.js} +1 -1
- package/build/assets/{useTranslation-DCOdSSMl.js → useTranslation-B6voJV4y.js} +1 -1
- package/build/assets/utils-DCVfKFRt.js +1 -0
- package/build/assets/{vendor~browser-BNjNhjFU.js → vendor~browser-BrOJLj3y.js} +1 -1
- package/build/assets/vendor~conversation-panel~conversation-C9o-K1hW.js +1 -0
- package/build/assets/vendor~conversation-panel~conversation~index-RXYdJYxU.js +1 -0
- package/build/assets/{vendor~entry.client~root~root-layout~home~conversation-panel~conversation~launch~skills-set~jfc6hidu-VnmIZrq3.js → vendor~entry.client~root~root-layout~home~conversation-panel~conversation~launch~skills-set~jfc6hidu-DJS-rJdI.js} +1 -1
- package/build/assets/{vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-DpAdkv8m.js → vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-6ByzelMS.js} +1 -1
- package/build/assets/{vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-B92czPCF.js → vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-BED5W_c4.js} +1 -1
- package/build/assets/{vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-By5W2oHN.js → vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-CCbqAFiI.js} +1 -1
- package/build/assets/{vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-BbFOrAjI.js → vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-CG96FCly.js} +1 -1
- package/build/assets/{vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-smY2r837.js → vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-E4d6IEfI.js} +1 -1
- package/build/assets/vendor~home~mcp~automations-list-CZSK-lT2.js +1 -0
- package/build/assets/{vendor~home~mcp~llm-settings~agent-settings~condenser-settings~verification-settings~app-se~ocm3mykx-Z3nsiNNq.js → vendor~home~mcp~llm-settings~agent-settings~condenser-settings~verification-settings~app-se~ocm3mykx-CjJdFLoM.js} +1 -1
- package/build/assets/{vendor~home~mcp~llm-settings~agent-settings~condenser-settings~verification-settings~app-se~ocm3mykx-DbfELDJu.js → vendor~home~mcp~llm-settings~agent-settings~condenser-settings~verification-settings~app-se~ocm3mykx-m8dOii0J.js} +2 -2
- package/build/assets/{vendor~root-layout~home~conversation-panel~conversation-DjAjXS5J.js → vendor~root-layout~home~conversation-panel~conversation-B5WNMnt4.js} +1 -1
- package/build/assets/vendor~root-layout~home~conversation-panel~conversation~extensions-hub~skills-settings~skil~i4kjfqhl-CbAhtEMv.js +1 -0
- package/build/assets/vendor~root-layout~home~conversation-panel~conversation~extensions-hub~skills-settings~skil~iguv7bgw-6Rm8U_Sr.js +9 -0
- package/build/assets/{vendor~root-layout~home~conversation-panel~conversation~extensions-hub~skills-settings~skil~iguv7bgw-BkQGKpye.js → vendor~root-layout~home~conversation-panel~conversation~extensions-hub~skills-settings~skil~iguv7bgw-tTR8C6m0.js} +1 -1
- package/build/assets/{vendor~root-layout~home~conversation-panel~conversation~extensions-hub~skills-settings~skil~k776hupu-Bbs7UJ5U.js → vendor~root-layout~home~conversation-panel~conversation~extensions-hub~skills-settings~skil~k776hupu-BJbu9kpL.js} +2 -2
- package/build/assets/{vendor~root-layout~home~conversation-panel~conversation~launch~extensions-hub~skills-settin~dp08i1qy-DTwbEEcX.js → vendor~root-layout~home~conversation-panel~conversation~launch~extensions-hub~skills-settin~dp08i1qy-hTzSytKK.js} +1 -1
- package/build/assets/{vendor~root~root-layout~home~conversation-panel~conversation~launch~extensions-hub~skills-s~f2l2lr17-CDXvdvb2.js → vendor~root~root-layout~home~conversation-panel~conversation~launch~extensions-hub~skills-s~f2l2lr17-DYXOLEck.js} +1 -1
- package/build/assets/{verification-settings-CsbvQcYS.js → verification-settings-Dlt8pINd.js} +1 -1
- package/build/assets/{vscode-tab-DjNArCgY.js → vscode-tab-DgepcYtF.js} +1 -1
- package/build/assets/{waiting-for-runtime-message-CntjExbU.js → waiting-for-runtime-message-CdK3btDZ.js} +1 -1
- package/build/assets/{x-mark-CrpjscNc.js → x-mark-BrkSPIiT.js} +1 -1
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +20 -2
- package/build/locales/ca/openhands.json +20 -2
- package/build/locales/de/openhands.json +20 -2
- package/build/locales/en/openhands.json +20 -2
- package/build/locales/es/openhands.json +20 -2
- package/build/locales/fr/openhands.json +20 -2
- package/build/locales/it/openhands.json +20 -2
- package/build/locales/ja/openhands.json +20 -2
- package/build/locales/ko-KR/openhands.json +20 -2
- package/build/locales/no/openhands.json +20 -2
- package/build/locales/pt/openhands.json +20 -2
- package/build/locales/tr/openhands.json +20 -2
- package/build/locales/uk/openhands.json +20 -2
- package/build/locales/zh-CN/openhands.json +20 -2
- package/build/locales/zh-TW/openhands.json +20 -2
- package/dist/api/acp-service/acp-service.api.d.ts +18 -0
- package/dist/api/agent-server-adapter.cjs +3 -3
- package/dist/api/agent-server-adapter.cjs.map +1 -1
- package/dist/api/agent-server-adapter.js +54 -55
- package/dist/api/agent-server-adapter.js.map +1 -1
- package/dist/api/agent-server-client-options.cjs +1 -1
- package/dist/api/agent-server-client-options.cjs.map +1 -1
- package/dist/api/agent-server-client-options.d.ts +4 -0
- package/dist/api/agent-server-client-options.js +18 -12
- package/dist/api/agent-server-client-options.js.map +1 -1
- package/dist/api/agent-server-compatibility.cjs +1 -1
- package/dist/api/agent-server-compatibility.cjs.map +1 -1
- package/dist/api/agent-server-compatibility.d.ts +1 -1
- package/dist/api/agent-server-compatibility.js +30 -25
- package/dist/api/agent-server-compatibility.js.map +1 -1
- package/dist/api/agent-server-config.cjs +1 -1
- package/dist/api/agent-server-config.cjs.map +1 -1
- package/dist/api/agent-server-config.d.ts +1 -51
- package/dist/api/agent-server-config.js +20 -70
- package/dist/api/agent-server-config.js.map +1 -1
- package/dist/api/backend-registry/active-store.cjs +1 -1
- package/dist/api/backend-registry/active-store.cjs.map +1 -1
- package/dist/api/backend-registry/active-store.d.ts +11 -5
- package/dist/api/backend-registry/active-store.js +36 -27
- package/dist/api/backend-registry/active-store.js.map +1 -1
- package/dist/api/backend-registry/auth.cjs +1 -1
- package/dist/api/backend-registry/auth.cjs.map +1 -1
- package/dist/api/backend-registry/auth.js +3 -9
- package/dist/api/backend-registry/auth.js.map +1 -1
- package/dist/api/backend-registry/default-backend.cjs +1 -1
- package/dist/api/backend-registry/default-backend.cjs.map +1 -1
- package/dist/api/backend-registry/default-backend.d.ts +9 -16
- package/dist/api/backend-registry/default-backend.js +5 -4
- package/dist/api/backend-registry/default-backend.js.map +1 -1
- package/dist/api/backend-registry/storage.cjs +1 -1
- package/dist/api/backend-registry/storage.cjs.map +1 -1
- package/dist/api/backend-registry/storage.js +67 -34
- package/dist/api/backend-registry/storage.js.map +1 -1
- package/dist/api/cloud/conversation-service.api.cjs.map +1 -1
- package/dist/api/cloud/conversation-service.api.d.ts +8 -13
- package/dist/api/cloud/conversation-service.api.js.map +1 -1
- package/dist/api/cloud/organization-service.api.cjs.map +1 -1
- package/dist/api/cloud/organization-service.api.d.ts +1 -2
- package/dist/api/cloud/organization-service.api.js.map +1 -1
- package/dist/api/cloud/proxy.cjs +1 -1
- package/dist/api/cloud/proxy.cjs.map +1 -1
- package/dist/api/cloud/proxy.d.ts +6 -6
- package/dist/api/cloud/proxy.js +33 -24
- package/dist/api/cloud/proxy.js.map +1 -1
- package/dist/api/cloud/sandbox-service.api.cjs.map +1 -1
- package/dist/api/cloud/sandbox-service.api.d.ts +3 -3
- package/dist/api/cloud/sandbox-service.api.js.map +1 -1
- package/dist/api/cloud/secrets-service.api.cjs.map +1 -1
- package/dist/api/cloud/secrets-service.api.d.ts +3 -4
- package/dist/api/cloud/secrets-service.api.js.map +1 -1
- package/dist/api/cloud/settings-service.api.cjs +1 -1
- package/dist/api/cloud/settings-service.api.cjs.map +1 -1
- package/dist/api/cloud/settings-service.api.js +5 -1
- package/dist/api/cloud/settings-service.api.js.map +1 -1
- package/dist/api/cloud/skills-service.api.cjs.map +1 -1
- package/dist/api/cloud/skills-service.api.d.ts +5 -5
- package/dist/api/cloud/skills-service.api.js.map +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs.map +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.js +115 -108
- package/dist/api/conversation-service/agent-server-conversation-service.api.js.map +1 -1
- package/dist/api/device-flow-client.cjs +1 -1
- package/dist/api/device-flow-client.cjs.map +1 -1
- package/dist/api/device-flow-client.d.ts +3 -5
- package/dist/api/device-flow-client.js +55 -66
- package/dist/api/device-flow-client.js.map +1 -1
- package/dist/api/event-service/event-service.api.cjs +1 -1
- package/dist/api/event-service/event-service.api.cjs.map +1 -1
- package/dist/api/event-service/event-service.api.d.ts +3 -3
- package/dist/api/event-service/event-service.api.js +17 -17
- package/dist/api/event-service/event-service.api.js.map +1 -1
- package/dist/api/git-service/agent-server-git-service.api.cjs +1 -1
- package/dist/api/git-service/agent-server-git-service.api.js +11 -11
- package/dist/api/runtime-service/agent-server-runtime-service.cjs +1 -1
- package/dist/api/runtime-service/agent-server-runtime-service.js +6 -6
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-content.cjs +2 -2
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-content.js +10 -10
- package/dist/components/conversation-events/chat/event-content-helpers/get-observation-result.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-observation-result.d.ts +5 -5
- package/dist/components/conversation-events/chat/event-content-helpers/get-observation-result.js.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/should-render-event.cjs +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/should-render-event.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/should-render-event.js +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/should-render-event.js.map +1 -1
- package/dist/components/features/automations/automation-action-button-classes.d.ts +2 -2
- package/dist/components/features/backends/backend-form-modal.cjs +1 -1
- package/dist/components/features/backends/backend-form-modal.cjs.map +1 -1
- package/dist/components/features/backends/backend-form-modal.d.ts +1 -0
- package/dist/components/features/backends/backend-form-modal.js +203 -140
- package/dist/components/features/backends/backend-form-modal.js.map +1 -1
- package/dist/components/features/backends/backend-selector.cjs +1 -1
- package/dist/components/features/backends/backend-selector.cjs.map +1 -1
- package/dist/components/features/backends/backend-selector.js +117 -105
- package/dist/components/features/backends/backend-selector.js.map +1 -1
- package/dist/components/features/backends/backend-status-dot.cjs +1 -1
- package/dist/components/features/backends/backend-status-dot.cjs.map +1 -1
- package/dist/components/features/backends/backend-status-dot.d.ts +1 -1
- package/dist/components/features/backends/backend-status-dot.js +1 -1
- package/dist/components/features/backends/backend-status-dot.js.map +1 -1
- package/dist/components/features/backends/manage-backends-modal.cjs +1 -1
- package/dist/components/features/backends/manage-backends-modal.cjs.map +1 -1
- package/dist/components/features/backends/manage-backends-modal.js +81 -70
- package/dist/components/features/backends/manage-backends-modal.js.map +1 -1
- package/dist/components/features/chat/change-agent-button.cjs +1 -1
- package/dist/components/features/chat/change-agent-button.cjs.map +1 -1
- package/dist/components/features/chat/change-agent-button.js +59 -57
- package/dist/components/features/chat/change-agent-button.js.map +1 -1
- package/dist/components/features/chat/change-agent-context-menu.cjs +1 -1
- package/dist/components/features/chat/change-agent-context-menu.cjs.map +1 -1
- package/dist/components/features/chat/change-agent-context-menu.d.ts +3 -1
- package/dist/components/features/chat/change-agent-context-menu.js +30 -25
- package/dist/components/features/chat/change-agent-context-menu.js.map +1 -1
- package/dist/components/features/chat/chat-add-file-button.cjs +1 -1
- package/dist/components/features/chat/chat-add-file-button.cjs.map +1 -1
- package/dist/components/features/chat/chat-add-file-button.js +39 -38
- package/dist/components/features/chat/chat-add-file-button.js.map +1 -1
- package/dist/components/features/chat/chat-message.cjs +1 -1
- package/dist/components/features/chat/chat-message.cjs.map +1 -1
- package/dist/components/features/chat/chat-message.d.ts +2 -1
- package/dist/components/features/chat/chat-message.js +185 -57
- package/dist/components/features/chat/chat-message.js.map +1 -1
- package/dist/components/features/chat/components/chat-input-actions.cjs +1 -1
- package/dist/components/features/chat/components/chat-input-actions.cjs.map +1 -1
- package/dist/components/features/chat/components/chat-input-actions.js +113 -113
- package/dist/components/features/chat/components/chat-input-actions.js.map +1 -1
- package/dist/components/features/chat/components/chat-input-model.cjs +1 -1
- package/dist/components/features/chat/components/chat-input-model.cjs.map +1 -1
- package/dist/components/features/chat/components/chat-input-model.js +52 -51
- package/dist/components/features/chat/components/chat-input-model.js.map +1 -1
- package/dist/components/features/chat/components/slash-command-menu.cjs +2 -2
- package/dist/components/features/chat/components/slash-command-menu.cjs.map +1 -1
- package/dist/components/features/chat/components/slash-command-menu.js +38 -34
- package/dist/components/features/chat/components/slash-command-menu.js.map +1 -1
- package/dist/components/features/chat/git-control-bar-pr-button.cjs +1 -1
- package/dist/components/features/chat/git-control-bar-pr-button.cjs.map +1 -1
- package/dist/components/features/chat/git-control-bar-pr-button.js +16 -15
- package/dist/components/features/chat/git-control-bar-pr-button.js.map +1 -1
- package/dist/components/features/chat/git-control-bar-pull-button.cjs +1 -1
- package/dist/components/features/chat/git-control-bar-pull-button.cjs.map +1 -1
- package/dist/components/features/chat/git-control-bar-pull-button.js +16 -15
- package/dist/components/features/chat/git-control-bar-pull-button.js.map +1 -1
- package/dist/components/features/chat/git-control-bar-push-button.cjs +1 -1
- package/dist/components/features/chat/git-control-bar-push-button.cjs.map +1 -1
- package/dist/components/features/chat/git-control-bar-push-button.js +16 -15
- package/dist/components/features/chat/git-control-bar-push-button.js.map +1 -1
- package/dist/components/features/chat/git-control-bar.cjs +1 -1
- package/dist/components/features/chat/git-control-bar.cjs.map +1 -1
- package/dist/components/features/chat/git-control-bar.js +63 -62
- package/dist/components/features/chat/git-control-bar.js.map +1 -1
- package/dist/components/features/chat/pending-user-messages.cjs +1 -1
- package/dist/components/features/chat/pending-user-messages.cjs.map +1 -1
- package/dist/components/features/chat/pending-user-messages.js +27 -23
- package/dist/components/features/chat/pending-user-messages.js.map +1 -1
- package/dist/components/features/chat/switch-profile-button.cjs +1 -1
- package/dist/components/features/chat/switch-profile-button.cjs.map +1 -1
- package/dist/components/features/chat/switch-profile-button.js +26 -25
- package/dist/components/features/chat/switch-profile-button.js.map +1 -1
- package/dist/components/features/chat/switch-profile-context-menu.cjs +1 -1
- package/dist/components/features/chat/switch-profile-context-menu.cjs.map +1 -1
- package/dist/components/features/chat/switch-profile-context-menu.js +77 -67
- package/dist/components/features/chat/switch-profile-context-menu.js.map +1 -1
- package/dist/components/features/context-menu/context-menu-icon-text-with-description.cjs +1 -1
- package/dist/components/features/context-menu/context-menu-icon-text-with-description.cjs.map +1 -1
- package/dist/components/features/context-menu/context-menu-icon-text-with-description.d.ts +2 -1
- package/dist/components/features/context-menu/context-menu-icon-text-with-description.js +3 -2
- package/dist/components/features/context-menu/context-menu-icon-text-with-description.js.map +1 -1
- package/dist/components/features/context-menu/context-menu-icon-text.cjs +1 -1
- package/dist/components/features/context-menu/context-menu-icon-text.cjs.map +1 -1
- package/dist/components/features/context-menu/context-menu-icon-text.d.ts +2 -1
- package/dist/components/features/context-menu/context-menu-icon-text.js +20 -10
- package/dist/components/features/context-menu/context-menu-icon-text.js.map +1 -1
- package/dist/components/features/context-menu/context-menu-list-item.cjs +1 -1
- package/dist/components/features/context-menu/context-menu-list-item.cjs.map +1 -1
- package/dist/components/features/context-menu/context-menu-list-item.js +10 -9
- package/dist/components/features/context-menu/context-menu-list-item.js.map +1 -1
- package/dist/components/features/controls/agent-status.cjs +1 -1
- package/dist/components/features/controls/agent-status.js +12 -12
- package/dist/components/features/controls/git-tools-submenu.cjs +1 -1
- package/dist/components/features/controls/git-tools-submenu.cjs.map +1 -1
- package/dist/components/features/controls/git-tools-submenu.js +1 -1
- package/dist/components/features/controls/git-tools-submenu.js.map +1 -1
- package/dist/components/features/controls/macros-submenu.cjs +1 -1
- package/dist/components/features/controls/macros-submenu.cjs.map +1 -1
- package/dist/components/features/controls/macros-submenu.js +1 -1
- package/dist/components/features/controls/macros-submenu.js.map +1 -1
- package/dist/components/features/controls/server-status-context-menu-icon-text.cjs +1 -1
- package/dist/components/features/controls/server-status-context-menu-icon-text.cjs.map +1 -1
- package/dist/components/features/controls/server-status-context-menu-icon-text.js +14 -15
- package/dist/components/features/controls/server-status-context-menu-icon-text.js.map +1 -1
- package/dist/components/features/controls/server-status-context-menu.cjs +1 -1
- package/dist/components/features/controls/server-status-context-menu.js +4 -4
- package/dist/components/features/controls/server-status.cjs +1 -1
- package/dist/components/features/controls/server-status.js +7 -7
- package/dist/components/features/controls/tools-context-menu-icon-text.cjs +1 -1
- package/dist/components/features/controls/tools-context-menu-icon-text.cjs.map +1 -1
- package/dist/components/features/controls/tools-context-menu-icon-text.js +16 -16
- package/dist/components/features/controls/tools-context-menu-icon-text.js.map +1 -1
- package/dist/components/features/conversation/conversation-name-context-menu-icon-text.cjs +1 -1
- package/dist/components/features/conversation/conversation-name-context-menu-icon-text.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-name-context-menu-icon-text.js +11 -11
- package/dist/components/features/conversation/conversation-name-context-menu-icon-text.js.map +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.cjs +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.js +11 -11
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.cjs +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.js +60 -47
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.js.map +1 -1
- package/dist/components/features/conversation-panel/cloud-new-conversation-menu.cjs +1 -1
- package/dist/components/features/conversation-panel/cloud-new-conversation-menu.cjs.map +1 -1
- package/dist/components/features/conversation-panel/cloud-new-conversation-menu.js +86 -82
- package/dist/components/features/conversation-panel/cloud-new-conversation-menu.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.js +4 -4
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.js +9 -9
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.js +93 -93
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.js +177 -177
- package/dist/components/features/conversation-panel/conversation-panel.js.map +1 -1
- package/dist/components/features/conversation-panel/ellipsis-button.cjs +1 -1
- package/dist/components/features/conversation-panel/ellipsis-button.cjs.map +1 -1
- package/dist/components/features/conversation-panel/ellipsis-button.js +13 -13
- package/dist/components/features/conversation-panel/ellipsis-button.js.map +1 -1
- package/dist/components/features/conversation-panel/local-new-conversation-menu.cjs +1 -1
- package/dist/components/features/conversation-panel/local-new-conversation-menu.cjs.map +1 -1
- package/dist/components/features/conversation-panel/local-new-conversation-menu.js +57 -53
- package/dist/components/features/conversation-panel/local-new-conversation-menu.js.map +1 -1
- package/dist/components/features/conversation-panel/new-conversation-dropdown-styles.cjs +1 -1
- package/dist/components/features/conversation-panel/new-conversation-dropdown-styles.cjs.map +1 -1
- package/dist/components/features/conversation-panel/new-conversation-dropdown-styles.js +3 -2
- package/dist/components/features/conversation-panel/new-conversation-dropdown-styles.js.map +1 -1
- package/dist/components/features/conversation-panel/start-task-card/start-task-status-badge.cjs +1 -1
- package/dist/components/features/conversation-panel/start-task-card/start-task-status-badge.cjs.map +1 -1
- package/dist/components/features/conversation-panel/start-task-card/start-task-status-badge.js +11 -8
- package/dist/components/features/conversation-panel/start-task-card/start-task-status-badge.js.map +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/tab-content.cjs.map +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/tab-content.d.ts +2 -5
- package/dist/components/features/conversation-panel/system-message-modal/tab-content.js.map +1 -1
- package/dist/components/features/files-tab/file-content-viewer.cjs +1 -1
- package/dist/components/features/files-tab/file-content-viewer.cjs.map +1 -1
- package/dist/components/features/files-tab/file-content-viewer.js +45 -42
- package/dist/components/features/files-tab/file-content-viewer.js.map +1 -1
- package/dist/components/features/home/llm-not-configured-banner.d.ts +11 -0
- package/dist/components/features/home/shared/dropdown-item.cjs +1 -1
- package/dist/components/features/home/shared/dropdown-item.cjs.map +1 -1
- package/dist/components/features/home/shared/dropdown-item.js +20 -16
- package/dist/components/features/home/shared/dropdown-item.js.map +1 -1
- package/dist/components/features/home/shared/generic-dropdown-menu.cjs +1 -1
- package/dist/components/features/home/shared/generic-dropdown-menu.cjs.map +1 -1
- package/dist/components/features/home/shared/generic-dropdown-menu.js +23 -22
- package/dist/components/features/home/shared/generic-dropdown-menu.js.map +1 -1
- package/dist/components/features/home/workspace-dropdown/folder-browser-modal.cjs +1 -1
- package/dist/components/features/home/workspace-dropdown/folder-browser-modal.cjs.map +1 -1
- package/dist/components/features/home/workspace-dropdown/folder-browser-modal.js +103 -102
- package/dist/components/features/home/workspace-dropdown/folder-browser-modal.js.map +1 -1
- package/dist/components/features/home/workspace-dropdown/manage-workspaces-modal.cjs +1 -1
- package/dist/components/features/home/workspace-dropdown/manage-workspaces-modal.cjs.map +1 -1
- package/dist/components/features/home/workspace-dropdown/manage-workspaces-modal.js +68 -67
- package/dist/components/features/home/workspace-dropdown/manage-workspaces-modal.js.map +1 -1
- package/dist/components/features/mcp-page/custom-server-editor.cjs +1 -1
- package/dist/components/features/mcp-page/custom-server-editor.cjs.map +1 -1
- package/dist/components/features/mcp-page/custom-server-editor.js +62 -60
- package/dist/components/features/mcp-page/custom-server-editor.js.map +1 -1
- package/dist/components/features/mcp-page/index.cjs +1 -1
- package/dist/components/features/mcp-page/index.d.ts +1 -0
- package/dist/components/features/mcp-page/index.js +1 -0
- package/dist/components/features/mcp-page/install-server-modal.cjs +1 -1
- package/dist/components/features/mcp-page/install-server-modal.cjs.map +1 -1
- package/dist/components/features/mcp-page/install-server-modal.js +150 -119
- package/dist/components/features/mcp-page/install-server-modal.js.map +1 -1
- package/dist/components/features/mcp-page/save-as-secret-toggle.cjs +2 -0
- package/dist/components/features/mcp-page/save-as-secret-toggle.cjs.map +1 -0
- package/dist/components/features/mcp-page/save-as-secret-toggle.d.ts +7 -0
- package/dist/components/features/mcp-page/save-as-secret-toggle.js +50 -0
- package/dist/components/features/mcp-page/save-as-secret-toggle.js.map +1 -0
- package/dist/components/features/onboarding/onboarding-modal.d.ts +2 -2
- package/dist/components/features/onboarding/steps/check-backend-step.d.ts +1 -1
- package/dist/components/features/onboarding/steps/choose-agent-step.d.ts +2 -1
- package/dist/components/features/onboarding/steps/setup-acp-secrets-step.d.ts +19 -10
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.cjs +1 -1
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.d.ts +5 -0
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.js +2 -0
- package/dist/components/features/settings/llm-profiles/profile-actions-menu.cjs +1 -1
- package/dist/components/features/settings/llm-profiles/profile-actions-menu.js +1 -0
- package/dist/components/features/skills/extensions-navigation.cjs +1 -1
- package/dist/components/features/skills/extensions-navigation.cjs.map +1 -1
- package/dist/components/features/skills/extensions-navigation.js +1 -1
- package/dist/components/features/skills/extensions-navigation.js.map +1 -1
- package/dist/components/shared/buttons/back-nav-button.cjs +2 -0
- package/dist/components/shared/buttons/back-nav-button.cjs.map +1 -0
- package/dist/components/shared/buttons/back-nav-button.d.ts +17 -0
- package/dist/components/shared/buttons/back-nav-button.js +33 -0
- package/dist/components/shared/buttons/back-nav-button.js.map +1 -0
- package/dist/components/shared/buttons/conversation-confirmation-buttons.cjs +1 -1
- package/dist/components/shared/buttons/conversation-confirmation-buttons.js +5 -5
- package/dist/components/shared/filters/enum-filter-dropdown.cjs +1 -1
- package/dist/components/shared/filters/enum-filter-dropdown.cjs.map +1 -1
- package/dist/components/shared/filters/enum-filter-dropdown.js +32 -31
- package/dist/components/shared/filters/enum-filter-dropdown.js.map +1 -1
- package/dist/components/shared/modals/confirmation-modals/base-modal.cjs +1 -1
- package/dist/components/shared/modals/confirmation-modals/base-modal.cjs.map +1 -1
- package/dist/components/shared/modals/confirmation-modals/base-modal.js +14 -13
- package/dist/components/shared/modals/confirmation-modals/base-modal.js.map +1 -1
- package/dist/components/shared/modals/settings/settings-modal.cjs +1 -1
- package/dist/components/shared/modals/settings/settings-modal.cjs.map +1 -1
- package/dist/components/shared/modals/settings/settings-modal.js +17 -16
- package/dist/components/shared/modals/settings/settings-modal.js.map +1 -1
- package/dist/components/shared/text-shimmer.cjs +2 -0
- package/dist/components/shared/text-shimmer.cjs.map +1 -0
- package/dist/components/shared/text-shimmer.d.ts +11 -0
- package/dist/components/shared/text-shimmer.js +43 -0
- package/dist/components/shared/text-shimmer.js.map +1 -0
- package/dist/constants/acp-providers.cjs +1 -1
- package/dist/constants/acp-providers.cjs.map +1 -1
- package/dist/constants/acp-providers.d.ts +16 -3
- package/dist/constants/acp-providers.js +0 -1
- package/dist/constants/acp-providers.js.map +1 -1
- package/dist/contexts/active-backend-context.cjs +1 -1
- package/dist/contexts/active-backend-context.cjs.map +1 -1
- package/dist/contexts/active-backend-context.js +32 -32
- package/dist/contexts/active-backend-context.js.map +1 -1
- package/dist/hooks/chat/use-chat-input-logic.cjs +1 -1
- package/dist/hooks/chat/use-chat-input-logic.cjs.map +1 -1
- package/dist/hooks/chat/use-chat-input-logic.js +13 -6
- package/dist/hooks/chat/use-chat-input-logic.js.map +1 -1
- package/dist/hooks/mutation/use-save-fields-as-secrets.cjs +2 -0
- package/dist/hooks/mutation/use-save-fields-as-secrets.cjs.map +1 -0
- package/dist/hooks/mutation/use-save-fields-as-secrets.d.ts +9 -0
- package/dist/hooks/mutation/use-save-fields-as-secrets.js +24 -0
- package/dist/hooks/mutation/use-save-fields-as-secrets.js.map +1 -0
- package/dist/hooks/mutation/use-unified-start-conversation.cjs +1 -1
- package/dist/hooks/mutation/use-unified-start-conversation.js +8 -8
- package/dist/hooks/mutation/use-unified-stop-conversation.cjs +1 -1
- package/dist/hooks/mutation/use-unified-stop-conversation.js +15 -15
- package/dist/hooks/query/use-acp-auth-status.d.ts +36 -0
- package/dist/hooks/query/use-agent-settings-schema.cjs +1 -1
- package/dist/hooks/query/use-agent-settings-schema.cjs.map +1 -1
- package/dist/hooks/query/use-agent-settings-schema.js +26 -16
- package/dist/hooks/query/use-agent-settings-schema.js.map +1 -1
- package/dist/hooks/query/use-backends-health.cjs +1 -1
- package/dist/hooks/query/use-backends-health.cjs.map +1 -1
- package/dist/hooks/query/use-backends-health.d.ts +2 -0
- package/dist/hooks/query/use-backends-health.js +31 -21
- package/dist/hooks/query/use-backends-health.js.map +1 -1
- package/dist/hooks/query/use-paginated-conversations.cjs +1 -1
- package/dist/hooks/query/use-paginated-conversations.cjs.map +1 -1
- package/dist/hooks/query/use-paginated-conversations.js +15 -14
- package/dist/hooks/query/use-paginated-conversations.js.map +1 -1
- package/dist/hooks/query/use-settings.cjs +1 -1
- package/dist/hooks/query/use-settings.cjs.map +1 -1
- package/dist/hooks/query/use-settings.js +65 -52
- package/dist/hooks/query/use-settings.js.map +1 -1
- package/dist/hooks/query/use-user-conversation.cjs +1 -1
- package/dist/hooks/query/use-user-conversation.cjs.map +1 -1
- package/dist/hooks/query/use-user-conversation.js +20 -11
- package/dist/hooks/query/use-user-conversation.js.map +1 -1
- package/dist/hooks/use-agent-state.cjs +1 -1
- package/dist/hooks/use-agent-state.js +13 -13
- package/dist/hooks/use-conversation-name-context-menu.cjs +1 -1
- package/dist/hooks/use-conversation-name-context-menu.js +10 -10
- package/dist/hooks/use-conversation-name-context-menu.js.map +1 -1
- package/dist/hooks/use-llm-configured.d.ts +25 -0
- package/dist/hooks/use-runtime-is-ready.cjs +1 -1
- package/dist/hooks/use-runtime-is-ready.js +5 -5
- package/dist/i18n/declaration.cjs +1 -1
- package/dist/i18n/declaration.cjs.map +1 -1
- package/dist/i18n/declaration.d.ts +19 -1
- package/dist/i18n/declaration.js +1 -1
- package/dist/i18n/declaration.js.map +1 -1
- package/dist/i18n/translation.cjs +3 -3
- package/dist/i18n/translation.cjs.map +1 -1
- package/dist/i18n/translation.js +321 -15
- package/dist/i18n/translation.js.map +1 -1
- package/dist/icons/stop-circle.cjs +1 -1
- package/dist/icons/stop-circle.cjs.map +1 -1
- package/dist/icons/stop-circle.js +7 -10
- package/dist/icons/stop-circle.js.map +1 -1
- package/dist/locales/ar/openhands.json +20 -2
- package/dist/locales/ca/openhands.json +20 -2
- package/dist/locales/de/openhands.json +20 -2
- package/dist/locales/en/openhands.json +20 -2
- package/dist/locales/es/openhands.json +20 -2
- package/dist/locales/fr/openhands.json +20 -2
- package/dist/locales/it/openhands.json +20 -2
- package/dist/locales/ja/openhands.json +20 -2
- package/dist/locales/ko-KR/openhands.json +20 -2
- package/dist/locales/no/openhands.json +20 -2
- package/dist/locales/pt/openhands.json +20 -2
- package/dist/locales/tr/openhands.json +20 -2
- package/dist/locales/uk/openhands.json +20 -2
- package/dist/locales/zh-CN/openhands.json +20 -2
- package/dist/locales/zh-TW/openhands.json +20 -2
- package/dist/node_modules/@openhands/extensions/integrations/catalog/airtable.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/airtable.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/airtable.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/airtable.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/apify.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/apify.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/apify.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/apify.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/brave-search.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/brave-search.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/brave-search.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/brave-search.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/clickhouse.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/clickhouse.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/clickhouse.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/clickhouse.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/elevenlabs.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/elevenlabs.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/elevenlabs.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/elevenlabs.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/exa.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/exa.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/exa.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/exa.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/figma.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/figma.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/figma.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/figma.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/firecrawl.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/firecrawl.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/firecrawl.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/firecrawl.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/github.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/github.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/github.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/github.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/kagi.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/kagi.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/kagi.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/kagi.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/mongodb.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/mongodb.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/mongodb.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/mongodb.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/neon.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/neon.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/neon.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/neon.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/obsidian.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/obsidian.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/obsidian.js +2 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/obsidian.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/redis.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/redis.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/redis.js +2 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/redis.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/resend.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/resend.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/resend.js +3 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/resend.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/slack.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/slack.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/slack.js +8 -7
- package/dist/node_modules/@openhands/extensions/integrations/catalog/slack.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/supabase.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/supabase.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/supabase.js +2 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/supabase.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/tavily.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/tavily.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/tavily.js +4 -2
- package/dist/node_modules/@openhands/extensions/integrations/catalog/tavily.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.cjs +2 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.cjs.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +2 -2
- package/dist/package.js.map +1 -1
- package/dist/routes/conversation.cjs +1 -1
- package/dist/routes/conversation.cjs.map +1 -1
- package/dist/routes/conversation.js +1 -1
- package/dist/routes/conversation.js.map +1 -1
- package/dist/routes/llm-settings.cjs +1 -1
- package/dist/routes/llm-settings.cjs.map +1 -1
- package/dist/routes/llm-settings.js +55 -54
- package/dist/routes/llm-settings.js.map +1 -1
- package/dist/routes/secrets-settings.cjs +1 -1
- package/dist/routes/secrets-settings.cjs.map +1 -1
- package/dist/routes/secrets-settings.js +19 -27
- package/dist/routes/secrets-settings.js.map +1 -1
- package/dist/stores/conversation-store.cjs +1 -1
- package/dist/stores/conversation-store.cjs.map +1 -1
- package/dist/stores/conversation-store.d.ts +4 -0
- package/dist/stores/conversation-store.js +6 -0
- package/dist/stores/conversation-store.js.map +1 -1
- package/dist/types/agent-server/core/events/acp-tool-call-event.d.ts +6 -4
- package/dist/types/agent-server/core/events/system-event.d.ts +5 -0
- package/dist/types/automation.d.ts +15 -0
- package/dist/types/settings.d.ts +3 -1
- package/dist/ui/combobox-caret.cjs +1 -1
- package/dist/ui/combobox-caret.cjs.map +1 -1
- package/dist/ui/combobox-caret.d.ts +1 -1
- package/dist/ui/combobox-caret.js +9 -8
- package/dist/ui/combobox-caret.js.map +1 -1
- package/dist/ui/context-menu.cjs +1 -1
- package/dist/ui/context-menu.cjs.map +1 -1
- package/dist/ui/context-menu.js +9 -8
- package/dist/ui/context-menu.js.map +1 -1
- package/dist/ui/dropdown/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown/dropdown-menu.cjs.map +1 -1
- package/dist/ui/dropdown/dropdown-menu.js +21 -17
- package/dist/ui/dropdown/dropdown-menu.js.map +1 -1
- package/dist/ui/dropdown/dropdown.cjs +1 -1
- package/dist/ui/dropdown/dropdown.cjs.map +1 -1
- package/dist/ui/dropdown/dropdown.js +2 -2
- package/dist/ui/dropdown/dropdown.js.map +1 -1
- package/dist/utils/automation-schedule.d.ts +1 -0
- package/dist/utils/dropdown-classes.cjs +2 -0
- package/dist/utils/dropdown-classes.cjs.map +1 -0
- package/dist/utils/dropdown-classes.d.ts +32 -0
- package/dist/utils/dropdown-classes.js +8 -0
- package/dist/utils/dropdown-classes.js.map +1 -0
- package/dist/utils/form-control-classes.cjs +1 -1
- package/dist/utils/form-control-classes.cjs.map +1 -1
- package/dist/utils/form-control-classes.d.ts +18 -2
- package/dist/utils/form-control-classes.js +4 -3
- package/dist/utils/form-control-classes.js.map +1 -1
- package/dist/utils/git-control-bar-classes.cjs +2 -0
- package/dist/utils/git-control-bar-classes.cjs.map +1 -0
- package/dist/utils/git-control-bar-classes.d.ts +4 -0
- package/dist/utils/git-control-bar-classes.js +14 -0
- package/dist/utils/git-control-bar-classes.js.map +1 -0
- package/dist/utils/handle-event-for-ui.cjs.map +1 -1
- package/dist/utils/handle-event-for-ui.d.ts +6 -3
- package/dist/utils/handle-event-for-ui.js.map +1 -1
- package/dist/utils/mobile-top-bar-icon-button-classes.cjs +1 -1
- package/dist/utils/mobile-top-bar-icon-button-classes.cjs.map +1 -1
- package/dist/utils/mobile-top-bar-icon-button-classes.js +3 -3
- package/dist/utils/mobile-top-bar-icon-button-classes.js.map +1 -1
- package/dist/utils/modal-classes.cjs +2 -0
- package/dist/utils/modal-classes.cjs.map +1 -0
- package/dist/utils/modal-classes.d.ts +8 -0
- package/dist/utils/modal-classes.js +7 -0
- package/dist/utils/modal-classes.js.map +1 -0
- package/dist/utils/openhands-llm.cjs +2 -0
- package/dist/utils/openhands-llm.cjs.map +1 -0
- package/dist/utils/openhands-llm.d.ts +2 -0
- package/dist/utils/openhands-llm.js +9 -0
- package/dist/utils/openhands-llm.js.map +1 -0
- package/dist/utils/redact-custom-secrets.cjs +2 -0
- package/dist/utils/redact-custom-secrets.cjs.map +1 -0
- package/dist/utils/redact-custom-secrets.d.ts +6 -0
- package/dist/utils/redact-custom-secrets.js +10 -0
- package/dist/utils/redact-custom-secrets.js.map +1 -0
- package/dist/utils/status.cjs +1 -1
- package/dist/utils/status.cjs.map +1 -1
- package/dist/utils/status.d.ts +2 -1
- package/dist/utils/status.js +9 -8
- package/dist/utils/status.js.map +1 -1
- package/dist/utils/system-message-adapter.cjs +1 -1
- package/dist/utils/system-message-adapter.cjs.map +1 -1
- package/dist/utils/system-message-adapter.js +10 -7
- package/dist/utils/system-message-adapter.js.map +1 -1
- package/dist/utils/utils.cjs +1 -1
- package/dist/utils/utils.cjs.map +1 -1
- package/dist/utils/utils.d.ts +2 -1
- package/dist/utils/utils.js +21 -20
- package/dist/utils/utils.js.map +1 -1
- package/package.json +2 -2
- package/scripts/dev-safe.mjs +3 -1
- package/scripts/dev-static.mjs +2 -2
- package/scripts/dev-with-automation.mjs +283 -108
- package/scripts/static-build.mjs +20 -19
- package/scripts/static-server.mjs +50 -3
- package/build/assets/acp-providers-CbiRekh9.js +0 -1
- package/build/assets/active-backend-context-cCM1vYYZ.js +0 -1
- package/build/assets/add-backend-modal-DIUQzMPa.js +0 -1
- package/build/assets/agent-server-client-options-Bc5ZorQZ.js +0 -1
- package/build/assets/agent-server-compatibility-BlkUsrX2.js +0 -1
- package/build/assets/agent-server-conversation-service.api-C2V5SlHu.js +0 -5
- package/build/assets/api-key-entry-screen-B2gynaCp.js +0 -1
- package/build/assets/automation-detail-DJvbVSYK.js +0 -1
- package/build/assets/automations-list-rMki-8au.js +0 -1
- package/build/assets/backend-form-modal-Dnk33xA_.js +0 -1
- package/build/assets/base-modal-_dYTw1ri.js +0 -1
- package/build/assets/brand-button-Br7f0kZJ.js +0 -1
- package/build/assets/browser-store-Couc4S5D.js +0 -1
- package/build/assets/clock-BRjCgHTc.js +0 -1
- package/build/assets/combobox-caret-to1O8irE.js +0 -1
- package/build/assets/context-menu-list-item-CWNFpuiC.js +0 -1
- package/build/assets/conversation-DVrKU0oz.js +0 -19
- package/build/assets/conversation-Dlys-D5A.js +0 -1
- package/build/assets/conversation-panel-iF09WjZ4.js +0 -1
- package/build/assets/conversation-service.api-CCfztilW.js +0 -1
- package/build/assets/conversation-state-store-u5jepov0.js +0 -1
- package/build/assets/conversation-store-Z5iMCRpc.js +0 -1
- package/build/assets/conversation-websocket-context-DhJhqUna.js +0 -3
- package/build/assets/declaration-BNMqORFE.js +0 -1
- package/build/assets/dist-BxBP7tFD.js +0 -1
- package/build/assets/edit-automation-modal-BGzR3nfZ.js +0 -1
- package/build/assets/ellipsis-button-ZyLMPURn.js +0 -1
- package/build/assets/entry.client-1VMHpktY.js +0 -2
- package/build/assets/enum-filter-dropdown-CEgCdu4A.js +0 -1
- package/build/assets/extensions-hub-C651jsVh.js +0 -1
- package/build/assets/files-tab-R5z0lLdY.js +0 -1
- package/build/assets/files-tab-store-CDyVTXNT.js +0 -1
- package/build/assets/git-control-bar-branch-button-COdRAYHb.js +0 -27
- package/build/assets/git-provider-icon-BzLbc0yC.js +0 -1
- package/build/assets/home-XxBpNOVq.js +0 -1
- package/build/assets/install-server-modal-f31_CLrW.js +0 -1
- package/build/assets/launch-CshDse3e.js +0 -1
- package/build/assets/link-external-D2POYx4c.js +0 -1
- package/build/assets/llm-settings-Bql-vydt.js +0 -1
- package/build/assets/llm-settings-C_tal6Ds.js +0 -1
- package/build/assets/manage-backends-modal-l7RkKfwX.js +0 -1
- package/build/assets/manage-workspaces-modal-DhKF_8z3.js +0 -1
- package/build/assets/manifest-d9077852.js +0 -1
- package/build/assets/mcp-D2onbwVk.js +0 -9
- package/build/assets/messages-D0rWot7s.js +0 -36
- package/build/assets/proxy-CxydCnis.js +0 -1
- package/build/assets/root-DHeCXo9N.css +0 -1
- package/build/assets/root-layout-Czo9Ma6Q.js +0 -2
- package/build/assets/secrets-service-BsnKFc2x.js +0 -1
- package/build/assets/secrets-settings-Bz_UohPJ.js +0 -1
- package/build/assets/settings-client-C73C7IgV.js +0 -1
- package/build/assets/settings-index-Dz0BmdJD.js +0 -1
- package/build/assets/settings-list-classes-Bf80tWtc.js +0 -1
- package/build/assets/settings-modal-Brzgh5Yw.js +0 -1
- package/build/assets/settings-service.api-CZ3uWx4v.js +0 -1
- package/build/assets/sidebar-mobile-menu-toggle-Do_aA9Zm.js +0 -1
- package/build/assets/skills-settings-DlA5hlXw.js +0 -2
- package/build/assets/status-hp6M6E7E.js +0 -1
- package/build/assets/use-agent-settings-schema-33Un7UF2.js +0 -1
- package/build/assets/use-is-authed-BggE5wPj.js +0 -1
- package/build/assets/use-llm-profiles-DDOol3gK.js +0 -1
- package/build/assets/use-runtime-is-ready-B7EF4BKU.js +0 -1
- package/build/assets/use-settings-DQIZmIov.js +0 -1
- package/build/assets/use-user-conversation-C6hrMMtn.js +0 -1
- package/build/assets/utils-i18rdUj2.js +0 -1
- package/build/assets/vendor~conversation-panel~conversation-a9SyrrhV.js +0 -1
- package/build/assets/vendor~conversation-panel~conversation~index-C23ZXO4R.js +0 -1
- package/build/assets/vendor~home~mcp~automations-list-Ccy2I0KU.js +0 -1
- package/build/assets/vendor~root-layout~home~conversation-panel~conversation~extensions-hub~skills-settings~skil~i4kjfqhl-BebWhFNT.js +0 -1
- package/build/assets/vendor~root-layout~home~conversation-panel~conversation~extensions-hub~skills-settings~skil~iguv7bgw-DzIXV3Ui.js +0 -9
- /package/build/assets/{automation-IdgZq6ZK.js → automation-XDPAjiZi.js} +0 -0
- /package/build/assets/{color-themes-DSaoIL6A.js → color-themes-B9pm9c-R.js} +0 -0
- /package/build/assets/{common-DR1t-EeP.js → common-DqjLSBOt.js} +0 -0
- /package/build/assets/{conversation-local-storage-UYl-SX-r.js → conversation-local-storage-YmOVXxxW.js} +0 -0
- /package/build/assets/{dist-C6t0EXL7.js → dist-C3NfioQC.js} +0 -0
- /package/build/assets/{environment-switch-store-C4ulFJKp.js → environment-switch-store-CiurvTtK.js} +0 -0
- /package/build/assets/{health-store-BDC2rM-X.js → health-store-B5f0S2FY.js} +0 -0
- /package/build/assets/{map-provider-COBVzZYo.js → map-provider-BJ_8KZKU.js} +0 -0
- /package/build/assets/{middleware-BC9EwbB9.js → middleware-CfatjPYZ.js} +0 -0
- /package/build/assets/{objectWithoutPropertiesLoose-Du6eBn-V.js → objectWithoutPropertiesLoose-DSQKyRhw.js} +0 -0
- /package/build/assets/{react-Do0CT17Y.js → react-Dy05vyj5.js} +0 -0
- /package/build/assets/{sdk-settings-field-metadata-CBPmeqYa.js → sdk-settings-field-metadata-DQiaIBie.js} +0 -0
- /package/build/assets/{settings-D_H-qsRm.js → settings-DGY6n4J2.js} +0 -0
- /package/build/assets/{settings-like-page-layout-classes-I0BDBEoq.js → settings-like-page-layout-classes-D7YjdTd0.js} +0 -0
- /package/build/assets/{use-breakpoint-DbJ6FkQ-.js → use-breakpoint-DF_RiQ6s.js} +0 -0
- /package/build/assets/{use-click-outside-element-DffgWWoZ.js → use-click-outside-element-DhxCUyWl.js} +0 -0
- /package/build/assets/{v4-CNn21NXa.js → v4-khGvL7i2.js} +0 -0
- /package/build/assets/{vendor~browser-DDiZgqD3.js → vendor~browser-DisFGEp9.js} +0 -0
- /package/build/assets/{vendor~browser-tab-BgwV1mxF.js → vendor~browser-tab-BxhTtM9_.js} +0 -0
- /package/build/assets/{vendor~conversation-panel~conversation~alert-banner-DbvX3OcM.js → vendor~conversation-panel~conversation~alert-banner-w-I2sY6c.js} +0 -0
- /package/build/assets/{vendor~entry.client~root~root-layout~home~conversation-panel~conversation~launch~skills-set~zm51vy4j-iOsylxCS.js → vendor~entry.client~root~root-layout~home~conversation-panel~conversation~launch~skills-set~zm51vy4j-BClAMeFe.js} +0 -0
- /package/build/assets/{vendor~files-tab-BGKayPiK.js → vendor~files-tab-BtkpAiMX.js} +0 -0
- /package/build/assets/{vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-BW6261Sb.js → vendor~home~conversation-panel~conversation~shared-conversation~planner-tab~files-tab-CyZ-3lDQ.js} +0 -0
- /package/build/assets/{vendor~home~mcp~automations-list-DoPfwaXj.js → vendor~home~mcp~automations-list-BgV86Sti.js} +0 -0
- /package/build/assets/{vendor~launch-vdeRTWFu.js → vendor~launch-BXgl67Re.js} +0 -0
- /package/build/assets/{vendor~root-layout~home~conversation-panel~conversation~launch~extensions-hub~skills-settin~ninslayh-D9P8e98a.js → vendor~root-layout~home~conversation-panel~conversation~launch~extensions-hub~skills-settin~ninslayh-CLlsvdNP.js} +0 -0
- /package/build/assets/{vendor~terminal-DUrOWGFE.js → vendor~terminal-DZaJIY8A.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-control-classes.cjs","names":[],"sources":["../../src/utils/form-control-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\n\n/** 36px control height — shared by fields, dropdowns, and buttons. */\nexport const formControlHeightClassName = \"h-9 min-h-9\";\n\nexport const formControlRadiusClassName = \"rounded-lg\";\n\nexport const formControlBorderClassName = \"border border-[var(--oh-border)]\";\n\nexport const formControlSurfaceClassName = \"bg-base-secondary\";\n\n/**
|
|
1
|
+
{"version":3,"file":"form-control-classes.cjs","names":[],"sources":["../../src/utils/form-control-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\n\n/** 36px control height — shared by fields, dropdowns, and buttons. */\nexport const formControlHeightClassName = \"h-9 min-h-9\";\n\nexport const formControlRadiusClassName = \"rounded-lg\";\n\nexport const formControlBorderClassName = \"border border-[var(--oh-border)]\";\n\nexport const formControlSurfaceClassName = \"bg-base-secondary\";\n\n/** Shared transition duration for form controls and chrome buttons. */\nexport const formControlTransitionDurationClassName = \"duration-75\";\n\nexport const formControlHeroUiTransitionDurationClassName = \"!duration-75\";\n\nexport const formControlMotionReduceClassName = \"motion-reduce:transition-none\";\n\n/** Shell properties that animate on hover/focus; foreground color snaps instantly. */\nexport const formControlTransitionPropertiesClassName =\n \"transition-[background-color,border-color,box-shadow,opacity]\";\n\n/** Animate shell chrome on hover/focus; foreground color snaps instantly. */\nexport const formControlTransitionClassName = cn(\n formControlTransitionPropertiesClassName,\n formControlTransitionDurationClassName,\n formControlMotionReduceClassName,\n);\n\n/** HeroUI input wrappers ship `transition-colors`; override so caret/text hover is instant. */\nexport const formControlHeroUiWrapperTransitionClassName = cn(\n \"!transition-[background-color,border-color,box-shadow,opacity]\",\n formControlHeroUiTransitionDurationClassName,\n formControlMotionReduceClassName,\n);\n\n/** Transform-only transitions (e.g. combobox carets). */\nexport const formControlTransformTransitionClassName = cn(\n \"transition-[transform] ease\",\n formControlTransitionDurationClassName,\n formControlMotionReduceClassName,\n);\n\n/** Muted icon/pill controls: instant foreground, fading shell on hover. */\nexport const formControlMutedHoverClassName =\n \"hover:text-white hover:bg-white/10\";\n\n/** Text/icon pill triggers in the chat input actions row. */\nexport const chatInputPillButtonClassName = cn(\n \"inline-flex items-center gap-1 rounded-[100px] border border-transparent px-1.5\",\n \"text-sm font-normal leading-5 text-[var(--oh-muted)] whitespace-nowrap min-w-0 cursor-pointer\",\n formControlTransitionClassName,\n formControlMutedHoverClassName,\n);\n\n/** Circular icon triggers in the chat input actions row. */\nexport const chatInputIconButtonClassName = cn(\n \"flex items-center justify-center rounded-full text-[var(--oh-muted)] cursor-pointer\",\n formControlTransitionClassName,\n formControlMutedHoverClassName,\n);\n\nexport const formControlFocusClassName =\n \"focus:border-white/40 focus:ring-1 focus:ring-white/20 focus:outline-none\";\n\nexport const formControlFocusWithinClassName =\n \"focus-within:border-white/40 focus-within:ring-1 focus-within:ring-white/20\";\n\nexport const formControlDisabledClassName =\n \"disabled:cursor-not-allowed disabled:opacity-60\";\n\n/** Native text inputs and HeroUI Autocomplete wrappers. */\nexport const formControlFieldClassName = cn(\n formControlHeightClassName,\n formControlRadiusClassName,\n formControlBorderClassName,\n formControlSurfaceClassName,\n formControlTransitionClassName,\n formControlFocusClassName,\n formControlDisabledClassName,\n \"w-full min-w-0 px-3 text-sm text-white placeholder:text-tertiary-alt\",\n);\n\n/** Settings screens keep italic placeholders on form controls. */\nexport const formControlSettingsFieldClassName = cn(\n formControlFieldClassName,\n \"placeholder:italic\",\n formControlHeroUiWrapperTransitionClassName,\n);\n\n/** Multiline fields share border/radius/focus styling without a fixed height. */\nexport const formControlMultilineFieldClassName = cn(\n formControlRadiusClassName,\n formControlBorderClassName,\n formControlSurfaceClassName,\n formControlTransitionClassName,\n formControlFocusClassName,\n formControlDisabledClassName,\n \"w-full min-w-0 px-3 py-2 text-sm text-white placeholder:text-tertiary-alt\",\n);\n\n/** Combobox / search shell (icon + input), e.g. skills toolbar. */\nexport const formControlShellClassName = cn(\n formControlHeightClassName,\n \"relative flex min-w-0 items-center\",\n formControlRadiusClassName,\n formControlBorderClassName,\n formControlSurfaceClassName,\n formControlTransitionClassName,\n formControlFocusWithinClassName,\n);\n\n/** Borderless input nested inside {@link formControlShellClassName}. */\nexport const formControlInlineInputClassName = cn(\n \"min-w-0 flex-1 border-0 bg-transparent px-3 text-sm outline-none\",\n \"placeholder:text-tertiary-alt\",\n \"[&::-webkit-search-cancel-button]:hidden\",\n);\n\n/** Primary/secondary/danger action buttons. */\nexport const formControlButtonClassName = cn(\n formControlHeightClassName,\n \"inline-flex w-fit cursor-pointer items-center justify-center gap-2 px-3\",\n formControlRadiusClassName,\n formControlTransitionClassName,\n \"text-sm font-normal disabled:cursor-not-allowed disabled:opacity-30\",\n);\n\n/** Helper text under a left-aligned {@link SettingsSwitch} (40px track + gap-2). */\nexport const formControlSwitchDescriptionClassName = \"pl-12\";\n\n/** Filter / enum dropdown triggers beside search toolbars. */\nexport const formControlFilterTriggerClassName = cn(\n formControlButtonClassName,\n formControlBorderClassName,\n formControlSurfaceClassName,\n \"shrink-0 text-white\",\n);\n\n/** Muted back navigation control with tertiary hover fill (settings sub-pages, detail views). */\nexport const formControlBackNavButtonClassName = cn(\n \"inline-flex items-center gap-2 self-start rounded-lg p-2\",\n \"text-sm font-normal leading-5 text-[var(--oh-muted)] cursor-pointer\",\n formControlTransitionClassName,\n \"hover:bg-tertiary hover:text-white\",\n);\n"],"mappings":"4EAGA,IAAa,EAA6B,cAE7B,EAA6B,aAE7B,EAA6B,mCAE7B,EAA8B,oBAG9B,EAAyC,cAEzC,EAA+C,eAE/C,EAAmC,gCAOnC,EAAiC,EAAA,GAC5C,gEACA,EACA,EACD,CAGY,EAA8C,EAAA,GACzD,iEACA,EACA,EACD,CAGY,EAA0C,EAAA,GACrD,8BACA,EACA,EACD,CAGY,EACX,qCAGW,EAA+B,EAAA,GAC1C,kFACA,gGACA,EACA,EACD,CAGY,EAA+B,EAAA,GAC1C,sFACA,EACA,EACD,CAEY,EACX,4EAEW,EACX,8EAEW,EACX,kDAGW,EAA4B,EAAA,GACvC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,uEACD,CAGY,EAAoC,EAAA,GAC/C,EACA,qBACA,EACD,CAGY,EAAqC,EAAA,GAChD,EACA,EACA,EACA,EACA,EACA,EACA,4EACD,CAGY,EAA4B,EAAA,GACvC,EACA,qCACA,EACA,EACA,EACA,EACA,EACD,CAGY,EAAkC,EAAA,GAC7C,mEACA,gCACA,2CACD,CAGY,EAA6B,EAAA,GACxC,EACA,0EACA,EACA,EACA,sEACD,CAGY,EAAwC,QAGJ,EAAA,GAC/C,EACA,EACA,EACA,sBACD,CAGD,IAAa,EAAoC,EAAA,GAC/C,2DACA,sEACA,EACA,qCACD"}
|
|
@@ -3,10 +3,24 @@ export declare const formControlHeightClassName = "h-9 min-h-9";
|
|
|
3
3
|
export declare const formControlRadiusClassName = "rounded-lg";
|
|
4
4
|
export declare const formControlBorderClassName = "border border-[var(--oh-border)]";
|
|
5
5
|
export declare const formControlSurfaceClassName = "bg-base-secondary";
|
|
6
|
+
/** Shared transition duration for form controls and chrome buttons. */
|
|
7
|
+
export declare const formControlTransitionDurationClassName = "duration-75";
|
|
8
|
+
export declare const formControlHeroUiTransitionDurationClassName = "!duration-75";
|
|
9
|
+
export declare const formControlMotionReduceClassName = "motion-reduce:transition-none";
|
|
10
|
+
/** Shell properties that animate on hover/focus; foreground color snaps instantly. */
|
|
11
|
+
export declare const formControlTransitionPropertiesClassName = "transition-[background-color,border-color,box-shadow,opacity]";
|
|
6
12
|
/** Animate shell chrome on hover/focus; foreground color snaps instantly. */
|
|
7
|
-
export declare const formControlTransitionClassName
|
|
13
|
+
export declare const formControlTransitionClassName: string;
|
|
8
14
|
/** HeroUI input wrappers ship `transition-colors`; override so caret/text hover is instant. */
|
|
9
|
-
export declare const formControlHeroUiWrapperTransitionClassName
|
|
15
|
+
export declare const formControlHeroUiWrapperTransitionClassName: string;
|
|
16
|
+
/** Transform-only transitions (e.g. combobox carets). */
|
|
17
|
+
export declare const formControlTransformTransitionClassName: string;
|
|
18
|
+
/** Muted icon/pill controls: instant foreground, fading shell on hover. */
|
|
19
|
+
export declare const formControlMutedHoverClassName = "hover:text-white hover:bg-white/10";
|
|
20
|
+
/** Text/icon pill triggers in the chat input actions row. */
|
|
21
|
+
export declare const chatInputPillButtonClassName: string;
|
|
22
|
+
/** Circular icon triggers in the chat input actions row. */
|
|
23
|
+
export declare const chatInputIconButtonClassName: string;
|
|
10
24
|
export declare const formControlFocusClassName = "focus:border-white/40 focus:ring-1 focus:ring-white/20 focus:outline-none";
|
|
11
25
|
export declare const formControlFocusWithinClassName = "focus-within:border-white/40 focus-within:ring-1 focus-within:ring-white/20";
|
|
12
26
|
export declare const formControlDisabledClassName = "disabled:cursor-not-allowed disabled:opacity-60";
|
|
@@ -26,3 +40,5 @@ export declare const formControlButtonClassName: string;
|
|
|
26
40
|
export declare const formControlSwitchDescriptionClassName = "pl-12";
|
|
27
41
|
/** Filter / enum dropdown triggers beside search toolbars. */
|
|
28
42
|
export declare const formControlFilterTriggerClassName: string;
|
|
43
|
+
/** Muted back navigation control with tertiary hover fill (settings sub-pages, detail views). */
|
|
44
|
+
export declare const formControlBackNavButtonClassName: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { cn as e } from "./utils.js";
|
|
2
2
|
//#region src/utils/form-control-classes.ts
|
|
3
|
-
var t = "h-9 min-h-9", n = "rounded-lg", r = "border border-[var(--oh-border)]", i = "bg-base-secondary", a = "transition-[background-color,border-color,box-shadow,opacity]
|
|
4
|
-
e(
|
|
3
|
+
var t = "h-9 min-h-9", n = "rounded-lg", r = "border border-[var(--oh-border)]", i = "bg-base-secondary", a = "duration-75", o = "!duration-75", s = "motion-reduce:transition-none", c = e("transition-[background-color,border-color,box-shadow,opacity]", a, s), l = e("!transition-[background-color,border-color,box-shadow,opacity]", o, s), u = e("transition-[transform] ease", a, s), d = "hover:text-white hover:bg-white/10", f = e("inline-flex items-center gap-1 rounded-[100px] border border-transparent px-1.5", "text-sm font-normal leading-5 text-[var(--oh-muted)] whitespace-nowrap min-w-0 cursor-pointer", c, d), p = e("flex items-center justify-center rounded-full text-[var(--oh-muted)] cursor-pointer", c, d), m = "focus:border-white/40 focus:ring-1 focus:ring-white/20 focus:outline-none", h = "focus-within:border-white/40 focus-within:ring-1 focus-within:ring-white/20", g = "disabled:cursor-not-allowed disabled:opacity-60", _ = e(t, n, r, i, c, m, g, "w-full min-w-0 px-3 text-sm text-white placeholder:text-tertiary-alt"), v = e(_, "placeholder:italic", l), y = e(n, r, i, c, m, g, "w-full min-w-0 px-3 py-2 text-sm text-white placeholder:text-tertiary-alt"), b = e(t, "relative flex min-w-0 items-center", n, r, i, c, h), x = e("min-w-0 flex-1 border-0 bg-transparent px-3 text-sm outline-none", "placeholder:text-tertiary-alt", "[&::-webkit-search-cancel-button]:hidden"), S = e(t, "inline-flex w-fit cursor-pointer items-center justify-center gap-2 px-3", n, c, "text-sm font-normal disabled:cursor-not-allowed disabled:opacity-30"), C = "pl-12";
|
|
4
|
+
e(S, r, i, "shrink-0 text-white");
|
|
5
|
+
var w = e("inline-flex items-center gap-2 self-start rounded-lg p-2", "text-sm font-normal leading-5 text-[var(--oh-muted)] cursor-pointer", c, "hover:bg-tertiary hover:text-white");
|
|
5
6
|
//#endregion
|
|
6
|
-
export { r as formControlBorderClassName,
|
|
7
|
+
export { p as chatInputIconButtonClassName, f as chatInputPillButtonClassName, w as formControlBackNavButtonClassName, r as formControlBorderClassName, S as formControlButtonClassName, _ as formControlFieldClassName, x as formControlInlineInputClassName, y as formControlMultilineFieldClassName, d as formControlMutedHoverClassName, n as formControlRadiusClassName, v as formControlSettingsFieldClassName, b as formControlShellClassName, i as formControlSurfaceClassName, C as formControlSwitchDescriptionClassName, u as formControlTransformTransitionClassName, c as formControlTransitionClassName };
|
|
7
8
|
|
|
8
9
|
//# sourceMappingURL=form-control-classes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-control-classes.js","names":[],"sources":["../../src/utils/form-control-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\n\n/** 36px control height — shared by fields, dropdowns, and buttons. */\nexport const formControlHeightClassName = \"h-9 min-h-9\";\n\nexport const formControlRadiusClassName = \"rounded-lg\";\n\nexport const formControlBorderClassName = \"border border-[var(--oh-border)]\";\n\nexport const formControlSurfaceClassName = \"bg-base-secondary\";\n\n/**
|
|
1
|
+
{"version":3,"file":"form-control-classes.js","names":[],"sources":["../../src/utils/form-control-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\n\n/** 36px control height — shared by fields, dropdowns, and buttons. */\nexport const formControlHeightClassName = \"h-9 min-h-9\";\n\nexport const formControlRadiusClassName = \"rounded-lg\";\n\nexport const formControlBorderClassName = \"border border-[var(--oh-border)]\";\n\nexport const formControlSurfaceClassName = \"bg-base-secondary\";\n\n/** Shared transition duration for form controls and chrome buttons. */\nexport const formControlTransitionDurationClassName = \"duration-75\";\n\nexport const formControlHeroUiTransitionDurationClassName = \"!duration-75\";\n\nexport const formControlMotionReduceClassName = \"motion-reduce:transition-none\";\n\n/** Shell properties that animate on hover/focus; foreground color snaps instantly. */\nexport const formControlTransitionPropertiesClassName =\n \"transition-[background-color,border-color,box-shadow,opacity]\";\n\n/** Animate shell chrome on hover/focus; foreground color snaps instantly. */\nexport const formControlTransitionClassName = cn(\n formControlTransitionPropertiesClassName,\n formControlTransitionDurationClassName,\n formControlMotionReduceClassName,\n);\n\n/** HeroUI input wrappers ship `transition-colors`; override so caret/text hover is instant. */\nexport const formControlHeroUiWrapperTransitionClassName = cn(\n \"!transition-[background-color,border-color,box-shadow,opacity]\",\n formControlHeroUiTransitionDurationClassName,\n formControlMotionReduceClassName,\n);\n\n/** Transform-only transitions (e.g. combobox carets). */\nexport const formControlTransformTransitionClassName = cn(\n \"transition-[transform] ease\",\n formControlTransitionDurationClassName,\n formControlMotionReduceClassName,\n);\n\n/** Muted icon/pill controls: instant foreground, fading shell on hover. */\nexport const formControlMutedHoverClassName =\n \"hover:text-white hover:bg-white/10\";\n\n/** Text/icon pill triggers in the chat input actions row. */\nexport const chatInputPillButtonClassName = cn(\n \"inline-flex items-center gap-1 rounded-[100px] border border-transparent px-1.5\",\n \"text-sm font-normal leading-5 text-[var(--oh-muted)] whitespace-nowrap min-w-0 cursor-pointer\",\n formControlTransitionClassName,\n formControlMutedHoverClassName,\n);\n\n/** Circular icon triggers in the chat input actions row. */\nexport const chatInputIconButtonClassName = cn(\n \"flex items-center justify-center rounded-full text-[var(--oh-muted)] cursor-pointer\",\n formControlTransitionClassName,\n formControlMutedHoverClassName,\n);\n\nexport const formControlFocusClassName =\n \"focus:border-white/40 focus:ring-1 focus:ring-white/20 focus:outline-none\";\n\nexport const formControlFocusWithinClassName =\n \"focus-within:border-white/40 focus-within:ring-1 focus-within:ring-white/20\";\n\nexport const formControlDisabledClassName =\n \"disabled:cursor-not-allowed disabled:opacity-60\";\n\n/** Native text inputs and HeroUI Autocomplete wrappers. */\nexport const formControlFieldClassName = cn(\n formControlHeightClassName,\n formControlRadiusClassName,\n formControlBorderClassName,\n formControlSurfaceClassName,\n formControlTransitionClassName,\n formControlFocusClassName,\n formControlDisabledClassName,\n \"w-full min-w-0 px-3 text-sm text-white placeholder:text-tertiary-alt\",\n);\n\n/** Settings screens keep italic placeholders on form controls. */\nexport const formControlSettingsFieldClassName = cn(\n formControlFieldClassName,\n \"placeholder:italic\",\n formControlHeroUiWrapperTransitionClassName,\n);\n\n/** Multiline fields share border/radius/focus styling without a fixed height. */\nexport const formControlMultilineFieldClassName = cn(\n formControlRadiusClassName,\n formControlBorderClassName,\n formControlSurfaceClassName,\n formControlTransitionClassName,\n formControlFocusClassName,\n formControlDisabledClassName,\n \"w-full min-w-0 px-3 py-2 text-sm text-white placeholder:text-tertiary-alt\",\n);\n\n/** Combobox / search shell (icon + input), e.g. skills toolbar. */\nexport const formControlShellClassName = cn(\n formControlHeightClassName,\n \"relative flex min-w-0 items-center\",\n formControlRadiusClassName,\n formControlBorderClassName,\n formControlSurfaceClassName,\n formControlTransitionClassName,\n formControlFocusWithinClassName,\n);\n\n/** Borderless input nested inside {@link formControlShellClassName}. */\nexport const formControlInlineInputClassName = cn(\n \"min-w-0 flex-1 border-0 bg-transparent px-3 text-sm outline-none\",\n \"placeholder:text-tertiary-alt\",\n \"[&::-webkit-search-cancel-button]:hidden\",\n);\n\n/** Primary/secondary/danger action buttons. */\nexport const formControlButtonClassName = cn(\n formControlHeightClassName,\n \"inline-flex w-fit cursor-pointer items-center justify-center gap-2 px-3\",\n formControlRadiusClassName,\n formControlTransitionClassName,\n \"text-sm font-normal disabled:cursor-not-allowed disabled:opacity-30\",\n);\n\n/** Helper text under a left-aligned {@link SettingsSwitch} (40px track + gap-2). */\nexport const formControlSwitchDescriptionClassName = \"pl-12\";\n\n/** Filter / enum dropdown triggers beside search toolbars. */\nexport const formControlFilterTriggerClassName = cn(\n formControlButtonClassName,\n formControlBorderClassName,\n formControlSurfaceClassName,\n \"shrink-0 text-white\",\n);\n\n/** Muted back navigation control with tertiary hover fill (settings sub-pages, detail views). */\nexport const formControlBackNavButtonClassName = cn(\n \"inline-flex items-center gap-2 self-start rounded-lg p-2\",\n \"text-sm font-normal leading-5 text-[var(--oh-muted)] cursor-pointer\",\n formControlTransitionClassName,\n \"hover:bg-tertiary hover:text-white\",\n);\n"],"mappings":";;AAGA,IAAa,IAA6B,eAE7B,IAA6B,cAE7B,IAA6B,oCAE7B,IAA8B,qBAG9B,IAAyC,eAEzC,IAA+C,gBAE/C,IAAmC,iCAOnC,IAAiC,EAC5C,iEACA,GACA,EACD,EAGY,IAA8C,EACzD,kEACA,GACA,EACD,EAGY,IAA0C,EACrD,+BACA,GACA,EACD,EAGY,IACX,sCAGW,IAA+B,EAC1C,mFACA,iGACA,GACA,EACD,EAGY,IAA+B,EAC1C,uFACA,GACA,EACD,EAEY,IACX,6EAEW,IACX,+EAEW,IACX,mDAGW,IAA4B,EACvC,GACA,GACA,GACA,GACA,GACA,GACA,GACA,uEACD,EAGY,IAAoC,EAC/C,GACA,sBACA,EACD,EAGY,IAAqC,EAChD,GACA,GACA,GACA,GACA,GACA,GACA,4EACD,EAGY,IAA4B,EACvC,GACA,sCACA,GACA,GACA,GACA,GACA,EACD,EAGY,IAAkC,EAC7C,oEACA,iCACA,2CACD,EAGY,IAA6B,EACxC,GACA,2EACA,GACA,GACA,sEACD,EAGY,IAAwC;AAGJ,EAC/C,GACA,GACA,GACA,sBACD;AAGD,IAAa,IAAoC,EAC/C,4DACA,uEACA,GACA,qCACD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`./utils.cjs`);var t=`flex flex-row gap-1 items-center justify-center rounded-[100px]`;function n(n){return e.cn(t,n?`bg-[var(--oh-surface)] hover:bg-tertiary cursor-pointer text-white`:`bg-[var(--oh-surface)] cursor-not-allowed opacity-50 text-[var(--oh-muted)]`)}function r(e){return e?`white`:`var(--oh-muted)`}var i=`font-normal text-sm leading-5 truncate`;exports.gitControlBarActionButtonClassName=n,exports.gitControlBarActionIconColor=r,exports.gitControlBarActionLabelClassName=i;
|
|
2
|
+
//# sourceMappingURL=git-control-bar-classes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-control-bar-classes.cjs","names":[],"sources":["../../src/utils/git-control-bar-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\n\nexport const gitControlBarActionButtonBaseClassName =\n \"flex flex-row gap-1 items-center justify-center rounded-[100px]\";\n\nexport function gitControlBarActionButtonClassName(isEnabled: boolean) {\n return cn(\n gitControlBarActionButtonBaseClassName,\n isEnabled\n ? \"bg-[var(--oh-surface)] hover:bg-tertiary cursor-pointer text-white\"\n : \"bg-[var(--oh-surface)] cursor-not-allowed opacity-50 text-[var(--oh-muted)]\",\n );\n}\n\nexport function gitControlBarActionIconColor(isEnabled: boolean) {\n return isEnabled ? \"white\" : \"var(--oh-muted)\";\n}\n\nexport const gitControlBarActionLabelClassName =\n \"font-normal text-sm leading-5 truncate\";\n"],"mappings":"4EAEA,IAAa,EACX,kEAEF,SAAgB,EAAmC,EAAoB,CACrE,OAAO,EAAA,GACL,EACA,EACI,qEACA,8EACL,CAGH,SAAgB,EAA6B,EAAoB,CAC/D,OAAO,EAAY,QAAU,kBAG/B,IAAa,EACX"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const gitControlBarActionButtonBaseClassName = "flex flex-row gap-1 items-center justify-center rounded-[100px]";
|
|
2
|
+
export declare function gitControlBarActionButtonClassName(isEnabled: boolean): string;
|
|
3
|
+
export declare function gitControlBarActionIconColor(isEnabled: boolean): "white" | "var(--oh-muted)";
|
|
4
|
+
export declare const gitControlBarActionLabelClassName = "font-normal text-sm leading-5 truncate";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { cn as e } from "./utils.js";
|
|
2
|
+
//#region src/utils/git-control-bar-classes.ts
|
|
3
|
+
var t = "flex flex-row gap-1 items-center justify-center rounded-[100px]";
|
|
4
|
+
function n(n) {
|
|
5
|
+
return e(t, n ? "bg-[var(--oh-surface)] hover:bg-tertiary cursor-pointer text-white" : "bg-[var(--oh-surface)] cursor-not-allowed opacity-50 text-[var(--oh-muted)]");
|
|
6
|
+
}
|
|
7
|
+
function r(e) {
|
|
8
|
+
return e ? "white" : "var(--oh-muted)";
|
|
9
|
+
}
|
|
10
|
+
var i = "font-normal text-sm leading-5 truncate";
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as gitControlBarActionButtonClassName, r as gitControlBarActionIconColor, i as gitControlBarActionLabelClassName };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=git-control-bar-classes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-control-bar-classes.js","names":[],"sources":["../../src/utils/git-control-bar-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\n\nexport const gitControlBarActionButtonBaseClassName =\n \"flex flex-row gap-1 items-center justify-center rounded-[100px]\";\n\nexport function gitControlBarActionButtonClassName(isEnabled: boolean) {\n return cn(\n gitControlBarActionButtonBaseClassName,\n isEnabled\n ? \"bg-[var(--oh-surface)] hover:bg-tertiary cursor-pointer text-white\"\n : \"bg-[var(--oh-surface)] cursor-not-allowed opacity-50 text-[var(--oh-muted)]\",\n );\n}\n\nexport function gitControlBarActionIconColor(isEnabled: boolean) {\n return isEnabled ? \"white\" : \"var(--oh-muted)\";\n}\n\nexport const gitControlBarActionLabelClassName =\n \"font-normal text-sm leading-5 truncate\";\n"],"mappings":";;AAEA,IAAa,IACX;AAEF,SAAgB,EAAmC,GAAoB;AACrE,QAAO,EACL,GACA,IACI,uEACA,8EACL;;AAGH,SAAgB,EAA6B,GAAoB;AAC/D,QAAO,IAAY,UAAU;;AAG/B,IAAa,IACX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle-event-for-ui.cjs","names":[],"sources":["../../src/utils/handle-event-for-ui.ts"],"sourcesContent":["import { OpenHandsEvent } from \"#/types/agent-server/core\";\nimport {\n isACPToolCallEvent,\n isObservationEvent,\n} from \"#/types/agent-server/type-guards\";\n\n/**\n * Handles adding an event to the UI events array\n * Replaces actions with observations when they arrive (so UI shows observation instead of action)\n * Exception: ThinkAction is NOT replaced because the thought content is in the action, not in the observation\n *\n * ACPToolCallEvent
|
|
1
|
+
{"version":3,"file":"handle-event-for-ui.cjs","names":[],"sources":["../../src/utils/handle-event-for-ui.ts"],"sourcesContent":["import { OpenHandsEvent } from \"#/types/agent-server/core\";\nimport {\n isACPToolCallEvent,\n isObservationEvent,\n} from \"#/types/agent-server/type-guards\";\n\n/**\n * Handles adding an event to the UI events array\n * Replaces actions with observations when they arrive (so UI shows observation instead of action)\n * Exception: ThinkAction is NOT replaced because the thought content is in the action, not in the observation\n *\n * ACPToolCallEvent merge: the SDK emits two events per ``tool_call_id`` — an\n * early ``started`` event (``pending`` / ``in_progress``) and one terminal\n * (completed / failed) event, the action->observation pair for a tool call.\n * Replace the started entry in place with the terminal one so a single card\n * updates from running to its result, exactly like an observation superseding\n * its action below.\n */\nexport const handleEventForUI = (\n event: OpenHandsEvent,\n uiEvents: OpenHandsEvent[],\n): OpenHandsEvent[] => {\n const newUiEvents = [...uiEvents];\n\n if (isACPToolCallEvent(event)) {\n const existingIndex = newUiEvents.findIndex(\n (uiEvent) =>\n isACPToolCallEvent(uiEvent) &&\n uiEvent.tool_call_id === event.tool_call_id,\n );\n if (existingIndex !== -1) {\n newUiEvents[existingIndex] = event;\n } else {\n newUiEvents.push(event);\n }\n return newUiEvents;\n }\n\n if (isObservationEvent(event)) {\n // Don't add ThinkObservation at all - we keep the ThinkAction instead\n // The thought content is in the action, not the observation\n if (event.observation.kind === \"ThinkObservation\") {\n return newUiEvents;\n }\n\n // Don't add FinishObservation at all - we keep the FinishAction instead\n // Both contain the same message content, so we only need to display one\n // This also prevents duplicate messages when events arrive out of order due to React batching\n if (event.observation.kind === \"FinishObservation\") {\n return newUiEvents;\n }\n\n // Find and replace the corresponding action from uiEvents\n const actionIndex = newUiEvents.findIndex(\n (uiEvent) => uiEvent.id === event.action_id,\n );\n if (actionIndex !== -1) {\n newUiEvents[actionIndex] = event;\n } else {\n // Action not found in uiEvents, just add the observation\n newUiEvents.push(event);\n }\n } else {\n // For non-observation events, just add them to uiEvents\n newUiEvents.push(event);\n }\n\n return newUiEvents;\n};\n"],"mappings":"sGAkBA,IAAa,GACX,EACA,IACqB,CACrB,IAAM,EAAc,CAAC,GAAG,EAAS,CAEjC,GAAI,EAAA,mBAAmB,EAAM,CAAE,CAC7B,IAAM,EAAgB,EAAY,UAC/B,GACC,EAAA,mBAAmB,EAAQ,EAC3B,EAAQ,eAAiB,EAAM,aAClC,CAMD,OALI,IAAkB,GAGpB,EAAY,KAAK,EAAM,CAFvB,EAAY,GAAiB,EAIxB,EAGT,GAAI,EAAA,mBAAmB,EAAM,CAAE,CAU7B,GAPI,EAAM,YAAY,OAAS,oBAO3B,EAAM,YAAY,OAAS,oBAC7B,OAAO,EAIT,IAAM,EAAc,EAAY,UAC7B,GAAY,EAAQ,KAAO,EAAM,UACnC,CACG,IAAgB,GAIlB,EAAY,KAAK,EAAM,CAHvB,EAAY,GAAe,OAO7B,EAAY,KAAK,EAAM,CAGzB,OAAO"}
|
|
@@ -4,8 +4,11 @@ import { OpenHandsEvent } from "#/types/agent-server/core";
|
|
|
4
4
|
* Replaces actions with observations when they arrive (so UI shows observation instead of action)
|
|
5
5
|
* Exception: ThinkAction is NOT replaced because the thought content is in the action, not in the observation
|
|
6
6
|
*
|
|
7
|
-
* ACPToolCallEvent
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* ACPToolCallEvent merge: the SDK emits two events per ``tool_call_id`` — an
|
|
8
|
+
* early ``started`` event (``pending`` / ``in_progress``) and one terminal
|
|
9
|
+
* (completed / failed) event, the action->observation pair for a tool call.
|
|
10
|
+
* Replace the started entry in place with the terminal one so a single card
|
|
11
|
+
* updates from running to its result, exactly like an observation superseding
|
|
12
|
+
* its action below.
|
|
10
13
|
*/
|
|
11
14
|
export declare const handleEventForUI: (event: OpenHandsEvent, uiEvents: OpenHandsEvent[]) => OpenHandsEvent[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle-event-for-ui.js","names":[],"sources":["../../src/utils/handle-event-for-ui.ts"],"sourcesContent":["import { OpenHandsEvent } from \"#/types/agent-server/core\";\nimport {\n isACPToolCallEvent,\n isObservationEvent,\n} from \"#/types/agent-server/type-guards\";\n\n/**\n * Handles adding an event to the UI events array\n * Replaces actions with observations when they arrive (so UI shows observation instead of action)\n * Exception: ThinkAction is NOT replaced because the thought content is in the action, not in the observation\n *\n * ACPToolCallEvent
|
|
1
|
+
{"version":3,"file":"handle-event-for-ui.js","names":[],"sources":["../../src/utils/handle-event-for-ui.ts"],"sourcesContent":["import { OpenHandsEvent } from \"#/types/agent-server/core\";\nimport {\n isACPToolCallEvent,\n isObservationEvent,\n} from \"#/types/agent-server/type-guards\";\n\n/**\n * Handles adding an event to the UI events array\n * Replaces actions with observations when they arrive (so UI shows observation instead of action)\n * Exception: ThinkAction is NOT replaced because the thought content is in the action, not in the observation\n *\n * ACPToolCallEvent merge: the SDK emits two events per ``tool_call_id`` — an\n * early ``started`` event (``pending`` / ``in_progress``) and one terminal\n * (completed / failed) event, the action->observation pair for a tool call.\n * Replace the started entry in place with the terminal one so a single card\n * updates from running to its result, exactly like an observation superseding\n * its action below.\n */\nexport const handleEventForUI = (\n event: OpenHandsEvent,\n uiEvents: OpenHandsEvent[],\n): OpenHandsEvent[] => {\n const newUiEvents = [...uiEvents];\n\n if (isACPToolCallEvent(event)) {\n const existingIndex = newUiEvents.findIndex(\n (uiEvent) =>\n isACPToolCallEvent(uiEvent) &&\n uiEvent.tool_call_id === event.tool_call_id,\n );\n if (existingIndex !== -1) {\n newUiEvents[existingIndex] = event;\n } else {\n newUiEvents.push(event);\n }\n return newUiEvents;\n }\n\n if (isObservationEvent(event)) {\n // Don't add ThinkObservation at all - we keep the ThinkAction instead\n // The thought content is in the action, not the observation\n if (event.observation.kind === \"ThinkObservation\") {\n return newUiEvents;\n }\n\n // Don't add FinishObservation at all - we keep the FinishAction instead\n // Both contain the same message content, so we only need to display one\n // This also prevents duplicate messages when events arrive out of order due to React batching\n if (event.observation.kind === \"FinishObservation\") {\n return newUiEvents;\n }\n\n // Find and replace the corresponding action from uiEvents\n const actionIndex = newUiEvents.findIndex(\n (uiEvent) => uiEvent.id === event.action_id,\n );\n if (actionIndex !== -1) {\n newUiEvents[actionIndex] = event;\n } else {\n // Action not found in uiEvents, just add the observation\n newUiEvents.push(event);\n }\n } else {\n // For non-observation events, just add them to uiEvents\n newUiEvents.push(event);\n }\n\n return newUiEvents;\n};\n"],"mappings":";;AAkBA,IAAa,KACX,GACA,MACqB;CACrB,IAAM,IAAc,CAAC,GAAG,EAAS;AAEjC,KAAI,EAAmB,EAAM,EAAE;EAC7B,IAAM,IAAgB,EAAY,WAC/B,MACC,EAAmB,EAAQ,IAC3B,EAAQ,iBAAiB,EAAM,aAClC;AAMD,SALI,MAAkB,KAGpB,EAAY,KAAK,EAAM,GAFvB,EAAY,KAAiB,GAIxB;;AAGT,KAAI,EAAmB,EAAM,EAAE;AAU7B,MAPI,EAAM,YAAY,SAAS,sBAO3B,EAAM,YAAY,SAAS,oBAC7B,QAAO;EAIT,IAAM,IAAc,EAAY,WAC7B,MAAY,EAAQ,OAAO,EAAM,UACnC;AACD,EAAI,MAAgB,KAIlB,EAAY,KAAK,EAAM,GAHvB,EAAY,KAAe;OAO7B,GAAY,KAAK,EAAM;AAGzB,QAAO"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`./utils.cjs`),t=require(`./form-control-classes.cjs`);var n=e.cn(`inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md p-1`,`text-[var(--oh-muted)]`,t.formControlTransitionClassName
|
|
1
|
+
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`./utils.cjs`),t=require(`./form-control-classes.cjs`);var n=e.cn(`inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md p-1`,`text-[var(--oh-muted)]`,t.formControlTransitionClassName,t.formControlMutedHoverClassName),r=`size-5 shrink-0`;exports.mobileTopBarIconButtonClassName=n,exports.mobileTopBarIconClassName=r;
|
|
2
2
|
//# sourceMappingURL=mobile-top-bar-icon-button-classes.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobile-top-bar-icon-button-classes.cjs","names":[],"sources":["../../src/utils/mobile-top-bar-icon-button-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\nimport {
|
|
1
|
+
{"version":3,"file":"mobile-top-bar-icon-button-classes.cjs","names":[],"sources":["../../src/utils/mobile-top-bar-icon-button-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\nimport {\n formControlTransitionClassName,\n formControlMutedHoverClassName,\n} from \"#/utils/form-control-classes\";\n\n/**\n * Shared control for icon-only buttons in mobile top bars (global nav, chat\n * header, full-screen panel chrome). Matches {@link RightPanelToggle}: `p-1`\n * with a `size-5` icon yields a 28×28px hit target.\n */\nexport const mobileTopBarIconButtonClassName = cn(\n \"inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md p-1\",\n \"text-[var(--oh-muted)]\",\n formControlTransitionClassName,\n formControlMutedHoverClassName,\n);\n\n/** Lucide / inline SVG wrapper size aligned with `BlockDrawerLeftIcon` (`w-5 h-5`). */\nexport const mobileTopBarIconClassName = \"size-5 shrink-0\";\n"],"mappings":"oHAWA,IAAa,EAAkC,EAAA,GAC7C,iFACA,yBACA,EAAA,+BACA,EAAA,+BACD,CAGY,EAA4B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cn as e } from "./utils.js";
|
|
2
|
-
import {
|
|
2
|
+
import { formControlMutedHoverClassName as t, formControlTransitionClassName as n } from "./form-control-classes.js";
|
|
3
3
|
//#region src/utils/mobile-top-bar-icon-button-classes.ts
|
|
4
|
-
var
|
|
4
|
+
var r = e("inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md p-1", "text-[var(--oh-muted)]", n, t), i = "size-5 shrink-0";
|
|
5
5
|
//#endregion
|
|
6
|
-
export {
|
|
6
|
+
export { r as mobileTopBarIconButtonClassName, i as mobileTopBarIconClassName };
|
|
7
7
|
|
|
8
8
|
//# sourceMappingURL=mobile-top-bar-icon-button-classes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobile-top-bar-icon-button-classes.js","names":[],"sources":["../../src/utils/mobile-top-bar-icon-button-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\nimport {
|
|
1
|
+
{"version":3,"file":"mobile-top-bar-icon-button-classes.js","names":[],"sources":["../../src/utils/mobile-top-bar-icon-button-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\nimport {\n formControlTransitionClassName,\n formControlMutedHoverClassName,\n} from \"#/utils/form-control-classes\";\n\n/**\n * Shared control for icon-only buttons in mobile top bars (global nav, chat\n * header, full-screen panel chrome). Matches {@link RightPanelToggle}: `p-1`\n * with a `size-5` icon yields a 28×28px hit target.\n */\nexport const mobileTopBarIconButtonClassName = cn(\n \"inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md p-1\",\n \"text-[var(--oh-muted)]\",\n formControlTransitionClassName,\n formControlMutedHoverClassName,\n);\n\n/** Lucide / inline SVG wrapper size aligned with `BlockDrawerLeftIcon` (`w-5 h-5`). */\nexport const mobileTopBarIconClassName = \"size-5 shrink-0\";\n"],"mappings":";;;AAWA,IAAa,IAAkC,EAC7C,kFACA,0BACA,GACA,EACD,EAGY,IAA4B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`./utils.cjs`);var t=e.cn(`text-xl leading-6 -tracking-[0.01em] font-medium text-[var(--oh-modal-title-foreground)]`),n=e.cn(`text-sm font-medium text-[var(--oh-modal-title-foreground)]`),r=e.cn(`text-lg font-medium text-[var(--oh-modal-title-foreground)]`),i=r;exports.modalTitleClassName=t,exports.modalTitleLgClassName=r,exports.modalTitleLgMediumClassName=i,exports.modalTitleSmClassName=n;
|
|
2
|
+
//# sourceMappingURL=modal-classes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-classes.cjs","names":[],"sources":["../../src/utils/modal-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\n\n/** Primary modal heading on dark overlay surfaces. */\nexport const modalTitleClassName = cn(\n \"text-xl leading-6 -tracking-[0.01em] font-medium text-[var(--oh-modal-title-foreground)]\",\n);\n\n/** Compact modal header bar title (folder browser, manage workspaces). */\nexport const modalTitleSmClassName = cn(\n \"text-sm font-medium text-[var(--oh-modal-title-foreground)]\",\n);\n\n/** Large modal title used by form-style dialogs. */\nexport const modalTitleLgClassName = cn(\n \"text-lg font-medium text-[var(--oh-modal-title-foreground)]\",\n);\n\n/** Alias of {@link modalTitleLgClassName} for historical call sites. */\nexport const modalTitleLgMediumClassName = modalTitleLgClassName;\n"],"mappings":"4EAGA,IAAa,EAAsB,EAAA,GACjC,2FACD,CAGY,EAAwB,EAAA,GACnC,8DACD,CAGY,EAAwB,EAAA,GACnC,8DACD,CAGY,EAA8B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Primary modal heading on dark overlay surfaces. */
|
|
2
|
+
export declare const modalTitleClassName: string;
|
|
3
|
+
/** Compact modal header bar title (folder browser, manage workspaces). */
|
|
4
|
+
export declare const modalTitleSmClassName: string;
|
|
5
|
+
/** Large modal title used by form-style dialogs. */
|
|
6
|
+
export declare const modalTitleLgClassName: string;
|
|
7
|
+
/** Alias of {@link modalTitleLgClassName} for historical call sites. */
|
|
8
|
+
export declare const modalTitleLgMediumClassName: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { cn as e } from "./utils.js";
|
|
2
|
+
//#region src/utils/modal-classes.ts
|
|
3
|
+
var t = e("text-xl leading-6 -tracking-[0.01em] font-medium text-[var(--oh-modal-title-foreground)]"), n = e("text-sm font-medium text-[var(--oh-modal-title-foreground)]"), r = e("text-lg font-medium text-[var(--oh-modal-title-foreground)]"), i = r;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as modalTitleClassName, r as modalTitleLgClassName, i as modalTitleLgMediumClassName, n as modalTitleSmClassName };
|
|
6
|
+
|
|
7
|
+
//# sourceMappingURL=modal-classes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-classes.js","names":[],"sources":["../../src/utils/modal-classes.ts"],"sourcesContent":["import { cn } from \"#/utils/utils\";\n\n/** Primary modal heading on dark overlay surfaces. */\nexport const modalTitleClassName = cn(\n \"text-xl leading-6 -tracking-[0.01em] font-medium text-[var(--oh-modal-title-foreground)]\",\n);\n\n/** Compact modal header bar title (folder browser, manage workspaces). */\nexport const modalTitleSmClassName = cn(\n \"text-sm font-medium text-[var(--oh-modal-title-foreground)]\",\n);\n\n/** Large modal title used by form-style dialogs. */\nexport const modalTitleLgClassName = cn(\n \"text-lg font-medium text-[var(--oh-modal-title-foreground)]\",\n);\n\n/** Alias of {@link modalTitleLgClassName} for historical call sites. */\nexport const modalTitleLgMediumClassName = modalTitleLgClassName;\n"],"mappings":";;AAGA,IAAa,IAAsB,EACjC,2FACD,EAGY,IAAwB,EACnC,8DACD,EAGY,IAAwB,EACnC,8DACD,EAGY,IAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openhands-llm.cjs","names":[],"sources":["../../src/utils/openhands-llm.ts"],"sourcesContent":["export const OPENHANDS_LLM_PROXY_BASE_URL =\n \"https://llm-proxy.app.all-hands.dev/\";\n\nexport function isOpenHandsProviderModel(model: unknown): model is string {\n return typeof model === \"string\" && model.startsWith(\"openhands/\");\n}\n"],"mappings":"6CAAA,IAAa,EACX,uCAEF,SAAgB,EAAyB,EAAiC,CACxE,OAAO,OAAO,GAAU,UAAY,EAAM,WAAW,aAAa"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/utils/openhands-llm.ts
|
|
2
|
+
var e = "https://llm-proxy.app.all-hands.dev/";
|
|
3
|
+
function t(e) {
|
|
4
|
+
return typeof e == "string" && e.startsWith("openhands/");
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { e as OPENHANDS_LLM_PROXY_BASE_URL, t as isOpenHandsProviderModel };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=openhands-llm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openhands-llm.js","names":[],"sources":["../../src/utils/openhands-llm.ts"],"sourcesContent":["export const OPENHANDS_LLM_PROXY_BASE_URL =\n \"https://llm-proxy.app.all-hands.dev/\";\n\nexport function isOpenHandsProviderModel(model: unknown): model is string {\n return typeof model === \"string\" && model.startsWith(\"openhands/\");\n}\n"],"mappings":";AAAA,IAAa,IACX;AAEF,SAAgB,EAAyB,GAAiC;AACxE,QAAO,OAAO,KAAU,YAAY,EAAM,WAAW,aAAa"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require(`../_virtual/_rolldown/runtime.cjs`);var e=`<secret-hidden>`;function t(t){let n=/(<CUSTOM_SECRETS>)([\s\S]*?)(<\/CUSTOM_SECRETS>|$)/gi,r=/^(\s*[^=:\n]+?\s*[:=]\s*)(.+?)\s*$/gm;return t.replace(n,(t,n,i,a)=>`${n}${i.replace(r,(t,n,r)=>r===e?t:`${n}${e}`)}${a}`)}exports.redactCustomSecrets=t;
|
|
2
|
+
//# sourceMappingURL=redact-custom-secrets.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redact-custom-secrets.cjs","names":[],"sources":["../../src/utils/redact-custom-secrets.ts"],"sourcesContent":["const MASKED_PLACEHOLDER = \"<secret-hidden>\";\n\n/**\n * Defensive backstop: redact any unmasked value inside a `<CUSTOM_SECRETS>`\n * block before showing dynamic context in the UI, in case backend masking\n * regresses. Text outside the block is untouched.\n */\nexport function redactCustomSecrets(text: string): string {\n // Regexes are local: the `g` flag makes them stateful, and keeping them\n // scoped to this call avoids cross-call `lastIndex` surprises.\n\n // Closing tag is optional so a truncated block is still redacted, not leaked.\n const customSecretsBlock =\n /(<CUSTOM_SECRETS>)([\\s\\S]*?)(<\\/CUSTOM_SECRETS>|$)/gi;\n\n // `KEY: value` / `KEY=value`, capturing key + separator so only the value changes.\n const secretLine = /^(\\s*[^=:\\n]+?\\s*[:=]\\s*)(.+?)\\s*$/gm;\n\n return text.replace(\n customSecretsBlock,\n (_match, open: string, body: string, close: string) => {\n const redactedBody = body.replace(\n secretLine,\n (lineMatch, prefix: string, value: string) =>\n value === MASKED_PLACEHOLDER\n ? lineMatch\n : `${prefix}${MASKED_PLACEHOLDER}`,\n );\n return `${open}${redactedBody}${close}`;\n },\n );\n}\n"],"mappings":"6CAAA,IAAM,EAAqB,kBAO3B,SAAgB,EAAoB,EAAsB,CAKxD,IAAM,EACJ,uDAGI,EAAa,uCAEnB,OAAO,EAAK,QACV,GACC,EAAQ,EAAc,EAAc,IAQ5B,GAAG,IAPW,EAAK,QACxB,GACC,EAAW,EAAgB,IAC1B,IAAU,EACN,EACA,GAAG,IAAS,IAEH,GAAe,IAEnC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defensive backstop: redact any unmasked value inside a `<CUSTOM_SECRETS>`
|
|
3
|
+
* block before showing dynamic context in the UI, in case backend masking
|
|
4
|
+
* regresses. Text outside the block is untouched.
|
|
5
|
+
*/
|
|
6
|
+
export declare function redactCustomSecrets(text: string): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/utils/redact-custom-secrets.ts
|
|
2
|
+
var e = "<secret-hidden>";
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = /(<CUSTOM_SECRETS>)([\s\S]*?)(<\/CUSTOM_SECRETS>|$)/gi, r = /^(\s*[^=:\n]+?\s*[:=]\s*)(.+?)\s*$/gm;
|
|
5
|
+
return t.replace(n, (t, n, i, a) => `${n}${i.replace(r, (t, n, r) => r === e ? t : `${n}${e}`)}${a}`);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as redactCustomSecrets };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=redact-custom-secrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redact-custom-secrets.js","names":[],"sources":["../../src/utils/redact-custom-secrets.ts"],"sourcesContent":["const MASKED_PLACEHOLDER = \"<secret-hidden>\";\n\n/**\n * Defensive backstop: redact any unmasked value inside a `<CUSTOM_SECRETS>`\n * block before showing dynamic context in the UI, in case backend masking\n * regresses. Text outside the block is untouched.\n */\nexport function redactCustomSecrets(text: string): string {\n // Regexes are local: the `g` flag makes them stateful, and keeping them\n // scoped to this call avoids cross-call `lastIndex` surprises.\n\n // Closing tag is optional so a truncated block is still redacted, not leaked.\n const customSecretsBlock =\n /(<CUSTOM_SECRETS>)([\\s\\S]*?)(<\\/CUSTOM_SECRETS>|$)/gi;\n\n // `KEY: value` / `KEY=value`, capturing key + separator so only the value changes.\n const secretLine = /^(\\s*[^=:\\n]+?\\s*[:=]\\s*)(.+?)\\s*$/gm;\n\n return text.replace(\n customSecretsBlock,\n (_match, open: string, body: string, close: string) => {\n const redactedBody = body.replace(\n secretLine,\n (lineMatch, prefix: string, value: string) =>\n value === MASKED_PLACEHOLDER\n ? lineMatch\n : `${prefix}${MASKED_PLACEHOLDER}`,\n );\n return `${open}${redactedBody}${close}`;\n },\n );\n}\n"],"mappings":";AAAA,IAAM,IAAqB;AAO3B,SAAgB,EAAoB,GAAsB;CAKxD,IAAM,IACJ,wDAGI,IAAa;AAEnB,QAAO,EAAK,QACV,IACC,GAAQ,GAAc,GAAc,MAQ5B,GAAG,IAPW,EAAK,QACxB,IACC,GAAW,GAAgB,MAC1B,MAAU,IACN,IACA,GAAG,IAAS,IAEH,GAAe,IAEnC"}
|
package/dist/utils/status.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../i18n/declaration.cjs`),t=require(`../types/agent-server/core/base/common.cjs`);var n=new Set([t.ExecutionStatus.IDLE,t.ExecutionStatus.RUNNING,t.ExecutionStatus.WAITING_FOR_CONFIRMATION,t.ExecutionStatus.FINISHED]);function r(e){return!!e&&n.has(e)}function i(e){return e===t.ExecutionStatus.PAUSED}function a(e){return e===t.ExecutionStatus.ERROR||e===t.ExecutionStatus.STUCK}function o(
|
|
1
|
+
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../i18n/declaration.cjs`),t=require(`../types/agent-server/core/base/common.cjs`);var n=new Set([t.ExecutionStatus.IDLE,t.ExecutionStatus.RUNNING,t.ExecutionStatus.WAITING_FOR_CONFIRMATION,t.ExecutionStatus.FINISHED]);function r(e){return!!e&&n.has(e)}function i(e){return e===t.ExecutionStatus.PAUSED}function a(e){return e===t.ExecutionStatus.ERROR||e===t.ExecutionStatus.STUCK}function o(t){switch(t){case`WAITING_FOR_SANDBOX`:return e.I18nKey.COMMON$WAITING_FOR_SANDBOX;case`SETTING_UP_GIT_HOOKS`:return e.I18nKey.STATUS$SETTING_UP_GIT_HOOKS;case`SETTING_UP_SKILLS`:return e.I18nKey.STATUS$SETTING_UP_SKILLS;case`READY`:return e.I18nKey.CONVERSATION$READY;case`ERROR`:return e.I18nKey.COMMON$ERROR;default:return e.I18nKey.CONVERSATION$STARTING_CONVERSATION}}function s(n,r,i,a){if(i===`ERROR`||a===`ERROR`||r===`error`)return e.I18nKey.AGENT_STATUS$ERROR_OCCURRED;if(i&&i!==`READY`)return o(i);if(r===t.ExecutionStatus.PAUSED)return e.I18nKey.CHAT_INTERFACE$STOPPED;if(n&&n!==`OPEN`)switch(n){case`CLOSED`:case`CLOSING`:return e.I18nKey.CHAT_INTERFACE$DISCONNECTED;case`CONNECTING`:return e.I18nKey.CHAT_INTERFACE$CONNECTING;default:throw Error(`Unknown WebsocketConnectionState: ${n}`)}if(r&&r!==t.ExecutionStatus.STUCK)switch(r){case t.ExecutionStatus.IDLE:return e.I18nKey.AGENT_STATUS$WAITING_FOR_TASK;case t.ExecutionStatus.RUNNING:return e.I18nKey.AGENT_STATUS$RUNNING_TASK;case t.ExecutionStatus.WAITING_FOR_CONFIRMATION:return e.I18nKey.AGENT_STATUS$WAITING_FOR_USER_CONFIRMATION;case t.ExecutionStatus.FINISHED:return e.I18nKey.CHAT_INTERFACE$AGENT_FINISHED_MESSAGE;default:throw Error(`Unknown executionStatus: ${r}`)}return e.I18nKey.CHAT_INTERFACE$AGENT_ERROR_MESSAGE}exports.getStatusCode=s,exports.getTaskStatusI18nKey=o,exports.isExecutionActive=r,exports.isExecutionErrored=a,exports.isExecutionPaused=i;
|
|
2
2
|
//# sourceMappingURL=status.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.cjs","names":[],"sources":["../../src/utils/status.ts"],"sourcesContent":["import { I18nKey } from \"#/i18n/declaration\";\nimport { AppConversationStartTaskStatus } from \"#/api/conversation-service/agent-server-conversation-service.types\";\nimport { ExecutionStatus } from \"#/types/agent-server/core/base/common\";\nimport { WebSocketConnectionState } from \"#/contexts/conversation-websocket-context\";\n\nconst ACTIVE_EXECUTION_STATUSES: ReadonlySet<ExecutionStatus> = new Set([\n ExecutionStatus.IDLE,\n ExecutionStatus.RUNNING,\n ExecutionStatus.WAITING_FOR_CONFIRMATION,\n ExecutionStatus.FINISHED,\n]);\n\nexport function isExecutionActive(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return !!status && ACTIVE_EXECUTION_STATUSES.has(status);\n}\n\nexport function isExecutionPaused(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return status === ExecutionStatus.PAUSED;\n}\n\nexport function isExecutionErrored(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return status === ExecutionStatus.ERROR || status === ExecutionStatus.STUCK;\n}\n\nexport function
|
|
1
|
+
{"version":3,"file":"status.cjs","names":[],"sources":["../../src/utils/status.ts"],"sourcesContent":["import { I18nKey } from \"#/i18n/declaration\";\nimport { AppConversationStartTaskStatus } from \"#/api/conversation-service/agent-server-conversation-service.types\";\nimport { ExecutionStatus } from \"#/types/agent-server/core/base/common\";\nimport { WebSocketConnectionState } from \"#/contexts/conversation-websocket-context\";\n\nconst ACTIVE_EXECUTION_STATUSES: ReadonlySet<ExecutionStatus> = new Set([\n ExecutionStatus.IDLE,\n ExecutionStatus.RUNNING,\n ExecutionStatus.WAITING_FOR_CONFIRMATION,\n ExecutionStatus.FINISHED,\n]);\n\nexport function isExecutionActive(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return !!status && ACTIVE_EXECUTION_STATUSES.has(status);\n}\n\nexport function isExecutionPaused(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return status === ExecutionStatus.PAUSED;\n}\n\nexport function isExecutionErrored(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return status === ExecutionStatus.ERROR || status === ExecutionStatus.STUCK;\n}\n\nexport function getTaskStatusI18nKey(\n taskStatus: AppConversationStartTaskStatus,\n): I18nKey {\n switch (taskStatus) {\n case \"WAITING_FOR_SANDBOX\":\n return I18nKey.COMMON$WAITING_FOR_SANDBOX;\n case \"SETTING_UP_GIT_HOOKS\":\n return I18nKey.STATUS$SETTING_UP_GIT_HOOKS;\n case \"SETTING_UP_SKILLS\":\n return I18nKey.STATUS$SETTING_UP_SKILLS;\n // Terminal states map to their own localized keys so any caller that\n // delegates here (now or in the future) gets a correct label instead of\n // silently falling through to STARTING_CONVERSATION. Callers that need a\n // context-specific terminal label (e.g. getStatusCode's\n // AGENT_STATUS$ERROR_OCCURRED, or getStatusText's taskDetail precedence)\n // still handle these states before delegating.\n case \"READY\":\n return I18nKey.CONVERSATION$READY;\n case \"ERROR\":\n return I18nKey.COMMON$ERROR;\n // These collapse to the generic \"Starting\" label. `default` is unreachable\n // for the typed union but is kept as a runtime safety net: the start-task\n // API may report a new status before this enum is updated, in which case we\n // degrade to \"Starting\" rather than throwing (see FUTURE_STATUS_FROM_CLOUD).\n case \"STARTING_CONVERSATION\":\n case \"WORKING\":\n case \"PREPARING_REPOSITORY\":\n case \"RUNNING_SETUP_SCRIPT\":\n default:\n return I18nKey.CONVERSATION$STARTING_CONVERSATION;\n }\n}\n\nexport function getStatusCode(\n webSocketConnectionState: WebSocketConnectionState,\n executionStatus: ExecutionStatus | null,\n taskStatus?: AppConversationStartTaskStatus | null,\n subConversationTaskStatus?: AppConversationStartTaskStatus | null,\n) {\n if (\n taskStatus === \"ERROR\" ||\n subConversationTaskStatus === \"ERROR\" ||\n executionStatus === \"error\"\n ) {\n return I18nKey.AGENT_STATUS$ERROR_OCCURRED;\n }\n\n if (taskStatus && taskStatus !== \"READY\") {\n return getTaskStatusI18nKey(taskStatus);\n }\n\n if (executionStatus === ExecutionStatus.PAUSED) {\n return I18nKey.CHAT_INTERFACE$STOPPED;\n }\n\n // Websocket has disconnected...\n if (webSocketConnectionState && webSocketConnectionState !== \"OPEN\") {\n switch (webSocketConnectionState) {\n case \"CLOSED\":\n case \"CLOSING\":\n return I18nKey.CHAT_INTERFACE$DISCONNECTED;\n case \"CONNECTING\":\n return I18nKey.CHAT_INTERFACE$CONNECTING;\n default:\n throw new Error(\n `Unknown WebsocketConnectionState: ${webSocketConnectionState}`,\n );\n }\n }\n\n if (executionStatus && executionStatus !== ExecutionStatus.STUCK) {\n switch (executionStatus) {\n case ExecutionStatus.IDLE:\n return I18nKey.AGENT_STATUS$WAITING_FOR_TASK;\n case ExecutionStatus.RUNNING:\n return I18nKey.AGENT_STATUS$RUNNING_TASK;\n case ExecutionStatus.WAITING_FOR_CONFIRMATION:\n return I18nKey.AGENT_STATUS$WAITING_FOR_USER_CONFIRMATION;\n case ExecutionStatus.FINISHED:\n return I18nKey.CHAT_INTERFACE$AGENT_FINISHED_MESSAGE;\n default:\n throw new Error(`Unknown executionStatus: ${executionStatus}`);\n }\n }\n\n return I18nKey.CHAT_INTERFACE$AGENT_ERROR_MESSAGE;\n}\n"],"mappings":"gJAKA,IAAM,EAA0D,IAAI,IAAI,CACtE,EAAA,gBAAgB,KAChB,EAAA,gBAAgB,QAChB,EAAA,gBAAgB,yBAChB,EAAA,gBAAgB,SACjB,CAAC,CAEF,SAAgB,EACd,EACS,CACT,MAAO,CAAC,CAAC,GAAU,EAA0B,IAAI,EAAO,CAG1D,SAAgB,EACd,EACS,CACT,OAAO,IAAW,EAAA,gBAAgB,OAGpC,SAAgB,EACd,EACS,CACT,OAAO,IAAW,EAAA,gBAAgB,OAAS,IAAW,EAAA,gBAAgB,MAGxE,SAAgB,EACd,EACS,CACT,OAAQ,EAAR,CACE,IAAK,sBACH,OAAO,EAAA,QAAQ,2BACjB,IAAK,uBACH,OAAO,EAAA,QAAQ,4BACjB,IAAK,oBACH,OAAO,EAAA,QAAQ,yBAOjB,IAAK,QACH,OAAO,EAAA,QAAQ,mBACjB,IAAK,QACH,OAAO,EAAA,QAAQ,aASjB,QACE,OAAO,EAAA,QAAQ,oCAIrB,SAAgB,EACd,EACA,EACA,EACA,EACA,CACA,GACE,IAAe,SACf,IAA8B,SAC9B,IAAoB,QAEpB,OAAO,EAAA,QAAQ,4BAGjB,GAAI,GAAc,IAAe,QAC/B,OAAO,EAAqB,EAAW,CAGzC,GAAI,IAAoB,EAAA,gBAAgB,OACtC,OAAO,EAAA,QAAQ,uBAIjB,GAAI,GAA4B,IAA6B,OAC3D,OAAQ,EAAR,CACE,IAAK,SACL,IAAK,UACH,OAAO,EAAA,QAAQ,4BACjB,IAAK,aACH,OAAO,EAAA,QAAQ,0BACjB,QACE,MAAU,MACR,qCAAqC,IACtC,CAIP,GAAI,GAAmB,IAAoB,EAAA,gBAAgB,MACzD,OAAQ,EAAR,CACE,KAAK,EAAA,gBAAgB,KACnB,OAAO,EAAA,QAAQ,8BACjB,KAAK,EAAA,gBAAgB,QACnB,OAAO,EAAA,QAAQ,0BACjB,KAAK,EAAA,gBAAgB,yBACnB,OAAO,EAAA,QAAQ,2CACjB,KAAK,EAAA,gBAAgB,SACnB,OAAO,EAAA,QAAQ,sCACjB,QACE,MAAU,MAAM,4BAA4B,IAAkB,CAIpE,OAAO,EAAA,QAAQ"}
|
package/dist/utils/status.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ import { WebSocketConnectionState } from "#/contexts/conversation-websocket-cont
|
|
|
5
5
|
export declare function isExecutionActive(status: ExecutionStatus | null | undefined): boolean;
|
|
6
6
|
export declare function isExecutionPaused(status: ExecutionStatus | null | undefined): boolean;
|
|
7
7
|
export declare function isExecutionErrored(status: ExecutionStatus | null | undefined): boolean;
|
|
8
|
-
export declare function
|
|
8
|
+
export declare function getTaskStatusI18nKey(taskStatus: AppConversationStartTaskStatus): I18nKey;
|
|
9
|
+
export declare function getStatusCode(webSocketConnectionState: WebSocketConnectionState, executionStatus: ExecutionStatus | null, taskStatus?: AppConversationStartTaskStatus | null, subConversationTaskStatus?: AppConversationStartTaskStatus | null): I18nKey;
|
package/dist/utils/status.js
CHANGED
|
@@ -16,18 +16,19 @@ function i(e) {
|
|
|
16
16
|
function a(e) {
|
|
17
17
|
return e === t.ERROR || e === t.STUCK;
|
|
18
18
|
}
|
|
19
|
-
function o(
|
|
20
|
-
|
|
21
|
-
if (i && i !== "READY") switch (i) {
|
|
19
|
+
function o(t) {
|
|
20
|
+
switch (t) {
|
|
22
21
|
case "WAITING_FOR_SANDBOX": return e.COMMON$WAITING_FOR_SANDBOX;
|
|
23
22
|
case "SETTING_UP_GIT_HOOKS": return e.STATUS$SETTING_UP_GIT_HOOKS;
|
|
24
23
|
case "SETTING_UP_SKILLS": return e.STATUS$SETTING_UP_SKILLS;
|
|
25
|
-
case "
|
|
26
|
-
case "
|
|
27
|
-
case "PREPARING_REPOSITORY":
|
|
28
|
-
case "RUNNING_SETUP_SCRIPT": return e.CONVERSATION$STARTING_CONVERSATION;
|
|
24
|
+
case "READY": return e.CONVERSATION$READY;
|
|
25
|
+
case "ERROR": return e.COMMON$ERROR;
|
|
29
26
|
default: return e.CONVERSATION$STARTING_CONVERSATION;
|
|
30
27
|
}
|
|
28
|
+
}
|
|
29
|
+
function s(n, r, i, a) {
|
|
30
|
+
if (i === "ERROR" || a === "ERROR" || r === "error") return e.AGENT_STATUS$ERROR_OCCURRED;
|
|
31
|
+
if (i && i !== "READY") return o(i);
|
|
31
32
|
if (r === t.PAUSED) return e.CHAT_INTERFACE$STOPPED;
|
|
32
33
|
if (n && n !== "OPEN") switch (n) {
|
|
33
34
|
case "CLOSED":
|
|
@@ -45,6 +46,6 @@ function o(n, r, i, a) {
|
|
|
45
46
|
return e.CHAT_INTERFACE$AGENT_ERROR_MESSAGE;
|
|
46
47
|
}
|
|
47
48
|
//#endregion
|
|
48
|
-
export {
|
|
49
|
+
export { s as getStatusCode, o as getTaskStatusI18nKey, r as isExecutionActive, a as isExecutionErrored, i as isExecutionPaused };
|
|
49
50
|
|
|
50
51
|
//# sourceMappingURL=status.js.map
|
package/dist/utils/status.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.js","names":[],"sources":["../../src/utils/status.ts"],"sourcesContent":["import { I18nKey } from \"#/i18n/declaration\";\nimport { AppConversationStartTaskStatus } from \"#/api/conversation-service/agent-server-conversation-service.types\";\nimport { ExecutionStatus } from \"#/types/agent-server/core/base/common\";\nimport { WebSocketConnectionState } from \"#/contexts/conversation-websocket-context\";\n\nconst ACTIVE_EXECUTION_STATUSES: ReadonlySet<ExecutionStatus> = new Set([\n ExecutionStatus.IDLE,\n ExecutionStatus.RUNNING,\n ExecutionStatus.WAITING_FOR_CONFIRMATION,\n ExecutionStatus.FINISHED,\n]);\n\nexport function isExecutionActive(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return !!status && ACTIVE_EXECUTION_STATUSES.has(status);\n}\n\nexport function isExecutionPaused(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return status === ExecutionStatus.PAUSED;\n}\n\nexport function isExecutionErrored(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return status === ExecutionStatus.ERROR || status === ExecutionStatus.STUCK;\n}\n\nexport function
|
|
1
|
+
{"version":3,"file":"status.js","names":[],"sources":["../../src/utils/status.ts"],"sourcesContent":["import { I18nKey } from \"#/i18n/declaration\";\nimport { AppConversationStartTaskStatus } from \"#/api/conversation-service/agent-server-conversation-service.types\";\nimport { ExecutionStatus } from \"#/types/agent-server/core/base/common\";\nimport { WebSocketConnectionState } from \"#/contexts/conversation-websocket-context\";\n\nconst ACTIVE_EXECUTION_STATUSES: ReadonlySet<ExecutionStatus> = new Set([\n ExecutionStatus.IDLE,\n ExecutionStatus.RUNNING,\n ExecutionStatus.WAITING_FOR_CONFIRMATION,\n ExecutionStatus.FINISHED,\n]);\n\nexport function isExecutionActive(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return !!status && ACTIVE_EXECUTION_STATUSES.has(status);\n}\n\nexport function isExecutionPaused(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return status === ExecutionStatus.PAUSED;\n}\n\nexport function isExecutionErrored(\n status: ExecutionStatus | null | undefined,\n): boolean {\n return status === ExecutionStatus.ERROR || status === ExecutionStatus.STUCK;\n}\n\nexport function getTaskStatusI18nKey(\n taskStatus: AppConversationStartTaskStatus,\n): I18nKey {\n switch (taskStatus) {\n case \"WAITING_FOR_SANDBOX\":\n return I18nKey.COMMON$WAITING_FOR_SANDBOX;\n case \"SETTING_UP_GIT_HOOKS\":\n return I18nKey.STATUS$SETTING_UP_GIT_HOOKS;\n case \"SETTING_UP_SKILLS\":\n return I18nKey.STATUS$SETTING_UP_SKILLS;\n // Terminal states map to their own localized keys so any caller that\n // delegates here (now or in the future) gets a correct label instead of\n // silently falling through to STARTING_CONVERSATION. Callers that need a\n // context-specific terminal label (e.g. getStatusCode's\n // AGENT_STATUS$ERROR_OCCURRED, or getStatusText's taskDetail precedence)\n // still handle these states before delegating.\n case \"READY\":\n return I18nKey.CONVERSATION$READY;\n case \"ERROR\":\n return I18nKey.COMMON$ERROR;\n // These collapse to the generic \"Starting\" label. `default` is unreachable\n // for the typed union but is kept as a runtime safety net: the start-task\n // API may report a new status before this enum is updated, in which case we\n // degrade to \"Starting\" rather than throwing (see FUTURE_STATUS_FROM_CLOUD).\n case \"STARTING_CONVERSATION\":\n case \"WORKING\":\n case \"PREPARING_REPOSITORY\":\n case \"RUNNING_SETUP_SCRIPT\":\n default:\n return I18nKey.CONVERSATION$STARTING_CONVERSATION;\n }\n}\n\nexport function getStatusCode(\n webSocketConnectionState: WebSocketConnectionState,\n executionStatus: ExecutionStatus | null,\n taskStatus?: AppConversationStartTaskStatus | null,\n subConversationTaskStatus?: AppConversationStartTaskStatus | null,\n) {\n if (\n taskStatus === \"ERROR\" ||\n subConversationTaskStatus === \"ERROR\" ||\n executionStatus === \"error\"\n ) {\n return I18nKey.AGENT_STATUS$ERROR_OCCURRED;\n }\n\n if (taskStatus && taskStatus !== \"READY\") {\n return getTaskStatusI18nKey(taskStatus);\n }\n\n if (executionStatus === ExecutionStatus.PAUSED) {\n return I18nKey.CHAT_INTERFACE$STOPPED;\n }\n\n // Websocket has disconnected...\n if (webSocketConnectionState && webSocketConnectionState !== \"OPEN\") {\n switch (webSocketConnectionState) {\n case \"CLOSED\":\n case \"CLOSING\":\n return I18nKey.CHAT_INTERFACE$DISCONNECTED;\n case \"CONNECTING\":\n return I18nKey.CHAT_INTERFACE$CONNECTING;\n default:\n throw new Error(\n `Unknown WebsocketConnectionState: ${webSocketConnectionState}`,\n );\n }\n }\n\n if (executionStatus && executionStatus !== ExecutionStatus.STUCK) {\n switch (executionStatus) {\n case ExecutionStatus.IDLE:\n return I18nKey.AGENT_STATUS$WAITING_FOR_TASK;\n case ExecutionStatus.RUNNING:\n return I18nKey.AGENT_STATUS$RUNNING_TASK;\n case ExecutionStatus.WAITING_FOR_CONFIRMATION:\n return I18nKey.AGENT_STATUS$WAITING_FOR_USER_CONFIRMATION;\n case ExecutionStatus.FINISHED:\n return I18nKey.CHAT_INTERFACE$AGENT_FINISHED_MESSAGE;\n default:\n throw new Error(`Unknown executionStatus: ${executionStatus}`);\n }\n }\n\n return I18nKey.CHAT_INTERFACE$AGENT_ERROR_MESSAGE;\n}\n"],"mappings":";;;AAKA,IAAM,IAA0D,IAAI,IAAI;CACtE,EAAgB;CAChB,EAAgB;CAChB,EAAgB;CAChB,EAAgB;CACjB,CAAC;AAEF,SAAgB,EACd,GACS;AACT,QAAO,CAAC,CAAC,KAAU,EAA0B,IAAI,EAAO;;AAG1D,SAAgB,EACd,GACS;AACT,QAAO,MAAW,EAAgB;;AAGpC,SAAgB,EACd,GACS;AACT,QAAO,MAAW,EAAgB,SAAS,MAAW,EAAgB;;AAGxE,SAAgB,EACd,GACS;AACT,SAAQ,GAAR;EACE,KAAK,sBACH,QAAO,EAAQ;EACjB,KAAK,uBACH,QAAO,EAAQ;EACjB,KAAK,oBACH,QAAO,EAAQ;EAOjB,KAAK,QACH,QAAO,EAAQ;EACjB,KAAK,QACH,QAAO,EAAQ;EASjB,QACE,QAAO,EAAQ;;;AAIrB,SAAgB,EACd,GACA,GACA,GACA,GACA;AACA,KACE,MAAe,WACf,MAA8B,WAC9B,MAAoB,QAEpB,QAAO,EAAQ;AAGjB,KAAI,KAAc,MAAe,QAC/B,QAAO,EAAqB,EAAW;AAGzC,KAAI,MAAoB,EAAgB,OACtC,QAAO,EAAQ;AAIjB,KAAI,KAA4B,MAA6B,OAC3D,SAAQ,GAAR;EACE,KAAK;EACL,KAAK,UACH,QAAO,EAAQ;EACjB,KAAK,aACH,QAAO,EAAQ;EACjB,QACE,OAAU,MACR,qCAAqC,IACtC;;AAIP,KAAI,KAAmB,MAAoB,EAAgB,MACzD,SAAQ,GAAR;EACE,KAAK,EAAgB,KACnB,QAAO,EAAQ;EACjB,KAAK,EAAgB,QACnB,QAAO,EAAQ;EACjB,KAAK,EAAgB,yBACnB,QAAO,EAAQ;EACjB,KAAK,EAAgB,SACnB,QAAO,EAAQ;EACjB,QACE,OAAU,MAAM,4BAA4B,IAAkB;;AAIpE,QAAO,EAAQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../types/agent-server/type-guards.cjs`);function
|
|
1
|
+
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../types/agent-server/type-guards.cjs`),t=require(`./redact-custom-secrets.cjs`);function n(n){let r=n.find(e.isSystemPromptEvent);if(!r)return null;let i=r.dynamic_context?.text;return{content:i?`${r.system_prompt.text.trimEnd()}\n\n${t.redactCustomSecrets(i)}`:r.system_prompt.text,tools:r.tools??null,openhands_version:null,agent_class:null}}exports.adaptSystemMessage=n;
|
|
2
2
|
//# sourceMappingURL=system-message-adapter.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-message-adapter.cjs","names":[],"sources":["../../src/utils/system-message-adapter.ts"],"sourcesContent":["import { OHEvent } from \"#/stores/use-event-store\";\nimport { ChatCompletionToolParam } from \"#/types/agent-server/core\";\nimport { isSystemPromptEvent } from \"#/types/agent-server/type-guards\";\n\nexport interface SystemMessageForModal {\n content: string;\n tools: ChatCompletionToolParam[] | Record<string, unknown>[] | null;\n openhands_version: string | null;\n agent_class: string | null;\n}\n\nexport function adaptSystemMessage(\n events: OHEvent[],\n): SystemMessageForModal | null {\n const systemPromptEvent = events.find(isSystemPromptEvent);\n\n if (!systemPromptEvent) {\n return null;\n }\n\n
|
|
1
|
+
{"version":3,"file":"system-message-adapter.cjs","names":[],"sources":["../../src/utils/system-message-adapter.ts"],"sourcesContent":["import { OHEvent } from \"#/stores/use-event-store\";\nimport { ChatCompletionToolParam } from \"#/types/agent-server/core\";\nimport { isSystemPromptEvent } from \"#/types/agent-server/type-guards\";\nimport { redactCustomSecrets } from \"#/utils/redact-custom-secrets\";\n\nexport interface SystemMessageForModal {\n content: string;\n tools: ChatCompletionToolParam[] | Record<string, unknown>[] | null;\n openhands_version: string | null;\n agent_class: string | null;\n}\n\nexport function adaptSystemMessage(\n events: OHEvent[],\n): SystemMessageForModal | null {\n const systemPromptEvent = events.find(isSystemPromptEvent);\n\n if (!systemPromptEvent) {\n return null;\n }\n\n // dynamic_context is the runtime-injected tail of the same system prompt the\n // model receives, so append it to show the full message as one block.\n const dynamicContextText = systemPromptEvent.dynamic_context?.text;\n const content = dynamicContextText\n ? `${systemPromptEvent.system_prompt.text.trimEnd()}\\n\\n${redactCustomSecrets(dynamicContextText)}`\n : systemPromptEvent.system_prompt.text;\n\n return {\n content,\n tools: systemPromptEvent.tools ?? null,\n openhands_version: null,\n agent_class: null,\n };\n}\n"],"mappings":"+IAYA,SAAgB,EACd,EAC8B,CAC9B,IAAM,EAAoB,EAAO,KAAK,EAAA,oBAAoB,CAE1D,GAAI,CAAC,EACH,OAAO,KAKT,IAAM,EAAqB,EAAkB,iBAAiB,KAK9D,MAAO,CACL,QALc,EACZ,GAAG,EAAkB,cAAc,KAAK,SAAS,CAAC,MAAM,EAAA,oBAAoB,EAAmB,GAC/F,EAAkB,cAAc,KAIlC,MAAO,EAAkB,OAAS,KAClC,kBAAmB,KACnB,YAAa,KACd"}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { isSystemPromptEvent as e } from "../types/agent-server/type-guards.js";
|
|
2
|
+
import { redactCustomSecrets as t } from "./redact-custom-secrets.js";
|
|
2
3
|
//#region src/utils/system-message-adapter.ts
|
|
3
|
-
function
|
|
4
|
-
let
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
function n(n) {
|
|
5
|
+
let r = n.find(e);
|
|
6
|
+
if (!r) return null;
|
|
7
|
+
let i = r.dynamic_context?.text;
|
|
8
|
+
return {
|
|
9
|
+
content: i ? `${r.system_prompt.text.trimEnd()}\n\n${t(i)}` : r.system_prompt.text,
|
|
10
|
+
tools: r.tools ?? null,
|
|
8
11
|
openhands_version: null,
|
|
9
12
|
agent_class: null
|
|
10
|
-
}
|
|
13
|
+
};
|
|
11
14
|
}
|
|
12
15
|
//#endregion
|
|
13
|
-
export {
|
|
16
|
+
export { n as adaptSystemMessage };
|
|
14
17
|
|
|
15
18
|
//# sourceMappingURL=system-message-adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-message-adapter.js","names":[],"sources":["../../src/utils/system-message-adapter.ts"],"sourcesContent":["import { OHEvent } from \"#/stores/use-event-store\";\nimport { ChatCompletionToolParam } from \"#/types/agent-server/core\";\nimport { isSystemPromptEvent } from \"#/types/agent-server/type-guards\";\n\nexport interface SystemMessageForModal {\n content: string;\n tools: ChatCompletionToolParam[] | Record<string, unknown>[] | null;\n openhands_version: string | null;\n agent_class: string | null;\n}\n\nexport function adaptSystemMessage(\n events: OHEvent[],\n): SystemMessageForModal | null {\n const systemPromptEvent = events.find(isSystemPromptEvent);\n\n if (!systemPromptEvent) {\n return null;\n }\n\n
|
|
1
|
+
{"version":3,"file":"system-message-adapter.js","names":[],"sources":["../../src/utils/system-message-adapter.ts"],"sourcesContent":["import { OHEvent } from \"#/stores/use-event-store\";\nimport { ChatCompletionToolParam } from \"#/types/agent-server/core\";\nimport { isSystemPromptEvent } from \"#/types/agent-server/type-guards\";\nimport { redactCustomSecrets } from \"#/utils/redact-custom-secrets\";\n\nexport interface SystemMessageForModal {\n content: string;\n tools: ChatCompletionToolParam[] | Record<string, unknown>[] | null;\n openhands_version: string | null;\n agent_class: string | null;\n}\n\nexport function adaptSystemMessage(\n events: OHEvent[],\n): SystemMessageForModal | null {\n const systemPromptEvent = events.find(isSystemPromptEvent);\n\n if (!systemPromptEvent) {\n return null;\n }\n\n // dynamic_context is the runtime-injected tail of the same system prompt the\n // model receives, so append it to show the full message as one block.\n const dynamicContextText = systemPromptEvent.dynamic_context?.text;\n const content = dynamicContextText\n ? `${systemPromptEvent.system_prompt.text.trimEnd()}\\n\\n${redactCustomSecrets(dynamicContextText)}`\n : systemPromptEvent.system_prompt.text;\n\n return {\n content,\n tools: systemPromptEvent.tools ?? null,\n openhands_version: null,\n agent_class: null,\n };\n}\n"],"mappings":";;;AAYA,SAAgB,EACd,GAC8B;CAC9B,IAAM,IAAoB,EAAO,KAAK,EAAoB;AAE1D,KAAI,CAAC,EACH,QAAO;CAKT,IAAM,IAAqB,EAAkB,iBAAiB;AAK9D,QAAO;EACL,SALc,IACZ,GAAG,EAAkB,cAAc,KAAK,SAAS,CAAC,MAAM,EAAoB,EAAmB,KAC/F,EAAkB,cAAc;EAIlC,OAAO,EAAkB,SAAS;EAClC,mBAAmB;EACnB,aAAa;EACd"}
|
package/dist/utils/utils.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../i18n/declaration.cjs`),t=require(`../node_modules/clsx/dist/clsx.cjs`),n=require(`../node_modules/tailwind-merge/dist/bundle-mjs.cjs`),r=require(`../types/agent-state.cjs`),i=require(`../constants/status-colors.cjs`);function
|
|
1
|
+
require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../i18n/declaration.cjs`),t=require(`../node_modules/clsx/dist/clsx.cjs`),n=require(`../node_modules/tailwind-merge/dist/bundle-mjs.cjs`),r=require(`../types/agent-state.cjs`),i=require(`./status.cjs`),a=require(`../constants/status-colors.cjs`);function o(...e){return n.twMerge(t.default(e))}var s=(e,t)=>{let n=window.URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=t,document.body.appendChild(r),r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(n)},c=(e,t)=>{let n=parseFloat(e.style.height||``);return Number.isFinite(n)?n:t},l=(e,t)=>{e.style.setProperty(`height`,`${t}px`)},u=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?!0:`ontouchstart`in window||navigator.maxTouchPoints>0?typeof window.matchMedia==`function`?!window.matchMedia(`(pointer: fine)`).matches:!0:!1,d=e=>e.split(`.`).pop()?.toUpperCase()||`FILE`,f=(e,t)=>{if(!e)return!1;switch(e){case`bitbucket`:case`bitbucket_data_center`:return!0;case`github`:return t===`cloud`;default:return!1}},p=(e,t)=>{if(t&&t.trim()!==``)return t.startsWith(`http`)?t:`https://${t}`;switch(e){case`github`:return`https://github.com`;case`gitlab`:return`https://gitlab.com`;case`bitbucket`:return`https://bitbucket.org`;case`azure_devops`:return`https://dev.azure.com`;case`forgejo`:return`https://codeberg.org`;default:return``}},m=e=>e===`gitlab`?`GitLab`:e===`bitbucket`?`Bitbucket`:e===`bitbucket_data_center`?`Bitbucket Data Center`:e===`azure_devops`?`Azure DevOps`:e===`forgejo`?`Forgejo`:`GitHub`,h=e=>e?`merge request`:`pull request`,g=e=>e?`MR`:`PR`,_=(e,t,n)=>{let r=p(e,n);if(e===`bitbucket_data_center`){let[e,n]=t.split(`/`);return`${r}/projects/${e}/repos/${n}`}return`${r}/${t}`},v=(e,t,n,r)=>{let i=p(e,r);switch(e){case`github`:return`${i}/${t}/tree/${n}`;case`forgejo`:return`${i}/${t}/src/branch/${n}`;case`gitlab`:return`${i}/${t}/-/tree/${n}`;case`bitbucket`:return`${i}/${t}/src/${n}`;case`bitbucket_data_center`:{let e=t.split(`/`);if(e.length>=2){let[t,r]=e;return`${i}/projects/${t}/repos/${r}/browse?at=refs/heads/${n}`}return``}case`azure_devops`:{let e=t.split(`/`);if(e.length===3){let[t,r,a]=e;return`${i}/${t}/${r}/_git/${a}?version=GB${n}`}return``}default:return``}},y=()=>`Please pull the latest code from the repository.`,b=e=>`Please push the changes to a remote branch on ${m(e)}, but do NOT create a ${h(e===`gitlab`)}. Check your current branch name first - if it's main, master, deploy, or another common default branch name, create a new branch with a descriptive name related to your changes. Otherwise, use the exact SAME branch name as the one you are currently on.`,x=e=>{let t=m(e),n=h(e===`gitlab`);return`Please push the changes to ${t} and open a ${n}. If you're on a default branch (e.g., main, master, deploy), create a new branch with a descriptive name otherwise use the current branch. If a ${n} template exists in the repository, please follow it when creating the ${g(e===`gitlab`)} description.`},S=()=>`Please create a new branch with a descriptive name related to the work you plan to do.`,C=e=>!!e&&e!==`ERROR`&&e!==`READY`,w=e=>{let{isPausing:t,isTask:n,taskStatus:i,isStartingStatus:o,isStopStatus:s,curAgentState:c}=e;return t?`#FFD600`:n&&i?i===`ERROR`?a.OH_STATUS_ERROR_COLOR:`#FFD600`:o?`#FFD600`:s?`#ffffff`:c===r.AgentState.ERROR?a.OH_STATUS_ERROR_COLOR:a.OH_STATUS_SUCCESS_COLOR};function T({isPausing:t=!1,isTask:n,taskStatus:a,taskDetail:o,isStartingStatus:s,isStopStatus:c,curAgentState:l,errorMessage:u,t:d}){return t?d(e.I18nKey.COMMON$STOPPING):n&&a?a===`ERROR`?o||d(e.I18nKey.CONVERSATION$ERROR_STARTING_CONVERSATION):a===`READY`?d(e.I18nKey.CONVERSATION$READY):o||d(i.getTaskStatusI18nKey(a)):s?d(e.I18nKey.COMMON$STARTING):c?d(e.I18nKey.COMMON$SERVER_STOPPED):l===r.AgentState.ERROR?u||d(e.I18nKey.COMMON$ERROR):d(e.I18nKey.COMMON$RUNNING)}exports.cn=o,exports.constructBranchUrl=v,exports.constructRepositoryUrl=_,exports.downloadBlob=s,exports.getCreateNewBranchPrompt=S,exports.getCreatePRPrompt=x,exports.getFileExtension=d,exports.getGitPullPrompt=y,exports.getGitPushPrompt=b,exports.getStatusColor=w,exports.getStatusText=T,exports.getStyleHeightPx=c,exports.isMobileDevice=u,exports.isTaskPolling=C,exports.setStyleHeightPx=l,exports.shouldUseInstallationRepos=f;
|
|
2
2
|
//# sourceMappingURL=utils.cjs.map
|