@openhands/agent-canvas 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.windows.md +2 -2
- package/build/assets/{acp-providers-WUD4tfSq.js → acp-providers-DLe_gVDY.js} +1 -1
- package/build/assets/active-backend-context-B0wI7OzM.js +2 -0
- package/build/assets/agent-context-settings-CaQtdNA-.js +1 -0
- package/build/assets/agent-profiles-settings-CvuErjp6.js +1 -0
- package/build/assets/agent-server-conversation-service.api-km_8sOVf.js +41 -0
- package/build/assets/{agent-settings-BGTyoT6X.js → agent-settings-UE-U4Xii.js} +2 -2
- package/build/assets/agent-settings-nmO-KSXr.js +1 -0
- package/build/assets/alert-banner-BMaOtTCG.js +1 -0
- package/build/assets/{api-key-entry-screen-JOx3SH1-.js → api-key-entry-screen-Cy66vT4D.js} +1 -1
- package/build/assets/{app-settings-D53QZy5p.js → app-settings-9ok42bV6.js} +1 -1
- package/build/assets/automation-C_eCrGyP.js +1 -0
- package/build/assets/automation-detail-fuITm6i3.js +3 -0
- package/build/assets/automation-export-CRq40mux.js +2 -0
- package/build/assets/automation-setup-route-EXDazOHW.js +1 -0
- package/build/assets/automation-templates-BArZsaxP.js +1 -0
- package/build/assets/automations-list-CG4HKOTn.js +1 -0
- package/build/assets/{back-nav-button-C02hGa8t.js → back-nav-button-BZB6H7xz.js} +1 -1
- package/build/assets/backend-form-modal-B_lXjOGa.js +1 -0
- package/build/assets/{backend-synced-settings-badge-CQ9xtNWm.js → backend-synced-settings-badge-B_NXJ3u1.js} +1 -1
- package/build/assets/{badge-CzXbf7tR.js → badge-C64c-7PO.js} +1 -1
- package/build/assets/{base-modal-DkVyzFMt.js → base-modal-C0RQPug5.js} +1 -1
- package/build/assets/bot-DuN83i3p.js +1 -0
- package/build/assets/{brand-button-BUlDL-mz.js → brand-button-DJmFCyMK.js} +1 -1
- package/build/assets/browser-D3gd2n83.js +6 -0
- package/build/assets/{browser-tab-BijpUbdt.js → browser-tab-BicAWuJ1.js} +1 -1
- package/build/assets/{chat-send-button-BKsVjhtA.js → chat-send-button-CCrH1E8u.js} +1 -1
- package/build/assets/check-DLOKoFU9.js +1 -0
- package/build/assets/{checkmark-CxdXtM3b.js → checkmark-XZyokq_Y.js} +1 -1
- package/build/assets/chevron-down-CnIbtM6i.js +1 -0
- package/build/assets/circle-check-CxCYJrpZ.js +1 -0
- package/build/assets/{circle-plus-check-toggle-DdjUiOo1.js → circle-plus-check-toggle-CB_sNERY.js} +1 -1
- package/build/assets/{close-CDAVqnTn.js → close-ScPlnwyq.js} +1 -1
- package/build/assets/cloud-funnel-analytics-XynamQGU.js +1 -0
- package/build/assets/{combobox-caret-Dl9UtvD6.js → combobox-caret-Bwiifgjs.js} +1 -1
- package/build/assets/command-menu-CA3IjGNc.js +1 -0
- package/build/assets/condenser-settings-cNGy75gq.js +1 -0
- package/build/assets/{confirmation-modal-CRBJSllP.js → confirmation-modal-BATFmFyP.js} +1 -1
- package/build/assets/context-menu-list-item-DhJCcBA0.js +1 -0
- package/build/assets/conversation-B6t6EiVp.js +1 -0
- package/build/assets/conversation-Csdxh9Xt.js +90 -0
- package/build/assets/conversation-panel-B6t6EiVp.js +1 -0
- package/build/assets/conversation-state-store-C2QzhPaK.js +1 -0
- package/build/assets/{conversation-store-C6hSXHw0.js → conversation-store-B8Eahyeg.js} +1 -1
- package/build/assets/{conversation-tab-empty-state-CDjvNgpG.js → conversation-tab-empty-state-D3fb5xIA.js} +1 -1
- package/build/assets/{copy-Drwu97Gx.js → copy-DaHuDtG4.js} +1 -1
- package/build/assets/{copy-z7idLzWO.js → copy-Drmhc2jD.js} +1 -1
- package/build/assets/{copy-to-clipboard-button-NbN1clVr.js → copy-to-clipboard-button-c4MQwKGj.js} +1 -1
- package/build/assets/{device-verify-CDm_WrVu.js → device-verify-oFpQoLgm.js} +1 -1
- package/build/assets/{dist-hOnv1nn2.js → dist-Bl64nBZL.js} +1 -1
- package/build/assets/{dropdown-classes-CqA2BTCL.js → dropdown-classes-f91ARMV1.js} +1 -1
- package/build/assets/entry.client-BCzY2Bf3.js +2 -0
- package/build/assets/enum-filter-dropdown-HG3q3rkV.js +1 -0
- package/build/assets/{environment-switch-overlay-mGl2pqqx.js → environment-switch-overlay-CquZXolz.js} +1 -1
- package/build/assets/{extensions-hub-Br3Lgynp.js → extensions-hub-BeweE0PW.js} +1 -1
- package/build/assets/{extensions-navigation-BQmstKDZ.js → extensions-navigation-Dd58NlUF.js} +1 -1
- package/build/assets/{external-link-D9B2QMPf.js → external-link-zWbg5KXS.js} +1 -1
- package/build/assets/file-text-RecuaId_.js +1 -0
- package/build/assets/files-tab-CLLG55-q.js +1 -0
- package/build/assets/{folder-C86qXV7M.js → folder-C1ou4_DT.js} +1 -1
- package/build/assets/{form-control-classes-CtVAktAy.js → form-control-classes-pHtZUI6K.js} +1 -1
- package/build/assets/format-relative-time-6-3uvOXe.js +1 -0
- package/build/assets/format-time-delta-BIR5Os7T.js +1 -0
- package/build/assets/git-provider-icon-wg7ShB98.js +1 -0
- package/build/assets/git-repo-dropdown-CWnaUyxL.js +1 -0
- package/build/assets/git-repo-dropdown-TzOuG5Ef.js +1 -0
- package/build/assets/{highlighted-source-view-KMsA9c4a.js → highlighted-source-view-DBtI3por.js} +1 -1
- package/build/assets/home-BpZQkDWM.js +1 -0
- package/build/assets/home-OEx0XtfP.js +1 -0
- package/build/assets/home-store-DM4qw1lF.js +1 -0
- package/build/assets/{iconBase-B2rQun3J.js → iconBase-C2sR-uAp.js} +1 -1
- package/build/assets/index-home-OEx0XtfP.js +1 -0
- package/build/assets/info-C9lpK5pw.js +1 -0
- package/build/assets/install-server-modal-DnjZrJUy.js +1 -0
- package/build/assets/kebab-menu-item-content-By16Tm_0.js +1 -0
- package/build/assets/{launch-DjkKw55l.js → launch-C9uijypN.js} +1 -1
- package/build/assets/{link-external-BDBCz-_z.js → link-external-BNZzCM1I.js} +1 -1
- package/build/assets/list-filter-C86CBRDE.js +1 -0
- package/build/assets/{list-todo-BpAf7aOT.js → list-todo-CheUtB7F.js} +1 -1
- package/build/assets/llm-not-configured-banner-DrBrhfN0.js +27 -0
- package/build/assets/{llm-settings-D8zNkIlP.js → llm-settings-CRsLqxgu.js} +1 -1
- package/build/assets/llm-settings-RBm_3kNm.js +1 -0
- package/build/assets/{llm-subscription-service-COTgZc1C.js → llm-subscription-service-DwjJ8-_X.js} +1 -1
- package/build/assets/loader-circle-C5AnEN8r.js +1 -0
- package/build/assets/{loading-spinner-DRFyh6Iy.js → loading-spinner-6Yj-YyoS.js} +1 -1
- package/build/assets/{manage-backends-modal-DiRWE3tJ.js → manage-backends-modal-DrwErS0N.js} +1 -1
- package/build/assets/manifest-c352d453.js +1 -0
- package/build/assets/manifest-subpage-layout-CtqVwIvJ.js +1 -0
- package/build/assets/markdown-renderer-lsvsp7jn.js +8 -0
- package/build/assets/mcp-DD4hPTRE.js +9 -0
- package/build/assets/mcp-marketplace-utils-BMnYz0Gc.js +1 -0
- package/build/assets/messages-Dt77e0qi.js +40 -0
- package/build/assets/{modal-backdrop-X-vKo61e.js → modal-backdrop-BSzNhM4r.js} +1 -1
- package/build/assets/{modal-body-C3bGicn4.js → modal-body-BHGCSAtj.js} +1 -1
- package/build/assets/{modal-classes-DFFO6BMU.js → modal-classes-DSTLuxkA.js} +1 -1
- package/build/assets/{modal-close-button-vxkAIRyZ.js → modal-close-button-dheWZ2ys.js} +1 -1
- package/build/assets/mouse-pointer-click-Px-dXWcS.js +1 -0
- package/build/assets/{navigation-context-BOGzIng3.js → navigation-context-CQZwH_tC.js} +1 -1
- package/build/assets/navigation-link-Bxo3-4vo.js +1 -0
- package/build/assets/onboarding-5CZvRBbh.js +1 -0
- package/build/assets/onboarding-modal-CD2ehuxt.js +1 -0
- package/build/assets/{openhands-logo-CmYvJXBa.js → openhands-logo-BS-Epajy.js} +1 -1
- package/build/assets/{organization-service.api-CQ73CB-S.js → organization-service.api-Dsuoep0g.js} +1 -1
- package/build/assets/{pencil-DzW2GB2M.js → pencil-Bl3GWhgq.js} +1 -1
- package/build/assets/{planner-tab-YG0bGxDY.js → planner-tab-DeO7Thb0.js} +1 -1
- package/build/assets/{plugins-management-service-ijhH8OSh.js → plugins-management-service-C9f75R6X.js} +1 -1
- package/build/assets/plus-CtzlyAoF.js +1 -0
- package/build/assets/{profiles-service.api-C32pPm70.js → profiles-service.api-Dl20_2IM.js} +1 -1
- package/build/assets/{providers-DuSn9s2i.js → providers-CeuhK46N.js} +1 -1
- package/build/assets/{proxy-BiyDhMBd.js → proxy-CIGI9zQC.js} +1 -1
- package/build/assets/{puzzle-DlqT0yvr.js → puzzle-B3v361yY.js} +1 -1
- package/build/assets/recommended-automations-launcher-6xmbf7lh.js +1 -0
- package/build/assets/{refresh-cw-Br5254f4.js → refresh-cw-B9GhC3QC.js} +1 -1
- package/build/assets/root-BQPNqNvD.js +2 -0
- package/build/assets/root-BeuHFY2s.css +1 -0
- package/build/assets/root-layout-Dl_2CDoq.js +3 -0
- package/build/assets/{schema-field-htfNouTG.js → schema-field-z2vSLuLo.js} +1 -1
- package/build/assets/{sdk-section-page-D0K1dBQY.js → sdk-section-page-BnCXAytf.js} +1 -1
- package/build/assets/{search-7DRiGm4Z.js → search-BatSpWed.js} +1 -1
- package/build/assets/search-CYaiKHRp.js +1 -0
- package/build/assets/{secrets-service-Dbv5Zb8G.js → secrets-service-DGUNlwQd.js} +1 -1
- package/build/assets/{secrets-settings-Da4SSaX9.js → secrets-settings-DUmML_dK.js} +1 -1
- package/build/assets/segmented-toggle-eSofF7gn.js +1 -0
- package/build/assets/settings-CWFxymAf.js +1 -0
- package/build/assets/{settings-F4a09IxY.js → settings-Co-M5bK9.js} +1 -1
- package/build/assets/{settings-dropdown-input-jOiv5Yrk.js → settings-dropdown-input-Cx4g7Xfl.js} +1 -1
- package/build/assets/{settings-gear-TYXnELES.js → settings-gear-DaJj6Pde.js} +1 -1
- package/build/assets/{settings-index-CyJBf5NA.js → settings-index-BECdgecg.js} +1 -1
- package/build/assets/settings-input-BQY115xH.js +1 -0
- package/build/assets/settings-like-page-layout-classes-Cw4Yzv_P.js +1 -0
- package/build/assets/{settings-list-classes-VqMzkYYt.js → settings-list-classes-C9cLrrcc.js} +1 -1
- package/build/assets/{settings-modal-C-S1NpbC.js → settings-modal-ChBJNTdd.js} +1 -1
- package/build/assets/{settings-section-header-context-CnIIQAUn.js → settings-section-header-context-BOJ_Fbak.js} +1 -1
- package/build/assets/settings-service.api-Dz9cZyvx.js +1 -0
- package/build/assets/{settings-switch-B405oU_v.js → settings-switch-BIodMVz9.js} +1 -1
- package/build/assets/shared-conversation-CSF0aTuE.js +1 -0
- package/build/assets/{sidebar-layout-BGMuyC86.js → sidebar-layout-DEycoFd_.js} +1 -1
- package/build/assets/sidebar-mobile-menu-toggle-DeRvTupV.js +1 -0
- package/build/assets/{sidebar-nav-link-DA4_ct9G.js → sidebar-nav-link-BjpQ-NVc.js} +1 -1
- package/build/assets/{sidebar-store-FRJ3rADB.js → sidebar-store-B04sX8aP.js} +1 -1
- package/build/assets/{skill-card-pill-row-BMdhr_sd.js → skill-card-pill-row-BH6fPGba.js} +1 -1
- package/build/assets/{skill-icon-badge-CGUkgcVH.js → skill-icon-badge-D4uznfjU.js} +1 -1
- package/build/assets/skill-scope-DH_AUUUP.js +1 -0
- package/build/assets/{skills-CYFLsN5U.js → skills-B0IliMxw.js} +1 -1
- package/build/assets/{skills-plugins-C5eJnyft.js → skills-plugins-vfvOk34h.js} +1 -1
- package/build/assets/skills-settings-DnbIu2eO.js +2 -0
- package/build/assets/sparkles-g7y3r-Ut.js +1 -0
- package/build/assets/{styled-tooltip-B3kIdVyH.js → styled-tooltip-CQ9JEFiO.js} +1 -1
- package/build/assets/{switch-skeleton-BQoOhQTB.js → switch-skeleton-DwOoCqaL.js} +1 -1
- package/build/assets/{syntax-highlighter-B92AFGMy.js → syntax-highlighter-BGDg_7w9.js} +1 -1
- package/build/assets/{task-list-tab-B3k4W1cK.js → task-list-tab-DeF_uXdw.js} +1 -1
- package/build/assets/{terminal-cMS3RgVE.js → terminal-BUpID2wS.js} +1 -1
- package/build/assets/{terminal-CBI_41Zc.js → terminal-DRc4rup7.js} +1 -1
- package/build/assets/{toggle-switch-DYRr9CAR.js → toggle-switch--8n8NeV_.js} +1 -1
- package/build/assets/{trash-2-gZPlx23R.js → trash-2-CzDVN-Iw.js} +1 -1
- package/build/assets/{typography-B1UxuuEC.js → typography-BSbUhJPn.js} +1 -1
- package/build/assets/{u-check-circle-DBEvndTS.js → u-check-circle-BKn1spCL.js} +1 -1
- package/build/assets/{u-edit-809W9D9T.js → u-edit-DAkcF52u.js} +1 -1
- package/build/assets/{u-robot-CJtSzy5X.js → u-robot-BvAOA2ZD.js} +1 -1
- package/build/assets/{use-acp-credential-form-CjSvKWFH.js → use-acp-credential-form-BGKFi1VL.js} +1 -1
- package/build/assets/{use-activate-agent-profile-DCRf47e-.js → use-activate-agent-profile-2nvALjC-.js} +1 -1
- package/build/assets/use-agent-profiles-BlQA67MW.js +1 -0
- package/build/assets/{use-breakpoint-DA7JqsRN.js → use-breakpoint-DWtihr9g.js} +1 -1
- package/build/assets/{use-can-manage-org-profiles-vBiP7rHF.js → use-can-manage-org-profiles-Clw5Dh1s.js} +1 -1
- package/build/assets/{use-click-outside-element-DKqpqEEm.js → use-click-outside-element-W6Os4Nlb.js} +1 -1
- package/build/assets/{use-cloud-current-user-id-BMq9gw93.js → use-cloud-current-user-id-B8AQSQFM.js} +1 -1
- package/build/assets/use-config-C3zGuUQI.js +1 -0
- package/build/assets/{use-create-conversation-CakhLF0X.js → use-create-conversation-FaP0kUpg.js} +1 -1
- package/build/assets/{use-create-secret-RT4QtSS9.js → use-create-secret-CgQ3pXd6.js} +1 -1
- package/build/assets/use-is-authed-Bka89Xmm.js +1 -0
- package/build/assets/{use-is-creating-conversation-CIAcnd8M.js → use-is-creating-conversation-CVefC9Ns.js} +1 -1
- package/build/assets/{use-launch-skill-in-chat-DKzCTMt0.js → use-launch-skill-in-chat-BcKNjxxd.js} +1 -1
- package/build/assets/use-llm-profiles-C-tDO6UB.js +1 -0
- package/build/assets/use-manifest-capabilities-DLP5wCxp.js +1 -0
- package/build/assets/{use-onboarding-completion-CJU4MNAY.js → use-onboarding-completion-BiCdXvlU.js} +1 -1
- package/build/assets/{use-plugins-marketplace-D-93nqtJ.js → use-plugins-marketplace-DRFNLBlr.js} +1 -1
- package/build/assets/use-save-agent-profile-CaGVAudI.js +1 -0
- package/build/assets/{use-save-settings--C6LZXfI.js → use-save-settings-C9B8Y-h3.js} +1 -1
- package/build/assets/{use-settings-DIAo5KFk.js → use-settings-3RcgdUuZ.js} +1 -1
- package/build/assets/use-settings-nav-items-y-Oyc93G.js +16 -0
- package/build/assets/use-tracking-CTtkLAmx.js +3 -0
- package/build/assets/{use-user-conversation-DhcAEyJX.js → use-user-conversation-Bei82QsZ.js} +1 -1
- package/build/assets/useInfiniteQuery-DbCv0Jzd.js +1 -0
- package/build/assets/{useMutation-DHLpZ6J0.js → useMutation-ChpkYxI5.js} +1 -1
- package/build/assets/{useQueries-B3T1a7qt.js → useQueries-Cjv3E8_1.js} +1 -1
- package/build/assets/useQuery-BCnzy4LX.js +1 -0
- package/build/assets/utils-BX9XJ0IE.js +1 -0
- package/build/assets/{vendor-markdown-BML7QbqS.js → vendor-markdown-j0kYzV48.js} +1 -1
- package/build/assets/{vendor-styling-Bcgpimp9.js → vendor-styling-Ck5D_A2Q.js} +6 -6
- package/build/assets/{vendor~browser-jaN4ilxM.js → vendor~browser-C6uXH-dw.js} +2 -2
- package/build/assets/vendor~browser-DJ1pl_wn.js +47 -0
- package/build/assets/{vendor~browser-tab-_-VCXq8n.js → vendor~browser-tab-C5uuAxZX.js} +1 -1
- package/build/assets/vendor~entry.client-CgNUwtQL.js +1 -0
- package/build/assets/{vendor~entry.client-Di4qO77Y.js → vendor~entry.client-zSIea5EO.js} +2 -2
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~cy4jtuc2-rfV8mQ9m.js +1 -0
- package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~g4xrpilz-CYPMCkX1.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kv3pap4j-oGvLV0dO.js} +4 -4
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~lq5hicxx-cHFhpUBq.js +26 -0
- package/build/assets/{vendor~files-tab-atebg0iG.js → vendor~files-tab-C87pjSpi.js} +1 -1
- package/build/assets/{vendor~index-home~home~conversation-panel~conversation-G9DMrR7m.js → vendor~index-home~home~conversation-panel~conversation-DiXf0dkj.js} +1 -1
- package/build/assets/{vendor~conversation-panel~conversation~alert-banner-BNzz5FuZ.js → vendor~index-home~home~conversation-panel~conversation~alert-banner-B3qC_oj8.js} +1 -1
- package/build/assets/{vendor~launch-ChXCOGw8.js → vendor~launch-CHwEQG6e.js} +1 -1
- package/build/assets/vendor~module-DyG7x7JT.js +2 -0
- package/build/assets/{vendor~root-layout~conversation-panel~conversation-DEhW1h3I.js → vendor~root-layout~conversation-panel~conversation-DEzjR4K7.js} +1 -1
- package/build/assets/{vendor~root-layout~conversation-panel~conversation~shared-conversation-DRblkyXD.js → vendor~root-layout~conversation-panel~conversation~shared-conversation-DOuig0C0.js} +1 -1
- package/build/assets/vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-U-xdsAEx.js +1 -0
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation~automation-setup-route-CjECvSl5.js +1 -0
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-CQR5Sa0H.js +1 -0
- package/build/assets/vendor~root-layout~index-home~home~mcp~automations-list~automation-templates~automation-set~bxsimjx0-D7IDevqN.js +1 -0
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hakxo2tj-ClV0p9g3.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~gxu4j2ea-Cwhh3zLe.js} +1 -1
- package/build/assets/{vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~bi2r7bko-VFnwct3q.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hjcjabwg-CuQhkiS7.js} +1 -1
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~9pstowjp-BOVIFA_g.js +73 -0
- package/build/assets/{vendor~root-layout~index-home~home~conversation-panel~conversation~launch~skills-settings~a~eywn6ulz-BKxxr74w.js → vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~ht43enc2-C0JXQb_q.js} +175 -54
- package/build/assets/{verification-settings-Vr5cN4md.js → verification-settings-nD61Ijph.js} +1 -1
- package/build/assets/wrench-DRitTfwe.js +1 -0
- package/build/assets/x-RYDBg-e2.js +1 -0
- package/build/assets/{x-mark-jcTkPiOB.js → x-mark-BopmFoBq.js} +1 -1
- package/build/assets/zap-tbKDzCe3.js +1 -0
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +106 -5
- package/build/locales/ca/openhands.json +106 -5
- package/build/locales/de/openhands.json +106 -5
- package/build/locales/en/openhands.json +107 -6
- package/build/locales/es/openhands.json +106 -5
- package/build/locales/fr/openhands.json +106 -5
- package/build/locales/it/openhands.json +106 -5
- package/build/locales/ja/openhands.json +106 -5
- package/build/locales/ko-KR/openhands.json +106 -5
- package/build/locales/no/openhands.json +106 -5
- package/build/locales/pt/openhands.json +106 -5
- package/build/locales/tr/openhands.json +106 -5
- package/build/locales/uk/openhands.json +106 -5
- package/build/locales/zh-CN/openhands.json +106 -5
- package/build/locales/zh-TW/openhands.json +106 -5
- package/build/mockServiceWorker.js +21 -9
- package/config/defaults.json +3 -3
- 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.d.ts +46 -6
- package/dist/api/agent-server-adapter.js +187 -168
- package/dist/api/agent-server-adapter.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 +4 -0
- package/dist/api/agent-server-compatibility.js +41 -38
- package/dist/api/agent-server-compatibility.js.map +1 -1
- package/dist/api/automation-service/automation-service.api.cjs +1 -1
- package/dist/api/automation-service/automation-service.api.cjs.map +1 -1
- package/dist/api/automation-service/automation-service.api.d.ts +25 -0
- package/dist/api/automation-service/automation-service.api.js +110 -62
- package/dist/api/automation-service/automation-service.api.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.js +36 -31
- package/dist/api/backend-registry/active-store.js.map +1 -1
- package/dist/api/backend-registry/url-selection.cjs +2 -0
- package/dist/api/backend-registry/url-selection.cjs.map +1 -0
- package/dist/api/backend-registry/url-selection.d.ts +31 -0
- package/dist/api/backend-registry/url-selection.js +29 -0
- package/dist/api/backend-registry/url-selection.js.map +1 -0
- package/dist/api/mcp-service/mcp-redacted-credentials.cjs +1 -1
- package/dist/api/mcp-service/mcp-redacted-credentials.cjs.map +1 -1
- package/dist/api/mcp-service/mcp-redacted-credentials.d.ts +3 -2
- package/dist/api/mcp-service/mcp-redacted-credentials.js +32 -27
- package/dist/api/mcp-service/mcp-redacted-credentials.js.map +1 -1
- package/dist/api/mcp-service/mcp-service.api.cjs +1 -1
- package/dist/api/mcp-service/mcp-service.api.cjs.map +1 -1
- package/dist/api/mcp-service/mcp-service.api.js +19 -19
- package/dist/api/mcp-service/mcp-service.api.js.map +1 -1
- package/dist/api/settings-service/settings-service.api.cjs +1 -1
- package/dist/api/settings-service/settings-service.api.cjs.map +1 -1
- package/dist/api/settings-service/settings-service.api.d.ts +10 -0
- package/dist/api/settings-service/settings-service.api.js +90 -100
- package/dist/api/settings-service/settings-service.api.js.map +1 -1
- package/dist/api/skills-service.cjs +1 -1
- package/dist/api/skills-service.cjs.map +1 -1
- package/dist/api/skills-service.js +1 -0
- package/dist/api/skills-service.js.map +1 -1
- package/dist/assets/chevron-left.d.ts +1 -1
- package/dist/assets/chevron-right.d.ts +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.cjs +2 -0
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.cjs.map +1 -0
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.d.ts +12 -0
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.js +94 -0
- package/dist/components/conversation-events/chat/event-content-helpers/get-action-event-title.js.map +1 -0
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.cjs +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.js +31 -90
- package/dist/components/conversation-events/chat/event-content-helpers/get-event-content.js.map +1 -1
- package/dist/components/conversation-events/chat/event-message-components/collapsible-thinking.d.ts +2 -1
- package/dist/components/conversation-events/chat/event-message-components/critic-result-display.d.ts +2 -1
- package/dist/components/conversation-events/chat/event-message-components/error-event-message.d.ts +2 -1
- package/dist/components/conversation-events/chat/event-message-components/event-group.d.ts +1 -1
- package/dist/components/conversation-events/chat/event-message-components/finish-event-message.d.ts +1 -1
- package/dist/components/conversation-events/chat/event-message-components/generic-event-message-wrapper.d.ts +1 -1
- package/dist/components/conversation-events/chat/event-message-components/observation-pair-event-message.d.ts +2 -1
- package/dist/components/conversation-events/chat/event-message-components/skill-item-expanded.d.ts +1 -1
- package/dist/components/conversation-events/chat/event-message-components/skill-ready-content-list.d.ts +2 -1
- package/dist/components/conversation-events/chat/event-message-components/thought-event-message.d.ts +1 -1
- package/dist/components/conversation-events/chat/event-message-components/user-assistant-event-message.d.ts +2 -1
- package/dist/components/conversation-events/chat/event-message.d.ts +2 -1
- package/dist/components/conversation-events/chat/task-tracking/task-item.d.ts +1 -1
- package/dist/components/conversation-events/chat/task-tracking/task-list-section.d.ts +1 -1
- package/dist/components/features/alerts/alert-banner.d.ts +1 -1
- package/dist/components/features/analytics/telemetry-consent-banner.d.ts +2 -1
- package/dist/components/features/automations/add-automation-modal.d.ts +1 -1
- package/dist/components/features/automations/automation-card-skeleton.d.ts +1 -1
- package/dist/components/features/automations/automation-card.d.ts +9 -1
- package/dist/components/features/automations/automation-group.d.ts +9 -1
- package/dist/components/features/automations/automation-health-badge.d.ts +8 -0
- package/dist/components/features/automations/automation-list-row.d.ts +3 -1
- package/dist/components/features/automations/automation-run-insights.d.ts +17 -0
- package/dist/components/features/automations/automation-view-toggle.d.ts +1 -1
- package/dist/components/features/automations/backend-not-configured.d.ts +1 -1
- package/dist/components/features/automations/create-instructions.d.ts +2 -2
- package/dist/components/features/automations/dashboard/automations-dashboard-controls.d.ts +18 -0
- package/dist/components/features/automations/dashboard/automations-filtered-empty-state.d.ts +9 -0
- package/dist/components/features/automations/dashboard/use-automation-sub-page-nav.d.ts +12 -0
- package/dist/components/features/automations/delete-confirmation-modal.d.ts +1 -1
- package/dist/components/features/automations/detail/active-status-badge.d.ts +1 -1
- package/dist/components/features/automations/detail/activity-log-item.d.ts +1 -1
- package/dist/components/features/automations/detail/activity-log-section.d.ts +3 -1
- package/dist/components/features/automations/detail/activity-section.d.ts +1 -1
- package/dist/components/features/automations/detail/back-link.d.ts +1 -1
- package/dist/components/features/automations/detail/branch-badge.d.ts +1 -1
- package/dist/components/features/automations/detail/config-field.d.ts +1 -1
- package/dist/components/features/automations/detail/configuration-section.d.ts +1 -1
- package/dist/components/features/automations/detail/debug-automation-button.d.ts +1 -1
- package/dist/components/features/automations/detail/detail-header.d.ts +1 -1
- package/dist/components/features/automations/detail/detail-skeleton.d.ts +1 -1
- package/dist/components/features/automations/detail/edit-automation-modal.d.ts +1 -1
- package/dist/components/features/automations/detail/not-found-state.d.ts +1 -1
- package/dist/components/features/automations/detail/plugin-chip.d.ts +1 -1
- package/dist/components/features/automations/detail/plugins-section.d.ts +1 -1
- package/dist/components/features/automations/detail/prompt-section.d.ts +2 -1
- package/dist/components/features/automations/detail/run-logs-modal.d.ts +1 -1
- package/dist/components/features/automations/detail/run-status-badge.d.ts +10 -1
- package/dist/components/features/automations/detail/section-card.d.ts +1 -1
- package/dist/components/features/automations/empty-state.d.ts +1 -1
- package/dist/components/features/automations/error-state.d.ts +1 -1
- package/dist/components/features/automations/import-automation-modal.d.ts +1 -1
- package/dist/components/features/automations/kebab-menu-item-content.d.ts +1 -1
- package/dist/components/features/automations/kebab-menu.d.ts +1 -1
- package/dist/components/features/automations/metadata-chip.d.ts +1 -1
- package/dist/components/features/automations/recommended-automations-launcher.d.ts +1 -8
- package/dist/components/features/automations/recommended-automations-section.d.ts +1 -7
- package/dist/components/features/automations/responder-deployment-modal.d.ts +1 -1
- package/dist/components/features/automations/search-input.d.ts +1 -1
- package/dist/components/features/automations/status-badge.d.ts +1 -1
- package/dist/components/features/automations/turn-off-confirmation-modal.d.ts +8 -0
- package/dist/components/features/automations/view-menu-item-content.d.ts +1 -1
- package/dist/components/features/backends/add-backend-modal.d.ts +1 -1
- package/dist/components/features/backends/api-key-entry-screen.d.ts +2 -1
- 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 +3 -3
- package/dist/components/features/backends/backend-form-modal.js +568 -358
- package/dist/components/features/backends/backend-form-modal.js.map +1 -1
- package/dist/components/features/backends/backend-row.d.ts +1 -1
- package/dist/components/features/backends/backend-selector.d.ts +2 -1
- package/dist/components/features/backends/backend-status-dot.d.ts +2 -1
- package/dist/components/features/backends/backend-version.d.ts +1 -1
- package/dist/components/features/backends/device-flow-auth.cjs +1 -1
- package/dist/components/features/backends/device-flow-auth.cjs.map +1 -1
- package/dist/components/features/backends/device-flow-auth.d.ts +9 -1
- package/dist/components/features/backends/device-flow-auth.js +56 -55
- package/dist/components/features/backends/device-flow-auth.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.d.ts +2 -1
- package/dist/components/features/backends/manage-backends-modal.js +1 -1
- package/dist/components/features/backends/manage-backends-modal.js.map +1 -1
- package/dist/components/features/browser/browser-chrome-bar.d.ts +1 -1
- package/dist/components/features/browser/browser-snapshot.d.ts +1 -1
- package/dist/components/features/browser/browser.d.ts +1 -1
- package/dist/components/features/browser/empty-browser-message.d.ts +1 -1
- package/dist/components/features/chat/btw-messages.d.ts +1 -1
- package/dist/components/features/chat/change-agent-button.d.ts +2 -1
- package/dist/components/features/chat/change-agent-context-menu.d.ts +1 -1
- package/dist/components/features/chat/chat-action-tooltip.d.ts +1 -1
- package/dist/components/features/chat/chat-add-file-button.d.ts +2 -1
- package/dist/components/features/chat/chat-interface.cjs +1 -1
- package/dist/components/features/chat/chat-interface.cjs.map +1 -1
- package/dist/components/features/chat/chat-interface.d.ts +2 -1
- package/dist/components/features/chat/chat-interface.js +105 -105
- package/dist/components/features/chat/chat-interface.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 +59 -49
- package/dist/components/features/chat/chat-message.js.map +1 -1
- package/dist/components/features/chat/chat-messages-skeleton.d.ts +2 -1
- package/dist/components/features/chat/chat-play-button.d.ts +1 -1
- package/dist/components/features/chat/chat-send-button.d.ts +1 -1
- package/dist/components/features/chat/chat-status-indicator.d.ts +1 -1
- package/dist/components/features/chat/chat-stop-button.d.ts +1 -1
- package/dist/components/features/chat/chat-suggestions.d.ts +1 -1
- package/dist/components/features/chat/components/chat-input-actions.d.ts +2 -1
- package/dist/components/features/chat/components/chat-input-container.d.ts +1 -1
- package/dist/components/features/chat/components/chat-input-field.d.ts +1 -1
- package/dist/components/features/chat/components/chat-input-grip.d.ts +1 -1
- package/dist/components/features/chat/components/chat-input-llm-profile-picker.d.ts +3 -2
- package/dist/components/features/chat/components/chat-input-model.d.ts +3 -2
- package/dist/components/features/chat/components/chat-input-profile-picker.d.ts +1 -1
- package/dist/components/features/chat/components/chat-input-row.d.ts +1 -1
- package/dist/components/features/chat/components/hidden-file-input.d.ts +1 -1
- package/dist/components/features/chat/components/slash-command-menu.d.ts +2 -1
- package/dist/components/features/chat/confirmation-mode-enabled.d.ts +1 -1
- package/dist/components/features/chat/custom-chat-input.d.ts +1 -1
- package/dist/components/features/chat/drag-over.d.ts +1 -1
- package/dist/components/features/chat/error-message-banner.d.ts +2 -1
- package/dist/components/features/chat/error-message.d.ts +2 -1
- package/dist/components/features/chat/generic-event-message.d.ts +1 -1
- package/dist/components/features/chat/git-control-bar-branch-button.d.ts +1 -1
- package/dist/components/features/chat/git-control-bar-pr-button.d.ts +1 -1
- package/dist/components/features/chat/git-control-bar-pull-button.d.ts +1 -1
- package/dist/components/features/chat/git-control-bar-push-button.d.ts +1 -1
- package/dist/components/features/chat/git-control-bar-repo-button.d.ts +1 -1
- package/dist/components/features/chat/git-control-bar-tooltip-wrapper.d.ts +1 -1
- package/dist/components/features/chat/git-control-bar.d.ts +1 -1
- package/dist/components/features/chat/git-external-link-icon.d.ts +1 -1
- package/dist/components/features/chat/goal-status-banner.d.ts +1 -1
- package/dist/components/features/chat/goal-status-content.d.ts +1 -1
- package/dist/components/features/chat/got-it-button.d.ts +1 -1
- package/dist/components/features/chat/interactive-chat-box.d.ts +1 -1
- package/dist/components/features/chat/model-messages.d.ts +2 -1
- package/dist/components/features/chat/mono-component.d.ts +1 -1
- package/dist/components/features/chat/open-repository-modal.d.ts +2 -1
- package/dist/components/features/chat/pasted-image-upload-as-file-button.d.ts +1 -1
- package/dist/components/features/chat/path-component.d.ts +1 -1
- package/dist/components/features/chat/pending-stop-icon.d.ts +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.d.ts +2 -1
- package/dist/components/features/chat/pending-user-messages.js +4 -1
- package/dist/components/features/chat/pending-user-messages.js.map +1 -1
- package/dist/components/features/chat/plan-preview.d.ts +1 -1
- package/dist/components/features/chat/remove-file-button.d.ts +1 -1
- package/dist/components/features/chat/skill-install-restart-banner.d.ts +1 -1
- package/dist/components/features/chat/success-indicator.d.ts +1 -1
- package/dist/components/features/chat/task-tracking/status-badge.d.ts +1 -1
- package/dist/components/features/chat/task-tracking/status-icon.d.ts +1 -1
- package/dist/components/features/chat/task-tracking/task-item.d.ts +1 -1
- package/dist/components/features/chat/task-tracking/task-list-section.d.ts +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/code-block.d.ts +2 -1
- package/dist/components/features/chat/tool-visualizers/primitives/diff-view.d.ts +2 -1
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.d.ts +2 -1
- package/dist/components/features/chat/tool-visualizers/primitives/key-value-grid.d.ts +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/output-pane.d.ts +2 -1
- package/dist/components/features/chat/typing-indicator.cjs +1 -1
- package/dist/components/features/chat/typing-indicator.cjs.map +1 -1
- package/dist/components/features/chat/typing-indicator.d.ts +8 -1
- package/dist/components/features/chat/typing-indicator.js +94 -10
- package/dist/components/features/chat/typing-indicator.js.map +1 -1
- package/dist/components/features/chat/uploaded-file.d.ts +1 -1
- package/dist/components/features/chat/uploaded-files.d.ts +1 -1
- package/dist/components/features/chat/uploaded-image.d.ts +2 -1
- package/dist/components/features/chat/user-message-body.d.ts +2 -2
- package/dist/components/features/chat/waiting-for-runtime-message.d.ts +1 -1
- package/dist/components/features/chat/workspace-mode-icon.d.ts +1 -1
- package/dist/components/features/chat/workspace-mode-selector.d.ts +1 -1
- package/dist/components/features/command-menu/command-menu-items.d.ts +5 -1
- package/dist/components/features/command-menu/command-menu-trigger.d.ts +2 -1
- package/dist/components/features/context-menu/archived-disabled-tooltip.d.ts +1 -1
- package/dist/components/features/context-menu/context-menu-icon-text-with-description.d.ts +1 -1
- package/dist/components/features/context-menu/context-menu-icon-text.d.ts +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.d.ts +2 -1
- package/dist/components/features/context-menu/context-menu-list-item.js +2 -1
- package/dist/components/features/context-menu/context-menu-list-item.js.map +1 -1
- package/dist/components/features/controls/agent-loading.d.ts +1 -1
- package/dist/components/features/controls/agent-status.d.ts +1 -1
- package/dist/components/features/controls/git-tools-submenu.d.ts +1 -1
- package/dist/components/features/controls/macros-submenu.d.ts +1 -1
- package/dist/components/features/controls/server-status-context-menu-icon-text.d.ts +1 -1
- package/dist/components/features/controls/server-status-context-menu.d.ts +1 -1
- package/dist/components/features/controls/server-status.d.ts +1 -1
- package/dist/components/features/controls/tools-context-menu-icon-text.d.ts +1 -1
- package/dist/components/features/controls/tools-context-menu.d.ts +1 -1
- package/dist/components/features/controls/tools.d.ts +2 -1
- package/dist/components/features/conversation/conversation-loading.d.ts +1 -1
- package/dist/components/features/conversation/conversation-main/chat-interface-wrapper.d.ts +1 -1
- package/dist/components/features/conversation/conversation-main/conversation-main.d.ts +1 -1
- package/dist/components/features/conversation/conversation-main/conversation-mobile-panel-page.d.ts +2 -1
- package/dist/components/features/conversation/conversation-name-context-menu-icon-text.d.ts +1 -1
- package/dist/components/features/conversation/conversation-name-context-menu.d.ts +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.d.ts +2 -1
- package/dist/components/features/conversation/conversation-name.d.ts +2 -1
- package/dist/components/features/conversation/conversation-tab-empty-state.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content-crossfade.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/suspense-pending-fallback.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/tab-container.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/tab-content-area.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/tab-wrapper.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-nav.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/drawer-vscode-link.d.ts +1 -1
- package/dist/components/features/conversation/metrics-modal/context-window-section.d.ts +1 -1
- package/dist/components/features/conversation/metrics-modal/cost-section.d.ts +1 -1
- package/dist/components/features/conversation/metrics-modal/empty-state.d.ts +1 -1
- package/dist/components/features/conversation/metrics-modal/metric-row.d.ts +1 -1
- package/dist/components/features/conversation/metrics-modal/metrics-modal-header.d.ts +1 -1
- package/dist/components/features/conversation/metrics-modal/metrics-modal.d.ts +1 -1
- package/dist/components/features/conversation/metrics-modal/usage-section.d.ts +1 -1
- package/dist/components/features/conversation/right-panel-toggle.d.ts +1 -1
- package/dist/components/features/conversation/transcript-export-modal.d.ts +2 -1
- package/dist/components/features/conversation-panel/budget-display.d.ts +2 -1
- package/dist/components/features/conversation-panel/budget-progress-bar.d.ts +1 -1
- package/dist/components/features/conversation-panel/budget-usage-text.d.ts +2 -1
- package/dist/components/features/conversation-panel/cloud-new-conversation-menu.d.ts +1 -1
- package/dist/components/features/conversation-panel/compact-conversation-row.cjs +1 -1
- package/dist/components/features/conversation-panel/compact-conversation-row.cjs.map +1 -1
- package/dist/components/features/conversation-panel/compact-conversation-row.d.ts +2 -1
- package/dist/components/features/conversation-panel/compact-conversation-row.js +38 -37
- package/dist/components/features/conversation-panel/compact-conversation-row.js.map +1 -1
- package/dist/components/features/conversation-panel/confirm-delete-modal.d.ts +1 -1
- package/dist/components/features/conversation-panel/confirm-stop-modal.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-actions.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-context-menu.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-footer.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-header.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-preview.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-skeleton.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card-title.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-card.d.ts +2 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-repo-link.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/conversation-status-badges.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-card/no-repository.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-list.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-group-folder-row.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-filter-menu.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-new-thread-picker.d.ts +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-pinned-section.d.ts +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.d.ts +2 -1
- package/dist/components/features/conversation-panel/conversation-panel.js +221 -220
- package/dist/components/features/conversation-panel/conversation-panel.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-status-dot.d.ts +1 -1
- package/dist/components/features/conversation-panel/exit-conversation-modal.d.ts +1 -1
- package/dist/components/features/conversation-panel/hook-event-item.d.ts +1 -1
- package/dist/components/features/conversation-panel/hook-matcher-content.d.ts +1 -1
- package/dist/components/features/conversation-panel/hooks-empty-state.d.ts +1 -1
- package/dist/components/features/conversation-panel/hooks-loading-state.d.ts +1 -1
- package/dist/components/features/conversation-panel/hooks-modal-header.d.ts +1 -1
- package/dist/components/features/conversation-panel/hooks-modal.d.ts +1 -1
- package/dist/components/features/conversation-panel/local-new-conversation-menu.d.ts +1 -1
- package/dist/components/features/conversation-panel/menu-heading.d.ts +1 -1
- package/dist/components/features/conversation-panel/menu-row.d.ts +1 -1
- package/dist/components/features/conversation-panel/menu-separator.d.ts +1 -1
- package/dist/components/features/conversation-panel/new-conversation-button.d.ts +2 -1
- package/dist/components/features/conversation-panel/plugins-modal.d.ts +1 -1
- package/dist/components/features/conversation-panel/runtime-waiting-state.d.ts +1 -1
- package/dist/components/features/conversation-panel/skill-content.d.ts +1 -1
- package/dist/components/features/conversation-panel/skill-item.d.ts +1 -1
- package/dist/components/features/conversation-panel/skill-triggers.d.ts +1 -1
- package/dist/components/features/conversation-panel/skills-empty-state.d.ts +1 -1
- package/dist/components/features/conversation-panel/skills-loading-state.d.ts +1 -1
- package/dist/components/features/conversation-panel/skills-modal-header.d.ts +1 -1
- package/dist/components/features/conversation-panel/skills-modal-section.d.ts +1 -1
- package/dist/components/features/conversation-panel/skills-modal.d.ts +1 -1
- package/dist/components/features/conversation-panel/start-task-card/start-task-card-footer.d.ts +1 -1
- package/dist/components/features/conversation-panel/start-task-card/start-task-card-header.d.ts +1 -1
- package/dist/components/features/conversation-panel/start-task-card/start-task-card.d.ts +1 -1
- package/dist/components/features/conversation-panel/start-task-card/start-task-status-badge.d.ts +1 -1
- package/dist/components/features/conversation-panel/start-task-card/start-task-status-indicator.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/empty-tools-state.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/system-message-content.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/system-message-header.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/tab-button.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/tab-content.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/tab-navigation.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/toggle-button.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/tool-item.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/tool-parameters.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal/tools-list.d.ts +1 -1
- package/dist/components/features/conversation-panel/system-message-modal.d.ts +1 -1
- package/dist/components/features/diff-viewer/commit-list.d.ts +2 -1
- package/dist/components/features/diff-viewer/commit-row.d.ts +2 -1
- package/dist/components/features/diff-viewer/diff-drawer-icon.d.ts +1 -1
- package/dist/components/features/diff-viewer/editor-container.d.ts +1 -1
- package/dist/components/features/diff-viewer/empty-changes-message.d.ts +1 -1
- package/dist/components/features/diff-viewer/file-diff-viewer.d.ts +2 -1
- package/dist/components/features/diff-viewer/loading-spinner.d.ts +1 -1
- package/dist/components/features/files/file-item.d.ts +1 -1
- package/dist/components/features/files/file-list.d.ts +2 -1
- package/dist/components/features/files-tab/file-content-viewer.d.ts +1 -1
- package/dist/components/features/files-tab/file-quick-row.d.ts +1 -1
- package/dist/components/features/files-tab/file-tree-view.d.ts +1 -1
- package/dist/components/features/files-tab/highlighted-source-view.d.ts +1 -1
- package/dist/components/features/files-tab/no-file-selected-message.d.ts +1 -1
- package/dist/components/features/files-tab/segmented-toggle.cjs +1 -1
- package/dist/components/features/files-tab/segmented-toggle.cjs.map +1 -1
- package/dist/components/features/files-tab/segmented-toggle.d.ts +3 -1
- package/dist/components/features/files-tab/segmented-toggle.js +17 -14
- package/dist/components/features/files-tab/segmented-toggle.js.map +1 -1
- package/dist/components/features/files-tab/tree-node.d.ts +1 -1
- package/dist/components/features/home/featured-automations/automation-health-indicator.d.ts +11 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-metrics.d.ts +18 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-sparkline.d.ts +14 -0
- package/dist/components/features/home/featured-automations/automation-run-health.d.ts +25 -0
- package/dist/components/features/home/featured-automations/build-home-automation-menu-items.d.ts +39 -0
- package/dist/components/features/home/featured-automations/build-pinned-automation-menu-items.d.ts +22 -0
- package/dist/components/features/home/featured-automations/home-automation-activity.d.ts +23 -0
- package/dist/components/features/home/featured-automations/home-automation-menu.d.ts +13 -0
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.d.ts +12 -0
- package/dist/components/features/home/featured-automations/pinned-automation-card.d.ts +21 -0
- package/dist/components/features/home/featured-automations/pinned-automations-dashboard.d.ts +6 -0
- package/dist/components/features/home/featured-automations/running-automations-list.d.ts +6 -0
- package/dist/components/features/home/git-branch-dropdown/branch-dropdown-menu.d.ts +1 -1
- package/dist/components/features/home/git-branch-dropdown/git-branch-dropdown.d.ts +2 -1
- package/dist/components/features/home/git-provider-dropdown/git-provider-dropdown.d.ts +2 -1
- package/dist/components/features/home/git-repo-dropdown/git-repo-dropdown.d.ts +2 -1
- package/dist/components/features/home/home-chat-launcher.d.ts +1 -1
- package/dist/components/features/home/home-git-control-bar-preview.d.ts +1 -1
- package/dist/components/features/home/home-header/guide-message.d.ts +1 -1
- package/dist/components/features/home/home-header/home-header-title.d.ts +1 -1
- package/dist/components/features/home/home-header/home-header.d.ts +1 -1
- package/dist/components/features/home/llm-not-configured-banner.d.ts +1 -1
- package/dist/components/features/home/new-conversation/create-conversation-button.d.ts +1 -1
- package/dist/components/features/home/new-conversation/new-conversation.d.ts +1 -1
- package/dist/components/features/home/new-conversation.d.ts +1 -1
- package/dist/components/features/home/open-launcher-button.d.ts +1 -1
- package/dist/components/features/home/open-repository-dialog.d.ts +1 -1
- package/dist/components/features/home/open-workspace-dialog.d.ts +1 -1
- package/dist/components/features/home/repo-selection-form.d.ts +2 -1
- package/dist/components/features/home/shared/clear-button.d.ts +2 -1
- package/dist/components/features/home/shared/dropdown-item.d.ts +1 -1
- package/dist/components/features/home/shared/empty-state.d.ts +2 -1
- package/dist/components/features/home/shared/error-message.d.ts +2 -1
- package/dist/components/features/home/shared/generic-dropdown-menu.d.ts +1 -1
- package/dist/components/features/home/shared/loading-spinner.d.ts +2 -1
- package/dist/components/features/home/shared/toggle-button.d.ts +1 -1
- package/dist/components/features/home/tasks/task-card.d.ts +1 -1
- package/dist/components/features/home/tasks/task-group.d.ts +1 -1
- package/dist/components/features/home/tasks/task-issue-number.d.ts +1 -1
- package/dist/components/features/home/tasks/task-item-title.d.ts +1 -1
- package/dist/components/features/home/tasks/task-suggestions-skeleton.d.ts +1 -1
- package/dist/components/features/home/tasks/task-suggestions.d.ts +1 -1
- package/dist/components/features/home/workspace-dropdown/folder-browser-modal.d.ts +2 -1
- package/dist/components/features/home/workspace-dropdown/manage-workspaces-modal.d.ts +2 -1
- package/dist/components/features/home/workspace-dropdown/workspace-dropdown.d.ts +2 -1
- package/dist/components/features/home/workspace-selection-form.d.ts +2 -1
- package/dist/components/features/images/image-carousel.d.ts +2 -1
- package/dist/components/features/images/image-preview.d.ts +1 -1
- package/dist/components/features/images/thumbnail.d.ts +1 -1
- package/dist/components/features/launch/plugin-launch-modal.d.ts +2 -1
- package/dist/components/features/launch/plugin-launch-parameter-input.d.ts +1 -1
- package/dist/components/features/launch/plugin-launch-plugin-section.d.ts +1 -1
- package/dist/components/features/manifest/manifest-form-field.d.ts +27 -0
- package/dist/components/features/manifest/manifest-icons.d.ts +13 -0
- package/dist/components/features/manifest/manifest-overview-tiles.d.ts +19 -0
- package/dist/components/features/manifest/manifest-prerequisites-step.d.ts +11 -0
- package/dist/components/features/manifest/manifest-review-step.d.ts +14 -0
- package/dist/components/features/manifest/manifest-setup-dialog.d.ts +14 -0
- package/dist/components/features/manifest/manifest-subpage-layout.d.ts +23 -0
- package/dist/components/features/markdown/anchor.d.ts +1 -1
- package/dist/components/features/markdown/blockquote.d.ts +1 -1
- package/dist/components/features/markdown/code.d.ts +1 -1
- package/dist/components/features/markdown/headings.d.ts +6 -6
- package/dist/components/features/markdown/horizontal-rule.d.ts +1 -1
- package/dist/components/features/markdown/list.d.ts +3 -3
- package/dist/components/features/markdown/markdown-renderer.d.ts +1 -1
- package/dist/components/features/markdown/markdown-table-scroll.d.ts +1 -1
- package/dist/components/features/markdown/paragraph.d.ts +1 -1
- package/dist/components/features/markdown/plan-components.d.ts +36 -36
- package/dist/components/features/markdown/table.d.ts +3 -3
- package/dist/components/features/mcp-logo-badge.d.ts +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.d.ts +2 -1
- package/dist/components/features/mcp-page/custom-server-editor.js +5 -0
- package/dist/components/features/mcp-page/custom-server-editor.js.map +1 -1
- 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.d.ts +2 -1
- package/dist/components/features/mcp-page/install-server-modal.js +117 -118
- package/dist/components/features/mcp-page/install-server-modal.js.map +1 -1
- package/dist/components/features/mcp-page/installed-server-card.d.ts +2 -1
- package/dist/components/features/mcp-page/installed-servers-section.d.ts +1 -1
- package/dist/components/features/mcp-page/marketplace-card.d.ts +1 -1
- package/dist/components/features/mcp-page/marketplace-section.d.ts +1 -1
- package/dist/components/features/mcp-page/mcp-logo-stack-badge.d.ts +1 -1
- package/dist/components/features/mcp-page/mcp-section-filter-dropdown.d.ts +1 -1
- package/dist/components/features/mcp-page/mcp-server-health.d.ts +2 -1
- package/dist/components/features/mcp-page/mcp-toolbar.d.ts +1 -1
- package/dist/components/features/mcp-page/save-as-secret-toggle.d.ts +1 -1
- package/dist/components/features/onboarding/onboarding-host.d.ts +1 -1
- package/dist/components/features/onboarding/onboarding-modal.d.ts +2 -1
- package/dist/components/features/onboarding/onboarding-progress-bar.d.ts +1 -1
- package/dist/components/features/onboarding/steps/check-backend-step.d.ts +2 -1
- package/dist/components/features/onboarding/steps/choose-agent-step.d.ts +3 -2
- package/dist/components/features/onboarding/steps/say-hello-step.d.ts +2 -1
- package/dist/components/features/onboarding/steps/setup-acp-secrets-step.d.ts +2 -1
- package/dist/components/features/onboarding/steps/setup-llm-step.d.ts +2 -1
- package/dist/components/features/plugins/add-plugin-modal.d.ts +2 -1
- package/dist/components/features/plugins/plugin-card.d.ts +2 -1
- package/dist/components/features/plugins/plugin-detail-modal.d.ts +1 -1
- package/dist/components/features/plugins/plugin-files-section.d.ts +2 -1
- package/dist/components/features/plugins/plugin-picker-card.d.ts +1 -1
- package/dist/components/features/plugins/plugin-picker-modal.d.ts +1 -1
- package/dist/components/features/plugins/plugin-picker-trigger.d.ts +1 -1
- package/dist/components/features/plugins/plugin-picker.d.ts +1 -1
- package/dist/components/features/plugins/plugins-toolbar.d.ts +1 -1
- package/dist/components/features/settings/acp-auth-status-banner.d.ts +1 -1
- package/dist/components/features/settings/acp-conflict-warnings.d.ts +2 -1
- package/dist/components/features/settings/acp-credentials-section.d.ts +1 -1
- package/dist/components/features/settings/acp-secret-field.d.ts +2 -1
- package/dist/components/features/settings/agent-canvas-update-card.d.ts +1 -1
- package/dist/components/features/settings/agent-profiles/agent-profile-actions-menu.d.ts +1 -1
- package/dist/components/features/settings/agent-profiles/agent-profile-row.d.ts +1 -1
- package/dist/components/features/settings/agent-profiles/agent-profiles-body.d.ts +1 -1
- package/dist/components/features/settings/agent-profiles/agent-profiles-local-view.d.ts +1 -1
- package/dist/components/features/settings/agent-profiles/agent-profiles-manager.d.ts +1 -1
- package/dist/components/features/settings/agent-profiles/delete-agent-profile-modal.d.ts +1 -1
- package/dist/components/features/settings/agent-server-onboarding.d.ts +2 -1
- package/dist/components/features/settings/api-key-modal-base.d.ts +1 -1
- package/dist/components/features/settings/app-settings/app-settings-inputs-skeleton.d.ts +1 -1
- package/dist/components/features/settings/app-settings/language-input.d.ts +1 -1
- package/dist/components/features/settings/app-settings/theme-input.d.ts +2 -1
- package/dist/components/features/settings/backend-synced-settings-badge.d.ts +1 -1
- package/dist/components/features/settings/banner-message.d.ts +1 -1
- package/dist/components/features/settings/cloud-settings-link.d.ts +1 -1
- package/dist/components/features/settings/input-skeleton.d.ts +1 -1
- package/dist/components/features/settings/integrations-settings-link.d.ts +1 -1
- package/dist/components/features/settings/key-status-icon.d.ts +1 -1
- package/dist/components/features/settings/llm-profiles/delete-profile-modal.d.ts +1 -1
- package/dist/components/features/settings/llm-profiles/llm-profiles-manager.d.ts +1 -1
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.d.ts +2 -1
- package/dist/components/features/settings/llm-profiles/profile-actions-menu-item.d.ts +1 -1
- package/dist/components/features/settings/llm-profiles/profile-actions-menu.d.ts +1 -1
- package/dist/components/features/settings/llm-profiles/profile-row.d.ts +1 -1
- package/dist/components/features/settings/llm-profiles/profiles-body.d.ts +1 -1
- package/dist/components/features/settings/llm-profiles/rename-profile-modal.d.ts +1 -1
- package/dist/components/features/settings/llm-settings/llm-settings-inputs-skeleton.d.ts +1 -1
- package/dist/components/features/settings/llm-settings/openai-subscription-auth-card.d.ts +2 -1
- package/dist/components/features/settings/mcp-settings/mcp-server-form.cjs +1 -1
- package/dist/components/features/settings/mcp-settings/mcp-server-form.cjs.map +1 -1
- package/dist/components/features/settings/mcp-settings/mcp-server-form.d.ts +2 -1
- package/dist/components/features/settings/mcp-settings/mcp-server-form.js +2 -1
- package/dist/components/features/settings/mcp-settings/mcp-server-form.js.map +1 -1
- package/dist/components/features/settings/mcp-settings/mcp-server-list-item.d.ts +1 -1
- package/dist/components/features/settings/mcp-settings/mcp-server-list.d.ts +1 -1
- package/dist/components/features/settings/mobile-header.d.ts +1 -1
- package/dist/components/features/settings/optional-tag.d.ts +1 -1
- package/dist/components/features/settings/sdk-settings/field-help.d.ts +1 -1
- package/dist/components/features/settings/sdk-settings/schema-field.d.ts +2 -1
- package/dist/components/features/settings/sdk-settings/sdk-section-page.d.ts +1 -1
- package/dist/components/features/settings/sdk-settings/view-toggle.d.ts +1 -1
- package/dist/components/features/settings/secrets-settings/secret-form.d.ts +2 -1
- package/dist/components/features/settings/secrets-settings/secret-list-item.d.ts +2 -2
- package/dist/components/features/settings/settings-desktop-sidebar.d.ts +1 -1
- package/dist/components/features/settings/settings-dropdown-input.d.ts +1 -1
- package/dist/components/features/settings/settings-input.cjs +1 -1
- package/dist/components/features/settings/settings-input.cjs.map +1 -1
- package/dist/components/features/settings/settings-input.d.ts +6 -0
- package/dist/components/features/settings/settings-input.js +13 -8
- package/dist/components/features/settings/settings-input.js.map +1 -1
- package/dist/components/features/settings/settings-layout.d.ts +1 -1
- package/dist/components/features/settings/settings-mobile-drawer.d.ts +1 -1
- package/dist/components/features/settings/settings-mobile-hub.d.ts +1 -1
- package/dist/components/features/settings/settings-nav-divider.d.ts +1 -1
- package/dist/components/features/settings/settings-nav-header.d.ts +1 -1
- package/dist/components/features/settings/settings-nav-link.d.ts +1 -1
- package/dist/components/features/settings/settings-navigation.d.ts +1 -1
- package/dist/components/features/settings/settings-switch.d.ts +1 -1
- package/dist/components/features/settings/subtext-skeleton.d.ts +1 -1
- package/dist/components/features/settings/switch-skeleton.d.ts +1 -1
- package/dist/components/features/settings/upgrade-banner.d.ts +1 -1
- package/dist/components/features/settings/upgrade-button.d.ts +1 -1
- package/dist/components/features/sidebar/avatar.d.ts +1 -1
- package/dist/components/features/sidebar/sidebar-collapsed-icon-slot.d.ts +1 -1
- package/dist/components/features/sidebar/sidebar-conversation-list.d.ts +1 -1
- package/dist/components/features/sidebar/sidebar-mobile-menu-bar.d.ts +1 -1
- package/dist/components/features/sidebar/sidebar-mobile-menu-toggle.d.ts +1 -1
- package/dist/components/features/sidebar/sidebar-mobile-nav-context.d.ts +1 -1
- package/dist/components/features/sidebar/sidebar-nav-link.d.ts +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.cjs +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.cjs.map +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.d.ts +1 -1
- package/dist/components/features/sidebar/sidebar-rail-body.js +124 -123
- package/dist/components/features/sidebar/sidebar-rail-body.js.map +1 -1
- package/dist/components/features/sidebar/sidebar.d.ts +2 -1
- package/dist/components/features/sidebar/user-avatar.d.ts +1 -1
- package/dist/components/features/skills/add-skill-modal.d.ts +2 -1
- package/dist/components/features/skills/extensions-mobile-hub.d.ts +1 -1
- package/dist/components/features/skills/extensions-navigation.d.ts +1 -1
- package/dist/components/features/skills/skill-card-pill-row.d.ts +1 -1
- package/dist/components/features/skills/skill-card.d.ts +2 -1
- package/dist/components/features/skills/skill-detail-modal.d.ts +2 -1
- package/dist/components/features/skills/skill-facet-rail.d.ts +8 -0
- package/dist/components/features/skills/skill-facet-row.d.ts +13 -0
- package/dist/components/features/skills/skill-filter.d.ts +34 -0
- package/dist/components/features/skills/skill-filters-modal.d.ts +10 -0
- package/dist/components/features/skills/skill-icon-badge.d.ts +1 -1
- package/dist/components/features/skills/skill-type-badge.d.ts +1 -1
- package/dist/components/features/skills/skills-toolbar.d.ts +3 -4
- package/dist/components/features/suggestions/suggestion-item.d.ts +1 -1
- package/dist/components/features/suggestions/suggestions.d.ts +1 -1
- package/dist/components/features/terminal/empty-terminal-message.d.ts +1 -1
- package/dist/components/features/terminal/terminal.d.ts +1 -1
- package/dist/components/features/tips/random-tip.d.ts +2 -1
- package/dist/components/providers/agent-server-ui-providers.d.ts +1 -1
- package/dist/components/providers/agent-server-ui-root.d.ts +1 -1
- package/dist/components/providers/telemetry-provider.d.ts +1 -1
- package/dist/components/shared/action-tooltip.d.ts +1 -1
- package/dist/components/shared/agent-brand-icon.d.ts +1 -1
- package/dist/components/shared/badge.d.ts +1 -1
- package/dist/components/shared/buttons/back-nav-button-content.d.ts +1 -1
- package/dist/components/shared/buttons/circle-plus-check-toggle.d.ts +3 -2
- package/dist/components/shared/buttons/conversation-confirmation-buttons.d.ts +1 -1
- package/dist/components/shared/buttons/copy-to-clipboard-button.d.ts +1 -1
- package/dist/components/shared/buttons/copyable-content-wrapper.d.ts +1 -1
- package/dist/components/shared/buttons/modal-button.d.ts +1 -1
- package/dist/components/shared/buttons/openhands-logo-button.d.ts +1 -1
- package/dist/components/shared/buttons/remove-button.d.ts +1 -1
- package/dist/components/shared/buttons/scroll-to-bottom-button.d.ts +1 -1
- package/dist/components/shared/buttons/styled-tooltip.d.ts +1 -1
- 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.d.ts +6 -2
- package/dist/components/shared/filters/enum-filter-dropdown.js +13 -13
- package/dist/components/shared/filters/enum-filter-dropdown.js.map +1 -1
- package/dist/components/shared/git-provider-icon.d.ts +1 -1
- package/dist/components/shared/hook-execution-event-message.d.ts +2 -1
- package/dist/components/shared/loading-spinner.d.ts +1 -1
- package/dist/components/shared/modals/confirmation-modal.d.ts +1 -1
- package/dist/components/shared/modals/confirmation-modals/base-modal.d.ts +3 -3
- package/dist/components/shared/modals/confirmation-modals/danger-modal.d.ts +1 -1
- package/dist/components/shared/modals/modal-body.d.ts +1 -1
- package/dist/components/shared/modals/modal-close-button.d.ts +1 -1
- package/dist/components/shared/modals/settings/model-selector.d.ts +2 -1
- package/dist/components/shared/modals/settings/settings-form.d.ts +2 -1
- package/dist/components/shared/modals/settings/settings-modal.d.ts +1 -1
- package/dist/components/shared/navigation-link.cjs +1 -1
- package/dist/components/shared/navigation-link.cjs.map +1 -1
- package/dist/components/shared/navigation-link.js +11 -7
- package/dist/components/shared/navigation-link.js.map +1 -1
- package/dist/components/shared/risk-alert.d.ts +1 -1
- package/dist/components/shared/text-shimmer.d.ts +1 -1
- package/dist/components/ui/resize-handle.d.ts +1 -1
- package/dist/config/defaults.cjs +1 -1
- package/dist/config/defaults.cjs.map +1 -1
- package/dist/config/defaults.js +3 -3
- package/dist/config/defaults.js.map +1 -1
- package/dist/context/navigation-context.d.ts +1 -1
- package/dist/context/scroll-context.d.ts +1 -1
- package/dist/contexts/active-backend-context.d.ts +1 -1
- package/dist/contexts/conversation-websocket-context.d.ts +1 -1
- package/dist/contexts/settings-section-header-context.d.ts +1 -1
- package/dist/contexts/websocket-provider-wrapper.d.ts +1 -1
- package/dist/fixtures/home-automations-demo.d.ts +19 -0
- package/dist/hooks/mutation/use-add-mcp-server.cjs +1 -1
- package/dist/hooks/mutation/use-add-mcp-server.cjs.map +1 -1
- package/dist/hooks/mutation/use-add-mcp-server.js +10 -14
- package/dist/hooks/mutation/use-add-mcp-server.js.map +1 -1
- package/dist/hooks/mutation/use-delete-mcp-server.cjs +1 -1
- package/dist/hooks/mutation/use-delete-mcp-server.cjs.map +1 -1
- package/dist/hooks/mutation/use-delete-mcp-server.d.ts +2 -7
- package/dist/hooks/mutation/use-delete-mcp-server.js +8 -34
- package/dist/hooks/mutation/use-delete-mcp-server.js.map +1 -1
- package/dist/hooks/mutation/use-save-settings.cjs +1 -1
- package/dist/hooks/mutation/use-save-settings.cjs.map +1 -1
- package/dist/hooks/mutation/use-save-settings.js +8 -4
- package/dist/hooks/mutation/use-save-settings.js.map +1 -1
- package/dist/hooks/mutation/use-update-mcp-server.cjs +1 -1
- package/dist/hooks/mutation/use-update-mcp-server.cjs.map +1 -1
- package/dist/hooks/mutation/use-update-mcp-server.d.ts +1 -1
- package/dist/hooks/mutation/use-update-mcp-server.js +31 -16
- package/dist/hooks/mutation/use-update-mcp-server.js.map +1 -1
- package/dist/hooks/query/query-keys.cjs.map +1 -1
- package/dist/hooks/query/query-keys.d.ts +4 -0
- package/dist/hooks/query/query-keys.js.map +1 -1
- package/dist/hooks/query/use-active-conversation.d.ts +1 -1
- package/dist/hooks/query/use-agent-profiles.d.ts +1 -1
- package/dist/hooks/query/use-app-installations.d.ts +1 -1
- package/dist/hooks/query/use-automation-detail.d.ts +2 -2
- package/dist/hooks/query/use-automation-health.d.ts +2 -0
- package/dist/hooks/query/use-automations.d.ts +5 -1
- package/dist/hooks/query/use-bash-command-logs.d.ts +1 -1
- package/dist/hooks/query/use-cloud-sandbox.d.ts +1 -1
- package/dist/hooks/query/use-commit-changes.d.ts +1 -1
- package/dist/hooks/query/use-config.d.ts +1 -1
- package/dist/hooks/query/use-conversation-history.d.ts +1 -1
- package/dist/hooks/query/use-conversation-hooks.d.ts +1 -1
- package/dist/hooks/query/use-conversation-skills.d.ts +1 -1
- package/dist/hooks/query/use-get-secrets.d.ts +1 -1
- package/dist/hooks/query/use-home-automations.d.ts +20 -0
- package/dist/hooks/query/use-latest-automation-runs.d.ts +19 -0
- package/dist/hooks/query/use-llm-profiles.d.ts +1 -1
- package/dist/hooks/query/use-llm-subscription-models.d.ts +1 -1
- package/dist/hooks/query/use-llm-subscription-status.d.ts +1 -1
- package/dist/hooks/query/use-local-git-info.d.ts +1 -1
- package/dist/hooks/query/use-local-workspaces.d.ts +1 -1
- package/dist/hooks/query/use-manifest-capabilities.d.ts +23 -0
- package/dist/hooks/query/use-manifest-prerequisites.d.ts +24 -0
- package/dist/hooks/query/use-plugin-file-content.d.ts +1 -1
- package/dist/hooks/query/use-plugins-marketplace.d.ts +1 -1
- package/dist/hooks/query/use-provider-models.d.ts +1 -1
- package/dist/hooks/query/use-search-branches.d.ts +1 -1
- package/dist/hooks/query/use-search-providers.d.ts +1 -1
- package/dist/hooks/query/use-search-repositories.d.ts +1 -1
- package/dist/hooks/query/use-search-subdirs.d.ts +2 -2
- package/dist/hooks/query/use-settings.d.ts +2 -2
- package/dist/hooks/query/use-skills.d.ts +1 -1
- package/dist/hooks/query/use-start-tasks.d.ts +1 -1
- package/dist/hooks/query/use-sub-conversation-task-polling.d.ts +1 -1
- package/dist/hooks/query/use-sub-conversations.d.ts +1 -1
- package/dist/hooks/query/use-suggested-tasks.d.ts +1 -1
- package/dist/hooks/query/use-task-polling.d.ts +2 -2
- package/dist/hooks/query/use-unified-get-git-changes.d.ts +1 -1
- package/dist/hooks/query/use-unified-git-diff.d.ts +1 -1
- package/dist/hooks/query/use-user-conversation.d.ts +1 -1
- package/dist/hooks/query/use-workspace-file-content.d.ts +1 -1
- package/dist/hooks/use-backend-scoped-path.cjs +2 -0
- package/dist/hooks/use-backend-scoped-path.cjs.map +1 -0
- package/dist/hooks/use-backend-scoped-path.d.ts +10 -0
- package/dist/hooks/use-backend-scoped-path.js +13 -0
- package/dist/hooks/use-backend-scoped-path.js.map +1 -0
- package/dist/hooks/use-home-automation-actions.d.ts +23 -0
- package/dist/hooks/use-home-pinned-automations.d.ts +26 -0
- package/dist/hooks/use-llm-configured.cjs +1 -1
- package/dist/hooks/use-llm-configured.cjs.map +1 -1
- package/dist/hooks/use-llm-configured.js +2 -1
- package/dist/hooks/use-llm-configured.js.map +1 -1
- package/dist/hooks/use-manifest-preflight.d.ts +18 -0
- package/dist/hooks/use-tracking.cjs +1 -1
- package/dist/hooks/use-tracking.cjs.map +1 -1
- package/dist/hooks/use-tracking.d.ts +18 -0
- package/dist/hooks/use-tracking.js +25 -1
- package/dist/hooks/use-tracking.js.map +1 -1
- package/dist/i18n/declaration.cjs +1 -1
- package/dist/i18n/declaration.cjs.map +1 -1
- package/dist/i18n/declaration.d.ts +103 -2
- package/dist/i18n/declaration.js +1 -1
- package/dist/i18n/declaration.js.map +1 -1
- package/dist/i18n/translation.cjs +2 -2
- package/dist/i18n/translation.cjs.map +1 -1
- package/dist/i18n/translation.js +1780 -63
- package/dist/i18n/translation.js.map +1 -1
- package/dist/icons/code-pill.d.ts +1 -1
- package/dist/icons/external-link.cjs +2 -0
- package/dist/icons/external-link.cjs.map +1 -0
- package/dist/icons/external-link.js +22 -0
- package/dist/icons/external-link.js.map +1 -0
- package/dist/icons/server.cjs +2 -0
- package/dist/icons/server.cjs.map +1 -0
- package/dist/icons/server.js +17 -0
- package/dist/icons/server.js.map +1 -0
- package/dist/locales/ar/openhands.json +106 -5
- package/dist/locales/ca/openhands.json +106 -5
- package/dist/locales/de/openhands.json +106 -5
- package/dist/locales/en/openhands.json +107 -6
- package/dist/locales/es/openhands.json +106 -5
- package/dist/locales/fr/openhands.json +106 -5
- package/dist/locales/it/openhands.json +106 -5
- package/dist/locales/ja/openhands.json +106 -5
- package/dist/locales/ko-KR/openhands.json +106 -5
- package/dist/locales/no/openhands.json +106 -5
- package/dist/locales/pt/openhands.json +106 -5
- package/dist/locales/tr/openhands.json +106 -5
- package/dist/locales/uk/openhands.json +106 -5
- package/dist/locales/zh-CN/openhands.json +106 -5
- package/dist/locales/zh-TW/openhands.json +106 -5
- package/dist/manifests/automation-insights.d.ts +64 -0
- package/dist/manifests/automation-interface.cjs +2 -0
- package/dist/manifests/automation-interface.cjs.map +1 -0
- package/dist/manifests/automation-interface.d.ts +76 -0
- package/dist/manifests/automation-interface.js +82 -0
- package/dist/manifests/automation-interface.js.map +1 -0
- package/dist/manifests/automation-setup.cjs +2 -0
- package/dist/manifests/automation-setup.cjs.map +1 -0
- package/dist/manifests/automation-setup.d.ts +52 -0
- package/dist/manifests/automation-setup.js +8 -0
- package/dist/manifests/automation-setup.js.map +1 -0
- package/dist/manifests/interface-validation.cjs +2 -0
- package/dist/manifests/interface-validation.cjs.map +1 -0
- package/dist/manifests/interface-validation.d.ts +27 -0
- package/dist/manifests/interface-validation.js +360 -0
- package/dist/manifests/interface-validation.js.map +1 -0
- package/dist/manifests/manifest-actions.d.ts +15 -0
- package/dist/manifests/manifest-capabilities.d.ts +25 -0
- package/dist/manifests/manifest-error-map.d.ts +40 -0
- package/dist/manifests/manifest-local-validation.d.ts +56 -0
- package/dist/manifests/manifest-registry.cjs +2 -0
- package/dist/manifests/manifest-registry.cjs.map +1 -0
- package/dist/manifests/manifest-registry.d.ts +15 -0
- package/dist/manifests/manifest-registry.js +26 -0
- package/dist/manifests/manifest-registry.js.map +1 -0
- package/dist/manifests/manifest-sources.cjs +2 -0
- package/dist/manifests/manifest-sources.cjs.map +1 -0
- package/dist/manifests/manifest-sources.d.ts +15 -0
- package/dist/manifests/manifest-sources.js +8 -0
- package/dist/manifests/manifest-sources.js.map +1 -0
- package/dist/manifests/manifest-template.d.ts +20 -0
- package/dist/manifests/manifest-validation.cjs +2 -0
- package/dist/manifests/manifest-validation.cjs.map +1 -0
- package/dist/manifests/manifest-validation.d.ts +30 -0
- package/dist/manifests/manifest-validation.js +145 -0
- package/dist/manifests/manifest-validation.js.map +1 -0
- package/dist/manifests/types.cjs +2 -0
- package/dist/manifests/types.cjs.map +1 -0
- package/dist/manifests/types.d.ts +355 -0
- package/dist/manifests/types.js +39 -0
- package/dist/manifests/types.js.map +1 -0
- package/dist/mockServiceWorker.js +21 -9
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.js +75 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-repo-monitor/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-repo-monitor/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-repo-monitor/manifest.js +78 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-repo-monitor/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/incident-retrospective-drafter/manifest.cjs +17 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/incident-retrospective-drafter/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/incident-retrospective-drafter/manifest.js +89 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/incident-retrospective-drafter/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-pr/manifest.cjs +10 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-pr/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-pr/manifest.js +17 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-pr/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-triage-assistant/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-triage-assistant/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-triage-assistant/manifest.js +15 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-triage-assistant/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/research-brief-writer/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/research-brief-writer/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/research-brief-writer/manifest.js +18 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/research-brief-writer/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/slack-channel-monitor/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/slack-channel-monitor/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/slack-channel-monitor/manifest.js +14 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/slack-channel-monitor/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/slack-standup-digest/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/slack-standup-digest/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/slack-standup-digest/manifest.js +14 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/slack-standup-digest/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/upstream-fork-sync/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/upstream-fork-sync/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/upstream-fork-sync/manifest.js +74 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/upstream-fork-sync/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.js +25 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/index.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/automations/index.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/index.js +18 -0
- package/dist/node_modules/@openhands/extensions/automations/index.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/interface.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/automations/interface.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/interface.js +210 -0
- package/dist/node_modules/@openhands/extensions/automations/interface.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/datadog.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/datadog.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/datadog.js +3 -3
- package/dist/node_modules/@openhands/extensions/integrations/catalog/datadog.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.cjs +174 -53
- package/dist/node_modules/@openhands/extensions/skills/index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.js +115 -53
- package/dist/node_modules/@openhands/extensions/skills/index.js.map +1 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/utils.cjs +1 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/utils.cjs.map +1 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/utils.js +12 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/utils.js.map +1 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.cjs +1 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.cjs.map +1 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js +14 -12
- package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js.map +1 -1
- package/dist/node_modules/html-parse-stringify/dist/esm/html-parse-stringify.cjs +2 -0
- package/dist/node_modules/html-parse-stringify/dist/esm/html-parse-stringify.cjs.map +1 -0
- package/dist/node_modules/html-parse-stringify/dist/esm/html-parse-stringify.js +177 -0
- package/dist/node_modules/html-parse-stringify/dist/esm/html-parse-stringify.js.map +1 -0
- package/dist/node_modules/i18next/dist/esm/i18next.cjs +1 -1
- package/dist/node_modules/i18next/dist/esm/i18next.cjs.map +1 -1
- package/dist/node_modules/i18next/dist/esm/i18next.js +31 -24
- package/dist/node_modules/i18next/dist/esm/i18next.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/monitor.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/monitor.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/monitor.js +29 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/monitor.js.map +1 -0
- package/dist/node_modules/posthog-js/dist/module.cjs +2 -2
- package/dist/node_modules/posthog-js/dist/module.cjs.map +1 -1
- package/dist/node_modules/posthog-js/dist/module.js +2055 -1929
- package/dist/node_modules/posthog-js/dist/module.js.map +1 -1
- package/dist/node_modules/react-i18next/dist/es/TransWithoutContext.cjs +1 -1
- package/dist/node_modules/react-i18next/dist/es/TransWithoutContext.cjs.map +1 -1
- package/dist/node_modules/react-i18next/dist/es/TransWithoutContext.js +43 -62
- package/dist/node_modules/react-i18next/dist/es/TransWithoutContext.js.map +1 -1
- package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs +1 -1
- package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs.map +1 -1
- package/dist/node_modules/react-i18next/dist/es/useTranslation.js +12 -6
- package/dist/node_modules/react-i18next/dist/es/useTranslation.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +352 -310
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +34 -33
- package/dist/package.js.map +1 -1
- package/dist/routes/agent-settings.d.ts +3 -2
- package/dist/routes/app-settings.d.ts +2 -1
- package/dist/routes/browser-tab.d.ts +1 -1
- package/dist/routes/changes-tab.d.ts +2 -1
- package/dist/routes/commits-tab.d.ts +1 -1
- package/dist/routes/conversation.d.ts +2 -1
- package/dist/routes/files-tab.d.ts +1 -1
- package/dist/routes/llm-settings.d.ts +3 -2
- package/dist/routes/mcp.cjs +1 -1
- package/dist/routes/mcp.cjs.map +1 -1
- package/dist/routes/mcp.d.ts +2 -1
- package/dist/routes/mcp.js +1 -1
- package/dist/routes/mcp.js.map +1 -1
- package/dist/routes/planner-tab.d.ts +2 -1
- package/dist/routes/secrets-settings.d.ts +2 -1
- package/dist/routes/task-list-tab.d.ts +1 -1
- package/dist/services/settings.cjs +1 -1
- package/dist/services/settings.cjs.map +1 -1
- package/dist/services/settings.js +3 -7
- package/dist/services/settings.js.map +1 -1
- package/dist/types/agent-server/core/events/conversation-state-event.d.ts +2 -19
- package/dist/types/agent-server/core/events/observation-event.d.ts +2 -18
- package/dist/types/automation.d.ts +23 -4
- package/dist/types/mcp-auth.cjs.map +1 -1
- package/dist/types/mcp-auth.d.ts +5 -41
- package/dist/types/mcp-auth.js.map +1 -1
- package/dist/types/mcp-server.d.ts +17 -32
- package/dist/types/settings.d.ts +8 -28
- package/dist/ui/card-title.d.ts +1 -1
- package/dist/ui/card.d.ts +1 -1
- package/dist/ui/combobox-caret.d.ts +3 -3
- package/dist/ui/context-menu.cjs +1 -1
- package/dist/ui/context-menu.cjs.map +1 -1
- package/dist/ui/context-menu.d.ts +3 -2
- package/dist/ui/context-menu.js +10 -9
- package/dist/ui/context-menu.js.map +1 -1
- package/dist/ui/divider.d.ts +1 -1
- package/dist/ui/dropdown/clear-button.d.ts +1 -1
- package/dist/ui/dropdown/dropdown-input.d.ts +1 -1
- package/dist/ui/dropdown/dropdown-menu.d.ts +1 -1
- package/dist/ui/dropdown/dropdown.d.ts +1 -1
- package/dist/ui/dropdown/loading-spinner.d.ts +1 -1
- package/dist/ui/dropdown/toggle-button.d.ts +1 -1
- package/dist/ui/help-link.d.ts +1 -1
- package/dist/ui/pre.d.ts +1 -1
- package/dist/ui/toggle-switch.d.ts +2 -2
- package/dist/ui/typography.d.ts +7 -7
- package/dist/utils/api-error-message.d.ts +6 -2
- package/dist/utils/automation-activity-log-export.d.ts +17 -0
- package/dist/utils/automation-catalog.cjs +2 -0
- package/dist/utils/automation-catalog.cjs.map +1 -0
- package/dist/utils/automation-catalog.d.ts +28 -0
- package/dist/utils/automation-catalog.js +5 -0
- package/dist/utils/automation-catalog.js.map +1 -0
- package/dist/utils/automation-timeout.d.ts +5 -6
- package/dist/utils/custom-toast-handlers.d.ts +2 -2
- package/dist/utils/format-relative-time.d.ts +3 -0
- package/dist/utils/mcp-config.cjs +1 -1
- package/dist/utils/mcp-config.cjs.map +1 -1
- package/dist/utils/mcp-config.d.ts +12 -29
- package/dist/utils/mcp-config.js +161 -143
- package/dist/utils/mcp-config.js.map +1 -1
- package/dist/utils/mcp-installed-servers.cjs +1 -1
- package/dist/utils/mcp-installed-servers.cjs.map +1 -1
- package/dist/utils/mcp-installed-servers.d.ts +2 -2
- package/dist/utils/mcp-installed-servers.js +21 -32
- package/dist/utils/mcp-installed-servers.js.map +1 -1
- package/dist/utils/mcp-server-health-key.cjs.map +1 -1
- package/dist/utils/mcp-server-health-key.d.ts +2 -4
- package/dist/utils/mcp-server-health-key.js.map +1 -1
- package/dist/utils/responder-deployment.d.ts +5 -1
- package/dist/utils/settings-like-page-layout-classes.cjs +1 -1
- package/dist/utils/settings-like-page-layout-classes.cjs.map +1 -1
- package/dist/utils/settings-like-page-layout-classes.d.ts +6 -2
- package/dist/utils/settings-like-page-layout-classes.js +1 -1
- package/dist/utils/settings-like-page-layout-classes.js.map +1 -1
- package/dist/utils/skill-category.d.ts +12 -0
- package/dist/utils/transcript-export/index.cjs +5 -5
- package/dist/utils/transcript-export/index.js +12 -12
- package/package.json +36 -33
- package/scripts/check-sdk-version-sync.mjs +6 -6
- package/scripts/check-translation-completeness.cjs +1 -0
- package/scripts/dev-safe.mjs +17 -12
- package/scripts/dev-static.mjs +17 -0
- package/scripts/dev-with-automation.mjs +15 -16
- package/scripts/ingress.mjs +22 -0
- package/scripts/proxy-utils.mjs +157 -2
- package/scripts/runtime-services-info.mjs +6 -6
- package/scripts/static-build.mjs +0 -7
- package/scripts/static-server.mjs +10 -0
- package/build/assets/Trans-B7lYw4uD.js +0 -1
- package/build/assets/active-backend-context-mY7Gff5c.js +0 -2
- package/build/assets/agent-context-settings-BTUmWEzL.js +0 -1
- package/build/assets/agent-profiles-settings-Ilqid_R5.js +0 -1
- package/build/assets/agent-server-conversation-service.api-C_7YnjzP.js +0 -41
- package/build/assets/agent-settings-CxfT4ksO.js +0 -1
- package/build/assets/alert-banner-eRyIwDyU.js +0 -1
- package/build/assets/automation-BGP_I1RR.js +0 -1
- package/build/assets/automation-detail-nEflClmc.js +0 -2
- package/build/assets/automation-export-BO_kfqC8.js +0 -2
- package/build/assets/automations-list-BYncC7gv.js +0 -1
- package/build/assets/backend-form-modal-CKrBF80P.js +0 -1
- package/build/assets/browser-3QjrEr1D.js +0 -6
- package/build/assets/check-CrxQfJZ2.js +0 -1
- package/build/assets/chevron-down-D_LsyTA7.js +0 -1
- package/build/assets/circle-check-DZn9HkLE.js +0 -1
- package/build/assets/cloud-funnel-analytics-NlmDoeo2.js +0 -1
- package/build/assets/command-menu-CvLPs7dg.js +0 -1
- package/build/assets/condenser-settings-C4Y9CzQV.js +0 -1
- package/build/assets/context-menu-list-item-FGaafXGh.js +0 -1
- package/build/assets/conversation-D_ORtpKC.js +0 -1
- package/build/assets/conversation-Dpc5nmGi.js +0 -90
- package/build/assets/conversation-panel-D_ORtpKC.js +0 -1
- package/build/assets/conversation-state-store-CGRQemtx.js +0 -1
- package/build/assets/entry.client-BO2KQj0y.js +0 -2
- package/build/assets/enum-filter-dropdown-DSqPZnsD.js +0 -1
- package/build/assets/files-tab-4c9HFSLo.js +0 -1
- package/build/assets/format-time-delta-DICE64sz.js +0 -1
- package/build/assets/git-provider-icon-0PqmIS_S.js +0 -1
- package/build/assets/home-D9JsyEmE.js +0 -1
- package/build/assets/home-TFhnmZLx.js +0 -1
- package/build/assets/index-home-D9JsyEmE.js +0 -1
- package/build/assets/install-server-modal-BgGRnqA0.js +0 -1
- package/build/assets/llm-not-configured-banner-Y4W9-sar.js +0 -27
- package/build/assets/llm-settings-nPwv7hKu.js +0 -1
- package/build/assets/loader-circle-CGD6-Vak.js +0 -1
- package/build/assets/manifest-1cf33a7b.js +0 -1
- package/build/assets/markdown-renderer-U40HF0Ak.js +0 -8
- package/build/assets/mcp-xDMaHzOw.js +0 -9
- package/build/assets/messages-CdNfZPgd.js +0 -40
- package/build/assets/navigation-link-Bxmn-pCs.js +0 -1
- package/build/assets/onboarding-DWuFieEA.js +0 -1
- package/build/assets/onboarding-modal-C8m72Dpb.js +0 -1
- package/build/assets/plus-CTGLo3aa.js +0 -1
- package/build/assets/recommended-automations-launcher-Dru1yN46.js +0 -58
- package/build/assets/root-B5JXKp1P.css +0 -1
- package/build/assets/root-DOLLQteU.js +0 -2
- package/build/assets/root-layout-xmylWoew.js +0 -3
- package/build/assets/search-BrpWXWUi.js +0 -1
- package/build/assets/segmented-toggle-CZKOdIly.js +0 -1
- package/build/assets/settings-Chfn5xTD.js +0 -1
- package/build/assets/settings-input-BEaTCem1.js +0 -1
- package/build/assets/settings-like-page-layout-classes-DyxyJ0k4.js +0 -1
- package/build/assets/settings-service.api-CTJRrvMu.js +0 -1
- package/build/assets/shared-conversation-BvWtTwES.js +0 -1
- package/build/assets/sidebar-mobile-menu-toggle-xiKoUfGa.js +0 -1
- package/build/assets/skills-settings-pUxMr6WZ.js +0 -2
- package/build/assets/use-agent-profiles-DmT9zxAN.js +0 -1
- package/build/assets/use-config-C959QcRC.js +0 -1
- package/build/assets/use-is-authed-BsS4XwSL.js +0 -1
- package/build/assets/use-llm-profiles-CdaxVpyY.js +0 -1
- package/build/assets/use-save-agent-profile-DGJ3-u0M.js +0 -1
- package/build/assets/use-settings-nav-items-DPK5sxvR.js +0 -16
- package/build/assets/use-skills-D_mLhYNa.js +0 -1
- package/build/assets/use-tracking-COqZLobY.js +0 -1
- package/build/assets/useQuery-B38jBavx.js +0 -1
- package/build/assets/utils-DsWhWn2F.js +0 -1
- package/build/assets/v4-DDdyfk2q.js +0 -1
- package/build/assets/vendor~browser-CIoZCqGs.js +0 -47
- package/build/assets/vendor~entry.client-BfviqoVc.js +0 -1
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~f1hl7voa-BrmgjeOw.js +0 -1
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~f9xdmd0z-DLMP7bZx.js +0 -26
- package/build/assets/vendor~module-BZXjBMvd.js +0 -2
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation-Acmf1sKj.js +0 -1
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-CmzCY1BT.js +0 -1
- package/build/assets/vendor~root-layout~index-home~home~mcp~automations-list~onboarding-modal-C7Yh77RT.js +0 -1
- package/build/assets/x-Dx_JbpHA.js +0 -1
- package/dist/components/features/skills/skill-type-filter.d.ts +0 -3
- package/dist/components/features/skills/skills-type-filter-dropdown.d.ts +0 -7
- package/dist/node_modules/html-parse-stringify/dist/html-parse-stringify.module.cjs +0 -2
- package/dist/node_modules/html-parse-stringify/dist/html-parse-stringify.module.cjs.map +0 -1
- package/dist/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js +0 -81
- package/dist/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js.map +0 -1
- package/dist/node_modules/void-elements/index.cjs +0 -2
- package/dist/node_modules/void-elements/index.cjs.map +0 -1
- package/dist/node_modules/void-elements/index.js +0 -25
- package/dist/node_modules/void-elements/index.js.map +0 -1
|
@@ -11,7 +11,7 @@ interface ActiveBackendContextValue {
|
|
|
11
11
|
}
|
|
12
12
|
export declare function ActiveBackendProvider({ children, }: {
|
|
13
13
|
children: React.ReactNode;
|
|
14
|
-
}):
|
|
14
|
+
}): React.JSX.Element;
|
|
15
15
|
export declare function useActiveBackendContext(): ActiveBackendContextValue;
|
|
16
16
|
/**
|
|
17
17
|
* Read the resolved active backend.
|
|
@@ -17,6 +17,6 @@ export declare function ConversationWebSocketProvider({ children, conversationId
|
|
|
17
17
|
sessionApiKey?: string | null;
|
|
18
18
|
subConversations?: AppConversation[];
|
|
19
19
|
subConversationIds?: string[];
|
|
20
|
-
}):
|
|
20
|
+
}): React.JSX.Element;
|
|
21
21
|
export declare const useConversationWebSocket: () => ConversationWebSocketContextType | null;
|
|
22
22
|
export {};
|
|
@@ -4,6 +4,6 @@ interface SettingsSectionHeaderContextValue {
|
|
|
4
4
|
}
|
|
5
5
|
export declare function SettingsSectionHeaderProvider({ setHideSectionHeader, children, }: React.PropsWithChildren<{
|
|
6
6
|
setHideSectionHeader: (hide: boolean) => void;
|
|
7
|
-
}>):
|
|
7
|
+
}>): React.JSX.Element;
|
|
8
8
|
export declare function useSettingsSectionHeader(): SettingsSectionHeaderContextValue;
|
|
9
9
|
export {};
|
|
@@ -3,5 +3,5 @@ interface WebSocketProviderWrapperProps {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
conversationId: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function WebSocketProviderWrapper({ children, conversationId, }: WebSocketProviderWrapperProps):
|
|
6
|
+
export declare function WebSocketProviderWrapper({ children, conversationId, }: WebSocketProviderWrapperProps): React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type LatestAutomationRunState } from "#/hooks/query/use-latest-automation-runs";
|
|
2
|
+
import { type Automation } from "#/types/automation";
|
|
3
|
+
/**
|
|
4
|
+
* Local preview of every pinned-card + activity-list state.
|
|
5
|
+
*
|
|
6
|
+
* Enable with any of:
|
|
7
|
+
* - `HOME_AUTOMATIONS_FORCE_DEMO = true` below
|
|
8
|
+
* - `localStorage.setItem("oh:home-automations-demo", "1")`
|
|
9
|
+
* - `?demoAutomations=1` in the URL
|
|
10
|
+
* - `VITE_HOME_AUTOMATIONS_DEMO=true`
|
|
11
|
+
*/
|
|
12
|
+
export declare const HOME_AUTOMATIONS_FORCE_DEMO = false;
|
|
13
|
+
export declare const HOME_AUTOMATIONS_DEMO_KEY = "oh:home-automations-demo";
|
|
14
|
+
export declare function isHomeAutomationsDemoEnabled(): boolean;
|
|
15
|
+
/** Returns a demo conversation title, or `undefined` if not a demo id. */
|
|
16
|
+
export declare function getDemoConversationTitle(conversationId: string): string | null | undefined;
|
|
17
|
+
export declare const HOME_AUTOMATIONS_DEMO_PINNED_IDS: string[];
|
|
18
|
+
export declare const HOME_AUTOMATIONS_DEMO_AUTOMATIONS: Automation[];
|
|
19
|
+
export declare const HOME_AUTOMATIONS_DEMO_RUN_STATES: Map<string, LatestAutomationRunState>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../_virtual/_rolldown/runtime.cjs");const e=require("../query/query-keys.cjs"),t=require("../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.cjs"),n=require("../../node_modules/@tanstack/react-query/build/modern/useMutation.cjs"),r=require("../../utils/mcp-config.cjs"),i=require("../../api/settings-service/settings-service.api.cjs"),a=require("../query/use-settings.cjs");function o(){let o=t.useQueryClient(),{data:s}=a.useSettings();return n.useMutation({mutationFn:async e=>{if(!s)
|
|
1
|
+
require("../../_virtual/_rolldown/runtime.cjs");const e=require("../query/query-keys.cjs"),t=require("../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.cjs"),n=require("../../node_modules/@tanstack/react-query/build/modern/useMutation.cjs"),r=require("../../utils/mcp-config.cjs"),i=require("../../api/settings-service/settings-service.api.cjs"),a=require("../query/use-settings.cjs");function o(){let o=t.useQueryClient(),{data:s}=a.useSettings();return n.useMutation({mutationFn:async e=>{if(!s)throw Error(`MCP settings are still loading. Please try again.`);let t=r.allocateMcpSettingsKey(s.mcp_config??r.parseMcpConfig(s.agent_settings?.mcp_config),e.name,e.type);await i.default.createMcpServer(t,r.toCanonicalMcpServer(e))},onSuccess:()=>{o.invalidateQueries({queryKey:e.SETTINGS_QUERY_KEYS.personal()})}})}exports.useAddMcpServer=o;
|
|
2
2
|
//# sourceMappingURL=use-add-mcp-server.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-add-mcp-server.cjs","names":[],"sources":["../../../src/hooks/mutation/use-add-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useSettings } from \"#/hooks/query/use-settings\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport
|
|
1
|
+
{"version":3,"file":"use-add-mcp-server.cjs","names":[],"sources":["../../../src/hooks/mutation/use-add-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useSettings } from \"#/hooks/query/use-settings\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport type { MCPServerConfig } from \"#/types/mcp-server\";\nimport {\n allocateMcpSettingsKey,\n parseMcpConfig,\n toCanonicalMcpServer,\n} from \"#/utils/mcp-config\";\nimport { SETTINGS_QUERY_KEYS } from \"#/hooks/query/query-keys\";\n\n// @spec MCP-001 — Sparse mutations preserve sibling servers\nexport function useAddMcpServer() {\n const queryClient = useQueryClient();\n const { data: settings } = useSettings();\n\n return useMutation({\n mutationFn: async (server: MCPServerConfig): Promise<void> => {\n if (!settings) {\n throw new Error(\"MCP settings are still loading. Please try again.\");\n }\n\n const currentConfig =\n settings.mcp_config ??\n parseMcpConfig(settings.agent_settings?.mcp_config);\n const settingsKey = allocateMcpSettingsKey(\n currentConfig,\n server.name,\n server.type,\n );\n await SettingsService.createMcpServer(\n settingsKey,\n toCanonicalMcpServer(server),\n );\n },\n onSuccess: () => {\n queryClient.invalidateQueries({\n queryKey: SETTINGS_QUERY_KEYS.personal(),\n });\n },\n });\n}\n"],"mappings":"yZAYA,SAAgB,GAAkB,CAChC,IAAM,EAAc,EAAA,eAAe,EAC7B,CAAE,KAAM,GAAa,EAAA,YAAY,EAEvC,OAAO,EAAA,YAAY,CACjB,WAAY,KAAO,IAA2C,CAC5D,GAAI,CAAC,EACH,MAAU,MAAM,mDAAmD,EAMrE,IAAM,EAAc,EAAA,uBAFlB,EAAS,YACT,EAAA,eAAe,EAAS,gBAAgB,UAAU,EAGlD,EAAO,KACP,EAAO,IACT,EACA,MAAM,EAAA,QAAgB,gBACpB,EACA,EAAA,qBAAqB,CAAM,CAC7B,CACF,EACA,cAAiB,CACf,EAAY,kBAAkB,CAC5B,SAAU,EAAA,oBAAoB,SAAS,CACzC,CAAC,CACH,CACF,CAAC,CACH"}
|
|
@@ -1,28 +1,24 @@
|
|
|
1
1
|
import { SETTINGS_QUERY_KEYS as e } from "../query/query-keys.js";
|
|
2
2
|
import { useQueryClient as t } from "../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js";
|
|
3
3
|
import { useMutation as n } from "../../node_modules/@tanstack/react-query/build/modern/useMutation.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { useSettings as
|
|
4
|
+
import { allocateMcpSettingsKey as r, parseMcpConfig as i, toCanonicalMcpServer as a } from "../../utils/mcp-config.js";
|
|
5
|
+
import o from "../../api/settings-service/settings-service.api.js";
|
|
6
|
+
import { useSettings as s } from "../query/use-settings.js";
|
|
7
7
|
//#region src/hooks/mutation/use-add-mcp-server.ts
|
|
8
|
-
function
|
|
9
|
-
let
|
|
8
|
+
function c() {
|
|
9
|
+
let c = t(), { data: l } = s();
|
|
10
10
|
return n({
|
|
11
11
|
mutationFn: async (e) => {
|
|
12
|
-
if (!
|
|
13
|
-
let t = r(
|
|
14
|
-
|
|
15
|
-
stdio_servers: [...t.stdio_servers],
|
|
16
|
-
shttp_servers: [...t.shttp_servers]
|
|
17
|
-
};
|
|
18
|
-
e.type === "sse" ? n.sse_servers.push(a(e)) : e.type === "stdio" ? n.stdio_servers.push(o(e)) : e.type === "shttp" && n.shttp_servers.push(i(e)), await c.saveSettings({ agent_settings_diff: { mcp_config: s(n) } });
|
|
12
|
+
if (!l) throw Error("MCP settings are still loading. Please try again.");
|
|
13
|
+
let t = r(l.mcp_config ?? i(l.agent_settings?.mcp_config), e.name, e.type);
|
|
14
|
+
await o.createMcpServer(t, a(e));
|
|
19
15
|
},
|
|
20
16
|
onSuccess: () => {
|
|
21
|
-
|
|
17
|
+
c.invalidateQueries({ queryKey: e.personal() });
|
|
22
18
|
}
|
|
23
19
|
});
|
|
24
20
|
}
|
|
25
21
|
//#endregion
|
|
26
|
-
export {
|
|
22
|
+
export { c as useAddMcpServer };
|
|
27
23
|
|
|
28
24
|
//# sourceMappingURL=use-add-mcp-server.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-add-mcp-server.js","names":[],"sources":["../../../src/hooks/mutation/use-add-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useSettings } from \"#/hooks/query/use-settings\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport
|
|
1
|
+
{"version":3,"file":"use-add-mcp-server.js","names":[],"sources":["../../../src/hooks/mutation/use-add-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useSettings } from \"#/hooks/query/use-settings\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport type { MCPServerConfig } from \"#/types/mcp-server\";\nimport {\n allocateMcpSettingsKey,\n parseMcpConfig,\n toCanonicalMcpServer,\n} from \"#/utils/mcp-config\";\nimport { SETTINGS_QUERY_KEYS } from \"#/hooks/query/query-keys\";\n\n// @spec MCP-001 — Sparse mutations preserve sibling servers\nexport function useAddMcpServer() {\n const queryClient = useQueryClient();\n const { data: settings } = useSettings();\n\n return useMutation({\n mutationFn: async (server: MCPServerConfig): Promise<void> => {\n if (!settings) {\n throw new Error(\"MCP settings are still loading. Please try again.\");\n }\n\n const currentConfig =\n settings.mcp_config ??\n parseMcpConfig(settings.agent_settings?.mcp_config);\n const settingsKey = allocateMcpSettingsKey(\n currentConfig,\n server.name,\n server.type,\n );\n await SettingsService.createMcpServer(\n settingsKey,\n toCanonicalMcpServer(server),\n );\n },\n onSuccess: () => {\n queryClient.invalidateQueries({\n queryKey: SETTINGS_QUERY_KEYS.personal(),\n });\n },\n });\n}\n"],"mappings":";;;;;;;AAYA,SAAgB,IAAkB;CAChC,IAAM,IAAc,EAAe,GAC7B,EAAE,MAAM,MAAa,EAAY;CAEvC,OAAO,EAAY;EACjB,YAAY,OAAO,MAA2C;GAC5D,IAAI,CAAC,GACH,MAAU,MAAM,mDAAmD;GAMrE,IAAM,IAAc,EAFlB,EAAS,cACT,EAAe,EAAS,gBAAgB,UAAU,GAGlD,EAAO,MACP,EAAO,IACT;GACA,MAAM,EAAgB,gBACpB,GACA,EAAqB,CAAM,CAC7B;EACF;EACA,iBAAiB;GACf,EAAY,kBAAkB,EAC5B,UAAU,EAAoB,SAAS,EACzC,CAAC;EACH;CACF,CAAC;AACH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../_virtual/_rolldown/runtime.cjs");const e=require("../query/query-keys.cjs"),t=require("../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.cjs"),n=require("../../node_modules/@tanstack/react-query/build/modern/useMutation.cjs"),r=require("../../
|
|
1
|
+
require("../../_virtual/_rolldown/runtime.cjs");const e=require("../query/query-keys.cjs"),t=require("../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.cjs"),n=require("../../node_modules/@tanstack/react-query/build/modern/useMutation.cjs"),r=require("../../api/settings-service/settings-service.api.cjs"),i=require("../../api/mcp-health/mcp-health-store.cjs"),a=require("../../utils/mcp-server-health-key.cjs");function o(){let o=t.useQueryClient();return n.useMutation({mutationFn:async e=>{await r.default.deleteMcpServer(e.id)},onSuccess:(t,n)=>{i.clearMcpServerHealth(a.getMcpServerHealthKey(n)),o.invalidateQueries({queryKey:e.SETTINGS_QUERY_KEYS.personal()})}})}exports.useDeleteMcpServer=o;
|
|
2
2
|
//# sourceMappingURL=use-delete-mcp-server.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-delete-mcp-server.cjs","names":[],"sources":["../../../src/hooks/mutation/use-delete-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport
|
|
1
|
+
{"version":3,"file":"use-delete-mcp-server.cjs","names":[],"sources":["../../../src/hooks/mutation/use-delete-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport { MCPServerConfig } from \"#/types/mcp-server\";\nimport { SETTINGS_QUERY_KEYS } from \"#/hooks/query/query-keys\";\nimport { clearMcpServerHealth } from \"#/api/mcp-health/mcp-health-store\";\nimport { getMcpServerHealthKey } from \"#/utils/mcp-server-health-key\";\n\n/**\n * Delete an installed MCP server.\n *\n * The UI server id is the canonical settings map key, so deletion does not\n * read, match, or reconstruct any other catalog entries.\n */\n// @spec MCP-001 — Sparse mutations preserve sibling servers\n// @spec MCP-003 — Settings map keys are stable MCP identities\nexport function useDeleteMcpServer() {\n const queryClient = useQueryClient();\n\n return useMutation({\n mutationFn: async (target: MCPServerConfig): Promise<void> => {\n await SettingsService.deleteMcpServer(target.id);\n },\n onSuccess: (_data, target) => {\n // Drop the deleted server's health entry so a later server that\n // happens to produce the same key starts \"unchecked\" instead of\n // inheriting this one's verdict.\n clearMcpServerHealth(getMcpServerHealthKey(target));\n queryClient.invalidateQueries({\n queryKey: SETTINGS_QUERY_KEYS.personal(),\n });\n },\n });\n}\n"],"mappings":"obAeA,SAAgB,GAAqB,CACnC,IAAM,EAAc,EAAA,eAAe,EAEnC,OAAO,EAAA,YAAY,CACjB,WAAY,KAAO,IAA2C,CAC5D,MAAM,EAAA,QAAgB,gBAAgB,EAAO,EAAE,CACjD,EACA,WAAY,EAAO,IAAW,CAI5B,EAAA,qBAAqB,EAAA,sBAAsB,CAAM,CAAC,EAClD,EAAY,kBAAkB,CAC5B,SAAU,EAAA,oBAAoB,SAAS,CACzC,CAAC,CACH,CACF,CAAC,CACH"}
|
|
@@ -2,12 +2,7 @@ import { MCPServerConfig } from "#/types/mcp-server";
|
|
|
2
2
|
/**
|
|
3
3
|
* Delete an installed MCP server.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* settings at mutation time. This eliminates the race between the
|
|
8
|
-
* user clicking "Delete" and confirming the dialog: if the underlying
|
|
9
|
-
* `mcp_config` changes (background refresh, multi-tab activity,
|
|
10
|
-
* another mutation) the index encoded in a synthetic id can drift,
|
|
11
|
-
* and we would otherwise splice the wrong server.
|
|
5
|
+
* The UI server id is the canonical settings map key, so deletion does not
|
|
6
|
+
* read, match, or reconstruct any other catalog entries.
|
|
12
7
|
*/
|
|
13
8
|
export declare function useDeleteMcpServer(): import("@tanstack/react-query").UseMutationResult<void, import("axios").AxiosError<unknown, any>, MCPServerConfig, unknown>;
|
|
@@ -1,48 +1,22 @@
|
|
|
1
1
|
import { SETTINGS_QUERY_KEYS as e } from "../query/query-keys.js";
|
|
2
2
|
import { useQueryClient as t } from "../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js";
|
|
3
3
|
import { useMutation as n } from "../../node_modules/@tanstack/react-query/build/modern/useMutation.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { clearMcpServerHealth as s } from "../../api/mcp-health/mcp-health-store.js";
|
|
8
|
-
import { getMcpServerHealthKey as c } from "../../utils/mcp-server-health-key.js";
|
|
4
|
+
import r from "../../api/settings-service/settings-service.api.js";
|
|
5
|
+
import { clearMcpServerHealth as i } from "../../api/mcp-health/mcp-health-store.js";
|
|
6
|
+
import { getMcpServerHealthKey as a } from "../../utils/mcp-server-health-key.js";
|
|
9
7
|
//#region src/hooks/mutation/use-delete-mcp-server.ts
|
|
10
|
-
function
|
|
11
|
-
let
|
|
8
|
+
function o() {
|
|
9
|
+
let o = t();
|
|
12
10
|
return n({
|
|
13
11
|
mutationFn: async (e) => {
|
|
14
|
-
|
|
15
|
-
sse_servers: [...t.sse_servers],
|
|
16
|
-
stdio_servers: [...t.stdio_servers],
|
|
17
|
-
shttp_servers: [...t.shttp_servers]
|
|
18
|
-
}, o = (e) => {
|
|
19
|
-
if (typeof e == "string") return e;
|
|
20
|
-
if (e && typeof e == "object" && "url" in e) {
|
|
21
|
-
let t = e.url;
|
|
22
|
-
return typeof t == "string" ? t : void 0;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
if (e.type === "sse") {
|
|
26
|
-
if (!e.url) return;
|
|
27
|
-
let t = n.sse_servers.findIndex((t) => o(t) === e.url);
|
|
28
|
-
t >= 0 && n.sse_servers.splice(t, 1);
|
|
29
|
-
} else if (e.type === "shttp") {
|
|
30
|
-
if (!e.url) return;
|
|
31
|
-
let t = n.shttp_servers.findIndex((t) => o(t) === e.url);
|
|
32
|
-
t >= 0 && n.shttp_servers.splice(t, 1);
|
|
33
|
-
} else if (e.type === "stdio") {
|
|
34
|
-
if (!e.name || !e.command) return;
|
|
35
|
-
let t = n.stdio_servers.findIndex((t) => t.name === e.name && t.command === e.command && JSON.stringify(t.args ?? []) === JSON.stringify(e.args ?? []));
|
|
36
|
-
t >= 0 && n.stdio_servers.splice(t, 1);
|
|
37
|
-
} else return;
|
|
38
|
-
await a.saveSettings({ agent_settings_diff: { mcp_config: i(n) } });
|
|
12
|
+
await r.deleteMcpServer(e.id);
|
|
39
13
|
},
|
|
40
14
|
onSuccess: (t, n) => {
|
|
41
|
-
|
|
15
|
+
i(a(n)), o.invalidateQueries({ queryKey: e.personal() });
|
|
42
16
|
}
|
|
43
17
|
});
|
|
44
18
|
}
|
|
45
19
|
//#endregion
|
|
46
|
-
export {
|
|
20
|
+
export { o as useDeleteMcpServer };
|
|
47
21
|
|
|
48
22
|
//# sourceMappingURL=use-delete-mcp-server.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-delete-mcp-server.js","names":[],"sources":["../../../src/hooks/mutation/use-delete-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport
|
|
1
|
+
{"version":3,"file":"use-delete-mcp-server.js","names":[],"sources":["../../../src/hooks/mutation/use-delete-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport { MCPServerConfig } from \"#/types/mcp-server\";\nimport { SETTINGS_QUERY_KEYS } from \"#/hooks/query/query-keys\";\nimport { clearMcpServerHealth } from \"#/api/mcp-health/mcp-health-store\";\nimport { getMcpServerHealthKey } from \"#/utils/mcp-server-health-key\";\n\n/**\n * Delete an installed MCP server.\n *\n * The UI server id is the canonical settings map key, so deletion does not\n * read, match, or reconstruct any other catalog entries.\n */\n// @spec MCP-001 — Sparse mutations preserve sibling servers\n// @spec MCP-003 — Settings map keys are stable MCP identities\nexport function useDeleteMcpServer() {\n const queryClient = useQueryClient();\n\n return useMutation({\n mutationFn: async (target: MCPServerConfig): Promise<void> => {\n await SettingsService.deleteMcpServer(target.id);\n },\n onSuccess: (_data, target) => {\n // Drop the deleted server's health entry so a later server that\n // happens to produce the same key starts \"unchecked\" instead of\n // inheriting this one's verdict.\n clearMcpServerHealth(getMcpServerHealthKey(target));\n queryClient.invalidateQueries({\n queryKey: SETTINGS_QUERY_KEYS.personal(),\n });\n },\n });\n}\n"],"mappings":";;;;;;;AAeA,SAAgB,IAAqB;CACnC,IAAM,IAAc,EAAe;CAEnC,OAAO,EAAY;EACjB,YAAY,OAAO,MAA2C;GAC5D,MAAM,EAAgB,gBAAgB,EAAO,EAAE;EACjD;EACA,YAAY,GAAO,MAAW;GAK5B,AADA,EAAqB,EAAsB,CAAM,CAAC,GAClD,EAAY,kBAAkB,EAC5B,UAAU,EAAoB,SAAS,EACzC,CAAC;EACH;CACF,CAAC;AACH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../_virtual/_rolldown/runtime.cjs");const e=require("../query/query-keys.cjs"),t=require("../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.cjs"),n=require("../../node_modules/@tanstack/react-query/build/modern/useMutation.cjs"),r=require("../../api/settings-service/settings-service.api.cjs"),i=require("../use-tracking.cjs"),a=require("../query/use-settings.cjs");var o=async e=>{let t={...e};delete t.agent_settings_schema,delete t.conversation_settings_schema;let n={...t.conversation_settings_diff??{}};Object.keys(n).length>0?t.conversation_settings_diff=n:delete t.conversation_settings_diff,delete t.conversation_settings;let i=t.agent_settings_diff,a=i?.llm;if(a&&typeof a.api_key==`string`){let e=a.api_key.trim();a.api_key=e===``?``:e}i&&Object.keys(i).length>0?t.agent_settings_diff=i:delete t.agent_settings_diff,delete t.agent_settings,typeof t.search_api_key==`string`&&(t.search_api_key=t.search_api_key.trim()),typeof t.git_user_name==`string`&&(t.git_user_name=t.git_user_name.trim()),typeof t.git_user_email==`string`&&(t.git_user_email=t.git_user_email.trim()),await r.default.saveSettings(t)},s=(r=`personal`,{retry:s}={})=>{let{trackMcpConfigUpdated:c}=i.useTracking(),l=t.useQueryClient(),{data:u}=a.useSettings(r);return n.useMutation({...s===void 0?{}:{retry:s},mutationFn:async e=>{let t=e.mcp_config,n=u?.mcp_config;t&&n!==t
|
|
1
|
+
require("../../_virtual/_rolldown/runtime.cjs");const e=require("../query/query-keys.cjs"),t=require("../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.cjs"),n=require("../../node_modules/@tanstack/react-query/build/modern/useMutation.cjs"),r=require("../../api/settings-service/settings-service.api.cjs"),i=require("../use-tracking.cjs"),a=require("../query/use-settings.cjs");var o=async e=>{let t={...e};delete t.agent_settings_schema,delete t.conversation_settings_schema;let n={...t.conversation_settings_diff??{}};Object.keys(n).length>0?t.conversation_settings_diff=n:delete t.conversation_settings_diff,delete t.conversation_settings;let i=t.agent_settings_diff,a=i?.llm;if(a&&typeof a.api_key==`string`){let e=a.api_key.trim();a.api_key=e===``?``:e}i&&Object.keys(i).length>0?t.agent_settings_diff=i:delete t.agent_settings_diff,delete t.agent_settings,typeof t.search_api_key==`string`&&(t.search_api_key=t.search_api_key.trim()),typeof t.git_user_name==`string`&&(t.git_user_name=t.git_user_name.trim()),typeof t.git_user_email==`string`&&(t.git_user_email=t.git_user_email.trim()),await r.default.saveSettings(t)},s=(r=`personal`,{retry:s}={})=>{let{trackMcpConfigUpdated:c}=i.useTracking(),l=t.useQueryClient(),{data:u}=a.useSettings(r);return n.useMutation({...s===void 0?{}:{retry:s},mutationFn:async e=>{let t=e.mcp_config,n=u?.mcp_config;if(t&&n!==t){let e=Object.values(t);c({sseServersCount:e.filter(e=>e.transport===`sse`).length,stdioServersCount:e.filter(e=>e.transport===`stdio`).length})}await o(e)},onSuccess:async()=>{await l.invalidateQueries({queryKey:e.SETTINGS_QUERY_KEYS.byScope(r)})},meta:{disableToast:!0}})};exports.useSaveSettings=s;
|
|
2
2
|
//# sourceMappingURL=use-save-settings.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-save-settings.cjs","names":[],"sources":["../../../src/hooks/mutation/use-save-settings.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useTracking } from \"#/hooks/use-tracking\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport {\n MCPConfig,\n Settings,\n SettingsScope,\n SettingsValue,\n} from \"#/types/settings\";\nimport { useSettings } from \"../query/use-settings\";\nimport { SETTINGS_QUERY_KEYS } from \"../query/query-keys\";\n\ntype SettingsUpdate = Partial<Settings> & Record<string, unknown>;\n\nconst saveSettingsMutationFn = async (settings: SettingsUpdate) => {\n const settingsToSave: SettingsUpdate = { ...settings };\n delete settingsToSave.agent_settings_schema;\n delete settingsToSave.conversation_settings_schema;\n\n const conversationSettings = {\n ...((settingsToSave.conversation_settings_diff as Record<\n string,\n SettingsValue\n >) ?? {}),\n };\n\n if (Object.keys(conversationSettings).length > 0) {\n settingsToSave.conversation_settings_diff = conversationSettings;\n } else {\n delete settingsToSave.conversation_settings_diff;\n }\n delete settingsToSave.conversation_settings;\n\n const agentSettings = settingsToSave.agent_settings_diff as\n | Record<string, unknown>\n | undefined;\n const llmSettings = agentSettings?.llm as Record<string, unknown> | undefined;\n if (llmSettings && typeof llmSettings.api_key === \"string\") {\n const apiKey = llmSettings.api_key.trim();\n llmSettings.api_key = apiKey === \"\" ? \"\" : apiKey;\n }\n if (agentSettings && Object.keys(agentSettings).length > 0) {\n settingsToSave.agent_settings_diff = agentSettings;\n } else {\n delete settingsToSave.agent_settings_diff;\n }\n delete settingsToSave.agent_settings;\n\n if (typeof settingsToSave.search_api_key === \"string\") {\n settingsToSave.search_api_key = settingsToSave.search_api_key.trim();\n }\n if (typeof settingsToSave.git_user_name === \"string\") {\n settingsToSave.git_user_name = settingsToSave.git_user_name.trim();\n }\n if (typeof settingsToSave.git_user_email === \"string\") {\n settingsToSave.git_user_email = settingsToSave.git_user_email.trim();\n }\n\n await SettingsService.saveSettings(settingsToSave);\n};\n\nexport const useSaveSettings = (\n scope: SettingsScope = \"personal\",\n { retry }: { retry?: number } = {},\n) => {\n const { trackMcpConfigUpdated } = useTracking();\n const queryClient = useQueryClient();\n const { data: currentSettings } = useSettings(scope);\n\n return useMutation({\n ...(retry === undefined ? {} : { retry }),\n mutationFn: async (settings: SettingsUpdate) => {\n const nextMcpConfig = settings.mcp_config as MCPConfig | undefined;\n const currentMcpConfig = currentSettings?.mcp_config as\n | MCPConfig\n | undefined;\n\n if (nextMcpConfig && currentMcpConfig !== nextMcpConfig) {\n trackMcpConfigUpdated({\n sseServersCount:
|
|
1
|
+
{"version":3,"file":"use-save-settings.cjs","names":[],"sources":["../../../src/hooks/mutation/use-save-settings.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useTracking } from \"#/hooks/use-tracking\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport {\n MCPConfig,\n Settings,\n SettingsScope,\n SettingsValue,\n} from \"#/types/settings\";\nimport { useSettings } from \"../query/use-settings\";\nimport { SETTINGS_QUERY_KEYS } from \"../query/query-keys\";\n\ntype SettingsUpdate = Partial<Settings> & Record<string, unknown>;\n\nconst saveSettingsMutationFn = async (settings: SettingsUpdate) => {\n const settingsToSave: SettingsUpdate = { ...settings };\n delete settingsToSave.agent_settings_schema;\n delete settingsToSave.conversation_settings_schema;\n\n const conversationSettings = {\n ...((settingsToSave.conversation_settings_diff as Record<\n string,\n SettingsValue\n >) ?? {}),\n };\n\n if (Object.keys(conversationSettings).length > 0) {\n settingsToSave.conversation_settings_diff = conversationSettings;\n } else {\n delete settingsToSave.conversation_settings_diff;\n }\n delete settingsToSave.conversation_settings;\n\n const agentSettings = settingsToSave.agent_settings_diff as\n | Record<string, unknown>\n | undefined;\n const llmSettings = agentSettings?.llm as Record<string, unknown> | undefined;\n if (llmSettings && typeof llmSettings.api_key === \"string\") {\n const apiKey = llmSettings.api_key.trim();\n llmSettings.api_key = apiKey === \"\" ? \"\" : apiKey;\n }\n if (agentSettings && Object.keys(agentSettings).length > 0) {\n settingsToSave.agent_settings_diff = agentSettings;\n } else {\n delete settingsToSave.agent_settings_diff;\n }\n delete settingsToSave.agent_settings;\n\n if (typeof settingsToSave.search_api_key === \"string\") {\n settingsToSave.search_api_key = settingsToSave.search_api_key.trim();\n }\n if (typeof settingsToSave.git_user_name === \"string\") {\n settingsToSave.git_user_name = settingsToSave.git_user_name.trim();\n }\n if (typeof settingsToSave.git_user_email === \"string\") {\n settingsToSave.git_user_email = settingsToSave.git_user_email.trim();\n }\n\n await SettingsService.saveSettings(settingsToSave);\n};\n\nexport const useSaveSettings = (\n scope: SettingsScope = \"personal\",\n { retry }: { retry?: number } = {},\n) => {\n const { trackMcpConfigUpdated } = useTracking();\n const queryClient = useQueryClient();\n const { data: currentSettings } = useSettings(scope);\n\n return useMutation({\n ...(retry === undefined ? {} : { retry }),\n mutationFn: async (settings: SettingsUpdate) => {\n const nextMcpConfig = settings.mcp_config as MCPConfig | undefined;\n const currentMcpConfig = currentSettings?.mcp_config as\n | MCPConfig\n | undefined;\n\n if (nextMcpConfig && currentMcpConfig !== nextMcpConfig) {\n const servers = Object.values(nextMcpConfig);\n trackMcpConfigUpdated({\n sseServersCount: servers.filter(\n (server) => server.transport === \"sse\",\n ).length,\n stdioServersCount: servers.filter(\n (server) => server.transport === \"stdio\",\n ).length,\n });\n }\n\n await saveSettingsMutationFn(settings);\n },\n onSuccess: async () => {\n await queryClient.invalidateQueries({\n queryKey: SETTINGS_QUERY_KEYS.byScope(scope),\n });\n },\n meta: {\n disableToast: true,\n },\n });\n};\n"],"mappings":"kZAcA,IAAM,EAAyB,KAAO,IAA6B,CACjE,IAAM,EAAiC,CAAE,GAAG,CAAS,EACrD,OAAO,EAAe,sBACtB,OAAO,EAAe,6BAEtB,IAAM,EAAuB,CAC3B,GAAK,EAAe,4BAGd,CAAC,CACT,EAEI,OAAO,KAAK,CAAoB,EAAE,OAAS,EAC7C,EAAe,2BAA6B,EAE5C,OAAO,EAAe,2BAExB,OAAO,EAAe,sBAEtB,IAAM,EAAgB,EAAe,oBAG/B,EAAc,GAAe,IACnC,GAAI,GAAe,OAAO,EAAY,SAAY,SAAU,CAC1D,IAAM,EAAS,EAAY,QAAQ,KAAK,EACxC,EAAY,QAAU,IAAW,GAAK,GAAK,CAC7C,CACI,GAAiB,OAAO,KAAK,CAAa,EAAE,OAAS,EACvD,EAAe,oBAAsB,EAErC,OAAO,EAAe,oBAExB,OAAO,EAAe,eAElB,OAAO,EAAe,gBAAmB,WAC3C,EAAe,eAAiB,EAAe,eAAe,KAAK,GAEjE,OAAO,EAAe,eAAkB,WAC1C,EAAe,cAAgB,EAAe,cAAc,KAAK,GAE/D,OAAO,EAAe,gBAAmB,WAC3C,EAAe,eAAiB,EAAe,eAAe,KAAK,GAGrE,MAAM,EAAA,QAAgB,aAAa,CAAc,CACnD,EAEa,GACX,EAAuB,WACvB,CAAE,SAA8B,CAAC,IAC9B,CACH,GAAM,CAAE,yBAA0B,EAAA,YAAY,EACxC,EAAc,EAAA,eAAe,EAC7B,CAAE,KAAM,GAAoB,EAAA,YAAY,CAAK,EAEnD,OAAO,EAAA,YAAY,CACjB,GAAI,IAAU,IAAA,GAAY,CAAC,EAAI,CAAE,OAAM,EACvC,WAAY,KAAO,IAA6B,CAC9C,IAAM,EAAgB,EAAS,WACzB,EAAmB,GAAiB,WAI1C,GAAI,GAAiB,IAAqB,EAAe,CACvD,IAAM,EAAU,OAAO,OAAO,CAAa,EAC3C,EAAsB,CACpB,gBAAiB,EAAQ,OACtB,GAAW,EAAO,YAAc,KACnC,EAAE,OACF,kBAAmB,EAAQ,OACxB,GAAW,EAAO,YAAc,OACnC,EAAE,MACJ,CAAC,CACH,CAEA,MAAM,EAAuB,CAAQ,CACvC,EACA,UAAW,SAAY,CACrB,MAAM,EAAY,kBAAkB,CAClC,SAAU,EAAA,oBAAoB,QAAQ,CAAK,CAC7C,CAAC,CACH,EACA,KAAM,CACJ,aAAc,EAChB,CACF,CAAC,CACH"}
|
|
@@ -22,10 +22,14 @@ var o = async (e) => {
|
|
|
22
22
|
...s === void 0 ? {} : { retry: s },
|
|
23
23
|
mutationFn: async (e) => {
|
|
24
24
|
let t = e.mcp_config, n = u?.mcp_config;
|
|
25
|
-
t && n !== t
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
if (t && n !== t) {
|
|
26
|
+
let e = Object.values(t);
|
|
27
|
+
c({
|
|
28
|
+
sseServersCount: e.filter((e) => e.transport === "sse").length,
|
|
29
|
+
stdioServersCount: e.filter((e) => e.transport === "stdio").length
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
await o(e);
|
|
29
33
|
},
|
|
30
34
|
onSuccess: async () => {
|
|
31
35
|
await l.invalidateQueries({ queryKey: e.byScope(r) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-save-settings.js","names":[],"sources":["../../../src/hooks/mutation/use-save-settings.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useTracking } from \"#/hooks/use-tracking\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport {\n MCPConfig,\n Settings,\n SettingsScope,\n SettingsValue,\n} from \"#/types/settings\";\nimport { useSettings } from \"../query/use-settings\";\nimport { SETTINGS_QUERY_KEYS } from \"../query/query-keys\";\n\ntype SettingsUpdate = Partial<Settings> & Record<string, unknown>;\n\nconst saveSettingsMutationFn = async (settings: SettingsUpdate) => {\n const settingsToSave: SettingsUpdate = { ...settings };\n delete settingsToSave.agent_settings_schema;\n delete settingsToSave.conversation_settings_schema;\n\n const conversationSettings = {\n ...((settingsToSave.conversation_settings_diff as Record<\n string,\n SettingsValue\n >) ?? {}),\n };\n\n if (Object.keys(conversationSettings).length > 0) {\n settingsToSave.conversation_settings_diff = conversationSettings;\n } else {\n delete settingsToSave.conversation_settings_diff;\n }\n delete settingsToSave.conversation_settings;\n\n const agentSettings = settingsToSave.agent_settings_diff as\n | Record<string, unknown>\n | undefined;\n const llmSettings = agentSettings?.llm as Record<string, unknown> | undefined;\n if (llmSettings && typeof llmSettings.api_key === \"string\") {\n const apiKey = llmSettings.api_key.trim();\n llmSettings.api_key = apiKey === \"\" ? \"\" : apiKey;\n }\n if (agentSettings && Object.keys(agentSettings).length > 0) {\n settingsToSave.agent_settings_diff = agentSettings;\n } else {\n delete settingsToSave.agent_settings_diff;\n }\n delete settingsToSave.agent_settings;\n\n if (typeof settingsToSave.search_api_key === \"string\") {\n settingsToSave.search_api_key = settingsToSave.search_api_key.trim();\n }\n if (typeof settingsToSave.git_user_name === \"string\") {\n settingsToSave.git_user_name = settingsToSave.git_user_name.trim();\n }\n if (typeof settingsToSave.git_user_email === \"string\") {\n settingsToSave.git_user_email = settingsToSave.git_user_email.trim();\n }\n\n await SettingsService.saveSettings(settingsToSave);\n};\n\nexport const useSaveSettings = (\n scope: SettingsScope = \"personal\",\n { retry }: { retry?: number } = {},\n) => {\n const { trackMcpConfigUpdated } = useTracking();\n const queryClient = useQueryClient();\n const { data: currentSettings } = useSettings(scope);\n\n return useMutation({\n ...(retry === undefined ? {} : { retry }),\n mutationFn: async (settings: SettingsUpdate) => {\n const nextMcpConfig = settings.mcp_config as MCPConfig | undefined;\n const currentMcpConfig = currentSettings?.mcp_config as\n | MCPConfig\n | undefined;\n\n if (nextMcpConfig && currentMcpConfig !== nextMcpConfig) {\n trackMcpConfigUpdated({\n sseServersCount:
|
|
1
|
+
{"version":3,"file":"use-save-settings.js","names":[],"sources":["../../../src/hooks/mutation/use-save-settings.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useTracking } from \"#/hooks/use-tracking\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport {\n MCPConfig,\n Settings,\n SettingsScope,\n SettingsValue,\n} from \"#/types/settings\";\nimport { useSettings } from \"../query/use-settings\";\nimport { SETTINGS_QUERY_KEYS } from \"../query/query-keys\";\n\ntype SettingsUpdate = Partial<Settings> & Record<string, unknown>;\n\nconst saveSettingsMutationFn = async (settings: SettingsUpdate) => {\n const settingsToSave: SettingsUpdate = { ...settings };\n delete settingsToSave.agent_settings_schema;\n delete settingsToSave.conversation_settings_schema;\n\n const conversationSettings = {\n ...((settingsToSave.conversation_settings_diff as Record<\n string,\n SettingsValue\n >) ?? {}),\n };\n\n if (Object.keys(conversationSettings).length > 0) {\n settingsToSave.conversation_settings_diff = conversationSettings;\n } else {\n delete settingsToSave.conversation_settings_diff;\n }\n delete settingsToSave.conversation_settings;\n\n const agentSettings = settingsToSave.agent_settings_diff as\n | Record<string, unknown>\n | undefined;\n const llmSettings = agentSettings?.llm as Record<string, unknown> | undefined;\n if (llmSettings && typeof llmSettings.api_key === \"string\") {\n const apiKey = llmSettings.api_key.trim();\n llmSettings.api_key = apiKey === \"\" ? \"\" : apiKey;\n }\n if (agentSettings && Object.keys(agentSettings).length > 0) {\n settingsToSave.agent_settings_diff = agentSettings;\n } else {\n delete settingsToSave.agent_settings_diff;\n }\n delete settingsToSave.agent_settings;\n\n if (typeof settingsToSave.search_api_key === \"string\") {\n settingsToSave.search_api_key = settingsToSave.search_api_key.trim();\n }\n if (typeof settingsToSave.git_user_name === \"string\") {\n settingsToSave.git_user_name = settingsToSave.git_user_name.trim();\n }\n if (typeof settingsToSave.git_user_email === \"string\") {\n settingsToSave.git_user_email = settingsToSave.git_user_email.trim();\n }\n\n await SettingsService.saveSettings(settingsToSave);\n};\n\nexport const useSaveSettings = (\n scope: SettingsScope = \"personal\",\n { retry }: { retry?: number } = {},\n) => {\n const { trackMcpConfigUpdated } = useTracking();\n const queryClient = useQueryClient();\n const { data: currentSettings } = useSettings(scope);\n\n return useMutation({\n ...(retry === undefined ? {} : { retry }),\n mutationFn: async (settings: SettingsUpdate) => {\n const nextMcpConfig = settings.mcp_config as MCPConfig | undefined;\n const currentMcpConfig = currentSettings?.mcp_config as\n | MCPConfig\n | undefined;\n\n if (nextMcpConfig && currentMcpConfig !== nextMcpConfig) {\n const servers = Object.values(nextMcpConfig);\n trackMcpConfigUpdated({\n sseServersCount: servers.filter(\n (server) => server.transport === \"sse\",\n ).length,\n stdioServersCount: servers.filter(\n (server) => server.transport === \"stdio\",\n ).length,\n });\n }\n\n await saveSettingsMutationFn(settings);\n },\n onSuccess: async () => {\n await queryClient.invalidateQueries({\n queryKey: SETTINGS_QUERY_KEYS.byScope(scope),\n });\n },\n meta: {\n disableToast: true,\n },\n });\n};\n"],"mappings":";;;;;;;AAcA,IAAM,IAAyB,OAAO,MAA6B;CACjE,IAAM,IAAiC,EAAE,GAAG,EAAS;CAErD,AADA,OAAO,EAAe,uBACtB,OAAO,EAAe;CAEtB,IAAM,IAAuB,EAC3B,GAAK,EAAe,8BAGd,CAAC,EACT;CAOA,AALI,OAAO,KAAK,CAAoB,EAAE,SAAS,IAC7C,EAAe,6BAA6B,IAE5C,OAAO,EAAe,4BAExB,OAAO,EAAe;CAEtB,IAAM,IAAgB,EAAe,qBAG/B,IAAc,GAAe;CACnC,IAAI,KAAe,OAAO,EAAY,WAAY,UAAU;EAC1D,IAAM,IAAS,EAAY,QAAQ,KAAK;EACxC,EAAY,UAAU,MAAW,KAAK,KAAK;CAC7C;CAkBA,AAjBI,KAAiB,OAAO,KAAK,CAAa,EAAE,SAAS,IACvD,EAAe,sBAAsB,IAErC,OAAO,EAAe,qBAExB,OAAO,EAAe,gBAElB,OAAO,EAAe,kBAAmB,aAC3C,EAAe,iBAAiB,EAAe,eAAe,KAAK,IAEjE,OAAO,EAAe,iBAAkB,aAC1C,EAAe,gBAAgB,EAAe,cAAc,KAAK,IAE/D,OAAO,EAAe,kBAAmB,aAC3C,EAAe,iBAAiB,EAAe,eAAe,KAAK,IAGrE,MAAM,EAAgB,aAAa,CAAc;AACnD,GAEa,KACX,IAAuB,YACvB,EAAE,aAA8B,CAAC,MAC9B;CACH,IAAM,EAAE,6BAA0B,EAAY,GACxC,IAAc,EAAe,GAC7B,EAAE,MAAM,MAAoB,EAAY,CAAK;CAEnD,OAAO,EAAY;EACjB,GAAI,MAAU,KAAA,IAAY,CAAC,IAAI,EAAE,SAAM;EACvC,YAAY,OAAO,MAA6B;GAC9C,IAAM,IAAgB,EAAS,YACzB,IAAmB,GAAiB;GAI1C,IAAI,KAAiB,MAAqB,GAAe;IACvD,IAAM,IAAU,OAAO,OAAO,CAAa;IAC3C,EAAsB;KACpB,iBAAiB,EAAQ,QACtB,MAAW,EAAO,cAAc,KACnC,EAAE;KACF,mBAAmB,EAAQ,QACxB,MAAW,EAAO,cAAc,OACnC,EAAE;IACJ,CAAC;GACH;GAEA,MAAM,EAAuB,CAAQ;EACvC;EACA,WAAW,YAAY;GACrB,MAAM,EAAY,kBAAkB,EAClC,UAAU,EAAoB,QAAQ,CAAK,EAC7C,CAAC;EACH;EACA,MAAM,EACJ,cAAc,GAChB;CACF,CAAC;AACH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../../_virtual/_rolldown/runtime.cjs");const e=require("../query/query-keys.cjs"),t=require("../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.cjs"),n=require("../../node_modules/@tanstack/react-query/build/modern/useMutation.cjs"),r=require("../../utils/mcp-
|
|
1
|
+
require("../../_virtual/_rolldown/runtime.cjs");const e=require("../query/query-keys.cjs"),t=require("../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.cjs"),n=require("../../node_modules/@tanstack/react-query/build/modern/useMutation.cjs"),r=require("../../utils/mcp-server-name.cjs"),i=require("../../utils/mcp-config.cjs"),a=require("../../api/settings-service/settings-service.api.cjs"),o=require("../query/use-settings.cjs"),s=require("../../api/mcp-health/mcp-health-store.cjs"),c=require("../../utils/mcp-server-health-key.cjs");function l(){let l=t.useQueryClient(),{data:u}=o.useSettings();return n.useMutation({mutationFn:async({serverId:e,server:t})=>{let n=u?.mcp_config??i.parseMcpConfig(u?.agent_settings?.mcp_config),o=n[e];if(!o)throw Error(`MCP server "${e}" no longer exists.`);let s=c.getMcpServerHealthKey({id:e,type:o.transport===`stdio`?`stdio`:o.transport===`sse`?`sse`:`shttp`,name:e,...o.transport===`stdio`?{command:o.command,args:o.args??void 0,env:o.env??void 0}:{url:o.url,headers:o.headers??void 0,auth:o.auth??void 0}}),l=r.toMcpServerName(t.name||e);if(l!==e){if(l in n)throw Error(`MCP server "${l}" already exists.`);return await a.default.patchMcpConfig(i.buildRenameMcpConfigPatch(e,l,o,t)),s}return await a.default.patchMcpServer(e,i.buildMcpServerPatch(o,t)),s},onSuccess:(t,n)=>{s.clearMcpServerHealth(t),s.clearMcpServerHealth(c.getMcpServerHealthKey(n.server)),l.invalidateQueries({queryKey:e.SETTINGS_QUERY_KEYS.personal()})}})}exports.useUpdateMcpServer=l;
|
|
2
2
|
//# sourceMappingURL=use-update-mcp-server.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-update-mcp-server.cjs","names":[],"sources":["../../../src/hooks/mutation/use-update-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useSettings } from \"#/hooks/query/use-settings\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport {
|
|
1
|
+
{"version":3,"file":"use-update-mcp-server.cjs","names":[],"sources":["../../../src/hooks/mutation/use-update-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useSettings } from \"#/hooks/query/use-settings\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport { MCPServerConfig } from \"#/types/mcp-server\";\nimport {\n buildMcpServerPatch,\n buildRenameMcpConfigPatch,\n parseMcpConfig,\n} from \"#/utils/mcp-config\";\nimport { SETTINGS_QUERY_KEYS } from \"#/hooks/query/query-keys\";\nimport { clearMcpServerHealth } from \"#/api/mcp-health/mcp-health-store\";\nimport { getMcpServerHealthKey } from \"#/utils/mcp-server-health-key\";\nimport { toMcpServerName } from \"#/utils/mcp-server-name\";\n\n// @spec MCP-001 — Sparse mutations preserve sibling servers\nexport function useUpdateMcpServer() {\n const queryClient = useQueryClient();\n const { data: settings } = useSettings();\n\n return useMutation({\n mutationFn: async ({\n serverId,\n server,\n }: {\n serverId: string;\n server: MCPServerConfig;\n }): Promise<string> => {\n const currentConfig =\n settings?.mcp_config ??\n parseMcpConfig(settings?.agent_settings?.mcp_config);\n const previous = currentConfig[serverId];\n if (!previous) {\n throw new Error(`MCP server \"${serverId}\" no longer exists.`);\n }\n const previousHealthKey = getMcpServerHealthKey({\n id: serverId,\n type:\n previous.transport === \"stdio\"\n ? \"stdio\"\n : previous.transport === \"sse\"\n ? \"sse\"\n : \"shttp\",\n name: serverId,\n ...(previous.transport === \"stdio\"\n ? {\n command: previous.command,\n args: previous.args ?? undefined,\n env: previous.env ?? undefined,\n }\n : {\n url: previous.url,\n headers: previous.headers ?? undefined,\n auth: previous.auth ?? undefined,\n }),\n });\n\n const nextKey = toMcpServerName(server.name || serverId);\n if (nextKey !== serverId) {\n if (nextKey in currentConfig) {\n throw new Error(`MCP server \"${nextKey}\" already exists.`);\n }\n await SettingsService.patchMcpConfig(\n buildRenameMcpConfigPatch(serverId, nextKey, previous, server),\n );\n return previousHealthKey;\n }\n\n await SettingsService.patchMcpServer(\n serverId,\n buildMcpServerPatch(previous, server),\n );\n return previousHealthKey;\n },\n onSuccess: (previousHealthKey, variables) => {\n // The stored config changed, so any prior health verdict for it is\n // stale. This hook-level reset runs before the caller's onSuccess,\n // letting save flows re-seed from their fresh pre-save test result.\n clearMcpServerHealth(previousHealthKey);\n clearMcpServerHealth(getMcpServerHealthKey(variables.server));\n queryClient.invalidateQueries({\n queryKey: SETTINGS_QUERY_KEYS.personal(),\n });\n },\n });\n}\n"],"mappings":"gjBAeA,SAAgB,GAAqB,CACnC,IAAM,EAAc,EAAA,eAAe,EAC7B,CAAE,KAAM,GAAa,EAAA,YAAY,EAEvC,OAAO,EAAA,YAAY,CACjB,WAAY,MAAO,CACjB,WACA,YAIqB,CACrB,IAAM,EACJ,GAAU,YACV,EAAA,eAAe,GAAU,gBAAgB,UAAU,EAC/C,EAAW,EAAc,GAC/B,GAAI,CAAC,EACH,MAAU,MAAM,eAAe,EAAS,oBAAoB,EAE9D,IAAM,EAAoB,EAAA,sBAAsB,CAC9C,GAAI,EACJ,KACE,EAAS,YAAc,QACnB,QACA,EAAS,YAAc,MACrB,MACA,QACR,KAAM,EACN,GAAI,EAAS,YAAc,QACvB,CACE,QAAS,EAAS,QAClB,KAAM,EAAS,MAAQ,IAAA,GACvB,IAAK,EAAS,KAAO,IAAA,EACvB,EACA,CACE,IAAK,EAAS,IACd,QAAS,EAAS,SAAW,IAAA,GAC7B,KAAM,EAAS,MAAQ,IAAA,EACzB,CACN,CAAC,EAEK,EAAU,EAAA,gBAAgB,EAAO,MAAQ,CAAQ,EACvD,GAAI,IAAY,EAAU,CACxB,GAAI,KAAW,EACb,MAAU,MAAM,eAAe,EAAQ,kBAAkB,EAK3D,OAHA,MAAM,EAAA,QAAgB,eACpB,EAAA,0BAA0B,EAAU,EAAS,EAAU,CAAM,CAC/D,EACO,CACT,CAMA,OAJA,MAAM,EAAA,QAAgB,eACpB,EACA,EAAA,oBAAoB,EAAU,CAAM,CACtC,EACO,CACT,EACA,WAAY,EAAmB,IAAc,CAI3C,EAAA,qBAAqB,CAAiB,EACtC,EAAA,qBAAqB,EAAA,sBAAsB,EAAU,MAAM,CAAC,EAC5D,EAAY,kBAAkB,CAC5B,SAAU,EAAA,oBAAoB,SAAS,CACzC,CAAC,CACH,CACF,CAAC,CACH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MCPServerConfig } from "#/types/mcp-server";
|
|
2
|
-
export declare function useUpdateMcpServer(): import("@tanstack/react-query").UseMutationResult<
|
|
2
|
+
export declare function useUpdateMcpServer(): import("@tanstack/react-query").UseMutationResult<string, import("axios").AxiosError<unknown, any>, {
|
|
3
3
|
serverId: string;
|
|
4
4
|
server: MCPServerConfig;
|
|
5
5
|
}, unknown>;
|
|
@@ -1,30 +1,45 @@
|
|
|
1
1
|
import { SETTINGS_QUERY_KEYS as e } from "../query/query-keys.js";
|
|
2
2
|
import { useQueryClient as t } from "../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js";
|
|
3
3
|
import { useMutation as n } from "../../node_modules/@tanstack/react-query/build/modern/useMutation.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { getMcpServerHealthKey as
|
|
4
|
+
import { toMcpServerName as r } from "../../utils/mcp-server-name.js";
|
|
5
|
+
import { buildMcpServerPatch as i, buildRenameMcpConfigPatch as a, parseMcpConfig as o } from "../../utils/mcp-config.js";
|
|
6
|
+
import s from "../../api/settings-service/settings-service.api.js";
|
|
7
|
+
import { useSettings as c } from "../query/use-settings.js";
|
|
8
|
+
import { clearMcpServerHealth as l } from "../../api/mcp-health/mcp-health-store.js";
|
|
9
|
+
import { getMcpServerHealthKey as u } from "../../utils/mcp-server-health-key.js";
|
|
10
10
|
//#region src/hooks/mutation/use-update-mcp-server.ts
|
|
11
|
-
function
|
|
12
|
-
let
|
|
11
|
+
function d() {
|
|
12
|
+
let d = t(), { data: f } = c();
|
|
13
13
|
return n({
|
|
14
14
|
mutationFn: async ({ serverId: e, server: t }) => {
|
|
15
|
-
let n =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
let n = f?.mcp_config ?? o(f?.agent_settings?.mcp_config), c = n[e];
|
|
16
|
+
if (!c) throw Error(`MCP server "${e}" no longer exists.`);
|
|
17
|
+
let l = u({
|
|
18
|
+
id: e,
|
|
19
|
+
type: c.transport === "stdio" ? "stdio" : c.transport === "sse" ? "sse" : "shttp",
|
|
20
|
+
name: e,
|
|
21
|
+
...c.transport === "stdio" ? {
|
|
22
|
+
command: c.command,
|
|
23
|
+
args: c.args ?? void 0,
|
|
24
|
+
env: c.env ?? void 0
|
|
25
|
+
} : {
|
|
26
|
+
url: c.url,
|
|
27
|
+
headers: c.headers ?? void 0,
|
|
28
|
+
auth: c.auth ?? void 0
|
|
29
|
+
}
|
|
30
|
+
}), d = r(t.name || e);
|
|
31
|
+
if (d !== e) {
|
|
32
|
+
if (d in n) throw Error(`MCP server "${d}" already exists.`);
|
|
33
|
+
return await s.patchMcpConfig(a(e, d, c, t)), l;
|
|
34
|
+
}
|
|
35
|
+
return await s.patchMcpServer(e, i(c, t)), l;
|
|
21
36
|
},
|
|
22
37
|
onSuccess: (t, n) => {
|
|
23
|
-
u(
|
|
38
|
+
l(t), l(u(n.server)), d.invalidateQueries({ queryKey: e.personal() });
|
|
24
39
|
}
|
|
25
40
|
});
|
|
26
41
|
}
|
|
27
42
|
//#endregion
|
|
28
|
-
export {
|
|
43
|
+
export { d as useUpdateMcpServer };
|
|
29
44
|
|
|
30
45
|
//# sourceMappingURL=use-update-mcp-server.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-update-mcp-server.js","names":[],"sources":["../../../src/hooks/mutation/use-update-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useSettings } from \"#/hooks/query/use-settings\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport {
|
|
1
|
+
{"version":3,"file":"use-update-mcp-server.js","names":[],"sources":["../../../src/hooks/mutation/use-update-mcp-server.ts"],"sourcesContent":["import { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { useSettings } from \"#/hooks/query/use-settings\";\nimport SettingsService from \"#/api/settings-service/settings-service.api\";\nimport { MCPServerConfig } from \"#/types/mcp-server\";\nimport {\n buildMcpServerPatch,\n buildRenameMcpConfigPatch,\n parseMcpConfig,\n} from \"#/utils/mcp-config\";\nimport { SETTINGS_QUERY_KEYS } from \"#/hooks/query/query-keys\";\nimport { clearMcpServerHealth } from \"#/api/mcp-health/mcp-health-store\";\nimport { getMcpServerHealthKey } from \"#/utils/mcp-server-health-key\";\nimport { toMcpServerName } from \"#/utils/mcp-server-name\";\n\n// @spec MCP-001 — Sparse mutations preserve sibling servers\nexport function useUpdateMcpServer() {\n const queryClient = useQueryClient();\n const { data: settings } = useSettings();\n\n return useMutation({\n mutationFn: async ({\n serverId,\n server,\n }: {\n serverId: string;\n server: MCPServerConfig;\n }): Promise<string> => {\n const currentConfig =\n settings?.mcp_config ??\n parseMcpConfig(settings?.agent_settings?.mcp_config);\n const previous = currentConfig[serverId];\n if (!previous) {\n throw new Error(`MCP server \"${serverId}\" no longer exists.`);\n }\n const previousHealthKey = getMcpServerHealthKey({\n id: serverId,\n type:\n previous.transport === \"stdio\"\n ? \"stdio\"\n : previous.transport === \"sse\"\n ? \"sse\"\n : \"shttp\",\n name: serverId,\n ...(previous.transport === \"stdio\"\n ? {\n command: previous.command,\n args: previous.args ?? undefined,\n env: previous.env ?? undefined,\n }\n : {\n url: previous.url,\n headers: previous.headers ?? undefined,\n auth: previous.auth ?? undefined,\n }),\n });\n\n const nextKey = toMcpServerName(server.name || serverId);\n if (nextKey !== serverId) {\n if (nextKey in currentConfig) {\n throw new Error(`MCP server \"${nextKey}\" already exists.`);\n }\n await SettingsService.patchMcpConfig(\n buildRenameMcpConfigPatch(serverId, nextKey, previous, server),\n );\n return previousHealthKey;\n }\n\n await SettingsService.patchMcpServer(\n serverId,\n buildMcpServerPatch(previous, server),\n );\n return previousHealthKey;\n },\n onSuccess: (previousHealthKey, variables) => {\n // The stored config changed, so any prior health verdict for it is\n // stale. This hook-level reset runs before the caller's onSuccess,\n // letting save flows re-seed from their fresh pre-save test result.\n clearMcpServerHealth(previousHealthKey);\n clearMcpServerHealth(getMcpServerHealthKey(variables.server));\n queryClient.invalidateQueries({\n queryKey: SETTINGS_QUERY_KEYS.personal(),\n });\n },\n });\n}\n"],"mappings":";;;;;;;;;;AAeA,SAAgB,IAAqB;CACnC,IAAM,IAAc,EAAe,GAC7B,EAAE,MAAM,MAAa,EAAY;CAEvC,OAAO,EAAY;EACjB,YAAY,OAAO,EACjB,aACA,gBAIqB;GACrB,IAAM,IACJ,GAAU,cACV,EAAe,GAAU,gBAAgB,UAAU,GAC/C,IAAW,EAAc;GAC/B,IAAI,CAAC,GACH,MAAU,MAAM,eAAe,EAAS,oBAAoB;GAE9D,IAAM,IAAoB,EAAsB;IAC9C,IAAI;IACJ,MACE,EAAS,cAAc,UACnB,UACA,EAAS,cAAc,QACrB,QACA;IACR,MAAM;IACN,GAAI,EAAS,cAAc,UACvB;KACE,SAAS,EAAS;KAClB,MAAM,EAAS,QAAQ,KAAA;KACvB,KAAK,EAAS,OAAO,KAAA;IACvB,IACA;KACE,KAAK,EAAS;KACd,SAAS,EAAS,WAAW,KAAA;KAC7B,MAAM,EAAS,QAAQ,KAAA;IACzB;GACN,CAAC,GAEK,IAAU,EAAgB,EAAO,QAAQ,CAAQ;GACvD,IAAI,MAAY,GAAU;IACxB,IAAI,KAAW,GACb,MAAU,MAAM,eAAe,EAAQ,kBAAkB;IAK3D,OAHA,MAAM,EAAgB,eACpB,EAA0B,GAAU,GAAS,GAAU,CAAM,CAC/D,GACO;GACT;GAMA,OAJA,MAAM,EAAgB,eACpB,GACA,EAAoB,GAAU,CAAM,CACtC,GACO;EACT;EACA,YAAY,GAAmB,MAAc;GAM3C,AAFA,EAAqB,CAAiB,GACtC,EAAqB,EAAsB,EAAU,MAAM,CAAC,GAC5D,EAAY,kBAAkB,EAC5B,UAAU,EAAoB,SAAS,EACzC,CAAC;EACH;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-keys.cjs","names":[],"sources":["../../../src/hooks/query/query-keys.ts"],"sourcesContent":["/**\n * Centralized query keys and cache configuration for TanStack Query.\n * Using constants ensures type safety and prevents typos.\n */\n\nimport { SettingsScope } from \"#/types/settings\";\n\nexport const QUERY_KEYS = {\n /** Web client configuration from the server */\n WEB_CLIENT_CONFIG: [\"web-client-config\"] as const,\n /** Same-origin OpenHands app cookie authentication status */\n MAIN_APP_COOKIE_AUTH: [\"main-app-cookie-auth\"] as const,\n} as const;\n\nexport const SETTINGS_QUERY_KEYS = {\n all: [\"settings\"] as const,\n byScope: (scope: SettingsScope) => [\"settings\", scope] as const,\n personal: () => [\"settings\", \"personal\"] as const,\n} as const;\n\nexport const LLM_PROFILES_QUERY_KEYS = {\n all: [\"llm-profiles\"] as const,\n} as const;\n\nexport const AGENT_PROFILES_QUERY_KEYS = {\n all: [\"agent-profiles\"] as const,\n} as const;\n\n/** Fail fast when older backends lack the profile endpoint. */\nexport const AGENT_PROFILES_RETRY_OPTIONS = {\n retry: false,\n} as const;\n\nexport const LLM_SUBSCRIPTION_QUERY_KEYS = {\n all: [\"llm-subscription\"] as const,\n openaiStatus: [\"llm-subscription\", \"openai\", \"status\"] as const,\n openaiModels: [\"llm-subscription\", \"openai\", \"models\"] as const,\n} as const;\n\nexport const LOCAL_WORKSPACES_QUERY_KEYS = {\n all: [\"local-workspaces\"] as const,\n} as const;\n\nexport const PLUGINS_QUERY_KEYS = {\n /** Dynamic marketplace catalog (used by `use-plugins-marketplace`). */\n marketplace: [\"plugins-marketplace\"] as const,\n /** Installed plugins from the local agent-server. */\n installed: [\"plugins-installed\"] as const,\n /** Locally-discovered ambient plugins (used by `use-local-plugins`). */\n local: [\"plugins-local\"] as const,\n} as const;\n\nexport const APP_UPDATE_QUERY_KEYS = {\n /** Latest published @openhands/agent-canvas version (npm `latest` dist-tag). */\n latestVersion: [\"agent-canvas-latest-version\"] as const,\n} as const;\n\n/** Cache configuration shared across all config-related queries */\nexport const CONFIG_CACHE_OPTIONS = {\n staleTime: 1000 * 60 * 5, // 5 minutes\n gcTime: 1000 * 60 * 15, // 15 minutes\n} as const;\n\nexport type QueryKeys = (typeof QUERY_KEYS)[keyof typeof QUERY_KEYS];\n"],"mappings":"gDAOA,IAAa,EAAa,CAExB,kBAAmB,CAAC,mBAAmB,EAEvC,qBAAsB,CAAC,sBAAsB,CAC/C,EAEa,EAAsB,CACjC,IAAK,CAAC,UAAU,EAChB,QAAU,GAAyB,CAAC,WAAY,CAAK,EACrD,aAAgB,CAAC,WAAY,UAAU,CACzC,EAEa,EAA0B,CACrC,IAAK,CAAC,cAAc,CACtB,EAEa,EAA4B,CACvC,IAAK,CAAC,gBAAgB,CACxB,EAGa,EAA+B,CAC1C,MAAO,EACT,EAEa,EAA8B,CACzC,IAAK,CAAC,kBAAkB,EACxB,aAAc,CAAC,mBAAoB,SAAU,QAAQ,EACrD,aAAc,CAAC,mBAAoB,SAAU,QAAQ,CACvD,EAEa,EAA8B,CACzC,IAAK,CAAC,kBAAkB,CAC1B,EAEa,EAAqB,CAEhC,YAAa,CAAC,qBAAqB,EAEnC,UAAW,CAAC,mBAAmB,EAE/B,MAAO,CAAC,eAAe,CACzB,
|
|
1
|
+
{"version":3,"file":"query-keys.cjs","names":[],"sources":["../../../src/hooks/query/query-keys.ts"],"sourcesContent":["/**\n * Centralized query keys and cache configuration for TanStack Query.\n * Using constants ensures type safety and prevents typos.\n */\n\nimport { SettingsScope } from \"#/types/settings\";\n\nexport const QUERY_KEYS = {\n /** Web client configuration from the server */\n WEB_CLIENT_CONFIG: [\"web-client-config\"] as const,\n /** Same-origin OpenHands app cookie authentication status */\n MAIN_APP_COOKIE_AUTH: [\"main-app-cookie-auth\"] as const,\n} as const;\n\nexport const SETTINGS_QUERY_KEYS = {\n all: [\"settings\"] as const,\n byScope: (scope: SettingsScope) => [\"settings\", scope] as const,\n personal: () => [\"settings\", \"personal\"] as const,\n} as const;\n\nexport const LLM_PROFILES_QUERY_KEYS = {\n all: [\"llm-profiles\"] as const,\n} as const;\n\nexport const AGENT_PROFILES_QUERY_KEYS = {\n all: [\"agent-profiles\"] as const,\n} as const;\n\n/** Fail fast when older backends lack the profile endpoint. */\nexport const AGENT_PROFILES_RETRY_OPTIONS = {\n retry: false,\n} as const;\n\nexport const LLM_SUBSCRIPTION_QUERY_KEYS = {\n all: [\"llm-subscription\"] as const,\n openaiStatus: [\"llm-subscription\", \"openai\", \"status\"] as const,\n openaiModels: [\"llm-subscription\", \"openai\", \"models\"] as const,\n} as const;\n\nexport const LOCAL_WORKSPACES_QUERY_KEYS = {\n all: [\"local-workspaces\"] as const,\n} as const;\n\nexport const PLUGINS_QUERY_KEYS = {\n /** Dynamic marketplace catalog (used by `use-plugins-marketplace`). */\n marketplace: [\"plugins-marketplace\"] as const,\n /** Installed plugins from the local agent-server. */\n installed: [\"plugins-installed\"] as const,\n /** Locally-discovered ambient plugins (used by `use-local-plugins`). */\n local: [\"plugins-local\"] as const,\n} as const;\n\nexport const SETUP_QUERY_KEYS = {\n /** What the deployment supports. The same answer for every setup entry. */\n capabilities: () => [\"setup-capabilities\"] as const,\n} as const;\n\nexport const APP_UPDATE_QUERY_KEYS = {\n /** Latest published @openhands/agent-canvas version (npm `latest` dist-tag). */\n latestVersion: [\"agent-canvas-latest-version\"] as const,\n} as const;\n\n/** Cache configuration shared across all config-related queries */\nexport const CONFIG_CACHE_OPTIONS = {\n staleTime: 1000 * 60 * 5, // 5 minutes\n gcTime: 1000 * 60 * 15, // 15 minutes\n} as const;\n\nexport type QueryKeys = (typeof QUERY_KEYS)[keyof typeof QUERY_KEYS];\n"],"mappings":"gDAOA,IAAa,EAAa,CAExB,kBAAmB,CAAC,mBAAmB,EAEvC,qBAAsB,CAAC,sBAAsB,CAC/C,EAEa,EAAsB,CACjC,IAAK,CAAC,UAAU,EAChB,QAAU,GAAyB,CAAC,WAAY,CAAK,EACrD,aAAgB,CAAC,WAAY,UAAU,CACzC,EAEa,EAA0B,CACrC,IAAK,CAAC,cAAc,CACtB,EAEa,EAA4B,CACvC,IAAK,CAAC,gBAAgB,CACxB,EAGa,EAA+B,CAC1C,MAAO,EACT,EAEa,EAA8B,CACzC,IAAK,CAAC,kBAAkB,EACxB,aAAc,CAAC,mBAAoB,SAAU,QAAQ,EACrD,aAAc,CAAC,mBAAoB,SAAU,QAAQ,CACvD,EAEa,EAA8B,CACzC,IAAK,CAAC,kBAAkB,CAC1B,EAEa,EAAqB,CAEhC,YAAa,CAAC,qBAAqB,EAEnC,UAAW,CAAC,mBAAmB,EAE/B,MAAO,CAAC,eAAe,CACzB,EAOa,EAAwB,CAEnC,cAAe,CAAC,6BAA6B,CAC/C,EAGa,EAAuB,CAClC,UAAW,IAAO,GAAK,EACvB,OAAQ,IAAO,GAAK,EACtB"}
|
|
@@ -40,6 +40,10 @@ export declare const PLUGINS_QUERY_KEYS: {
|
|
|
40
40
|
/** Locally-discovered ambient plugins (used by `use-local-plugins`). */
|
|
41
41
|
readonly local: readonly ["plugins-local"];
|
|
42
42
|
};
|
|
43
|
+
export declare const SETUP_QUERY_KEYS: {
|
|
44
|
+
/** What the deployment supports. The same answer for every setup entry. */
|
|
45
|
+
readonly capabilities: () => readonly ["setup-capabilities"];
|
|
46
|
+
};
|
|
43
47
|
export declare const APP_UPDATE_QUERY_KEYS: {
|
|
44
48
|
/** Latest published @openhands/agent-canvas version (npm `latest` dist-tag). */
|
|
45
49
|
readonly latestVersion: readonly ["agent-canvas-latest-version"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-keys.js","names":[],"sources":["../../../src/hooks/query/query-keys.ts"],"sourcesContent":["/**\n * Centralized query keys and cache configuration for TanStack Query.\n * Using constants ensures type safety and prevents typos.\n */\n\nimport { SettingsScope } from \"#/types/settings\";\n\nexport const QUERY_KEYS = {\n /** Web client configuration from the server */\n WEB_CLIENT_CONFIG: [\"web-client-config\"] as const,\n /** Same-origin OpenHands app cookie authentication status */\n MAIN_APP_COOKIE_AUTH: [\"main-app-cookie-auth\"] as const,\n} as const;\n\nexport const SETTINGS_QUERY_KEYS = {\n all: [\"settings\"] as const,\n byScope: (scope: SettingsScope) => [\"settings\", scope] as const,\n personal: () => [\"settings\", \"personal\"] as const,\n} as const;\n\nexport const LLM_PROFILES_QUERY_KEYS = {\n all: [\"llm-profiles\"] as const,\n} as const;\n\nexport const AGENT_PROFILES_QUERY_KEYS = {\n all: [\"agent-profiles\"] as const,\n} as const;\n\n/** Fail fast when older backends lack the profile endpoint. */\nexport const AGENT_PROFILES_RETRY_OPTIONS = {\n retry: false,\n} as const;\n\nexport const LLM_SUBSCRIPTION_QUERY_KEYS = {\n all: [\"llm-subscription\"] as const,\n openaiStatus: [\"llm-subscription\", \"openai\", \"status\"] as const,\n openaiModels: [\"llm-subscription\", \"openai\", \"models\"] as const,\n} as const;\n\nexport const LOCAL_WORKSPACES_QUERY_KEYS = {\n all: [\"local-workspaces\"] as const,\n} as const;\n\nexport const PLUGINS_QUERY_KEYS = {\n /** Dynamic marketplace catalog (used by `use-plugins-marketplace`). */\n marketplace: [\"plugins-marketplace\"] as const,\n /** Installed plugins from the local agent-server. */\n installed: [\"plugins-installed\"] as const,\n /** Locally-discovered ambient plugins (used by `use-local-plugins`). */\n local: [\"plugins-local\"] as const,\n} as const;\n\nexport const APP_UPDATE_QUERY_KEYS = {\n /** Latest published @openhands/agent-canvas version (npm `latest` dist-tag). */\n latestVersion: [\"agent-canvas-latest-version\"] as const,\n} as const;\n\n/** Cache configuration shared across all config-related queries */\nexport const CONFIG_CACHE_OPTIONS = {\n staleTime: 1000 * 60 * 5, // 5 minutes\n gcTime: 1000 * 60 * 15, // 15 minutes\n} as const;\n\nexport type QueryKeys = (typeof QUERY_KEYS)[keyof typeof QUERY_KEYS];\n"],"mappings":";AAOA,IAAa,IAAa;CAExB,mBAAmB,CAAC,mBAAmB;CAEvC,sBAAsB,CAAC,sBAAsB;AAC/C,GAEa,IAAsB;CACjC,KAAK,CAAC,UAAU;CAChB,UAAU,MAAyB,CAAC,YAAY,CAAK;CACrD,gBAAgB,CAAC,YAAY,UAAU;AACzC,GAEa,IAA0B,EACrC,KAAK,CAAC,cAAc,EACtB,GAEa,IAA4B,EACvC,KAAK,CAAC,gBAAgB,EACxB,GAGa,IAA+B,EAC1C,OAAO,GACT,GAEa,IAA8B;CACzC,KAAK,CAAC,kBAAkB;CACxB,cAAc;EAAC;EAAoB;EAAU;CAAQ;CACrD,cAAc;EAAC;EAAoB;EAAU;CAAQ;AACvD,GAEa,IAA8B,EACzC,KAAK,CAAC,kBAAkB,EAC1B,GAEa,IAAqB;CAEhC,aAAa,CAAC,qBAAqB;CAEnC,WAAW,CAAC,mBAAmB;CAE/B,OAAO,CAAC,eAAe;AACzB,
|
|
1
|
+
{"version":3,"file":"query-keys.js","names":[],"sources":["../../../src/hooks/query/query-keys.ts"],"sourcesContent":["/**\n * Centralized query keys and cache configuration for TanStack Query.\n * Using constants ensures type safety and prevents typos.\n */\n\nimport { SettingsScope } from \"#/types/settings\";\n\nexport const QUERY_KEYS = {\n /** Web client configuration from the server */\n WEB_CLIENT_CONFIG: [\"web-client-config\"] as const,\n /** Same-origin OpenHands app cookie authentication status */\n MAIN_APP_COOKIE_AUTH: [\"main-app-cookie-auth\"] as const,\n} as const;\n\nexport const SETTINGS_QUERY_KEYS = {\n all: [\"settings\"] as const,\n byScope: (scope: SettingsScope) => [\"settings\", scope] as const,\n personal: () => [\"settings\", \"personal\"] as const,\n} as const;\n\nexport const LLM_PROFILES_QUERY_KEYS = {\n all: [\"llm-profiles\"] as const,\n} as const;\n\nexport const AGENT_PROFILES_QUERY_KEYS = {\n all: [\"agent-profiles\"] as const,\n} as const;\n\n/** Fail fast when older backends lack the profile endpoint. */\nexport const AGENT_PROFILES_RETRY_OPTIONS = {\n retry: false,\n} as const;\n\nexport const LLM_SUBSCRIPTION_QUERY_KEYS = {\n all: [\"llm-subscription\"] as const,\n openaiStatus: [\"llm-subscription\", \"openai\", \"status\"] as const,\n openaiModels: [\"llm-subscription\", \"openai\", \"models\"] as const,\n} as const;\n\nexport const LOCAL_WORKSPACES_QUERY_KEYS = {\n all: [\"local-workspaces\"] as const,\n} as const;\n\nexport const PLUGINS_QUERY_KEYS = {\n /** Dynamic marketplace catalog (used by `use-plugins-marketplace`). */\n marketplace: [\"plugins-marketplace\"] as const,\n /** Installed plugins from the local agent-server. */\n installed: [\"plugins-installed\"] as const,\n /** Locally-discovered ambient plugins (used by `use-local-plugins`). */\n local: [\"plugins-local\"] as const,\n} as const;\n\nexport const SETUP_QUERY_KEYS = {\n /** What the deployment supports. The same answer for every setup entry. */\n capabilities: () => [\"setup-capabilities\"] as const,\n} as const;\n\nexport const APP_UPDATE_QUERY_KEYS = {\n /** Latest published @openhands/agent-canvas version (npm `latest` dist-tag). */\n latestVersion: [\"agent-canvas-latest-version\"] as const,\n} as const;\n\n/** Cache configuration shared across all config-related queries */\nexport const CONFIG_CACHE_OPTIONS = {\n staleTime: 1000 * 60 * 5, // 5 minutes\n gcTime: 1000 * 60 * 15, // 15 minutes\n} as const;\n\nexport type QueryKeys = (typeof QUERY_KEYS)[keyof typeof QUERY_KEYS];\n"],"mappings":";AAOA,IAAa,IAAa;CAExB,mBAAmB,CAAC,mBAAmB;CAEvC,sBAAsB,CAAC,sBAAsB;AAC/C,GAEa,IAAsB;CACjC,KAAK,CAAC,UAAU;CAChB,UAAU,MAAyB,CAAC,YAAY,CAAK;CACrD,gBAAgB,CAAC,YAAY,UAAU;AACzC,GAEa,IAA0B,EACrC,KAAK,CAAC,cAAc,EACtB,GAEa,IAA4B,EACvC,KAAK,CAAC,gBAAgB,EACxB,GAGa,IAA+B,EAC1C,OAAO,GACT,GAEa,IAA8B;CACzC,KAAK,CAAC,kBAAkB;CACxB,cAAc;EAAC;EAAoB;EAAU;CAAQ;CACrD,cAAc;EAAC;EAAoB;EAAU;CAAQ;AACvD,GAEa,IAA8B,EACzC,KAAK,CAAC,kBAAkB,EAC1B,GAEa,IAAqB;CAEhC,aAAa,CAAC,qBAAqB;CAEnC,WAAW,CAAC,mBAAmB;CAE/B,OAAO,CAAC,eAAe;AACzB,GAOa,IAAwB,EAEnC,eAAe,CAAC,6BAA6B,EAC/C,GAGa,IAAuB;CAClC,WAAW,MAAO,KAAK;CACvB,QAAQ,MAAO,KAAK;AACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useActiveConversation: () => import("@tanstack/react-query").UseQueryResult<import("../../api/conversation-service/agent-server-conversation-service.types").AppConversation | null
|
|
1
|
+
export declare const useActiveConversation: () => import("@tanstack/react-query").UseQueryResult<NoInfer<import("../../api/conversation-service/agent-server-conversation-service.types").AppConversation | null>, import("axios").AxiosError<unknown, any>>;
|
|
@@ -10,4 +10,4 @@ interface UseAgentProfilesOptions {
|
|
|
10
10
|
* user. Works on both local and cloud backends — `AgentProfilesService` routes
|
|
11
11
|
* cloud calls through the cloud proxy (OpenHands #15060).
|
|
12
12
|
*/
|
|
13
|
-
export declare function useAgentProfiles(options?: UseAgentProfilesOptions): import("@tanstack/react-query").UseQueryResult<import("@openhands/typescript-client").AgentProfileListResponse
|
|
13
|
+
export declare function useAgentProfiles(options?: UseAgentProfilesOptions): import("@tanstack/react-query").UseQueryResult<NoInfer<import("@openhands/typescript-client").AgentProfileListResponse>, import("axios").AxiosError<unknown, any>>;
|
|
@@ -6,4 +6,4 @@ import { Provider } from "#/types/settings";
|
|
|
6
6
|
* between backends (Local ↔ Cloud, Cloud A ↔ Cloud B) naturally produces
|
|
7
7
|
* a fresh query — no `clear()`/`invalidate` orchestration required.
|
|
8
8
|
*/
|
|
9
|
-
export declare const useAppInstallations: (selectedProvider: Provider | null) => import("@tanstack/react-query").UseQueryResult<import("../../types/git").InstallationPage
|
|
9
|
+
export declare const useAppInstallations: (selectedProvider: Provider | null) => import("@tanstack/react-query").UseQueryResult<NoInfer<import("../../types/git").InstallationPage>, import("axios").AxiosError<unknown, any>>;
|