@openhands/agent-canvas 1.14.0 → 1.16.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 +15 -1
- package/README.windows.md +2 -2
- package/build/assets/acp-providers-CX3Lh9gj.js +1 -0
- package/build/assets/active-backend-context-CrHTlgvN.js +2 -0
- package/build/assets/agent-context-settings-DSZlXrLj.js +1 -0
- package/build/assets/agent-profiles-settings-Dzgb7G9z.js +1 -0
- package/build/assets/agent-server-conversation-service.api-tnqNjbpE.js +86 -0
- package/build/assets/agent-settings-DLtsqaOs.js +2 -0
- package/build/assets/agent-settings-fFvR-XC2.js +1 -0
- package/build/assets/alert-banner-HP6mX-Vr.js +1 -0
- package/build/assets/api-error-message-B-XdSk3b.js +1 -0
- package/build/assets/api-key-entry-screen-qTzrmJcr.js +1 -0
- package/build/assets/app-settings-dbnneVaV.js +1 -0
- package/build/assets/automation-detail-BmwlCUAB.js +3 -0
- package/build/assets/automation-export-D3a3of4G.js +2 -0
- package/build/assets/automation-git-sync-CprN5DcU.js +1 -0
- package/build/assets/automation-setup-route-C40kXjMY.js +1 -0
- package/build/assets/automation-templates-BRppNh99.js +1 -0
- package/build/assets/automations-list-DuNcRawl.js +1 -0
- package/build/assets/back-nav-button-Cjl_hoxq.js +1 -0
- package/build/assets/backend-form-modal-lhGwzXFI.js +1 -0
- package/build/assets/backend-synced-settings-badge-DPkz30BE.js +1 -0
- package/build/assets/badge-BU3S0VtE.js +1 -0
- package/build/assets/base-modal-D_L0oEbG.js +1 -0
- package/build/assets/bot-dMYHVfYM.js +1 -0
- package/build/assets/brand-button-BAfk4wGP.js +1 -0
- package/build/assets/browser-DSAo0tz1.js +46 -0
- package/build/assets/browser-tab-C9vy56R5.js +1 -0
- package/build/assets/canvas-extension-page-dx1gFrfW.js +1 -0
- package/build/assets/canvas-extensions-8A-XhpgP.js +1 -0
- package/build/assets/canvas-extensions-runtime-2_x5Ezmi.js +1 -0
- package/build/assets/chat-send-button-MUQqCZCS.js +1 -0
- package/build/assets/check-CS0vmpQQ.js +1 -0
- package/build/assets/chevron-down-e1QBpjVy.js +1 -0
- package/build/assets/chevron-right-ZG4R5G4Q.js +1 -0
- package/build/assets/circle-check-DzWLNsbE.js +1 -0
- package/build/assets/circle-plus-check-toggle-BO_kFZt3.js +1 -0
- package/build/assets/cloud-funnel-analytics-CztBCCPp.js +1 -0
- package/build/assets/cog-D-MPQW6G.js +1 -0
- package/build/assets/command-menu--UIlGL72.js +1 -0
- package/build/assets/commits-tab-AnZwLvh-.js +1 -0
- package/build/assets/condenser-settings-DmEOje-7.js +1 -0
- package/build/assets/confirmation-modal-Dv1ktp8K.js +1 -0
- package/build/assets/context-menu-list-item-I86vKcmM.js +1 -0
- package/build/assets/conversation-BbGrAO4Z.js +93 -0
- package/build/assets/conversation-mYT6NAoj.js +1 -0
- package/build/assets/conversation-panel-mYT6NAoj.js +1 -0
- package/build/assets/conversation-state-store-B0ImPLHO.js +1 -0
- package/build/assets/conversation-store-Ca3ghXap.js +6 -0
- package/build/assets/conversation-tab-empty-state-FIbh_lc8.js +1 -0
- package/build/assets/copy-to-clipboard-button-Ca8iSkkA.js +1 -0
- package/build/assets/device-verify-Bhn2e_Ye.js +1 -0
- package/build/assets/dropdown-classes-Bc1djN0-.js +1 -0
- package/build/assets/edit-automation-modal-DadGbJ2u.js +1 -0
- package/build/assets/empty-state-BoGVDecT.js +1 -0
- package/build/assets/entry.client-CqyPPjOq.js +2 -0
- package/build/assets/enum-filter-dropdown-Bgca129f.js +1 -0
- package/build/assets/environment-switch-overlay-BmBRT7gv.js +1 -0
- package/build/assets/error-state-Body8Ngd.js +1 -0
- package/build/assets/extension-module-card-classes-DpeaYhYo.js +1 -0
- package/build/assets/extensions-hub-CcDqq_vR.js +1 -0
- package/build/assets/extensions-navigation-Cr4yzYk4.js +1 -0
- package/build/assets/external-link-DKUlnCQV.js +1 -0
- package/build/assets/files-tab-D4o2VyE_.js +1 -0
- package/build/assets/form-control-classes-Bkh5FGrD.js +1 -0
- package/build/assets/format-model-name-CasAP3nd.js +1 -0
- package/build/assets/get-git-path-ChKDVHZp.js +1 -0
- package/build/assets/git-repo-dropdown-4ROKl2cB.js +1 -0
- package/build/assets/git-repo-dropdown-BkqzkMmM.js +1 -0
- package/build/assets/highlighted-source-view-BFRxGT_Q.js +1 -0
- package/build/assets/home-ChpSuepX.js +1 -0
- package/build/assets/home-DIsB440S.js +1 -0
- package/build/assets/home-automation-run-tooltip-BVNDWjAH.js +1 -0
- package/build/assets/home-store-CY9Ej0ux.js +1 -0
- package/build/assets/index-home-BdlrFIif.js +1 -0
- package/build/assets/info-B6RQawoW.js +1 -0
- package/build/assets/install-server-modal-Dpy89p4g.js +1 -0
- package/build/assets/kebab-menu-item-content-D8hSNGmm.js +1 -0
- package/build/assets/key-BmVyxs-2.js +1 -0
- package/build/assets/launch-IrTDEFCs.js +1 -0
- package/build/assets/list-filter-DsEK7NFC.js +1 -0
- package/build/assets/list-todo-apgLVjMw.js +1 -0
- package/build/assets/llm-not-configured-banner-CIFABh3K.js +27 -0
- package/build/assets/llm-settings-B9juXhIa.js +1 -0
- package/build/assets/llm-settings-De1d5dfr.js +1 -0
- package/build/assets/llm-subscription-service-BpJ0ouQo.js +1 -0
- package/build/assets/loader-circle-CC1au6hc.js +1 -0
- package/build/assets/loading-spinner-BY9N3pOe.js +1 -0
- package/build/assets/manage-backends-modal-BrPV3oB-.js +1 -0
- package/build/assets/manifest-80fb1c29.js +1 -0
- package/build/assets/manifest-subpage-layout-CAOYzrYp.js +1 -0
- package/build/assets/map-provider-Cu3Zgumb.js +1 -0
- package/build/assets/markdown-renderer-BzTlxI8x.js +8 -0
- package/build/assets/mcp-BTs_SXfZ.js +1 -0
- package/build/assets/mcp-marketplace-utils-AIBzzHTO.js +1 -0
- package/build/assets/mcp-page-BEBYqH_K.js +9 -0
- package/build/assets/messages-DKV9cRc2.js +41 -0
- package/build/assets/modal-body-BxZjsju9.js +1 -0
- package/build/assets/modal-classes-C8eycCwG.js +1 -0
- package/build/assets/modal-close-button-DDzdRvCs.js +1 -0
- package/build/assets/mouse-pointer-click-Co2uyaPA.js +1 -0
- package/build/assets/onboarding-DV_OXoeP.js +1 -0
- package/build/assets/onboarding-modal-rkyBYkeQ.js +1 -0
- package/build/assets/organization-service.api-DrYNkEN_.js +1 -0
- package/build/assets/parse-git-remote-url-DpDM9bK6.js +1 -0
- package/build/assets/pencil-47jAZH_V.js +1 -0
- package/build/assets/pin-By41Vl5J.js +1 -0
- package/build/assets/planner-tab-C9uZmhme.js +1 -0
- package/build/assets/plug-CG5HFcNG.js +1 -0
- package/build/assets/plugins-management-service-BMJgC3Ga.js +1 -0
- package/build/assets/plus-C7Slq-0I.js +1 -0
- package/build/assets/profiles-service.api-ChoKrL0l.js +1 -0
- package/build/assets/providers-BhMcY5nv.js +1 -0
- package/build/assets/proxy-9Fe1v5na.js +1 -0
- package/build/assets/puzzle-JM_QaRm0.js +1 -0
- package/build/assets/recommended-automations-launcher-6ABrI9Cy.js +1 -0
- package/build/assets/refresh-cw-3q3Frrii.js +1 -0
- package/build/assets/root-Dc8YmC9F.js +2 -0
- package/build/assets/root-VDaypvK4.css +1 -0
- package/build/assets/root-layout-CXkhSPYh.js +2 -0
- package/build/assets/schema-field-D-y9-LDb.js +1 -0
- package/build/assets/scroll-fade-state-Dw-i4SGq.js +1 -0
- package/build/assets/sdk-section-page-BlFiizlG.js +1 -0
- package/build/assets/secret-form-BB7the8W.js +1 -0
- package/build/assets/secrets-service-ByZVENbp.js +1 -0
- package/build/assets/secrets-settings-B_GpxKW2.js +1 -0
- package/build/assets/server-process-C9RKzd1x.js +1 -0
- package/build/assets/settings-C0EWuBtA.js +1 -0
- package/build/assets/settings-CKqk8ZnH.js +1 -0
- package/build/assets/settings-dropdown-input-BcwylHs2.js +1 -0
- package/build/assets/settings-index-5w5UW2K3.js +1 -0
- package/build/assets/settings-input-Db-1g8Ql.js +1 -0
- package/build/assets/settings-list-classes-BzeSZbF2.js +1 -0
- package/build/assets/settings-modal-DfJ3tcJQ.js +1 -0
- package/build/assets/settings-service.api-DJ1r62Zr.js +1 -0
- package/build/assets/settings-switch-CS-dJDmA.js +1 -0
- package/build/assets/settings-utils-UYpEdPuD.js +1 -0
- package/build/assets/shared-conversation-CA5ISEDy.js +1 -0
- package/build/assets/shield-check-D2aCRd16.js +1 -0
- package/build/assets/sidebar-layout-D6fS8-Gl.js +1 -0
- package/build/assets/sidebar-mobile-menu-toggle-C_fb0Jki.js +1 -0
- package/build/assets/sidebar-nav-link-DQQcMf1A.js +1 -0
- package/build/assets/sidebar-onboarding-checklist-storage-BBkeI6Bp.js +1 -0
- package/build/assets/sidebar-store-DGqHkVLw.js +1 -0
- package/build/assets/skill-card-pill-row-B27-xyig.js +1 -0
- package/build/assets/skill-enablement-DXeaImBz.js +1 -0
- package/build/assets/skill-filter-w__3UCEE.js +2 -0
- package/build/assets/skill-icon-badge-RQkq8wvl.js +1 -0
- package/build/assets/skill-scope-B42H-XOc.js +1 -0
- package/build/assets/skills-plugins-tgF8EiXC.js +1 -0
- package/build/assets/skills-settings-BgJ9PaOe.js +1 -0
- package/build/assets/styled-tooltip-C4jf5Fv9.js +1 -0
- package/build/assets/task-list-tab-C5zcaktH.js +1 -0
- package/build/assets/terminal-CNElN42a.js +3 -0
- package/build/assets/toggle-switch-ChOLXv2n.js +1 -0
- package/build/assets/trash-2-D7K26eDO.js +1 -0
- package/build/assets/trash-D-HYiVYM.js +1 -0
- package/build/assets/triangle-alert-CtdXWHUI.js +1 -0
- package/build/assets/typography-v1KN0tzi.js +1 -0
- package/build/assets/usage-tab-CVDffLPt.js +1 -0
- package/build/assets/use-acp-credential-form-XIQmpX6M.js +1 -0
- package/build/assets/use-activate-agent-profile-BLfmvDiG.js +1 -0
- package/build/assets/use-agent-profiles-Bd9Bvvp1.js +1 -0
- package/build/assets/use-automation-health-E6NZi9rb.js +1 -0
- package/build/assets/use-automations-xijQKIl9.js +1 -0
- package/build/assets/use-can-manage-org-profiles-CrJP5262.js +1 -0
- package/build/assets/use-canvas-extensions-Bi693ujJ.js +1 -0
- package/build/assets/use-cloud-current-user-id-CDfAHpPX.js +1 -0
- package/build/assets/use-config-A9QovgXO.js +1 -0
- package/build/assets/use-create-conversation-Dx3l7mFZ.js +1 -0
- package/build/assets/use-create-secret-B9cUFWRG.js +1 -0
- package/build/assets/use-get-secrets-K3jmk-LH.js +1 -0
- package/build/assets/use-has-permission-B3C8rQmR.js +1 -0
- package/build/assets/use-is-authed-nTBcM7dE.js +1 -0
- package/build/assets/use-launch-skill-in-chat-BYjYihBP.js +1 -0
- package/build/assets/use-llm-configured-BV9nZ1_j.js +1 -0
- package/build/assets/use-llm-profiles-BO-P4Oyo.js +1 -0
- package/build/assets/use-manifest-capabilities-Cw_flwEz.js +1 -0
- package/build/assets/use-onboarding-completion-D8U7k4Qb.js +1 -0
- package/build/assets/use-pinned-home-route-CckOZrmb.js +1 -0
- package/build/assets/use-plugins-marketplace-7i94Zu3Z.js +1 -0
- package/build/assets/use-save-agent-profile-BUjSsDXK.js +1 -0
- package/build/assets/use-save-settings-DYqkKv7T.js +1 -0
- package/build/assets/use-settings-DSXLbvBl.js +1 -0
- package/build/assets/use-settings-nav-items-CwRw-CmX.js +16 -0
- package/build/assets/use-tracking-D53y3TH9.js +3 -0
- package/build/assets/use-user-conversation-B9Gebw_g.js +1 -0
- package/build/assets/useInfiniteQuery-C926xzY4.js +1 -0
- package/build/assets/useMutation-B-qc391N.js +1 -0
- package/build/assets/useQueries-DlbhlH9I.js +1 -0
- package/build/assets/useQuery-BSTgq1rl.js +1 -0
- package/build/assets/utils-CN5ZfZy1.js +1 -0
- package/build/assets/vendor~browser-hbU4u2Ag.js +47 -0
- package/build/assets/vendor~commits-tab-BaO2Ce3e.js +11 -0
- package/build/assets/vendor~conversation-panel~conversation-C8Fn4XOf.js +1 -0
- package/build/assets/vendor~entry.client-CoCfUXUF.js +1 -0
- package/build/assets/vendor~entry.client-DA2izTjq.js +9 -0
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~czjee3a3-DqZDXfg2.js +186 -0
- package/build/assets/vendor~index-home~home~conversation-panel~conversation-hWywRBaR.js +13 -0
- package/build/assets/vendor~root-layout-C9Ju9DQg.js +1 -0
- package/build/assets/vendor~root-layout~conversation-panel~conversation-BMbMgaGu.js +1 -0
- package/build/assets/vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-BWir3rJs.js +1 -0
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation-j5MFqfSy.js +1 -0
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation~mcp~automations-list~aut~ibfbmr9f-cDuKr-WD.js +1 -0
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-DXqM7vqB.js +1 -0
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~iyia17eu-Chf7vmKB.js +1 -0
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~nj1hli3r-DP9wmsjo.js +48 -0
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-CUmIwQCN.js +5053 -0
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~jz4f6vo2-C7HiY4Ae.js +8459 -0
- package/build/assets/verification-settings-gw_q6vkL.js +1 -0
- package/build/assets/wrench-CUEI1krB.js +1 -0
- package/build/assets/x-DJdhbdmt.js +1 -0
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +156 -59
- package/build/locales/ca/openhands.json +156 -59
- package/build/locales/de/openhands.json +156 -59
- package/build/locales/en/openhands.json +156 -59
- package/build/locales/es/openhands.json +156 -59
- package/build/locales/fr/openhands.json +156 -59
- package/build/locales/it/openhands.json +156 -59
- package/build/locales/ja/openhands.json +156 -59
- package/build/locales/ko-KR/openhands.json +156 -59
- package/build/locales/no/openhands.json +156 -59
- package/build/locales/pt/openhands.json +156 -59
- package/build/locales/tr/openhands.json +156 -59
- package/build/locales/uk/openhands.json +156 -59
- package/build/locales/zh-CN/openhands.json +156 -59
- package/build/locales/zh-TW/openhands.json +156 -59
- package/config/defaults.json +9 -5
- package/dist/api/agent-profiles-service/profile-field-support.d.ts +26 -0
- package/dist/api/agent-server-adapter.cjs +3 -3
- package/dist/api/agent-server-adapter.cjs.map +1 -1
- package/dist/api/agent-server-adapter.d.ts +10 -1
- package/dist/api/agent-server-adapter.js +139 -132
- 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 +21 -0
- package/dist/api/agent-server-compatibility.js +52 -38
- package/dist/api/agent-server-compatibility.js.map +1 -1
- package/dist/api/agent-server-config.cjs +1 -1
- package/dist/api/agent-server-config.cjs.map +1 -1
- package/dist/api/agent-server-config.d.ts +26 -0
- package/dist/api/agent-server-config.js +18 -5
- package/dist/api/agent-server-config.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 +13 -2
- package/dist/api/automation-service/automation-service.api.js +99 -84
- package/dist/api/automation-service/automation-service.api.js.map +1 -1
- package/dist/api/backend-registry/url-selection.cjs +1 -1
- package/dist/api/backend-registry/url-selection.cjs.map +1 -1
- package/dist/api/backend-registry/url-selection.d.ts +2 -1
- package/dist/api/backend-registry/url-selection.js +2 -2
- package/dist/api/backend-registry/url-selection.js.map +1 -1
- package/dist/api/canvas-extensions-service.cjs +1 -0
- package/dist/api/canvas-extensions-service.d.ts +22 -0
- package/dist/api/canvas-extensions-service.js +4 -0
- package/dist/api/cloud/conversation-service.api.cjs +1 -1
- package/dist/api/cloud/conversation-service.api.cjs.map +1 -1
- package/dist/api/cloud/conversation-service.api.d.ts +6 -0
- package/dist/api/cloud/conversation-service.api.js +14 -6
- package/dist/api/cloud/conversation-service.api.js.map +1 -1
- package/dist/api/conversation-file-upload.api.cjs +1 -1
- package/dist/api/conversation-file-upload.api.js +10 -10
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs.map +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.d.ts +11 -0
- package/dist/api/conversation-service/agent-server-conversation-service.api.js +138 -122
- package/dist/api/conversation-service/agent-server-conversation-service.api.js.map +1 -1
- package/dist/api/event-service/event-service.api.cjs +1 -1
- package/dist/api/event-service/event-service.api.js +12 -12
- package/dist/api/git-provider-items-service.cjs +2 -0
- package/dist/api/git-provider-items-service.cjs.map +1 -0
- package/dist/api/git-provider-items-service.d.ts +25 -0
- package/dist/api/git-provider-items-service.js +127 -0
- package/dist/api/git-provider-items-service.js.map +1 -0
- package/dist/api/git-service/agent-server-git-service.api.cjs +1 -1
- package/dist/api/git-service/agent-server-git-service.api.js +8 -8
- package/dist/api/mcp-health/probe-mcp-server-health.cjs +1 -1
- package/dist/api/mcp-health/probe-mcp-server-health.js +31 -31
- package/dist/api/open-hands.types.d.ts +0 -19
- package/dist/api/profiles-service/profiles-service.api.cjs.map +1 -1
- package/dist/api/profiles-service/profiles-service.api.d.ts +16 -2
- package/dist/api/profiles-service/profiles-service.api.js.map +1 -1
- package/dist/api/provider-connections-service/provider-connections-service.api.cjs +2 -0
- package/dist/api/provider-connections-service/provider-connections-service.api.cjs.map +1 -0
- package/dist/api/provider-connections-service/provider-connections-service.api.d.ts +34 -0
- package/dist/api/provider-connections-service/provider-connections-service.api.js +50 -0
- package/dist/api/provider-connections-service/provider-connections-service.api.js.map +1 -0
- package/dist/api/runtime-service/agent-server-runtime-service.cjs +1 -1
- package/dist/api/runtime-service/agent-server-runtime-service.js +8 -8
- 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 +3 -2
- package/dist/api/settings-service/settings-service.api.js +2 -1
- package/dist/api/settings-service/settings-service.api.js.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/create-skill-ready-event.cjs +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/create-skill-ready-event.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/create-skill-ready-event.js +1 -1
- package/dist/components/conversation-events/chat/event-content-helpers/create-skill-ready-event.js.map +1 -1
- package/dist/components/conversation-events/chat/event-message-components/event-group.cjs +1 -1
- package/dist/components/conversation-events/chat/event-message-components/event-group.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-message-components/event-group.js +40 -36
- package/dist/components/conversation-events/chat/event-message-components/event-group.js.map +1 -1
- package/dist/components/conversation-events/chat/event-message.cjs +1 -1
- package/dist/components/conversation-events/chat/event-message.cjs.map +1 -1
- package/dist/components/conversation-events/chat/event-message.js +1 -1
- package/dist/components/conversation-events/chat/event-message.js.map +1 -1
- package/dist/components/conversation-events/chat/messages.cjs.map +1 -1
- package/dist/components/conversation-events/chat/messages.js.map +1 -1
- package/dist/components/features/automations/add-automation-menu.d.ts +7 -0
- package/dist/components/features/automations/add-automation-modal.cjs +2 -0
- package/dist/components/features/automations/add-automation-modal.cjs.map +1 -0
- package/dist/components/features/automations/add-automation-modal.js +42 -0
- package/dist/components/features/automations/add-automation-modal.js.map +1 -0
- package/dist/components/features/automations/automation-action-button-classes.cjs +2 -0
- package/dist/components/features/automations/automation-action-button-classes.cjs.map +1 -0
- package/dist/components/features/automations/automation-action-button-classes.d.ts +0 -2
- package/dist/components/features/automations/automation-action-button-classes.js +8 -0
- package/dist/components/features/automations/automation-action-button-classes.js.map +1 -0
- package/dist/components/features/automations/automation-card-skeleton.cjs +2 -0
- package/dist/components/features/automations/automation-card-skeleton.cjs.map +1 -0
- package/dist/components/features/automations/automation-card-skeleton.js +33 -0
- package/dist/components/features/automations/automation-card-skeleton.js.map +1 -0
- package/dist/components/features/automations/automation-card.cjs +2 -0
- package/dist/components/features/automations/automation-card.cjs.map +1 -0
- package/dist/components/features/automations/automation-card.d.ts +1 -1
- package/dist/components/features/automations/automation-card.js +170 -0
- package/dist/components/features/automations/automation-card.js.map +1 -0
- package/dist/components/features/automations/automation-group.cjs +2 -0
- package/dist/components/features/automations/automation-group.cjs.map +1 -0
- package/dist/components/features/automations/automation-group.js +54 -0
- package/dist/components/features/automations/automation-group.js.map +1 -0
- package/dist/components/features/automations/automation-list-row.cjs +2 -0
- package/dist/components/features/automations/automation-list-row.cjs.map +1 -0
- package/dist/components/features/automations/automation-list-row.js +152 -0
- package/dist/components/features/automations/automation-list-row.js.map +1 -0
- package/dist/components/features/automations/automation-run-insights.cjs +2 -0
- package/dist/components/features/automations/automation-run-insights.cjs.map +1 -0
- package/dist/components/features/automations/automation-run-insights.js +46 -0
- package/dist/components/features/automations/automation-run-insights.js.map +1 -0
- package/dist/components/features/automations/automation-view-mode.cjs +2 -0
- package/dist/components/features/automations/automation-view-mode.cjs.map +1 -0
- package/dist/components/features/automations/automation-view-mode.d.ts +5 -1
- package/dist/components/features/automations/automation-view-mode.js +6 -0
- package/dist/components/features/automations/automation-view-mode.js.map +1 -0
- package/dist/components/features/automations/backend-not-configured.cjs +2 -0
- package/dist/components/features/automations/backend-not-configured.cjs.map +1 -0
- package/dist/components/features/automations/backend-not-configured.js +34 -0
- package/dist/components/features/automations/backend-not-configured.js.map +1 -0
- package/dist/components/features/automations/build-automation-menu-items.cjs +2 -0
- package/dist/components/features/automations/build-automation-menu-items.cjs.map +1 -0
- package/dist/components/features/automations/build-automation-menu-items.js +53 -0
- package/dist/components/features/automations/build-automation-menu-items.js.map +1 -0
- package/dist/components/features/automations/build-automation-pills.cjs +2 -0
- package/dist/components/features/automations/build-automation-pills.cjs.map +1 -0
- package/dist/components/features/automations/build-automation-pills.js +71 -0
- package/dist/components/features/automations/build-automation-pills.js.map +1 -0
- package/dist/components/features/automations/create-instructions.cjs +2 -0
- package/dist/components/features/automations/create-instructions.cjs.map +1 -0
- package/dist/components/features/automations/create-instructions.js +102 -0
- package/dist/components/features/automations/create-instructions.js.map +1 -0
- package/dist/components/features/automations/dashboard/automations-dashboard-controls.d.ts +4 -3
- package/dist/components/features/automations/detail/run-phase.cjs +2 -0
- package/dist/components/features/automations/detail/run-phase.cjs.map +1 -0
- package/dist/components/features/automations/detail/run-phase.d.ts +89 -0
- package/dist/components/features/automations/detail/run-phase.js +72 -0
- package/dist/components/features/automations/detail/run-phase.js.map +1 -0
- package/dist/components/features/automations/detail/run-status-badge.cjs +2 -0
- package/dist/components/features/automations/detail/run-status-badge.cjs.map +1 -0
- package/dist/components/features/automations/detail/run-status-badge.js +102 -0
- package/dist/components/features/automations/detail/run-status-badge.js.map +1 -0
- package/dist/components/features/automations/empty-state.cjs +2 -0
- package/dist/components/features/automations/empty-state.cjs.map +1 -0
- package/dist/components/features/automations/empty-state.js +35 -0
- package/dist/components/features/automations/empty-state.js.map +1 -0
- package/dist/components/features/automations/error-state.cjs +2 -0
- package/dist/components/features/automations/error-state.cjs.map +1 -0
- package/dist/components/features/automations/error-state.js +28 -0
- package/dist/components/features/automations/error-state.js.map +1 -0
- package/dist/components/features/automations/import-automation-modal.d.ts +2 -1
- package/dist/components/features/automations/kebab-menu-item-content.cjs +2 -0
- package/dist/components/features/automations/kebab-menu-item-content.cjs.map +1 -0
- package/dist/components/features/automations/kebab-menu-item-content.js +21 -0
- package/dist/components/features/automations/kebab-menu-item-content.js.map +1 -0
- package/dist/components/features/automations/kebab-menu.cjs +2 -0
- package/dist/components/features/automations/kebab-menu.cjs.map +1 -0
- package/dist/components/features/automations/kebab-menu.d.ts +2 -1
- package/dist/components/features/automations/kebab-menu.js +76 -0
- package/dist/components/features/automations/kebab-menu.js.map +1 -0
- package/dist/components/features/automations/recommended-automations-launcher.cjs +2 -0
- package/dist/components/features/automations/recommended-automations-launcher.cjs.map +1 -0
- package/dist/components/features/automations/recommended-automations-launcher.d.ts +7 -1
- package/dist/components/features/automations/recommended-automations-launcher.js +134 -0
- package/dist/components/features/automations/recommended-automations-launcher.js.map +1 -0
- package/dist/components/features/automations/recommended-automations-rail.cjs +2 -0
- package/dist/components/features/automations/recommended-automations-rail.cjs.map +1 -0
- package/dist/components/features/automations/recommended-automations-rail.d.ts +9 -0
- package/dist/components/features/automations/recommended-automations-rail.js +127 -0
- package/dist/components/features/automations/recommended-automations-rail.js.map +1 -0
- package/dist/components/features/automations/recommended-automations-section.cjs +2 -0
- package/dist/components/features/automations/recommended-automations-section.cjs.map +1 -0
- package/dist/components/features/automations/recommended-automations-section.d.ts +2 -2
- package/dist/components/features/automations/recommended-automations-section.js +198 -0
- package/dist/components/features/automations/recommended-automations-section.js.map +1 -0
- package/dist/components/features/automations/responder-deployment-modal.cjs +2 -0
- package/dist/components/features/automations/responder-deployment-modal.cjs.map +1 -0
- package/dist/components/features/automations/responder-deployment-modal.js +75 -0
- package/dist/components/features/automations/responder-deployment-modal.js.map +1 -0
- package/dist/components/features/automations/status-badge.cjs +2 -0
- package/dist/components/features/automations/status-badge.cjs.map +1 -0
- package/dist/components/features/automations/status-badge.js +12 -0
- package/dist/components/features/automations/status-badge.js.map +1 -0
- package/dist/components/features/automations/to-latest-run-state.cjs +2 -0
- package/dist/components/features/automations/to-latest-run-state.cjs.map +1 -0
- package/dist/components/features/automations/to-latest-run-state.d.ts +6 -0
- package/dist/components/features/automations/to-latest-run-state.js +21 -0
- package/dist/components/features/automations/to-latest-run-state.js.map +1 -0
- 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.js +15 -21
- package/dist/components/features/backends/backend-form-modal.js.map +1 -1
- package/dist/components/features/backends/manage-backends-modal.cjs +1 -1
- package/dist/components/features/backends/manage-backends-modal.js +5 -5
- package/dist/components/features/canvas-extensions/add-canvas-extension-modal.d.ts +6 -0
- package/dist/components/features/canvas-extensions/canvas-extension-card.d.ts +9 -0
- package/dist/components/features/canvas-extensions/canvas-extensions-runtime.cjs +2 -0
- package/dist/components/features/canvas-extensions/canvas-extensions-runtime.cjs.map +1 -0
- package/dist/components/features/canvas-extensions/canvas-extensions-runtime.d.ts +23 -0
- package/dist/components/features/canvas-extensions/canvas-extensions-runtime.js +19 -0
- package/dist/components/features/canvas-extensions/canvas-extensions-runtime.js.map +1 -0
- package/dist/components/features/chat/chat-interface.cjs +2 -2
- package/dist/components/features/chat/chat-interface.cjs.map +1 -1
- package/dist/components/features/chat/chat-interface.js +138 -133
- package/dist/components/features/chat/chat-interface.js.map +1 -1
- package/dist/components/features/chat/chat-markdown-path-code.cjs +3 -0
- package/dist/components/features/chat/chat-markdown-path-code.cjs.map +1 -0
- package/dist/components/features/chat/chat-markdown-path-code.d.ts +27 -0
- package/dist/components/features/chat/chat-markdown-path-code.js +72 -0
- package/dist/components/features/chat/chat-markdown-path-code.js.map +1 -0
- package/dist/components/features/chat/path-component.cjs +1 -1
- package/dist/components/features/chat/path-component.cjs.map +1 -1
- package/dist/components/features/chat/path-component.d.ts +8 -2
- package/dist/components/features/chat/path-component.js +33 -21
- package/dist/components/features/chat/path-component.js.map +1 -1
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.cjs +1 -1
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.cjs.map +1 -1
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.js +38 -43
- package/dist/components/features/chat/tool-visualizers/file-editor/file-editor.js.map +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.cjs +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.cjs.map +1 -1
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.d.ts +8 -5
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.js +22 -16
- package/dist/components/features/chat/tool-visualizers/primitives/file-path-chip.js.map +1 -1
- package/dist/components/features/chat/user-message-body.cjs +1 -1
- package/dist/components/features/chat/user-message-body.cjs.map +1 -1
- package/dist/components/features/chat/user-message-body.d.ts +4 -0
- package/dist/components/features/chat/user-message-body.js +30 -24
- package/dist/components/features/chat/user-message-body.js.map +1 -1
- package/dist/components/features/command-menu/command-menu-items.d.ts +10 -4
- package/dist/components/features/conversation/conversation-git-actions-menu.cjs +2 -0
- package/dist/components/features/conversation/conversation-git-actions-menu.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-git-actions-menu.d.ts +15 -0
- package/dist/components/features/conversation/conversation-git-actions-menu.js +123 -0
- package/dist/components/features/conversation/conversation-git-actions-menu.js.map +1 -0
- package/dist/components/features/conversation/conversation-git-actions-toggle.cjs +2 -0
- package/dist/components/features/conversation/conversation-git-actions-toggle.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-git-actions-toggle.d.ts +10 -0
- package/dist/components/features/conversation/conversation-git-actions-toggle.js +60 -0
- package/dist/components/features/conversation/conversation-git-actions-toggle.js.map +1 -0
- package/dist/components/features/conversation/conversation-main/chat-interface-wrapper.cjs +1 -1
- package/dist/components/features/conversation/conversation-main/chat-interface-wrapper.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-main/chat-interface-wrapper.js +46 -10
- package/dist/components/features/conversation/conversation-main/chat-interface-wrapper.js.map +1 -1
- package/dist/components/features/conversation/conversation-main/conversation-main.cjs +1 -1
- package/dist/components/features/conversation/conversation-main/conversation-main.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-main/conversation-main.js +49 -43
- package/dist/components/features/conversation/conversation-main/conversation-main.js.map +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.cjs +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-name-with-status.js +49 -40
- package/dist/components/features/conversation/conversation-name-with-status.js.map +1 -1
- package/dist/components/features/conversation/conversation-name.cjs +1 -1
- package/dist/components/features/conversation/conversation-name.js +4 -4
- package/dist/components/features/conversation/conversation-overview-automations-panel.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-automations-panel.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-automations-panel.d.ts +6 -0
- package/dist/components/features/conversation/conversation-overview-automations-panel.js +48 -0
- package/dist/components/features/conversation/conversation-overview-automations-panel.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-context-menu.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-context-menu.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-context-menu.d.ts +10 -0
- package/dist/components/features/conversation/conversation-overview-context-menu.js +221 -0
- package/dist/components/features/conversation/conversation-overview-context-menu.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-diffs-row.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-diffs-row.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-diffs-row.d.ts +2 -0
- package/dist/components/features/conversation/conversation-overview-diffs-row.js +88 -0
- package/dist/components/features/conversation/conversation-overview-diffs-row.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer-content.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-drawer-content.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer-content.d.ts +6 -0
- package/dist/components/features/conversation/conversation-overview-drawer-content.js +138 -0
- package/dist/components/features/conversation/conversation-overview-drawer-content.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer-context.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-drawer-context.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer-context.d.ts +17 -0
- package/dist/components/features/conversation/conversation-overview-drawer-context.js +43 -0
- package/dist/components/features/conversation/conversation-overview-drawer-context.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-drawer.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer.constants.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-drawer.constants.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer.constants.d.ts +6 -0
- package/dist/components/features/conversation/conversation-overview-drawer.constants.js +6 -0
- package/dist/components/features/conversation/conversation-overview-drawer.constants.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer.d.ts +7 -0
- package/dist/components/features/conversation/conversation-overview-drawer.js +45 -0
- package/dist/components/features/conversation/conversation-overview-drawer.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer.types.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-drawer.types.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-drawer.types.d.ts +12 -0
- package/dist/components/features/conversation/conversation-overview-drawer.types.js +13 -0
- package/dist/components/features/conversation/conversation-overview-drawer.types.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-git-items-panel.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-git-items-panel.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-git-items-panel.d.ts +7 -0
- package/dist/components/features/conversation/conversation-overview-git-items-panel.js +81 -0
- package/dist/components/features/conversation/conversation-overview-git-items-panel.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-git-section.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-git-section.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-git-section.d.ts +6 -0
- package/dist/components/features/conversation/conversation-overview-git-section.js +143 -0
- package/dist/components/features/conversation/conversation-overview-git-section.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-mcp-panel.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-mcp-panel.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-mcp-panel.d.ts +6 -0
- package/dist/components/features/conversation/conversation-overview-mcp-panel.js +108 -0
- package/dist/components/features/conversation/conversation-overview-mcp-panel.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-panel.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-panel.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-panel.constants.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-panel.constants.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-panel.constants.d.ts +24 -0
- package/dist/components/features/conversation/conversation-overview-panel.constants.js +12 -0
- package/dist/components/features/conversation/conversation-overview-panel.constants.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-panel.d.ts +2 -0
- package/dist/components/features/conversation/conversation-overview-panel.js +102 -0
- package/dist/components/features/conversation/conversation-overview-panel.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-project-scope-toggle.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-project-scope-toggle.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-project-scope-toggle.d.ts +8 -0
- package/dist/components/features/conversation/conversation-overview-project-scope-toggle.js +29 -0
- package/dist/components/features/conversation/conversation-overview-project-scope-toggle.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-secrets-panel.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-secrets-panel.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-secrets-panel.d.ts +6 -0
- package/dist/components/features/conversation/conversation-overview-secrets-panel.js +89 -0
- package/dist/components/features/conversation/conversation-overview-secrets-panel.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-sections.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-sections.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-sections.d.ts +43 -0
- package/dist/components/features/conversation/conversation-overview-sections.js +27 -0
- package/dist/components/features/conversation/conversation-overview-sections.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-skills-panel.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-skills-panel.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-skills-panel.d.ts +6 -0
- package/dist/components/features/conversation/conversation-overview-skills-panel.js +120 -0
- package/dist/components/features/conversation/conversation-overview-skills-panel.js.map +1 -0
- package/dist/components/features/conversation/conversation-overview-toggle.cjs +2 -0
- package/dist/components/features/conversation/conversation-overview-toggle.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-overview-toggle.d.ts +11 -0
- package/dist/components/features/conversation/conversation-overview-toggle.js +99 -0
- package/dist/components/features/conversation/conversation-overview-toggle.js.map +1 -0
- package/dist/components/features/conversation/conversation-secondary-drawer.classes.cjs +2 -0
- package/dist/components/features/conversation/conversation-secondary-drawer.classes.cjs.map +1 -0
- package/dist/components/features/conversation/conversation-secondary-drawer.classes.d.ts +4 -0
- package/dist/components/features/conversation/conversation-secondary-drawer.classes.js +7 -0
- package/dist/components/features/conversation/conversation-secondary-drawer.classes.js.map +1 -0
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.cjs +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.js +10 -9
- package/dist/components/features/conversation/conversation-tabs/conversation-tab-content/conversation-tab-content.js.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.cjs +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.js +68 -62
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs-context-menu.js.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.cjs +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.js +89 -79
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.js.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/drawer-vscode-link.cjs +1 -1
- package/dist/components/features/conversation/conversation-tabs/drawer-vscode-link.cjs.map +1 -1
- package/dist/components/features/conversation/conversation-tabs/drawer-vscode-link.d.ts +1 -1
- package/dist/components/features/conversation/conversation-tabs/drawer-vscode-link.js +3 -3
- package/dist/components/features/conversation/conversation-tabs/drawer-vscode-link.js.map +1 -1
- package/dist/components/features/conversation/right-panel-toggle.cjs +1 -1
- package/dist/components/features/conversation/right-panel-toggle.cjs.map +1 -1
- package/dist/components/features/conversation/right-panel-toggle.d.ts +3 -2
- package/dist/components/features/conversation/right-panel-toggle.js +34 -33
- package/dist/components/features/conversation/right-panel-toggle.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.d.ts +2 -1
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.js +14 -7
- package/dist/components/features/conversation-panel/conversation-panel-list-helpers.js.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.cjs.map +1 -1
- package/dist/components/features/conversation-panel/conversation-panel.js +252 -225
- package/dist/components/features/conversation-panel/conversation-panel.js.map +1 -1
- package/dist/components/features/conversation-panel/local-new-conversation-menu.cjs +1 -1
- package/dist/components/features/conversation-panel/local-new-conversation-menu.cjs.map +1 -1
- package/dist/components/features/conversation-panel/local-new-conversation-menu.js +4 -4
- package/dist/components/features/conversation-panel/local-new-conversation-menu.js.map +1 -1
- package/dist/components/features/conversation-panel/skills-modal.cjs +1 -1
- package/dist/components/features/conversation-panel/skills-modal.cjs.map +1 -1
- package/dist/components/features/conversation-panel/skills-modal.js +29 -28
- package/dist/components/features/conversation-panel/skills-modal.js.map +1 -1
- package/dist/components/features/diff-viewer/accordion-panel.cjs +2 -0
- package/dist/components/features/diff-viewer/accordion-panel.cjs.map +1 -0
- package/dist/components/features/diff-viewer/accordion-panel.d.ts +13 -0
- package/dist/components/features/diff-viewer/accordion-panel.js +41 -0
- package/dist/components/features/diff-viewer/accordion-panel.js.map +1 -0
- package/dist/components/features/diff-viewer/commit-list.cjs +1 -1
- package/dist/components/features/diff-viewer/commit-list.cjs.map +1 -1
- package/dist/components/features/diff-viewer/commit-list.d.ts +5 -1
- package/dist/components/features/diff-viewer/commit-list.js +30 -16
- package/dist/components/features/diff-viewer/commit-list.js.map +1 -1
- package/dist/components/features/diff-viewer/commit-row.cjs +1 -1
- package/dist/components/features/diff-viewer/commit-row.cjs.map +1 -1
- package/dist/components/features/diff-viewer/commit-row.d.ts +1 -2
- package/dist/components/features/diff-viewer/commit-row.js +38 -34
- package/dist/components/features/diff-viewer/commit-row.js.map +1 -1
- package/dist/components/features/diff-viewer/diff-change-list.cjs +2 -0
- package/dist/components/features/diff-viewer/diff-change-list.cjs.map +1 -0
- package/dist/components/features/diff-viewer/diff-change-list.d.ts +18 -0
- package/dist/components/features/diff-viewer/diff-change-list.js +22 -0
- package/dist/components/features/diff-viewer/diff-change-list.js.map +1 -0
- package/dist/components/features/diff-viewer/editor-container.cjs +1 -1
- package/dist/components/features/diff-viewer/editor-container.cjs.map +1 -1
- package/dist/components/features/diff-viewer/editor-container.d.ts +2 -1
- package/dist/components/features/diff-viewer/editor-container.js +8 -7
- package/dist/components/features/diff-viewer/editor-container.js.map +1 -1
- package/dist/components/features/diff-viewer/file-diff-viewer.cjs +1 -1
- package/dist/components/features/diff-viewer/file-diff-viewer.cjs.map +1 -1
- package/dist/components/features/diff-viewer/file-diff-viewer.d.ts +10 -1
- package/dist/components/features/diff-viewer/file-diff-viewer.js +138 -112
- package/dist/components/features/diff-viewer/file-diff-viewer.js.map +1 -1
- package/dist/components/features/diff-viewer/uncommitted-changes-row.cjs +2 -0
- package/dist/components/features/diff-viewer/uncommitted-changes-row.cjs.map +1 -0
- package/dist/components/features/diff-viewer/uncommitted-changes-row.d.ts +12 -0
- package/dist/components/features/diff-viewer/uncommitted-changes-row.js +51 -0
- package/dist/components/features/diff-viewer/uncommitted-changes-row.js.map +1 -0
- package/dist/components/features/files-tab/file-content-viewer.cjs +1 -1
- package/dist/components/features/files-tab/file-content-viewer.cjs.map +1 -1
- package/dist/components/features/files-tab/file-content-viewer.js +5 -6
- package/dist/components/features/files-tab/file-content-viewer.js.map +1 -1
- package/dist/components/features/files-tab/file-quick-row.cjs +1 -1
- package/dist/components/features/files-tab/file-quick-row.cjs.map +1 -1
- package/dist/components/features/files-tab/file-quick-row.d.ts +9 -7
- package/dist/components/features/files-tab/file-quick-row.js +63 -34
- package/dist/components/features/files-tab/file-quick-row.js.map +1 -1
- package/dist/components/features/files-tab/files-tab-tree.constants.cjs +2 -0
- package/dist/components/features/files-tab/files-tab-tree.constants.cjs.map +1 -0
- package/dist/components/features/files-tab/files-tab-tree.constants.d.ts +7 -0
- package/dist/components/features/files-tab/files-tab-tree.constants.js +6 -0
- package/dist/components/features/files-tab/files-tab-tree.constants.js.map +1 -0
- 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 +5 -3
- package/dist/components/features/files-tab/segmented-toggle.js +10 -13
- package/dist/components/features/files-tab/segmented-toggle.js.map +1 -1
- package/dist/components/features/files-tab/tree-node.cjs +1 -1
- package/dist/components/features/files-tab/tree-node.cjs.map +1 -1
- package/dist/components/features/files-tab/tree-node.js +34 -32
- package/dist/components/features/files-tab/tree-node.js.map +1 -1
- package/dist/components/features/files-tab/workspace-path.cjs +2 -0
- package/dist/components/features/files-tab/workspace-path.cjs.map +1 -0
- package/dist/components/features/files-tab/workspace-path.d.ts +6 -0
- package/dist/components/features/files-tab/workspace-path.js +41 -0
- package/dist/components/features/files-tab/workspace-path.js.map +1 -0
- package/dist/components/features/home/featured-automations/automation-health-indicator.cjs +2 -0
- package/dist/components/features/home/featured-automations/automation-health-indicator.cjs.map +1 -0
- package/dist/components/features/home/featured-automations/automation-health-indicator.js +22 -0
- package/dist/components/features/home/featured-automations/automation-health-indicator.js.map +1 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-metrics.cjs +2 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-metrics.cjs.map +1 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-metrics.js +45 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-metrics.js.map +1 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-sparkline.cjs +2 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-sparkline.cjs.map +1 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-sparkline.js +108 -0
- package/dist/components/features/home/featured-automations/automation-run-activity-sparkline.js.map +1 -0
- package/dist/components/features/home/featured-automations/automation-run-health.cjs +2 -0
- package/dist/components/features/home/featured-automations/automation-run-health.cjs.map +1 -0
- package/dist/components/features/home/featured-automations/automation-run-health.js +75 -0
- package/dist/components/features/home/featured-automations/automation-run-health.js.map +1 -0
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.cjs +2 -0
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.cjs.map +1 -0
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.js +96 -0
- package/dist/components/features/home/featured-automations/home-automation-run-tooltip.js.map +1 -0
- package/dist/components/features/home/featured-automations/pinned-automation-card.d.ts +3 -3
- package/dist/components/features/home/git-repo-dropdown/use-url-search.cjs +1 -1
- package/dist/components/features/home/git-repo-dropdown/use-url-search.cjs.map +1 -1
- package/dist/components/features/home/git-repo-dropdown/use-url-search.js +1 -1
- package/dist/components/features/home/git-repo-dropdown/use-url-search.js.map +1 -1
- package/dist/components/features/home/workspace-dropdown/folder-browser-modal.cjs +1 -1
- package/dist/components/features/home/workspace-dropdown/folder-browser-modal.js +6 -6
- package/dist/components/features/home/workspace-dropdown/manage-workspaces-modal.cjs +1 -1
- package/dist/components/features/home/workspace-dropdown/manage-workspaces-modal.js +6 -6
- package/dist/components/features/manifest/manifest-form-field.d.ts +4 -3
- package/dist/components/features/manifest/manifest-icons.cjs +2 -0
- package/dist/components/features/manifest/manifest-icons.cjs.map +1 -0
- package/dist/components/features/manifest/manifest-icons.d.ts +1 -0
- package/dist/components/features/manifest/manifest-icons.js +21 -0
- package/dist/components/features/manifest/manifest-icons.js.map +1 -0
- package/dist/components/features/manifest/manifest-repository-list.d.ts +25 -0
- package/dist/components/features/markdown/markdown-table-scroll.cjs +1 -1
- package/dist/components/features/markdown/markdown-table-scroll.cjs.map +1 -1
- package/dist/components/features/markdown/markdown-table-scroll.d.ts +2 -6
- package/dist/components/features/markdown/markdown-table-scroll.js +15 -21
- package/dist/components/features/markdown/markdown-table-scroll.js.map +1 -1
- package/dist/components/features/mcp-logo-badge.cjs +1 -1
- package/dist/components/features/mcp-logo-badge.cjs.map +1 -1
- package/dist/components/features/mcp-logo-badge.d.ts +1 -1
- package/dist/components/features/mcp-logo-badge.js +1 -0
- package/dist/components/features/mcp-logo-badge.js.map +1 -1
- package/dist/components/features/mcp-page/custom-server-editor.cjs +1 -1
- package/dist/components/features/mcp-page/custom-server-editor.js +16 -16
- package/dist/components/features/mcp-page/index.cjs +1 -1
- package/dist/components/features/mcp-page/index.js +2 -2
- package/dist/components/features/mcp-page/install-server-modal.cjs +1 -1
- package/dist/components/features/mcp-page/install-server-modal.cjs.map +1 -1
- package/dist/components/features/mcp-page/install-server-modal.js +25 -25
- package/dist/components/features/mcp-page/install-server-modal.js.map +1 -1
- package/dist/components/features/mcp-page/installed-server-card.cjs +1 -1
- package/dist/components/features/mcp-page/installed-server-card.js +5 -5
- package/dist/components/features/mcp-page/marketplace-card.cjs +1 -1
- package/dist/components/features/mcp-page/marketplace-card.js +4 -4
- package/dist/components/features/mcp-page/marketplace-section.cjs +1 -1
- package/dist/components/features/mcp-page/marketplace-section.js +3 -3
- package/dist/components/features/mcp-page/mcp-logo-stack-badge.cjs +2 -0
- package/dist/components/features/mcp-page/mcp-logo-stack-badge.cjs.map +1 -0
- package/dist/components/features/mcp-page/mcp-logo-stack-badge.js +60 -0
- package/dist/components/features/mcp-page/mcp-logo-stack-badge.js.map +1 -0
- package/dist/components/features/mcp-page/mcp-server-health.cjs +1 -1
- package/dist/components/features/mcp-page/mcp-server-health.js +18 -18
- package/dist/components/features/onboarding/onboarding-host.d.ts +3 -4
- package/dist/components/features/onboarding/steps/setup-llm-step.d.ts +5 -9
- package/dist/components/features/onboarding/use-onboarding-completion.cjs +2 -0
- package/dist/components/features/onboarding/use-onboarding-completion.cjs.map +1 -0
- package/dist/components/features/onboarding/use-onboarding-completion.js +32 -0
- package/dist/components/features/onboarding/use-onboarding-completion.js.map +1 -0
- package/dist/components/features/settings/acp-auth-status-banner.d.ts +23 -6
- package/dist/components/features/settings/app-settings/getting-started-checklist-switch.cjs +2 -0
- package/dist/components/features/settings/app-settings/getting-started-checklist-switch.cjs.map +1 -0
- package/dist/components/features/settings/app-settings/getting-started-checklist-switch.d.ts +1 -0
- package/dist/components/features/settings/app-settings/getting-started-checklist-switch.js +22 -0
- package/dist/components/features/settings/app-settings/getting-started-checklist-switch.js.map +1 -0
- package/dist/components/features/settings/brand-button.cjs +1 -1
- package/dist/components/features/settings/brand-button.cjs.map +1 -1
- package/dist/components/features/settings/brand-button.d.ts +2 -0
- package/dist/components/features/settings/brand-button.js +4 -2
- package/dist/components/features/settings/brand-button.js.map +1 -1
- package/dist/components/features/settings/llm-profiles/delete-provider-connection-modal.cjs +1 -0
- package/dist/components/features/settings/llm-profiles/delete-provider-connection-modal.d.ts +7 -0
- package/dist/components/features/settings/llm-profiles/delete-provider-connection-modal.js +7 -0
- package/dist/components/features/settings/llm-profiles/llm-profiles-manager.cjs +1 -1
- package/dist/components/features/settings/llm-profiles/llm-profiles-manager.js +3 -0
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.cjs +1 -1
- package/dist/components/features/settings/llm-profiles/llm-settings-local-view.js +2 -0
- package/dist/components/features/settings/llm-profiles/profiles-body.d.ts +20 -1
- package/dist/components/features/settings/llm-profiles/provider-connection-modal.cjs +1 -0
- package/dist/components/features/settings/llm-profiles/provider-connection-modal.d.ts +19 -0
- package/dist/components/features/settings/llm-profiles/provider-connection-modal.js +13 -0
- package/dist/components/features/settings/llm-profiles/provider-connection-row.cjs +1 -0
- package/dist/components/features/settings/llm-profiles/provider-connection-row.d.ts +10 -0
- package/dist/components/features/settings/llm-profiles/provider-connection-row.js +6 -0
- package/dist/components/features/settings/llm-profiles/provider-connections-manager.cjs +1 -0
- package/dist/components/features/settings/llm-profiles/provider-connections-manager.d.ts +15 -0
- package/dist/components/features/settings/llm-profiles/provider-connections-manager.js +8 -0
- package/dist/components/features/settings/sdk-settings/field-help.cjs +1 -1
- package/dist/components/features/settings/sdk-settings/field-help.cjs.map +1 -1
- package/dist/components/features/settings/sdk-settings/field-help.d.ts +1 -1
- package/dist/components/features/settings/sdk-settings/field-help.js +1 -1
- package/dist/components/features/settings/sdk-settings/field-help.js.map +1 -1
- package/dist/components/features/settings/sdk-settings/schema-field.cjs +1 -1
- package/dist/components/features/settings/sdk-settings/schema-field.js +6 -6
- package/dist/components/features/settings/sdk-settings/sdk-section-page.cjs +1 -1
- package/dist/components/features/settings/sdk-settings/sdk-section-page.js +9 -9
- package/dist/components/features/settings/secrets-settings/secret-form.cjs +1 -1
- package/dist/components/features/settings/secrets-settings/secret-form.js +7 -7
- 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 +14 -13
- package/dist/components/features/settings/settings-input.js.map +1 -1
- package/dist/components/features/sidebar/sidebar-nav-link.cjs +1 -1
- package/dist/components/features/sidebar/sidebar-nav-link.cjs.map +1 -1
- package/dist/components/features/sidebar/sidebar-nav-link.d.ts +10 -1
- package/dist/components/features/sidebar/sidebar-nav-link.js +54 -36
- package/dist/components/features/sidebar/sidebar-nav-link.js.map +1 -1
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-icon.cjs +2 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-icon.cjs.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-icon.d.ts +7 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-icon.js +102 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-icon.js.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-preview.cjs +2 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-preview.cjs.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-preview.d.ts +8 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-preview.js +66 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-item-preview.js.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-llm-complete.cjs +2 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-llm-complete.cjs.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-llm-complete.d.ts +3 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-llm-complete.js +15 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-llm-complete.js.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-storage.cjs +2 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-storage.cjs.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-storage.d.ts +10 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-storage.js +39 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist-storage.js.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.cjs +2 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.cjs.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.constants.cjs +2 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.constants.cjs.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.constants.d.ts +26 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.constants.js +78 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.constants.js.map +1 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.d.ts +5 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.js +127 -0
- package/dist/components/features/sidebar/sidebar-onboarding-checklist.js.map +1 -0
- 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.js +137 -110
- package/dist/components/features/sidebar/sidebar-rail-body.js.map +1 -1
- package/dist/components/features/sidebar/sidebar.cjs +1 -1
- package/dist/components/features/sidebar/sidebar.cjs.map +1 -1
- package/dist/components/features/sidebar/sidebar.js +1 -1
- package/dist/components/features/sidebar/sidebar.js.map +1 -1
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist-dismissed.cjs +2 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist-dismissed.cjs.map +1 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist-dismissed.d.ts +1 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist-dismissed.js +10 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist-dismissed.js.map +1 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist.cjs +2 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist.cjs.map +1 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist.d.ts +15 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist.js +75 -0
- package/dist/components/features/sidebar/use-sidebar-onboarding-checklist.js.map +1 -0
- package/dist/components/features/skills/add-skill-modal.cjs +2 -0
- package/dist/components/features/skills/add-skill-modal.cjs.map +1 -0
- package/dist/components/features/skills/add-skill-modal.js +164 -0
- package/dist/components/features/skills/add-skill-modal.js.map +1 -0
- package/dist/components/features/skills/build-skill-pills.cjs +2 -0
- package/dist/components/features/skills/build-skill-pills.cjs.map +1 -0
- package/dist/components/features/skills/build-skill-pills.js +96 -0
- package/dist/components/features/skills/build-skill-pills.js.map +1 -0
- package/dist/components/features/skills/extensions-navigation.cjs +1 -1
- package/dist/components/features/skills/extensions-navigation.cjs.map +1 -1
- package/dist/components/features/skills/extensions-navigation.js +54 -43
- package/dist/components/features/skills/extensions-navigation.js.map +1 -1
- package/dist/components/features/skills/get-skill-card-description.cjs +2 -0
- package/dist/components/features/skills/get-skill-card-description.cjs.map +1 -0
- package/dist/components/features/skills/get-skill-card-description.js +34 -0
- package/dist/components/features/skills/get-skill-card-description.js.map +1 -0
- package/dist/components/features/skills/get-skill-chat-launch-message.cjs +2 -0
- package/dist/components/features/skills/get-skill-chat-launch-message.cjs.map +1 -0
- package/dist/components/features/skills/get-skill-chat-launch-message.js +9 -0
- package/dist/components/features/skills/get-skill-chat-launch-message.js.map +1 -0
- package/dist/components/features/skills/is-copyable-skill-source.cjs +2 -0
- package/dist/components/features/skills/is-copyable-skill-source.cjs.map +1 -0
- package/dist/components/features/skills/is-copyable-skill-source.js +9 -0
- package/dist/components/features/skills/is-copyable-skill-source.js.map +1 -0
- package/dist/components/features/skills/skill-card-pill-row.cjs +2 -0
- package/dist/components/features/skills/skill-card-pill-row.cjs.map +1 -0
- package/dist/components/features/skills/skill-card-pill-row.d.ts +1 -1
- package/dist/components/features/skills/skill-card-pill-row.js +137 -0
- package/dist/components/features/skills/skill-card-pill-row.js.map +1 -0
- package/dist/components/features/skills/skill-card.cjs +2 -0
- package/dist/components/features/skills/skill-card.cjs.map +1 -0
- package/dist/components/features/skills/skill-card.js +93 -0
- package/dist/components/features/skills/skill-card.js.map +1 -0
- package/dist/components/features/skills/skill-detail-modal.cjs +3 -0
- package/dist/components/features/skills/skill-detail-modal.cjs.map +1 -0
- package/dist/components/features/skills/skill-detail-modal.js +150 -0
- package/dist/components/features/skills/skill-detail-modal.js.map +1 -0
- package/dist/components/features/skills/skill-facet-rail.cjs +2 -0
- package/dist/components/features/skills/skill-facet-rail.cjs.map +1 -0
- package/dist/components/features/skills/skill-facet-rail.js +42 -0
- package/dist/components/features/skills/skill-facet-rail.js.map +1 -0
- package/dist/components/features/skills/skill-facet-row.cjs +2 -0
- package/dist/components/features/skills/skill-facet-row.cjs.map +1 -0
- package/dist/components/features/skills/skill-facet-row.js +44 -0
- package/dist/components/features/skills/skill-facet-row.js.map +1 -0
- package/dist/components/features/skills/skill-filter.cjs +2 -0
- package/dist/components/features/skills/skill-filter.cjs.map +1 -0
- package/dist/components/features/skills/skill-filter.d.ts +8 -3
- package/dist/components/features/skills/skill-filter.js +183 -0
- package/dist/components/features/skills/skill-filter.js.map +1 -0
- package/dist/components/features/skills/skill-filters-modal.cjs +2 -0
- package/dist/components/features/skills/skill-filters-modal.cjs.map +1 -0
- package/dist/components/features/skills/skill-filters-modal.js +53 -0
- package/dist/components/features/skills/skill-filters-modal.js.map +1 -0
- package/dist/components/features/skills/skill-icon-badge.cjs +2 -0
- package/dist/components/features/skills/skill-icon-badge.cjs.map +1 -0
- package/dist/components/features/skills/skill-icon-badge.js +17 -0
- package/dist/components/features/skills/skill-icon-badge.js.map +1 -0
- package/dist/components/features/skills/skill-type-badge.cjs +2 -0
- package/dist/components/features/skills/skill-type-badge.cjs.map +1 -0
- package/dist/components/features/skills/skill-type-badge.js +21 -0
- package/dist/components/features/skills/skill-type-badge.js.map +1 -0
- package/dist/components/features/skills/skills-toolbar.cjs +2 -0
- package/dist/components/features/skills/skills-toolbar.cjs.map +1 -0
- package/dist/components/features/skills/skills-toolbar.js +63 -0
- package/dist/components/features/skills/skills-toolbar.js.map +1 -0
- package/dist/components/shared/buttons/circle-plus-check-toggle.cjs +1 -1
- package/dist/components/shared/buttons/circle-plus-check-toggle.cjs.map +1 -1
- package/dist/components/shared/buttons/circle-plus-check-toggle.js +19 -6
- package/dist/components/shared/buttons/circle-plus-check-toggle.js.map +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 +4 -1
- package/dist/components/shared/filters/enum-filter-dropdown.js +14 -14
- package/dist/components/shared/filters/enum-filter-dropdown.js.map +1 -1
- package/dist/components/shared/modals/settings/settings-form.cjs +1 -1
- package/dist/components/shared/modals/settings/settings-form.js +6 -6
- package/dist/components/ui/resize-handle.cjs +1 -1
- package/dist/components/ui/resize-handle.cjs.map +1 -1
- package/dist/components/ui/resize-handle.d.ts +2 -1
- package/dist/components/ui/resize-handle.js +6 -5
- package/dist/components/ui/resize-handle.js.map +1 -1
- package/dist/config/defaults.cjs +1 -1
- package/dist/config/defaults.cjs.map +1 -1
- package/dist/config/defaults.js +9 -5
- package/dist/config/defaults.js.map +1 -1
- package/dist/constants/skills-docs.cjs +2 -0
- package/dist/constants/skills-docs.cjs.map +1 -0
- package/dist/constants/skills-docs.js +6 -0
- package/dist/constants/skills-docs.js.map +1 -0
- package/dist/contexts/conversation-websocket-context.cjs +3 -3
- package/dist/contexts/conversation-websocket-context.cjs.map +1 -1
- package/dist/contexts/conversation-websocket-context.js +174 -149
- package/dist/contexts/conversation-websocket-context.js.map +1 -1
- package/dist/extensions/canvas-extension-module-loader.d.ts +11 -0
- package/dist/fixtures/home-automations-demo.cjs +2 -0
- package/dist/fixtures/home-automations-demo.cjs.map +1 -0
- package/dist/fixtures/home-automations-demo.d.ts +1 -3
- package/dist/fixtures/home-automations-demo.js +384 -0
- package/dist/fixtures/home-automations-demo.js.map +1 -0
- package/dist/hooks/chat/use-slash-command.cjs +1 -1
- package/dist/hooks/chat/use-slash-command.cjs.map +1 -1
- package/dist/hooks/chat/use-slash-command.d.ts +1 -2
- package/dist/hooks/chat/use-slash-command.js +1 -0
- package/dist/hooks/chat/use-slash-command.js.map +1 -1
- package/dist/hooks/mutation/use-create-conversation.cjs +1 -1
- package/dist/hooks/mutation/use-create-conversation.cjs.map +1 -1
- package/dist/hooks/mutation/use-create-conversation.js +27 -30
- package/dist/hooks/mutation/use-create-conversation.js.map +1 -1
- package/dist/hooks/mutation/use-create-provider-connection.cjs +1 -0
- package/dist/hooks/mutation/use-create-provider-connection.d.ts +2 -0
- package/dist/hooks/mutation/use-create-provider-connection.js +1 -0
- package/dist/hooks/mutation/use-delete-mcp-server.cjs +1 -1
- package/dist/hooks/mutation/use-delete-mcp-server.js +3 -3
- package/dist/hooks/mutation/use-delete-provider-connection.cjs +1 -0
- package/dist/hooks/mutation/use-delete-provider-connection.d.ts +1 -0
- package/dist/hooks/mutation/use-delete-provider-connection.js +1 -0
- package/dist/hooks/mutation/use-manage-canvas-extensions.d.ts +12 -0
- package/dist/hooks/mutation/use-switch-acp-model.cjs +1 -1
- package/dist/hooks/mutation/use-switch-acp-model.cjs.map +1 -1
- package/dist/hooks/mutation/use-switch-acp-model.d.ts +5 -3
- package/dist/hooks/mutation/use-switch-acp-model.js +9 -13
- package/dist/hooks/mutation/use-switch-acp-model.js.map +1 -1
- package/dist/hooks/mutation/use-update-mcp-server.cjs +1 -1
- package/dist/hooks/mutation/use-update-mcp-server.js +6 -6
- package/dist/hooks/mutation/use-update-provider-connection.cjs +1 -0
- package/dist/hooks/mutation/use-update-provider-connection.d.ts +7 -0
- package/dist/hooks/mutation/use-update-provider-connection.js +1 -0
- package/dist/hooks/query/concurrency-limiter.cjs +2 -0
- package/dist/hooks/query/concurrency-limiter.cjs.map +1 -0
- package/dist/hooks/query/concurrency-limiter.d.ts +22 -0
- package/dist/hooks/query/concurrency-limiter.js +29 -0
- package/dist/hooks/query/concurrency-limiter.js.map +1 -0
- package/dist/hooks/query/query-keys.cjs +1 -1
- package/dist/hooks/query/query-keys.cjs.map +1 -1
- package/dist/hooks/query/query-keys.d.ts +7 -0
- package/dist/hooks/query/query-keys.js +4 -4
- package/dist/hooks/query/query-keys.js.map +1 -1
- package/dist/hooks/query/use-active-conversation.cjs +1 -1
- package/dist/hooks/query/use-active-conversation.js +4 -4
- package/dist/hooks/query/use-automation-detail.cjs +1 -0
- package/dist/hooks/query/use-automation-detail.js +2 -0
- package/dist/hooks/query/use-automation-health.cjs +2 -0
- package/dist/hooks/query/use-automation-health.cjs.map +1 -0
- package/dist/hooks/query/use-automation-health.js +22 -0
- package/dist/hooks/query/use-automation-health.js.map +1 -0
- package/dist/hooks/query/use-automations.cjs +2 -0
- package/dist/hooks/query/use-automations.cjs.map +1 -0
- package/dist/hooks/query/use-automations.js +28 -0
- package/dist/hooks/query/use-automations.js.map +1 -0
- package/dist/hooks/query/use-backends-health.cjs +1 -1
- package/dist/hooks/query/use-backends-health.cjs.map +1 -1
- package/dist/hooks/query/use-backends-health.d.ts +1 -1
- package/dist/hooks/query/use-backends-health.js +50 -64
- package/dist/hooks/query/use-backends-health.js.map +1 -1
- package/dist/hooks/query/use-canvas-extensions.cjs +1 -0
- package/dist/hooks/query/use-canvas-extensions.d.ts +5 -0
- package/dist/hooks/query/use-canvas-extensions.js +3 -0
- package/dist/hooks/query/use-conversation-history.cjs +1 -1
- package/dist/hooks/query/use-conversation-history.cjs.map +1 -1
- package/dist/hooks/query/use-conversation-history.js +3 -1
- package/dist/hooks/query/use-conversation-history.js.map +1 -1
- package/dist/hooks/query/use-conversation-metrics.cjs +1 -1
- package/dist/hooks/query/use-conversation-metrics.js +3 -3
- package/dist/hooks/query/use-latest-automation-runs.cjs +1 -0
- package/dist/hooks/query/use-latest-automation-runs.d.ts +2 -0
- package/dist/hooks/query/use-latest-automation-runs.js +4 -0
- package/dist/hooks/query/use-llm-profiles.d.ts +1 -1
- package/dist/hooks/query/use-paginated-conversations.cjs +1 -1
- package/dist/hooks/query/use-paginated-conversations.cjs.map +1 -1
- package/dist/hooks/query/use-paginated-conversations.js +19 -16
- package/dist/hooks/query/use-paginated-conversations.js.map +1 -1
- package/dist/hooks/query/use-provider-connections.cjs +2 -0
- package/dist/hooks/query/use-provider-connections.cjs.map +1 -0
- package/dist/hooks/query/use-provider-connections.d.ts +8 -0
- package/dist/hooks/query/use-provider-connections.js +19 -0
- package/dist/hooks/query/use-provider-connections.js.map +1 -0
- package/dist/hooks/query/use-repository-git-items.cjs +2 -0
- package/dist/hooks/query/use-repository-git-items.cjs.map +1 -0
- package/dist/hooks/query/use-repository-git-items.d.ts +3 -0
- package/dist/hooks/query/use-repository-git-items.js +33 -0
- package/dist/hooks/query/use-repository-git-items.js.map +1 -0
- package/dist/hooks/query/use-search-providers.cjs +1 -1
- package/dist/hooks/query/use-search-providers.cjs.map +1 -1
- package/dist/hooks/query/use-search-providers.js +17 -10
- package/dist/hooks/query/use-search-providers.js.map +1 -1
- package/dist/hooks/query/use-unified-vscode-url.cjs +1 -1
- package/dist/hooks/query/use-unified-vscode-url.cjs.map +1 -1
- package/dist/hooks/query/use-unified-vscode-url.d.ts +1 -0
- package/dist/hooks/query/use-unified-vscode-url.js +40 -26
- package/dist/hooks/query/use-unified-vscode-url.js.map +1 -1
- package/dist/hooks/query/use-workspace-file-content.cjs +1 -1
- package/dist/hooks/query/use-workspace-file-content.js +5 -5
- package/dist/hooks/use-acp-credential-form.d.ts +6 -0
- package/dist/hooks/use-bash-command-runner.cjs +1 -1
- package/dist/hooks/use-bash-command-runner.cjs.map +1 -1
- package/dist/hooks/use-bash-command-runner.js +45 -42
- package/dist/hooks/use-bash-command-runner.js.map +1 -1
- package/dist/hooks/use-conversation-overview-column-space.cjs +2 -0
- package/dist/hooks/use-conversation-overview-column-space.cjs.map +1 -0
- package/dist/hooks/use-conversation-overview-column-space.d.ts +2 -0
- package/dist/hooks/use-conversation-overview-column-space.js +25 -0
- package/dist/hooks/use-conversation-overview-column-space.js.map +1 -0
- package/dist/hooks/use-conversation-overview-git-diff-stats.cjs +2 -0
- package/dist/hooks/use-conversation-overview-git-diff-stats.cjs.map +1 -0
- package/dist/hooks/use-conversation-overview-git-diff-stats.d.ts +7 -0
- package/dist/hooks/use-conversation-overview-git-diff-stats.js +37 -0
- package/dist/hooks/use-conversation-overview-git-diff-stats.js.map +1 -0
- package/dist/hooks/use-conversation-overview-panel-peek.cjs +2 -0
- package/dist/hooks/use-conversation-overview-panel-peek.cjs.map +1 -0
- package/dist/hooks/use-conversation-overview-panel-peek.d.ts +9 -0
- package/dist/hooks/use-conversation-overview-panel-peek.js +32 -0
- package/dist/hooks/use-conversation-overview-panel-peek.js.map +1 -0
- package/dist/hooks/use-conversation-overview-stats.cjs +2 -0
- package/dist/hooks/use-conversation-overview-stats.cjs.map +1 -0
- package/dist/hooks/use-conversation-overview-stats.d.ts +4 -0
- package/dist/hooks/use-conversation-overview-stats.js +15 -0
- package/dist/hooks/use-conversation-overview-stats.js.map +1 -0
- package/dist/hooks/use-conversation-primary-repository.cjs +2 -0
- package/dist/hooks/use-conversation-primary-repository.cjs.map +1 -0
- package/dist/hooks/use-conversation-primary-repository.d.ts +11 -0
- package/dist/hooks/use-conversation-primary-repository.js +17 -0
- package/dist/hooks/use-conversation-primary-repository.js.map +1 -0
- package/dist/hooks/use-drag-scroll.cjs +2 -0
- package/dist/hooks/use-drag-scroll.cjs.map +1 -0
- package/dist/hooks/use-drag-scroll.d.ts +12 -0
- package/dist/hooks/use-drag-scroll.js +41 -0
- package/dist/hooks/use-drag-scroll.js.map +1 -0
- package/dist/hooks/use-has-permission.cjs +2 -0
- package/dist/hooks/use-has-permission.cjs.map +1 -0
- package/dist/hooks/use-has-permission.js +8 -0
- package/dist/hooks/use-has-permission.js.map +1 -0
- package/dist/hooks/use-home-automation-actions.cjs +2 -0
- package/dist/hooks/use-home-automation-actions.cjs.map +1 -0
- package/dist/hooks/use-home-automation-actions.js +15 -0
- package/dist/hooks/use-home-automation-actions.js.map +1 -0
- package/dist/hooks/use-launch-skill-in-chat.cjs +2 -0
- package/dist/hooks/use-launch-skill-in-chat.cjs.map +1 -0
- package/dist/hooks/use-launch-skill-in-chat.js +16 -0
- package/dist/hooks/use-launch-skill-in-chat.js.map +1 -0
- package/dist/hooks/use-mcp-server-health.cjs +1 -1
- package/dist/hooks/use-mcp-server-health.js +3 -3
- package/dist/hooks/use-pinned-home-route.cjs +2 -0
- package/dist/hooks/use-pinned-home-route.cjs.map +1 -0
- package/dist/hooks/use-pinned-home-route.d.ts +33 -0
- package/dist/hooks/use-pinned-home-route.js +34 -0
- package/dist/hooks/use-pinned-home-route.js.map +1 -0
- package/dist/hooks/use-resizable-drawer-width.cjs +2 -0
- package/dist/hooks/use-resizable-drawer-width.cjs.map +1 -0
- package/dist/hooks/use-resizable-drawer-width.d.ts +22 -0
- package/dist/hooks/use-resizable-drawer-width.js +46 -0
- package/dist/hooks/use-resizable-drawer-width.js.map +1 -0
- package/dist/hooks/use-responder-url-secret.cjs +2 -0
- package/dist/hooks/use-responder-url-secret.cjs.map +1 -0
- package/dist/hooks/use-responder-url-secret.js +51 -0
- package/dist/hooks/use-responder-url-secret.js.map +1 -0
- package/dist/hooks/use-select-conversation-tab.cjs +1 -1
- package/dist/hooks/use-select-conversation-tab.cjs.map +1 -1
- package/dist/hooks/use-select-conversation-tab.d.ts +2 -0
- package/dist/hooks/use-select-conversation-tab.js +15 -7
- package/dist/hooks/use-select-conversation-tab.js.map +1 -1
- package/dist/hooks/use-skill-enablement.cjs +2 -0
- package/dist/hooks/use-skill-enablement.cjs.map +1 -0
- package/dist/hooks/use-skill-enablement.d.ts +14 -0
- package/dist/hooks/use-skill-enablement.js +80 -0
- package/dist/hooks/use-skill-enablement.js.map +1 -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 +17 -0
- package/dist/hooks/use-tracking.js +10 -0
- package/dist/hooks/use-tracking.js.map +1 -1
- package/dist/hooks/use-websocket.cjs +1 -1
- package/dist/hooks/use-websocket.cjs.map +1 -1
- package/dist/hooks/use-websocket.d.ts +1 -2
- package/dist/hooks/use-websocket.js +58 -51
- package/dist/hooks/use-websocket.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 +153 -56
- package/dist/i18n/declaration.js +1 -1
- package/dist/i18n/declaration.js.map +1 -1
- package/dist/i18n/translation.cjs +3 -3
- package/dist/i18n/translation.cjs.map +1 -1
- package/dist/i18n/translation.js +2629 -980
- package/dist/i18n/translation.js.map +1 -1
- package/dist/icons/check-circle.cjs +2 -0
- package/dist/icons/check-circle.cjs.map +1 -0
- package/dist/icons/check-circle.js +20 -0
- package/dist/icons/check-circle.js.map +1 -0
- package/dist/icons/chevron-down.cjs +2 -0
- package/dist/icons/chevron-down.cjs.map +1 -0
- package/dist/icons/chevron-down.js +20 -0
- package/dist/icons/chevron-down.js.map +1 -0
- package/dist/icons/clock.cjs +2 -0
- package/dist/icons/clock.cjs.map +1 -0
- package/dist/icons/clock.js +20 -0
- package/dist/icons/clock.js.map +1 -0
- package/dist/icons/exclamation-circle.cjs +2 -0
- package/dist/icons/exclamation-circle.cjs.map +1 -0
- package/dist/icons/exclamation-circle.js +20 -0
- package/dist/icons/exclamation-circle.js.map +1 -0
- package/dist/icons/kebab-vertical.cjs +2 -0
- package/dist/icons/kebab-vertical.cjs.map +1 -0
- package/dist/icons/kebab-vertical.js +14 -0
- package/dist/icons/kebab-vertical.js.map +1 -0
- package/dist/icons/key.cjs +2 -0
- package/dist/icons/key.cjs.map +1 -0
- package/dist/icons/key.js +21 -0
- package/dist/icons/key.js.map +1 -0
- package/dist/icons/message-square-share.cjs +2 -0
- package/dist/icons/message-square-share.cjs.map +1 -0
- package/dist/icons/message-square-share.js +22 -0
- package/dist/icons/message-square-share.js.map +1 -0
- package/dist/icons/play.cjs +2 -0
- package/dist/icons/play.cjs.map +1 -0
- package/dist/icons/play.js +19 -0
- package/dist/icons/play.js.map +1 -0
- package/dist/icons/power.cjs +2 -0
- package/dist/icons/power.cjs.map +1 -0
- package/dist/icons/power.js +20 -0
- package/dist/icons/power.js.map +1 -0
- package/dist/icons/sparkle.cjs +2 -0
- package/dist/icons/sparkle.cjs.map +1 -0
- package/dist/icons/sparkle.js +20 -0
- package/dist/icons/sparkle.js.map +1 -0
- package/dist/icons/trash.cjs +2 -0
- package/dist/icons/trash.cjs.map +1 -0
- package/dist/icons/trash.js +20 -0
- package/dist/icons/trash.js.map +1 -0
- package/dist/icons/x-circle.cjs +2 -0
- package/dist/icons/x-circle.cjs.map +1 -0
- package/dist/icons/x-circle.js +20 -0
- package/dist/icons/x-circle.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +15 -14
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/locales/ar/openhands.json +156 -59
- package/dist/locales/ca/openhands.json +156 -59
- package/dist/locales/de/openhands.json +156 -59
- package/dist/locales/en/openhands.json +156 -59
- package/dist/locales/es/openhands.json +156 -59
- package/dist/locales/fr/openhands.json +156 -59
- package/dist/locales/it/openhands.json +156 -59
- package/dist/locales/ja/openhands.json +156 -59
- package/dist/locales/ko-KR/openhands.json +156 -59
- package/dist/locales/no/openhands.json +156 -59
- package/dist/locales/pt/openhands.json +156 -59
- package/dist/locales/tr/openhands.json +156 -59
- package/dist/locales/uk/openhands.json +156 -59
- package/dist/locales/zh-CN/openhands.json +156 -59
- package/dist/locales/zh-TW/openhands.json +156 -59
- package/dist/manifests/automation-insights.cjs +2 -0
- package/dist/manifests/automation-insights.cjs.map +1 -0
- package/dist/manifests/automation-insights.d.ts +2 -0
- package/dist/manifests/automation-insights.js +9 -0
- package/dist/manifests/automation-insights.js.map +1 -0
- package/dist/manifests/automation-interface.cjs +1 -1
- package/dist/manifests/automation-interface.cjs.map +1 -1
- package/dist/manifests/automation-interface.d.ts +53 -31
- package/dist/manifests/automation-interface.js +56 -59
- package/dist/manifests/automation-interface.js.map +1 -1
- package/dist/manifests/automation-setup.cjs +1 -1
- package/dist/manifests/automation-setup.cjs.map +1 -1
- package/dist/manifests/automation-setup.d.ts +37 -3
- package/dist/manifests/automation-setup.js +16 -2
- package/dist/manifests/automation-setup.js.map +1 -1
- package/dist/manifests/interface-validation.cjs +1 -1
- package/dist/manifests/interface-validation.cjs.map +1 -1
- package/dist/manifests/interface-validation.js +56 -52
- package/dist/manifests/interface-validation.js.map +1 -1
- package/dist/manifests/manifest-actions.d.ts +5 -0
- package/dist/manifests/manifest-bundle.d.ts +30 -0
- package/dist/manifests/manifest-local-validation.d.ts +10 -1
- package/dist/manifests/manifest-sources.cjs +1 -1
- package/dist/manifests/manifest-sources.cjs.map +1 -1
- package/dist/manifests/manifest-sources.js +3 -3
- package/dist/manifests/manifest-sources.js.map +1 -1
- package/dist/manifests/manifest-template.d.ts +14 -0
- package/dist/manifests/manifest-validation.cjs +1 -1
- package/dist/manifests/manifest-validation.cjs.map +1 -1
- package/dist/manifests/manifest-validation.js +78 -45
- package/dist/manifests/manifest-validation.js.map +1 -1
- package/dist/manifests/types.cjs +1 -1
- package/dist/manifests/types.cjs.map +1 -1
- package/dist/manifests/types.d.ts +64 -3
- package/dist/manifests/types.js +7 -6
- package/dist/manifests/types.js.map +1 -1
- package/dist/node_modules/@heroui/popover/dist/chunk-NW7HJLND.cjs +1 -1
- package/dist/node_modules/@heroui/popover/dist/chunk-NW7HJLND.js +10 -10
- package/dist/node_modules/@heroui/ripple/dist/chunk-UIQI3AYJ.cjs +1 -1
- package/dist/node_modules/@heroui/ripple/dist/chunk-UIQI3AYJ.js +8 -8
- package/dist/node_modules/@heroui/tooltip/dist/chunk-AUA5GDXN.cjs +1 -1
- package/dist/node_modules/@heroui/tooltip/dist/chunk-AUA5GDXN.js +9 -9
- package/dist/node_modules/@openhands/extensions/automations/bundle-index.cjs +4884 -0
- package/dist/node_modules/@openhands/extensions/automations/bundle-index.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/bundle-index.js +11 -0
- package/dist/node_modules/@openhands/extensions/automations/bundle-index.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.cjs +13 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.js +92 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-agents-md-maintainer/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.cjs +12 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.js +103 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-issue-to-pr/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.cjs +9 -7
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.js +37 -13
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-pr-reviewer/manifest.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-repo-monitor/manifest.cjs +2 -2
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-repo-monitor/manifest.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-repo-monitor/manifest.js +34 -34
- package/dist/node_modules/@openhands/extensions/automations/catalog/github-repo-monitor/manifest.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-bitbucket-pr/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-bitbucket-pr/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-bitbucket-pr/manifest.js +21 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-bitbucket-pr/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-gitlab-mr/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-gitlab-mr/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-gitlab-mr/manifest.js +21 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-gitlab-mr/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-pr/manifest.cjs +3 -3
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-pr/manifest.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-pr/manifest.js +2 -2
- package/dist/node_modules/@openhands/extensions/automations/catalog/jira-issue-to-pr/manifest.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-bitbucket-pr/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-bitbucket-pr/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-bitbucket-pr/manifest.js +21 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-bitbucket-pr/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-github-pr/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-github-pr/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-github-pr/manifest.js +21 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-github-pr/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-gitlab-mr/manifest.cjs +9 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-gitlab-mr/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-gitlab-mr/manifest.js +21 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/linear-issue-to-gitlab-mr/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/news-digest/manifest.cjs +14 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/news-digest/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/news-digest/manifest.js +77 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/news-digest/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/qa-changes/manifest.cjs +30 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/qa-changes/manifest.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/qa-changes/manifest.js +65 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/qa-changes/manifest.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.js +28 -10
- package/dist/node_modules/@openhands/extensions/automations/catalog-index.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/index.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/automations/index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/index.js +18 -13
- package/dist/node_modules/@openhands/extensions/automations/index.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/interface.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/automations/interface.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/automations/interface.js +6 -2
- package/dist/node_modules/@openhands/extensions/automations/interface.js.map +1 -1
- 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 +2 -2
- package/dist/node_modules/@openhands/extensions/integrations/catalog/datadog.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/gitlab.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/gitlab.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/gitlab.js +40 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/gitlab.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.js +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/notion.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/posthog.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/posthog.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/posthog.js +36 -3
- package/dist/node_modules/@openhands/extensions/integrations/catalog/posthog.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog/sonarqube.cjs +2 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/sonarqube.cjs.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/sonarqube.js +75 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog/sonarqube.js.map +1 -0
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.cjs +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.js +75 -71
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.cjs +1043 -49
- package/dist/node_modules/@openhands/extensions/skills/index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.js +78 -17
- package/dist/node_modules/@openhands/extensions/skills/index.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/remote-conversation.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/remote-conversation.js +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/remote-state.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/remote-state.cjs.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/remote-state.js +8 -7
- package/dist/node_modules/@openhands/typescript-client/dist/conversation/remote-state.js.map +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/index.cjs +1 -1
- package/dist/node_modules/@openhands/typescript-client/dist/index.js +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/blocks.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/blocks.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/blocks.js +16 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/blocks.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/book-open.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/book-open.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/book-open.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/book-open.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/download.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/download.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/download.js +19 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/download.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/file-text.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/file-text.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/file-text.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/file-text.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-commit-horizontal.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-commit-horizontal.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-commit-horizontal.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-commit-horizontal.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/laptop.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/laptop.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/laptop.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/laptop.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +39 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/library.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/library.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/library.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/library.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/package.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/package.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/package.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/package.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/palette.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/palette.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/palette.js +39 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/palette.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/panels-top-left.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/panels-top-left.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/panels-top-left.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/panels-top-left.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +25 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/timer.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/timer.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/timer.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/timer.js.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +3 -3
- package/dist/package.js.map +1 -1
- package/dist/routes/agent-settings.d.ts +10 -0
- package/dist/routes/app-settings.cjs +1 -1
- package/dist/routes/app-settings.cjs.map +1 -1
- package/dist/routes/app-settings.js +88 -86
- package/dist/routes/app-settings.js.map +1 -1
- package/dist/routes/commits-tab.cjs +1 -1
- package/dist/routes/commits-tab.cjs.map +1 -1
- package/dist/routes/commits-tab.js +27 -21
- package/dist/routes/commits-tab.js.map +1 -1
- package/dist/routes/conversation.cjs +1 -1
- package/dist/routes/conversation.cjs.map +1 -1
- package/dist/routes/conversation.js +56 -55
- package/dist/routes/conversation.js.map +1 -1
- package/dist/routes/files-tab.cjs +1 -1
- package/dist/routes/files-tab.cjs.map +1 -1
- package/dist/routes/files-tab.d.ts +4 -0
- package/dist/routes/files-tab.js +119 -149
- package/dist/routes/files-tab.js.map +1 -1
- package/dist/routes/llm-settings.cjs +1 -1
- package/dist/routes/llm-settings.cjs.map +1 -1
- package/dist/routes/llm-settings.d.ts +9 -1
- package/dist/routes/llm-settings.js +141 -103
- package/dist/routes/llm-settings.js.map +1 -1
- package/dist/routes/mcp.cjs +1 -1
- package/dist/routes/mcp.cjs.map +1 -1
- package/dist/routes/mcp.js +20 -20
- package/dist/routes/secrets-settings.cjs +1 -1
- package/dist/routes/secrets-settings.js +15 -15
- package/dist/services/canvas-ui.cjs +1 -1
- package/dist/services/canvas-ui.cjs.map +1 -1
- package/dist/services/canvas-ui.d.ts +5 -0
- package/dist/services/canvas-ui.js +24 -10
- package/dist/services/canvas-ui.js.map +1 -1
- package/dist/services/settings.cjs +1 -1
- package/dist/services/settings.cjs.map +1 -1
- package/dist/services/settings.js +3 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/stores/conversation-store.cjs +1 -1
- package/dist/stores/conversation-store.cjs.map +1 -1
- package/dist/stores/conversation-store.d.ts +8 -1
- package/dist/stores/conversation-store.js +9 -0
- package/dist/stores/conversation-store.js.map +1 -1
- package/dist/stores/files-tab-store.cjs +1 -1
- package/dist/stores/files-tab-store.cjs.map +1 -1
- package/dist/stores/files-tab-store.d.ts +13 -0
- package/dist/stores/files-tab-store.js +49 -5
- package/dist/stores/files-tab-store.js.map +1 -1
- package/dist/stores/use-event-store.cjs +1 -1
- package/dist/stores/use-event-store.cjs.map +1 -1
- package/dist/stores/use-event-store.js +11 -11
- package/dist/stores/use-event-store.js.map +1 -1
- package/dist/types/agent-server/core/events/message-event.d.ts +2 -2
- package/dist/types/automation.cjs +2 -0
- package/dist/types/automation.cjs.map +1 -0
- package/dist/types/automation.d.ts +20 -0
- package/dist/types/automation.js +8 -0
- package/dist/types/automation.js.map +1 -0
- package/dist/types/canvas-extension.cjs +2 -0
- package/dist/types/canvas-extension.cjs.map +1 -0
- package/dist/types/canvas-extension.d.ts +77 -0
- package/dist/types/canvas-extension.js +6 -0
- package/dist/types/canvas-extension.js.map +1 -0
- package/dist/types/settings.d.ts +7 -0
- package/dist/ui/help-link.cjs +1 -1
- package/dist/ui/help-link.cjs.map +1 -1
- package/dist/ui/help-link.d.ts +6 -1
- package/dist/ui/help-link.js +32 -18
- package/dist/ui/help-link.js.map +1 -1
- package/dist/utils/acp-auth-display.d.ts +35 -0
- package/dist/utils/automation-catalog.cjs +1 -1
- package/dist/utils/automation-catalog.cjs.map +1 -1
- package/dist/utils/automation-catalog.d.ts +12 -0
- package/dist/utils/automation-catalog.js +20 -1
- package/dist/utils/automation-catalog.js.map +1 -1
- package/dist/utils/automation-schedule.cjs +2 -0
- package/dist/utils/automation-schedule.cjs.map +1 -0
- package/dist/utils/automation-schedule.js +8 -0
- package/dist/utils/automation-schedule.js.map +1 -0
- package/dist/utils/automation-stack-section.cjs +2 -0
- package/dist/utils/automation-stack-section.cjs.map +1 -0
- package/dist/utils/automation-stack-section.d.ts +2 -0
- package/dist/utils/automation-stack-section.js +6 -0
- package/dist/utils/automation-stack-section.js.map +1 -0
- package/dist/utils/cache-utils.cjs +1 -1
- package/dist/utils/cache-utils.js +5 -5
- package/dist/utils/constants.cjs +1 -1
- package/dist/utils/constants.cjs.map +1 -1
- package/dist/utils/constants.js +4 -0
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/conversation-local-storage.cjs +1 -1
- package/dist/utils/conversation-local-storage.cjs.map +1 -1
- package/dist/utils/conversation-local-storage.d.ts +17 -4
- package/dist/utils/conversation-local-storage.js +111 -63
- package/dist/utils/conversation-local-storage.js.map +1 -1
- package/dist/utils/conversation-metrics.cjs +1 -1
- package/dist/utils/conversation-metrics.cjs.map +1 -1
- package/dist/utils/conversation-metrics.d.ts +3 -2
- package/dist/utils/conversation-metrics.js +16 -14
- package/dist/utils/conversation-metrics.js.map +1 -1
- package/dist/utils/conversation-overview-project-scope.cjs +2 -0
- package/dist/utils/conversation-overview-project-scope.cjs.map +1 -0
- package/dist/utils/conversation-overview-project-scope.d.ts +16 -0
- package/dist/utils/conversation-overview-project-scope.js +22 -0
- package/dist/utils/conversation-overview-project-scope.js.map +1 -0
- package/dist/utils/extension-module-card-classes.cjs +1 -1
- package/dist/utils/extension-module-card-classes.cjs.map +1 -1
- package/dist/utils/extension-module-card-classes.d.ts +1 -1
- package/dist/utils/extension-module-card-classes.js +2 -2
- package/dist/utils/extension-module-card-classes.js.map +1 -1
- package/dist/utils/format-model-name.cjs +1 -1
- package/dist/utils/format-model-name.cjs.map +1 -1
- package/dist/utils/format-model-name.d.ts +7 -3
- package/dist/utils/format-model-name.js +6 -11
- package/dist/utils/format-model-name.js.map +1 -1
- package/dist/utils/format-relative-time.cjs +2 -0
- package/dist/utils/format-relative-time.cjs.map +1 -0
- package/dist/utils/format-relative-time.d.ts +7 -0
- package/dist/utils/format-relative-time.js +22 -0
- package/dist/utils/format-relative-time.js.map +1 -0
- package/dist/utils/git-diff-stats.cjs +5 -0
- package/dist/utils/git-diff-stats.cjs.map +1 -0
- package/dist/utils/git-diff-stats.d.ts +9 -0
- package/dist/utils/git-diff-stats.js +53 -0
- package/dist/utils/git-diff-stats.js.map +1 -0
- package/dist/utils/handle-event-for-ui.cjs +1 -1
- package/dist/utils/handle-event-for-ui.cjs.map +1 -1
- package/dist/utils/handle-event-for-ui.js +13 -11
- package/dist/utils/handle-event-for-ui.js.map +1 -1
- package/dist/utils/mcp-credential-validation.cjs +1 -1
- package/dist/utils/mcp-credential-validation.js +3 -3
- package/dist/utils/mcp-marketplace-utils.cjs +1 -1
- package/dist/utils/mcp-marketplace-utils.cjs.map +1 -1
- package/dist/utils/mcp-marketplace-utils.js +22 -9
- package/dist/utils/mcp-marketplace-utils.js.map +1 -1
- package/dist/utils/parse-git-remote-url.cjs +1 -1
- package/dist/utils/parse-git-remote-url.cjs.map +1 -1
- package/dist/utils/parse-git-remote-url.js +6 -7
- package/dist/utils/parse-git-remote-url.js.map +1 -1
- package/dist/utils/path-utils.cjs +1 -1
- package/dist/utils/path-utils.cjs.map +1 -1
- package/dist/utils/path-utils.d.ts +15 -3
- package/dist/utils/path-utils.js +29 -3
- package/dist/utils/path-utils.js.map +1 -1
- package/dist/utils/recommended-automation-rail.cjs +2 -0
- package/dist/utils/recommended-automation-rail.cjs.map +1 -0
- package/dist/utils/recommended-automation-rail.d.ts +22 -0
- package/dist/utils/recommended-automation-rail.js +44 -0
- package/dist/utils/recommended-automation-rail.js.map +1 -0
- package/dist/utils/responder-deployment.cjs +2 -0
- package/dist/utils/responder-deployment.cjs.map +1 -0
- package/dist/utils/responder-deployment.js +42 -0
- package/dist/utils/responder-deployment.js.map +1 -0
- package/dist/utils/scroll-fade-state.cjs +2 -0
- package/dist/utils/scroll-fade-state.cjs.map +1 -0
- package/dist/utils/scroll-fade-state.d.ts +6 -0
- package/dist/utils/scroll-fade-state.js +13 -0
- package/dist/utils/scroll-fade-state.js.map +1 -0
- package/dist/utils/skill-category.cjs +2 -0
- package/dist/utils/skill-category.cjs.map +1 -0
- package/dist/utils/skill-category.js +51 -0
- package/dist/utils/skill-category.js.map +1 -0
- package/dist/utils/skill-enablement.cjs +2 -0
- package/dist/utils/skill-enablement.cjs.map +1 -0
- package/dist/utils/skill-enablement.d.ts +51 -0
- package/dist/utils/skill-enablement.js +31 -0
- package/dist/utils/skill-enablement.js.map +1 -0
- package/dist/utils/skill-scope.cjs +1 -1
- package/dist/utils/skill-scope.cjs.map +1 -1
- package/dist/utils/skill-scope.js +1 -1
- package/dist/utils/skill-scope.js.map +1 -1
- package/dist/utils/streaming-delta-batcher.cjs +2 -0
- package/dist/utils/streaming-delta-batcher.cjs.map +1 -0
- package/dist/utils/streaming-delta-batcher.d.ts +21 -0
- package/dist/utils/streaming-delta-batcher.js +31 -0
- package/dist/utils/streaming-delta-batcher.js.map +1 -0
- package/dist/utils/tar-gzip.d.ts +26 -0
- package/dist/utils/utils.cjs +1 -1
- package/dist/utils/utils.cjs.map +1 -1
- package/dist/utils/utils.d.ts +1 -41
- package/dist/utils/utils.js +27 -6
- package/dist/utils/utils.js.map +1 -1
- package/dist/utils/vscode-origin.cjs +2 -0
- package/dist/utils/vscode-origin.cjs.map +1 -0
- package/dist/utils/vscode-origin.d.ts +55 -0
- package/dist/utils/vscode-origin.js +27 -0
- package/dist/utils/vscode-origin.js.map +1 -0
- package/dist/utils/websocket-handshake.cjs +2 -0
- package/dist/utils/websocket-handshake.cjs.map +1 -0
- package/dist/utils/websocket-handshake.d.ts +11 -0
- package/dist/utils/websocket-handshake.js +12 -0
- package/dist/utils/websocket-handshake.js.map +1 -0
- package/dist/utils/workspace-mode.d.ts +4 -0
- package/package.json +3 -3
- package/scripts/check-sdk-version-sync.mjs +6 -6
- package/scripts/check-translation-completeness.cjs +5 -0
- package/scripts/dev-extra-backend.mjs +28 -9
- package/scripts/dev-safe.mjs +81 -8
- package/scripts/dev-static.mjs +48 -44
- package/scripts/dev-with-automation.mjs +95 -6
- package/scripts/ingress.mjs +27 -1
- package/scripts/seed-automation-ux-data.mjs +810 -0
- package/scripts/static-server.mjs +74 -1
- package/tools/canvas_ui_tool.py +19 -0
- package/build/assets/acp-providers-CYy8qA2z.js +0 -1
- package/build/assets/active-backend-context-BZDG15C0.js +0 -2
- package/build/assets/agent-context-settings-DGWBBbcp.js +0 -1
- package/build/assets/agent-profiles-settings-DrkGdf4_.js +0 -1
- package/build/assets/agent-server-conversation-service.api-DK56YPTs.js +0 -86
- package/build/assets/agent-settings-DfcSgkLD.js +0 -2
- package/build/assets/agent-settings-Lrc5-twS.js +0 -1
- package/build/assets/alert-banner-BgDHhL7b.js +0 -1
- package/build/assets/api-error-message-BEIE_yD1.js +0 -1
- package/build/assets/api-key-entry-screen-DaZnOlVo.js +0 -1
- package/build/assets/app-settings-BG5NAUbC.js +0 -1
- package/build/assets/automation-detail-D4Hs831Z.js +0 -3
- package/build/assets/automation-export-n0X6FB0C.js +0 -2
- package/build/assets/automation-git-sync-CDrm8WV7.js +0 -1
- package/build/assets/automation-setup-route-CZCl4ONs.js +0 -1
- package/build/assets/automation-templates-DFF96AdL.js +0 -1
- package/build/assets/automations-list-Bl-oGOrV.js +0 -1
- package/build/assets/back-nav-button-H_ThtDA0.js +0 -1
- package/build/assets/backend-form-modal-CbCemvHt.js +0 -1
- package/build/assets/backend-not-configured-DP8KLNq_.js +0 -1
- package/build/assets/backend-synced-settings-badge-BBASWqsb.js +0 -1
- package/build/assets/badge-B-51h-SW.js +0 -1
- package/build/assets/base-modal-BbjycA8X.js +0 -1
- package/build/assets/bot-CGPCg03p.js +0 -1
- package/build/assets/brand-button-Blxv5nww.js +0 -1
- package/build/assets/browser-CuW0nWvh.js +0 -7
- package/build/assets/browser-tab-D5G0ORwt.js +0 -1
- package/build/assets/chat-send-button-BD2tii1r.js +0 -1
- package/build/assets/check-DSuS-lyr.js +0 -1
- package/build/assets/chevron-down-CgGcmtE2.js +0 -1
- package/build/assets/circle-check-CG5-NPw7.js +0 -1
- package/build/assets/circle-plus-check-toggle-ASbpB8vN.js +0 -1
- package/build/assets/cloud-funnel-analytics-GlCUG0gk.js +0 -1
- package/build/assets/cog-CZiR80uT.js +0 -1
- package/build/assets/combobox-caret-DvpEsh2O.js +0 -1
- package/build/assets/command-menu-DwUQzjYP.js +0 -1
- package/build/assets/condenser-settings-BptcoiLA.js +0 -1
- package/build/assets/confirmation-modal-CiEwxZAA.js +0 -1
- package/build/assets/context-menu-list-item-CdcamfM1.js +0 -1
- package/build/assets/conversation-DREHj4nT.js +0 -1
- package/build/assets/conversation-DotRfiDz.js +0 -90
- package/build/assets/conversation-panel-DREHj4nT.js +0 -1
- package/build/assets/conversation-state-store-DMLtlHbE.js +0 -1
- package/build/assets/conversation-store-Blc5xysY.js +0 -6
- package/build/assets/conversation-tab-empty-state-D-puECpY.js +0 -1
- package/build/assets/copy-to-clipboard-button-BGxcUbgy.js +0 -1
- package/build/assets/device-verify-CZJfWaJf.js +0 -1
- package/build/assets/dropdown-classes-tLhpwtxS.js +0 -1
- package/build/assets/entry.client-D8GnI6GZ.js +0 -2
- package/build/assets/enum-filter-dropdown-Fk8k60nk.js +0 -1
- package/build/assets/environment-switch-overlay-DeztVYuL.js +0 -1
- package/build/assets/extension-module-card-classes-Bo43vY5V.js +0 -1
- package/build/assets/extensions-hub-Cd6GCYzq.js +0 -1
- package/build/assets/extensions-navigation-C4sgZg-y.js +0 -1
- package/build/assets/external-link-C0UpBgsE.js +0 -1
- package/build/assets/file-text-C6WYtNdV.js +0 -1
- package/build/assets/files-tab-BW_qzyAm.js +0 -1
- package/build/assets/form-control-classes-CGXBLcn1.js +0 -1
- package/build/assets/format-model-name-BNPKVsIq.js +0 -1
- package/build/assets/format-relative-time-ZhQD4rsl.js +0 -1
- package/build/assets/git-provider-icon-CaQ1yLPi.js +0 -1
- package/build/assets/git-repo-dropdown-CgXR6M_E.js +0 -1
- package/build/assets/git-repo-dropdown-D2Uei3CO.js +0 -1
- package/build/assets/highlighted-source-view-C_YOp8Fo.js +0 -1
- package/build/assets/home-DNzzJcMP.js +0 -1
- package/build/assets/home-aCos-5vc.js +0 -1
- package/build/assets/home-store-DgzViC3f.js +0 -1
- package/build/assets/index-home-DNzzJcMP.js +0 -1
- package/build/assets/info-CLoC1LRo.js +0 -1
- package/build/assets/install-server-modal-D7zIqNKz.js +0 -1
- package/build/assets/kebab-menu-item-content-DERMdnDv.js +0 -1
- package/build/assets/launch-5PjKeLak.js +0 -1
- package/build/assets/list-todo-BF049YaY.js +0 -1
- package/build/assets/llm-not-configured-banner-BK9z5eS0.js +0 -27
- package/build/assets/llm-settings-BLAMK2tR.js +0 -1
- package/build/assets/llm-settings-BWsbarGM.js +0 -1
- package/build/assets/llm-subscription-service-SfnEV9Uc.js +0 -1
- package/build/assets/loader-circle-D7IagAyF.js +0 -1
- package/build/assets/loading-spinner-DBgXgra0.js +0 -1
- package/build/assets/manage-backends-modal-BTqNPhzc.js +0 -1
- package/build/assets/manifest-abebca3c.js +0 -1
- package/build/assets/manifest-subpage-layout-Rn-glaxV.js +0 -1
- package/build/assets/map-provider-BK4HnqYz.js +0 -1
- package/build/assets/markdown-renderer-Cp6DlHQN.js +0 -8
- package/build/assets/mcp-BC-Ixn4T.js +0 -9
- package/build/assets/mcp-marketplace-utils-BJWJgbB6.js +0 -1
- package/build/assets/messages-CzFKrzPG.js +0 -40
- package/build/assets/modal-body-BdKfD3Hl.js +0 -1
- package/build/assets/modal-classes-D5_b5vMi.js +0 -1
- package/build/assets/modal-close-button-objukxk_.js +0 -1
- package/build/assets/mouse-pointer-click-C_gXyLyD.js +0 -1
- package/build/assets/npm-CHVHV1MC.js +0 -1
- package/build/assets/onboarding-Diw0V51A.js +0 -1
- package/build/assets/onboarding-modal-Da4yHzsA.js +0 -1
- package/build/assets/organization-service.api-BztSy69u.js +0 -1
- package/build/assets/parse-git-remote-url-BkXN9jzl.js +0 -1
- package/build/assets/pencil-49avMHlD.js +0 -1
- package/build/assets/planner-tab-CJiSpNax.js +0 -1
- package/build/assets/plugins-management-service-lHdNKWNU.js +0 -1
- package/build/assets/plus-C0BagBpV.js +0 -1
- package/build/assets/profiles-service.api-BLr7FXec.js +0 -1
- package/build/assets/providers-CWXnb7S3.js +0 -1
- package/build/assets/proxy-DYDXxtje.js +0 -1
- package/build/assets/puzzle-Bt2B1rzf.js +0 -1
- package/build/assets/recommended-automations-launcher-CcFMfJRR.js +0 -1
- package/build/assets/refresh-cw-nmcesifB.js +0 -1
- package/build/assets/root-CT4t7apy.css +0 -1
- package/build/assets/root-DnRgLKpU.js +0 -2
- package/build/assets/root-layout-2L9tr-BN.js +0 -2
- package/build/assets/schema-field-C59lVZTA.js +0 -1
- package/build/assets/sdk-section-page-BbBEQQjq.js +0 -1
- package/build/assets/search-CYSDBczG.js +0 -1
- package/build/assets/secrets-service-BtsgYSlj.js +0 -1
- package/build/assets/secrets-settings-DJ0OKa4_.js +0 -1
- package/build/assets/segmented-toggle-DiVfTZuN.js +0 -1
- package/build/assets/settings-CDqL_Uqh.js +0 -1
- package/build/assets/settings-DcNPxz0v.js +0 -1
- package/build/assets/settings-dropdown-input-Ba1UN5Du.js +0 -1
- package/build/assets/settings-index-Cz2cKt2K.js +0 -1
- package/build/assets/settings-input-CWUEHHvS.js +0 -1
- package/build/assets/settings-list-classes-DdcLXDGn.js +0 -1
- package/build/assets/settings-modal-nEEK1Kh1.js +0 -1
- package/build/assets/settings-service.api-3yAUFcaP.js +0 -1
- package/build/assets/settings-switch-Dk9hChx1.js +0 -1
- package/build/assets/settings-utils-CxjtCSB3.js +0 -1
- package/build/assets/shared-conversation-DbAcrx3s.js +0 -1
- package/build/assets/shield-check-CiOTXxV2.js +0 -1
- package/build/assets/sidebar-layout-lrfPooIB.js +0 -1
- package/build/assets/sidebar-mobile-menu-toggle-KERXfNu1.js +0 -1
- package/build/assets/sidebar-nav-link-B8lFD6Cb.js +0 -1
- package/build/assets/sidebar-store-u6pUpxJ7.js +0 -1
- package/build/assets/skill-card-pill-row-dGIUzr_b.js +0 -1
- package/build/assets/skill-icon-badge-kkOWZ89w.js +0 -1
- package/build/assets/skill-scope-DWN1PBPH.js +0 -1
- package/build/assets/skills-plugins-DFjH2Nq6.js +0 -1
- package/build/assets/skills-settings-DIHpl3ol.js +0 -2
- package/build/assets/sparkles-ntyMLnbj.js +0 -1
- package/build/assets/styled-tooltip-B6JXcsmL.js +0 -1
- package/build/assets/task-list-tab-aEJzEcHD.js +0 -1
- package/build/assets/terminal-Dch7Ty5K.js +0 -3
- package/build/assets/toggle-switch-B2MLKsgt.js +0 -1
- package/build/assets/trash-2-yZnDM4Ji.js +0 -1
- package/build/assets/typography-DB5HoCk0.js +0 -1
- package/build/assets/usage-tab-DrEtBmBT.js +0 -1
- package/build/assets/use-acp-credential-form-c8KXAa8A.js +0 -1
- package/build/assets/use-activate-agent-profile-B0p34N3q.js +0 -1
- package/build/assets/use-agent-profiles-CPIc6wLH.js +0 -1
- package/build/assets/use-can-manage-org-profiles-Dz_8Eqkv.js +0 -1
- package/build/assets/use-cloud-current-user-id-DvUVqCle.js +0 -1
- package/build/assets/use-config-C3PO4TBw.js +0 -1
- package/build/assets/use-create-conversation-DVrA_uLD.js +0 -1
- package/build/assets/use-create-secret-DbBIpaCR.js +0 -1
- package/build/assets/use-get-secrets-6PBitf54.js +0 -1
- package/build/assets/use-has-permission-CQ31Cl8j.js +0 -1
- package/build/assets/use-is-authed-2UrDIziV.js +0 -1
- package/build/assets/use-is-creating-conversation-BvYpmb3v.js +0 -1
- package/build/assets/use-launch-skill-in-chat-COnDpxCQ.js +0 -1
- package/build/assets/use-llm-profiles-diZS4FiN.js +0 -1
- package/build/assets/use-manifest-capabilities-HIWCtIUm.js +0 -1
- package/build/assets/use-onboarding-completion-Bs8PcXik.js +0 -1
- package/build/assets/use-plugins-marketplace-BCuNLFsr.js +0 -1
- package/build/assets/use-save-agent-profile-BaMNSpBV.js +0 -1
- package/build/assets/use-save-settings-BahvC2Gw.js +0 -1
- package/build/assets/use-settings-C6ZxpBDX.js +0 -1
- package/build/assets/use-settings-nav-items-Bqn69Ggw.js +0 -16
- package/build/assets/use-tracking-Bhu7gk2y.js +0 -3
- package/build/assets/use-user-conversation-BkNXpXrd.js +0 -1
- package/build/assets/useInfiniteQuery-c_OmS3lK.js +0 -1
- package/build/assets/useMutation-6ZsQCqAn.js +0 -1
- package/build/assets/useQueries-xDrGlTO_.js +0 -1
- package/build/assets/useQuery-Bs5NFz2s.js +0 -1
- package/build/assets/utils-DUD5ScdA.js +0 -1
- package/build/assets/vendor~browser-B-fae1JU.js +0 -47
- package/build/assets/vendor~entry.client-BFE7Llz9.js +0 -1
- package/build/assets/vendor~entry.client-BaKt_PIp.js +0 -9
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kepq2zme-D87mAf6K.js +0 -186
- package/build/assets/vendor~files-tab-B6POTS66.js +0 -11
- package/build/assets/vendor~index-home~home~conversation-panel~conversation-53Q_U6uP.js +0 -13
- package/build/assets/vendor~index-home~home~conversation-panel~conversation~alert-banner-B3qC_oj8.js +0 -1
- package/build/assets/vendor~root-layout-DeQACFVA.js +0 -1
- package/build/assets/vendor~root-layout~conversation-panel~conversation-bv7ooVgH.js +0 -1
- package/build/assets/vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-e8pX05xf.js +0 -1
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-BvS6PCK2.js +0 -1
- package/build/assets/vendor~root-layout~index-home~home~mcp~automations-list~automation-templates~automation-set~bxsimjx0-D7IDevqN.js +0 -1
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hjcjabwg-DOPLJMH9.js +0 -48
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~iw7io29p-Dz8NQve5.js +0 -1
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-BOVIFA_g.js +0 -73
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~jz4f6vo2-C0JXQb_q.js +0 -7465
- package/build/assets/verification-settings-COueVXmM.js +0 -1
- package/build/assets/wrench-C95ujnYo.js +0 -1
- package/build/assets/x-86ZCfxKY.js +0 -1
- package/build/assets/zap-DRa-r-Tf.js +0 -1
- package/dist/components/features/diff-viewer/empty-changes-message.cjs +0 -2
- package/dist/components/features/diff-viewer/empty-changes-message.cjs.map +0 -1
- package/dist/components/features/diff-viewer/empty-changes-message.js +0 -17
- package/dist/components/features/diff-viewer/empty-changes-message.js.map +0 -1
- package/dist/components/features/tips/random-tip.cjs +0 -2
- package/dist/components/features/tips/random-tip.cjs.map +0 -1
- package/dist/components/features/tips/random-tip.d.ts +0 -2
- package/dist/components/features/tips/random-tip.js +0 -41
- package/dist/components/features/tips/random-tip.js.map +0 -1
- package/dist/hooks/query/use-has-git-commits.cjs +0 -2
- package/dist/hooks/query/use-has-git-commits.cjs.map +0 -1
- package/dist/hooks/query/use-has-git-commits.d.ts +0 -25
- package/dist/hooks/query/use-has-git-commits.js +0 -31
- package/dist/hooks/query/use-has-git-commits.js.map +0 -1
- package/dist/hooks/use-has-attached-source.cjs +0 -2
- package/dist/hooks/use-has-attached-source.cjs.map +0 -1
- package/dist/hooks/use-has-attached-source.d.ts +0 -18
- package/dist/hooks/use-has-attached-source.js +0 -14
- package/dist/hooks/use-has-attached-source.js.map +0 -1
- package/dist/icons/chveron-up.cjs +0 -2
- package/dist/icons/chveron-up.cjs.map +0 -1
- package/dist/icons/chveron-up.js +0 -21
- package/dist/icons/chveron-up.js.map +0 -1
- package/dist/routes/changes-tab.cjs +0 -2
- package/dist/routes/changes-tab.cjs.map +0 -1
- package/dist/routes/changes-tab.d.ts +0 -3
- package/dist/routes/changes-tab.js +0 -64
- package/dist/routes/changes-tab.js.map +0 -1
- package/dist/utils/file-priority.cjs +0 -2
- package/dist/utils/file-priority.cjs.map +0 -1
- package/dist/utils/file-priority.d.ts +0 -27
- package/dist/utils/file-priority.js +0 -61
- package/dist/utils/file-priority.js.map +0 -1
- package/dist/utils/table-row-classes.d.ts +0 -9
- package/dist/utils/tips.cjs +0 -2
- package/dist/utils/tips.cjs.map +0 -1
- package/dist/utils/tips.d.ts +0 -7
- package/dist/utils/tips.js +0 -45
- package/dist/utils/tips.js.map +0 -1
- package/dist/utils/workspace-relative-path.cjs +0 -2
- package/dist/utils/workspace-relative-path.cjs.map +0 -1
- package/dist/utils/workspace-relative-path.d.ts +0 -10
- package/dist/utils/workspace-relative-path.js +0 -22
- package/dist/utils/workspace-relative-path.js.map +0 -1
- /package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~dcc51rps-rfV8mQ9m.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~ew9ih1s8-rfV8mQ9m.js} +0 -0
- /package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~ox0jfsa0-cHFhpUBq.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~i58xkef6-cHFhpUBq.js} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/react-i18next/dist/es/useTranslation.cjs"),n=require("../../../i18n/declaration.cjs"),r=require("../../../utils/utils.cjs"),i=require("../settings/brand-button.cjs"),a=require("../../../hooks/use-conversation-overview-stats.cjs"),o=require("./conversation-overview-drawer-context.cjs"),s=require("./conversation-overview-drawer.types.cjs"),c=require("../../../icons/x-mark.cjs"),l=require("./conversation-overview-automations-panel.cjs"),u=require("./conversation-overview-skills-panel.cjs"),d=require("./conversation-overview-mcp-panel.cjs"),f=require("./conversation-overview-secrets-panel.cjs"),p=require("./conversation-overview-git-items-panel.cjs"),m=require("./conversation-secondary-drawer.classes.cjs");let h=require("react");h=e.__toESM(h,1);let g=require("react/jsx-runtime");function _(e){switch(e){case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:return n.I18nKey.CONVERSATION_PANEL$AUTOMATIONS;case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:return n.I18nKey.SETTINGS$NAV_SKILLS;case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:return n.I18nKey.CONVERSATION$OVERVIEW_MCP;case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:return n.I18nKey.SETTINGS$NAV_SECRETS;case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:return n.I18nKey.CONVERSATION$OVERVIEW_PULL_REQUESTS;case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:return n.I18nKey.CONVERSATION$OVERVIEW_ISSUES;default:return e}}function v({section:e}){let{t:r}=t.useTranslation(`openhands`),{requestAdd:a}=o.useConversationOverviewDrawer();switch(e){case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:return(0,g.jsx)(i.BrandButton,{type:`button`,variant:`primary`,testId:`conversation-overview-automations-add`,className:m.CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME,onClick:a,children:r(n.I18nKey.AUTOMATIONS$ADD_AUTOMATION)});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:return(0,g.jsx)(i.BrandButton,{type:`button`,variant:`primary`,testId:`conversation-overview-skills-add-skill-button`,className:m.CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME,onClick:a,children:r(n.I18nKey.SETTINGS$SKILLS_ADD_BUTTON)});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:return(0,g.jsx)(i.BrandButton,{type:`button`,variant:`secondary`,testId:`conversation-overview-mcp-add-server`,className:m.CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME,onClick:a,children:r(n.I18nKey.MCP$ADD_CUSTOM)});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:return(0,g.jsx)(i.BrandButton,{type:`button`,variant:`primary`,testId:`conversation-overview-secrets-add-button`,className:m.CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME,onClick:a,children:r(n.I18nKey.SECRETS$ADD_NEW_SECRET)});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:return(0,g.jsx)(p.ConversationOverviewGitItemsHeaderLink,{kind:`pull_requests`});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:return(0,g.jsx)(p.ConversationOverviewGitItemsHeaderLink,{kind:`issues`});default:return null}}function y({section:e,openAdd:t}){switch(e){case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:return(0,g.jsx)(l.ConversationOverviewAutomationsPanel,{openAdd:t});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:return(0,g.jsx)(u.ConversationOverviewSkillsPanel,{openAdd:t});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:return(0,g.jsx)(d.ConversationOverviewMcpPanel,{openAdd:t});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:return(0,g.jsx)(f.ConversationOverviewSecretsPanel,{openAdd:t});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:return(0,g.jsx)(p.ConversationOverviewGitItemsPanel,{kind:`pull_requests`});case s.CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:return(0,g.jsx)(p.ConversationOverviewGitItemsPanel,{kind:`issues`});default:return e}}function b({className:e}){let{t:i}=t.useTranslation(`openhands`),{section:l,openAdd:u,closeDrawer:d}=o.useConversationOverviewDrawer(),{workspaceName:f}=a.useConversationOverviewStats();if((0,h.useEffect)(()=>{if(!l)return;let e=e=>{e.key===`Escape`&&d()};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e)}},[d,l]),!l)return null;let p=l===s.CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests||l===s.CONVERSATION_OVERVIEW_DRAWER_SECTION.issues||l===s.CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets;return(0,g.jsxs)(`aside`,{"data-testid":`conversation-overview-drawer-content`,"aria-label":i(_(l)),className:r.cn(`flex h-full w-full min-h-0 flex-col overflow-hidden bg-base-secondary`,e),children:[(0,g.jsxs)(`header`,{className:m.CONVERSATION_SECONDARY_DRAWER_HEADER_CLASSNAME,children:[(0,g.jsx)(`button`,{type:`button`,"data-testid":`conversation-overview-drawer-close`,"aria-label":i(n.I18nKey.BUTTON$CLOSE),onClick:d,className:m.CONVERSATION_SECONDARY_DRAWER_CLOSE_BUTTON_CLASSNAME,children:(0,g.jsx)(c.default,{className:`size-4`,"aria-hidden":!0})}),(0,g.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2`,children:[(0,g.jsx)(`h2`,{className:`truncate text-sm font-medium text-content`,children:i(_(l))}),f?(0,g.jsx)(`p`,{"data-testid":`conversation-overview-drawer-workspace`,className:`truncate text-xs text-muted`,children:f}):null]}),(0,g.jsx)(`div`,{className:`shrink-0`,children:(0,g.jsx)(v,{section:l})})]}),(0,g.jsx)(`div`,{className:r.cn(`min-h-0 flex-1 custom-scrollbar-always`,p?`flex flex-col overflow-hidden`:`overflow-y-auto px-4 py-4`),children:(0,g.jsx)(y,{section:l,openAdd:u})})]})}exports.ConversationOverviewDrawerContent=b;
|
|
2
|
+
//# sourceMappingURL=conversation-overview-drawer-content.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer-content.cjs","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer-content.tsx"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport XMarkIcon from \"#/icons/x-mark.svg?react\";\nimport { BrandButton } from \"#/components/features/settings/brand-button\";\nimport { I18nKey } from \"#/i18n/declaration\";\nimport { cn } from \"#/utils/utils\";\nimport { useConversationOverviewDrawer } from \"./conversation-overview-drawer-context\";\nimport {\n CONVERSATION_OVERVIEW_DRAWER_SECTION,\n type ConversationOverviewDrawerSection,\n} from \"./conversation-overview-drawer.types\";\nimport { ConversationOverviewAutomationsPanel } from \"./conversation-overview-automations-panel\";\nimport { ConversationOverviewSkillsPanel } from \"./conversation-overview-skills-panel\";\nimport { ConversationOverviewMcpPanel } from \"./conversation-overview-mcp-panel\";\nimport { ConversationOverviewSecretsPanel } from \"./conversation-overview-secrets-panel\";\nimport {\n ConversationOverviewGitItemsHeaderLink,\n ConversationOverviewGitItemsPanel,\n} from \"./conversation-overview-git-items-panel\";\nimport { useConversationOverviewStats } from \"#/hooks/use-conversation-overview-stats\";\nimport {\n CONVERSATION_SECONDARY_DRAWER_CLOSE_BUTTON_CLASSNAME,\n CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME,\n CONVERSATION_SECONDARY_DRAWER_HEADER_CLASSNAME,\n} from \"./conversation-secondary-drawer.classes\";\n\ninterface ConversationOverviewDrawerContentProps {\n className?: string;\n}\n\nfunction getSectionTitleKey(section: ConversationOverviewDrawerSection) {\n switch (section) {\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:\n return I18nKey.CONVERSATION_PANEL$AUTOMATIONS;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:\n return I18nKey.SETTINGS$NAV_SKILLS;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:\n return I18nKey.CONVERSATION$OVERVIEW_MCP;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:\n return I18nKey.SETTINGS$NAV_SECRETS;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:\n return I18nKey.CONVERSATION$OVERVIEW_PULL_REQUESTS;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:\n return I18nKey.CONVERSATION$OVERVIEW_ISSUES;\n default: {\n const _exhaustive: never = section;\n return _exhaustive;\n }\n }\n}\n\nfunction ConversationOverviewDrawerHeaderAddAction({\n section,\n}: {\n section: ConversationOverviewDrawerSection;\n}) {\n const { t } = useTranslation(\"openhands\");\n const { requestAdd } = useConversationOverviewDrawer();\n\n switch (section) {\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:\n return (\n <BrandButton\n type=\"button\"\n variant=\"primary\"\n testId=\"conversation-overview-automations-add\"\n className={CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME}\n onClick={requestAdd}\n >\n {t(I18nKey.AUTOMATIONS$ADD_AUTOMATION)}\n </BrandButton>\n );\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:\n return (\n <BrandButton\n type=\"button\"\n variant=\"primary\"\n testId=\"conversation-overview-skills-add-skill-button\"\n className={CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME}\n onClick={requestAdd}\n >\n {t(I18nKey.SETTINGS$SKILLS_ADD_BUTTON)}\n </BrandButton>\n );\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:\n return (\n <BrandButton\n type=\"button\"\n variant=\"secondary\"\n testId=\"conversation-overview-mcp-add-server\"\n className={CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME}\n onClick={requestAdd}\n >\n {t(I18nKey.MCP$ADD_CUSTOM)}\n </BrandButton>\n );\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:\n return (\n <BrandButton\n type=\"button\"\n variant=\"primary\"\n testId=\"conversation-overview-secrets-add-button\"\n className={CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME}\n onClick={requestAdd}\n >\n {t(I18nKey.SECRETS$ADD_NEW_SECRET)}\n </BrandButton>\n );\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:\n return <ConversationOverviewGitItemsHeaderLink kind=\"pull_requests\" />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:\n return <ConversationOverviewGitItemsHeaderLink kind=\"issues\" />;\n default:\n return null;\n }\n}\n\nfunction ConversationOverviewDrawerBody({\n section,\n openAdd,\n}: {\n section: ConversationOverviewDrawerSection;\n openAdd: boolean;\n}) {\n switch (section) {\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:\n return <ConversationOverviewAutomationsPanel openAdd={openAdd} />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:\n return <ConversationOverviewSkillsPanel openAdd={openAdd} />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:\n return <ConversationOverviewMcpPanel openAdd={openAdd} />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:\n return <ConversationOverviewSecretsPanel openAdd={openAdd} />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:\n return <ConversationOverviewGitItemsPanel kind=\"pull_requests\" />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:\n return <ConversationOverviewGitItemsPanel kind=\"issues\" />;\n default: {\n const _exhaustive: never = section;\n return _exhaustive;\n }\n }\n}\n\nexport function ConversationOverviewDrawerContent({\n className,\n}: ConversationOverviewDrawerContentProps) {\n const { t } = useTranslation(\"openhands\");\n const { section, openAdd, closeDrawer } = useConversationOverviewDrawer();\n const { workspaceName } = useConversationOverviewStats();\n\n useEffect(() => {\n if (!section) {\n return undefined;\n }\n\n const handleEscape = (event: KeyboardEvent) => {\n if (event.key === \"Escape\") {\n closeDrawer();\n }\n };\n\n document.addEventListener(\"keydown\", handleEscape);\n return () => {\n document.removeEventListener(\"keydown\", handleEscape);\n };\n }, [closeDrawer, section]);\n\n if (!section) {\n return null;\n }\n\n const isFullBleedBody =\n section === CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests ||\n section === CONVERSATION_OVERVIEW_DRAWER_SECTION.issues ||\n section === CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets;\n\n return (\n <aside\n data-testid=\"conversation-overview-drawer-content\"\n aria-label={t(getSectionTitleKey(section))}\n className={cn(\n \"flex h-full w-full min-h-0 flex-col overflow-hidden bg-base-secondary\",\n className,\n )}\n >\n <header className={CONVERSATION_SECONDARY_DRAWER_HEADER_CLASSNAME}>\n <button\n type=\"button\"\n data-testid=\"conversation-overview-drawer-close\"\n aria-label={t(I18nKey.BUTTON$CLOSE)}\n onClick={closeDrawer}\n className={CONVERSATION_SECONDARY_DRAWER_CLOSE_BUTTON_CLASSNAME}\n >\n <XMarkIcon className=\"size-4\" aria-hidden />\n </button>\n <div className=\"flex min-w-0 flex-1 items-center gap-2\">\n <h2 className=\"truncate text-sm font-medium text-content\">\n {t(getSectionTitleKey(section))}\n </h2>\n {workspaceName ? (\n <p\n data-testid=\"conversation-overview-drawer-workspace\"\n className=\"truncate text-xs text-muted\"\n >\n {workspaceName}\n </p>\n ) : null}\n </div>\n <div className=\"shrink-0\">\n <ConversationOverviewDrawerHeaderAddAction section={section} />\n </div>\n </header>\n\n <div\n className={cn(\n \"min-h-0 flex-1 custom-scrollbar-always\",\n isFullBleedBody\n ? \"flex flex-col overflow-hidden\"\n : \"overflow-y-auto px-4 py-4\",\n )}\n >\n <ConversationOverviewDrawerBody section={section} openAdd={openAdd} />\n </div>\n </aside>\n );\n}\n"],"mappings":"+2BA8BA,SAAS,EAAmB,EAA4C,CACtE,OAAQ,EAAR,CACE,KAAK,EAAA,qCAAqC,YACxC,OAAO,EAAA,QAAQ,+BACjB,KAAK,EAAA,qCAAqC,OACxC,OAAO,EAAA,QAAQ,oBACjB,KAAK,EAAA,qCAAqC,IACxC,OAAO,EAAA,QAAQ,0BACjB,KAAK,EAAA,qCAAqC,QACxC,OAAO,EAAA,QAAQ,qBACjB,KAAK,EAAA,qCAAqC,cACxC,OAAO,EAAA,QAAQ,oCACjB,KAAK,EAAA,qCAAqC,OACxC,OAAO,EAAA,QAAQ,6BACjB,QAEE,OAAO,CAEX,CACF,CAEA,SAAS,EAA0C,CACjD,WAGC,CACD,GAAM,CAAE,KAAM,EAAA,eAAe,WAAW,EAClC,CAAE,cAAe,EAAA,8BAA8B,EAErD,OAAQ,EAAR,CACE,KAAK,EAAA,qCAAqC,YACxC,OACE,EAAA,EAAA,KAAC,EAAA,YAAD,CACE,KAAK,SACL,QAAQ,UACR,OAAO,wCACP,UAAW,EAAA,sDACX,QAAS,WAER,EAAE,EAAA,QAAQ,0BAA0B,CAC1B,CAAA,EAEjB,KAAK,EAAA,qCAAqC,OACxC,OACE,EAAA,EAAA,KAAC,EAAA,YAAD,CACE,KAAK,SACL,QAAQ,UACR,OAAO,gDACP,UAAW,EAAA,sDACX,QAAS,WAER,EAAE,EAAA,QAAQ,0BAA0B,CAC1B,CAAA,EAEjB,KAAK,EAAA,qCAAqC,IACxC,OACE,EAAA,EAAA,KAAC,EAAA,YAAD,CACE,KAAK,SACL,QAAQ,YACR,OAAO,uCACP,UAAW,EAAA,sDACX,QAAS,WAER,EAAE,EAAA,QAAQ,cAAc,CACd,CAAA,EAEjB,KAAK,EAAA,qCAAqC,QACxC,OACE,EAAA,EAAA,KAAC,EAAA,YAAD,CACE,KAAK,SACL,QAAQ,UACR,OAAO,2CACP,UAAW,EAAA,sDACX,QAAS,WAER,EAAE,EAAA,QAAQ,sBAAsB,CACtB,CAAA,EAEjB,KAAK,EAAA,qCAAqC,cACxC,OAAO,EAAA,EAAA,KAAC,EAAA,uCAAD,CAAwC,KAAK,eAAiB,CAAA,EACvE,KAAK,EAAA,qCAAqC,OACxC,OAAO,EAAA,EAAA,KAAC,EAAA,uCAAD,CAAwC,KAAK,QAAU,CAAA,EAChE,QACE,OAAO,IACX,CACF,CAEA,SAAS,EAA+B,CACtC,UACA,WAIC,CACD,OAAQ,EAAR,CACE,KAAK,EAAA,qCAAqC,YACxC,OAAO,EAAA,EAAA,KAAC,EAAA,qCAAD,CAA+C,SAAU,CAAA,EAClE,KAAK,EAAA,qCAAqC,OACxC,OAAO,EAAA,EAAA,KAAC,EAAA,gCAAD,CAA0C,SAAU,CAAA,EAC7D,KAAK,EAAA,qCAAqC,IACxC,OAAO,EAAA,EAAA,KAAC,EAAA,6BAAD,CAAuC,SAAU,CAAA,EAC1D,KAAK,EAAA,qCAAqC,QACxC,OAAO,EAAA,EAAA,KAAC,EAAA,iCAAD,CAA2C,SAAU,CAAA,EAC9D,KAAK,EAAA,qCAAqC,cACxC,OAAO,EAAA,EAAA,KAAC,EAAA,kCAAD,CAAmC,KAAK,eAAiB,CAAA,EAClE,KAAK,EAAA,qCAAqC,OACxC,OAAO,EAAA,EAAA,KAAC,EAAA,kCAAD,CAAmC,KAAK,QAAU,CAAA,EAC3D,QAEE,OAAO,CAEX,CACF,CAEA,SAAgB,EAAkC,CAChD,aACyC,CACzC,GAAM,CAAE,KAAM,EAAA,eAAe,WAAW,EAClC,CAAE,UAAS,UAAS,eAAgB,EAAA,8BAA8B,EAClE,CAAE,iBAAkB,EAAA,6BAA6B,EAmBvD,IAjBA,EAAA,EAAA,eAAgB,CACd,GAAI,CAAC,EACH,OAGF,IAAM,EAAgB,GAAyB,CACzC,EAAM,MAAQ,UAChB,EAAY,CAEhB,EAGA,OADA,SAAS,iBAAiB,UAAW,CAAY,MACpC,CACX,SAAS,oBAAoB,UAAW,CAAY,CACtD,CACF,EAAG,CAAC,EAAa,CAAO,CAAC,EAErB,CAAC,EACH,OAAO,KAGT,IAAM,EACJ,IAAY,EAAA,qCAAqC,eACjD,IAAY,EAAA,qCAAqC,QACjD,IAAY,EAAA,qCAAqC,QAEnD,OACE,EAAA,EAAA,MAAC,QAAD,CACE,cAAY,uCACZ,aAAY,EAAE,EAAmB,CAAO,CAAC,EACzC,UAAW,EAAA,GACT,wEACA,CACF,WANF,EAQE,EAAA,EAAA,MAAC,SAAD,CAAQ,UAAW,EAAA,wDAAnB,EACE,EAAA,EAAA,KAAC,SAAD,CACE,KAAK,SACL,cAAY,qCACZ,aAAY,EAAE,EAAA,QAAQ,YAAY,EAClC,QAAS,EACT,UAAW,EAAA,+DAEX,EAAA,EAAA,KAAC,EAAA,QAAD,CAAW,UAAU,SAAS,cAAA,EAAa,CAAA,CACrC,CAAA,GACR,EAAA,EAAA,MAAC,MAAD,CAAK,UAAU,kDAAf,EACE,EAAA,EAAA,KAAC,KAAD,CAAI,UAAU,qDACX,EAAE,EAAmB,CAAO,CAAC,CAC5B,CAAA,EACH,GACC,EAAA,EAAA,KAAC,IAAD,CACE,cAAY,yCACZ,UAAU,uCAET,CACA,CAAA,EACD,IACD,KACL,EAAA,EAAA,KAAC,MAAD,CAAK,UAAU,qBACb,EAAA,EAAA,KAAC,EAAD,CAAoD,SAAU,CAAA,CAC3D,CAAA,CACC,KAER,EAAA,EAAA,KAAC,MAAD,CACE,UAAW,EAAA,GACT,yCACA,EACI,gCACA,2BACN,YAEA,EAAA,EAAA,KAAC,EAAD,CAAyC,UAAkB,SAAU,CAAA,CAClE,CAAA,CACA,GAEX"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { useTranslation as e } from "../../../node_modules/react-i18next/dist/es/useTranslation.js";
|
|
2
|
+
import { I18nKey as t } from "../../../i18n/declaration.js";
|
|
3
|
+
import { cn as n } from "../../../utils/utils.js";
|
|
4
|
+
import { BrandButton as r } from "../settings/brand-button.js";
|
|
5
|
+
import { useConversationOverviewStats as i } from "../../../hooks/use-conversation-overview-stats.js";
|
|
6
|
+
import { useConversationOverviewDrawer as a } from "./conversation-overview-drawer-context.js";
|
|
7
|
+
import { CONVERSATION_OVERVIEW_DRAWER_SECTION as o } from "./conversation-overview-drawer.types.js";
|
|
8
|
+
import s from "../../../icons/x-mark.js";
|
|
9
|
+
import { ConversationOverviewAutomationsPanel as c } from "./conversation-overview-automations-panel.js";
|
|
10
|
+
import { ConversationOverviewSkillsPanel as l } from "./conversation-overview-skills-panel.js";
|
|
11
|
+
import { ConversationOverviewMcpPanel as u } from "./conversation-overview-mcp-panel.js";
|
|
12
|
+
import { ConversationOverviewSecretsPanel as d } from "./conversation-overview-secrets-panel.js";
|
|
13
|
+
import { ConversationOverviewGitItemsHeaderLink as f, ConversationOverviewGitItemsPanel as p } from "./conversation-overview-git-items-panel.js";
|
|
14
|
+
import { CONVERSATION_SECONDARY_DRAWER_CLOSE_BUTTON_CLASSNAME as m, CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME as h, CONVERSATION_SECONDARY_DRAWER_HEADER_CLASSNAME as g } from "./conversation-secondary-drawer.classes.js";
|
|
15
|
+
import { useEffect as _ } from "react";
|
|
16
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
17
|
+
//#region src/components/features/conversation/conversation-overview-drawer-content.tsx
|
|
18
|
+
function b(e) {
|
|
19
|
+
switch (e) {
|
|
20
|
+
case o.automations: return t.CONVERSATION_PANEL$AUTOMATIONS;
|
|
21
|
+
case o.skills: return t.SETTINGS$NAV_SKILLS;
|
|
22
|
+
case o.mcp: return t.CONVERSATION$OVERVIEW_MCP;
|
|
23
|
+
case o.secrets: return t.SETTINGS$NAV_SECRETS;
|
|
24
|
+
case o.pull_requests: return t.CONVERSATION$OVERVIEW_PULL_REQUESTS;
|
|
25
|
+
case o.issues: return t.CONVERSATION$OVERVIEW_ISSUES;
|
|
26
|
+
default: return e;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function x({ section: n }) {
|
|
30
|
+
let { t: i } = e("openhands"), { requestAdd: s } = a();
|
|
31
|
+
switch (n) {
|
|
32
|
+
case o.automations: return /* @__PURE__ */ v(r, {
|
|
33
|
+
type: "button",
|
|
34
|
+
variant: "primary",
|
|
35
|
+
testId: "conversation-overview-automations-add",
|
|
36
|
+
className: h,
|
|
37
|
+
onClick: s,
|
|
38
|
+
children: i(t.AUTOMATIONS$ADD_AUTOMATION)
|
|
39
|
+
});
|
|
40
|
+
case o.skills: return /* @__PURE__ */ v(r, {
|
|
41
|
+
type: "button",
|
|
42
|
+
variant: "primary",
|
|
43
|
+
testId: "conversation-overview-skills-add-skill-button",
|
|
44
|
+
className: h,
|
|
45
|
+
onClick: s,
|
|
46
|
+
children: i(t.SETTINGS$SKILLS_ADD_BUTTON)
|
|
47
|
+
});
|
|
48
|
+
case o.mcp: return /* @__PURE__ */ v(r, {
|
|
49
|
+
type: "button",
|
|
50
|
+
variant: "secondary",
|
|
51
|
+
testId: "conversation-overview-mcp-add-server",
|
|
52
|
+
className: h,
|
|
53
|
+
onClick: s,
|
|
54
|
+
children: i(t.MCP$ADD_CUSTOM)
|
|
55
|
+
});
|
|
56
|
+
case o.secrets: return /* @__PURE__ */ v(r, {
|
|
57
|
+
type: "button",
|
|
58
|
+
variant: "primary",
|
|
59
|
+
testId: "conversation-overview-secrets-add-button",
|
|
60
|
+
className: h,
|
|
61
|
+
onClick: s,
|
|
62
|
+
children: i(t.SECRETS$ADD_NEW_SECRET)
|
|
63
|
+
});
|
|
64
|
+
case o.pull_requests: return /* @__PURE__ */ v(f, { kind: "pull_requests" });
|
|
65
|
+
case o.issues: return /* @__PURE__ */ v(f, { kind: "issues" });
|
|
66
|
+
default: return null;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function S({ section: e, openAdd: t }) {
|
|
70
|
+
switch (e) {
|
|
71
|
+
case o.automations: return /* @__PURE__ */ v(c, { openAdd: t });
|
|
72
|
+
case o.skills: return /* @__PURE__ */ v(l, { openAdd: t });
|
|
73
|
+
case o.mcp: return /* @__PURE__ */ v(u, { openAdd: t });
|
|
74
|
+
case o.secrets: return /* @__PURE__ */ v(d, { openAdd: t });
|
|
75
|
+
case o.pull_requests: return /* @__PURE__ */ v(p, { kind: "pull_requests" });
|
|
76
|
+
case o.issues: return /* @__PURE__ */ v(p, { kind: "issues" });
|
|
77
|
+
default: return e;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function C({ className: r }) {
|
|
81
|
+
let { t: c } = e("openhands"), { section: l, openAdd: u, closeDrawer: d } = a(), { workspaceName: f } = i();
|
|
82
|
+
if (_(() => {
|
|
83
|
+
if (!l) return;
|
|
84
|
+
let e = (e) => {
|
|
85
|
+
e.key === "Escape" && d();
|
|
86
|
+
};
|
|
87
|
+
return document.addEventListener("keydown", e), () => {
|
|
88
|
+
document.removeEventListener("keydown", e);
|
|
89
|
+
};
|
|
90
|
+
}, [d, l]), !l) return null;
|
|
91
|
+
let p = l === o.pull_requests || l === o.issues || l === o.secrets;
|
|
92
|
+
return /* @__PURE__ */ y("aside", {
|
|
93
|
+
"data-testid": "conversation-overview-drawer-content",
|
|
94
|
+
"aria-label": c(b(l)),
|
|
95
|
+
className: n("flex h-full w-full min-h-0 flex-col overflow-hidden bg-base-secondary", r),
|
|
96
|
+
children: [/* @__PURE__ */ y("header", {
|
|
97
|
+
className: g,
|
|
98
|
+
children: [
|
|
99
|
+
/* @__PURE__ */ v("button", {
|
|
100
|
+
type: "button",
|
|
101
|
+
"data-testid": "conversation-overview-drawer-close",
|
|
102
|
+
"aria-label": c(t.BUTTON$CLOSE),
|
|
103
|
+
onClick: d,
|
|
104
|
+
className: m,
|
|
105
|
+
children: /* @__PURE__ */ v(s, {
|
|
106
|
+
className: "size-4",
|
|
107
|
+
"aria-hidden": !0
|
|
108
|
+
})
|
|
109
|
+
}),
|
|
110
|
+
/* @__PURE__ */ y("div", {
|
|
111
|
+
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
112
|
+
children: [/* @__PURE__ */ v("h2", {
|
|
113
|
+
className: "truncate text-sm font-medium text-content",
|
|
114
|
+
children: c(b(l))
|
|
115
|
+
}), f ? /* @__PURE__ */ v("p", {
|
|
116
|
+
"data-testid": "conversation-overview-drawer-workspace",
|
|
117
|
+
className: "truncate text-xs text-muted",
|
|
118
|
+
children: f
|
|
119
|
+
}) : null]
|
|
120
|
+
}),
|
|
121
|
+
/* @__PURE__ */ v("div", {
|
|
122
|
+
className: "shrink-0",
|
|
123
|
+
children: /* @__PURE__ */ v(x, { section: l })
|
|
124
|
+
})
|
|
125
|
+
]
|
|
126
|
+
}), /* @__PURE__ */ v("div", {
|
|
127
|
+
className: n("min-h-0 flex-1 custom-scrollbar-always", p ? "flex flex-col overflow-hidden" : "overflow-y-auto px-4 py-4"),
|
|
128
|
+
children: /* @__PURE__ */ v(S, {
|
|
129
|
+
section: l,
|
|
130
|
+
openAdd: u
|
|
131
|
+
})
|
|
132
|
+
})]
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
136
|
+
export { C as ConversationOverviewDrawerContent };
|
|
137
|
+
|
|
138
|
+
//# sourceMappingURL=conversation-overview-drawer-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer-content.js","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer-content.tsx"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport XMarkIcon from \"#/icons/x-mark.svg?react\";\nimport { BrandButton } from \"#/components/features/settings/brand-button\";\nimport { I18nKey } from \"#/i18n/declaration\";\nimport { cn } from \"#/utils/utils\";\nimport { useConversationOverviewDrawer } from \"./conversation-overview-drawer-context\";\nimport {\n CONVERSATION_OVERVIEW_DRAWER_SECTION,\n type ConversationOverviewDrawerSection,\n} from \"./conversation-overview-drawer.types\";\nimport { ConversationOverviewAutomationsPanel } from \"./conversation-overview-automations-panel\";\nimport { ConversationOverviewSkillsPanel } from \"./conversation-overview-skills-panel\";\nimport { ConversationOverviewMcpPanel } from \"./conversation-overview-mcp-panel\";\nimport { ConversationOverviewSecretsPanel } from \"./conversation-overview-secrets-panel\";\nimport {\n ConversationOverviewGitItemsHeaderLink,\n ConversationOverviewGitItemsPanel,\n} from \"./conversation-overview-git-items-panel\";\nimport { useConversationOverviewStats } from \"#/hooks/use-conversation-overview-stats\";\nimport {\n CONVERSATION_SECONDARY_DRAWER_CLOSE_BUTTON_CLASSNAME,\n CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME,\n CONVERSATION_SECONDARY_DRAWER_HEADER_CLASSNAME,\n} from \"./conversation-secondary-drawer.classes\";\n\ninterface ConversationOverviewDrawerContentProps {\n className?: string;\n}\n\nfunction getSectionTitleKey(section: ConversationOverviewDrawerSection) {\n switch (section) {\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:\n return I18nKey.CONVERSATION_PANEL$AUTOMATIONS;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:\n return I18nKey.SETTINGS$NAV_SKILLS;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:\n return I18nKey.CONVERSATION$OVERVIEW_MCP;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:\n return I18nKey.SETTINGS$NAV_SECRETS;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:\n return I18nKey.CONVERSATION$OVERVIEW_PULL_REQUESTS;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:\n return I18nKey.CONVERSATION$OVERVIEW_ISSUES;\n default: {\n const _exhaustive: never = section;\n return _exhaustive;\n }\n }\n}\n\nfunction ConversationOverviewDrawerHeaderAddAction({\n section,\n}: {\n section: ConversationOverviewDrawerSection;\n}) {\n const { t } = useTranslation(\"openhands\");\n const { requestAdd } = useConversationOverviewDrawer();\n\n switch (section) {\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:\n return (\n <BrandButton\n type=\"button\"\n variant=\"primary\"\n testId=\"conversation-overview-automations-add\"\n className={CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME}\n onClick={requestAdd}\n >\n {t(I18nKey.AUTOMATIONS$ADD_AUTOMATION)}\n </BrandButton>\n );\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:\n return (\n <BrandButton\n type=\"button\"\n variant=\"primary\"\n testId=\"conversation-overview-skills-add-skill-button\"\n className={CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME}\n onClick={requestAdd}\n >\n {t(I18nKey.SETTINGS$SKILLS_ADD_BUTTON)}\n </BrandButton>\n );\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:\n return (\n <BrandButton\n type=\"button\"\n variant=\"secondary\"\n testId=\"conversation-overview-mcp-add-server\"\n className={CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME}\n onClick={requestAdd}\n >\n {t(I18nKey.MCP$ADD_CUSTOM)}\n </BrandButton>\n );\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:\n return (\n <BrandButton\n type=\"button\"\n variant=\"primary\"\n testId=\"conversation-overview-secrets-add-button\"\n className={CONVERSATION_SECONDARY_DRAWER_HEADER_ACTION_CLASSNAME}\n onClick={requestAdd}\n >\n {t(I18nKey.SECRETS$ADD_NEW_SECRET)}\n </BrandButton>\n );\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:\n return <ConversationOverviewGitItemsHeaderLink kind=\"pull_requests\" />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:\n return <ConversationOverviewGitItemsHeaderLink kind=\"issues\" />;\n default:\n return null;\n }\n}\n\nfunction ConversationOverviewDrawerBody({\n section,\n openAdd,\n}: {\n section: ConversationOverviewDrawerSection;\n openAdd: boolean;\n}) {\n switch (section) {\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.automations:\n return <ConversationOverviewAutomationsPanel openAdd={openAdd} />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.skills:\n return <ConversationOverviewSkillsPanel openAdd={openAdd} />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.mcp:\n return <ConversationOverviewMcpPanel openAdd={openAdd} />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets:\n return <ConversationOverviewSecretsPanel openAdd={openAdd} />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests:\n return <ConversationOverviewGitItemsPanel kind=\"pull_requests\" />;\n case CONVERSATION_OVERVIEW_DRAWER_SECTION.issues:\n return <ConversationOverviewGitItemsPanel kind=\"issues\" />;\n default: {\n const _exhaustive: never = section;\n return _exhaustive;\n }\n }\n}\n\nexport function ConversationOverviewDrawerContent({\n className,\n}: ConversationOverviewDrawerContentProps) {\n const { t } = useTranslation(\"openhands\");\n const { section, openAdd, closeDrawer } = useConversationOverviewDrawer();\n const { workspaceName } = useConversationOverviewStats();\n\n useEffect(() => {\n if (!section) {\n return undefined;\n }\n\n const handleEscape = (event: KeyboardEvent) => {\n if (event.key === \"Escape\") {\n closeDrawer();\n }\n };\n\n document.addEventListener(\"keydown\", handleEscape);\n return () => {\n document.removeEventListener(\"keydown\", handleEscape);\n };\n }, [closeDrawer, section]);\n\n if (!section) {\n return null;\n }\n\n const isFullBleedBody =\n section === CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests ||\n section === CONVERSATION_OVERVIEW_DRAWER_SECTION.issues ||\n section === CONVERSATION_OVERVIEW_DRAWER_SECTION.secrets;\n\n return (\n <aside\n data-testid=\"conversation-overview-drawer-content\"\n aria-label={t(getSectionTitleKey(section))}\n className={cn(\n \"flex h-full w-full min-h-0 flex-col overflow-hidden bg-base-secondary\",\n className,\n )}\n >\n <header className={CONVERSATION_SECONDARY_DRAWER_HEADER_CLASSNAME}>\n <button\n type=\"button\"\n data-testid=\"conversation-overview-drawer-close\"\n aria-label={t(I18nKey.BUTTON$CLOSE)}\n onClick={closeDrawer}\n className={CONVERSATION_SECONDARY_DRAWER_CLOSE_BUTTON_CLASSNAME}\n >\n <XMarkIcon className=\"size-4\" aria-hidden />\n </button>\n <div className=\"flex min-w-0 flex-1 items-center gap-2\">\n <h2 className=\"truncate text-sm font-medium text-content\">\n {t(getSectionTitleKey(section))}\n </h2>\n {workspaceName ? (\n <p\n data-testid=\"conversation-overview-drawer-workspace\"\n className=\"truncate text-xs text-muted\"\n >\n {workspaceName}\n </p>\n ) : null}\n </div>\n <div className=\"shrink-0\">\n <ConversationOverviewDrawerHeaderAddAction section={section} />\n </div>\n </header>\n\n <div\n className={cn(\n \"min-h-0 flex-1 custom-scrollbar-always\",\n isFullBleedBody\n ? \"flex flex-col overflow-hidden\"\n : \"overflow-y-auto px-4 py-4\",\n )}\n >\n <ConversationOverviewDrawerBody section={section} openAdd={openAdd} />\n </div>\n </aside>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AA8BA,SAAS,EAAmB,GAA4C;CACtE,QAAQ,GAAR;EACE,KAAK,EAAqC,aACxC,OAAO,EAAQ;EACjB,KAAK,EAAqC,QACxC,OAAO,EAAQ;EACjB,KAAK,EAAqC,KACxC,OAAO,EAAQ;EACjB,KAAK,EAAqC,SACxC,OAAO,EAAQ;EACjB,KAAK,EAAqC,eACxC,OAAO,EAAQ;EACjB,KAAK,EAAqC,QACxC,OAAO,EAAQ;EACjB,SAEE,OAAO;CAEX;AACF;AAEA,SAAS,EAA0C,EACjD,cAGC;CACD,IAAM,EAAE,SAAM,EAAe,WAAW,GAClC,EAAE,kBAAe,EAA8B;CAErD,QAAQ,GAAR;EACE,KAAK,EAAqC,aACxC,OACE,kBAAC,GAAD;GACE,MAAK;GACL,SAAQ;GACR,QAAO;GACP,WAAW;GACX,SAAS;aAER,EAAE,EAAQ,0BAA0B;EAC1B,CAAA;EAEjB,KAAK,EAAqC,QACxC,OACE,kBAAC,GAAD;GACE,MAAK;GACL,SAAQ;GACR,QAAO;GACP,WAAW;GACX,SAAS;aAER,EAAE,EAAQ,0BAA0B;EAC1B,CAAA;EAEjB,KAAK,EAAqC,KACxC,OACE,kBAAC,GAAD;GACE,MAAK;GACL,SAAQ;GACR,QAAO;GACP,WAAW;GACX,SAAS;aAER,EAAE,EAAQ,cAAc;EACd,CAAA;EAEjB,KAAK,EAAqC,SACxC,OACE,kBAAC,GAAD;GACE,MAAK;GACL,SAAQ;GACR,QAAO;GACP,WAAW;GACX,SAAS;aAER,EAAE,EAAQ,sBAAsB;EACtB,CAAA;EAEjB,KAAK,EAAqC,eACxC,OAAO,kBAAC,GAAD,EAAwC,MAAK,gBAAiB,CAAA;EACvE,KAAK,EAAqC,QACxC,OAAO,kBAAC,GAAD,EAAwC,MAAK,SAAU,CAAA;EAChE,SACE,OAAO;CACX;AACF;AAEA,SAAS,EAA+B,EACtC,YACA,cAIC;CACD,QAAQ,GAAR;EACE,KAAK,EAAqC,aACxC,OAAO,kBAAC,GAAD,EAA+C,WAAU,CAAA;EAClE,KAAK,EAAqC,QACxC,OAAO,kBAAC,GAAD,EAA0C,WAAU,CAAA;EAC7D,KAAK,EAAqC,KACxC,OAAO,kBAAC,GAAD,EAAuC,WAAU,CAAA;EAC1D,KAAK,EAAqC,SACxC,OAAO,kBAAC,GAAD,EAA2C,WAAU,CAAA;EAC9D,KAAK,EAAqC,eACxC,OAAO,kBAAC,GAAD,EAAmC,MAAK,gBAAiB,CAAA;EAClE,KAAK,EAAqC,QACxC,OAAO,kBAAC,GAAD,EAAmC,MAAK,SAAU,CAAA;EAC3D,SAEE,OAAO;CAEX;AACF;AAEA,SAAgB,EAAkC,EAChD,gBACyC;CACzC,IAAM,EAAE,SAAM,EAAe,WAAW,GAClC,EAAE,YAAS,YAAS,mBAAgB,EAA8B,GAClE,EAAE,qBAAkB,EAA6B;CAmBvD,IAjBA,QAAgB;EACd,IAAI,CAAC,GACH;EAGF,IAAM,KAAgB,MAAyB;GAC7C,AAAI,EAAM,QAAQ,YAChB,EAAY;EAEhB;EAGA,OADA,SAAS,iBAAiB,WAAW,CAAY,SACpC;GACX,SAAS,oBAAoB,WAAW,CAAY;EACtD;CACF,GAAG,CAAC,GAAa,CAAO,CAAC,GAErB,CAAC,GACH,OAAO;CAGT,IAAM,IACJ,MAAY,EAAqC,iBACjD,MAAY,EAAqC,UACjD,MAAY,EAAqC;CAEnD,OACE,kBAAC,SAAD;EACE,eAAY;EACZ,cAAY,EAAE,EAAmB,CAAO,CAAC;EACzC,WAAW,EACT,yEACA,CACF;YANF,CAQE,kBAAC,UAAD;GAAQ,WAAW;aAAnB;IACE,kBAAC,UAAD;KACE,MAAK;KACL,eAAY;KACZ,cAAY,EAAE,EAAQ,YAAY;KAClC,SAAS;KACT,WAAW;eAEX,kBAAC,GAAD;MAAW,WAAU;MAAS,eAAA;KAAa,CAAA;IACrC,CAAA;IACR,kBAAC,OAAD;KAAK,WAAU;eAAf,CACE,kBAAC,MAAD;MAAI,WAAU;gBACX,EAAE,EAAmB,CAAO,CAAC;KAC5B,CAAA,GACH,IACC,kBAAC,KAAD;MACE,eAAY;MACZ,WAAU;gBAET;KACA,CAAA,IACD,IACD;;IACL,kBAAC,OAAD;KAAK,WAAU;eACb,kBAAC,GAAD,EAAoD,WAAU,CAAA;IAC3D,CAAA;GACC;MAER,kBAAC,OAAD;GACE,WAAW,EACT,0CACA,IACI,kCACA,2BACN;aAEA,kBAAC,GAAD;IAAyC;IAAkB;GAAU,CAAA;EAClE,CAAA,CACA;;AAEX"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime");var r=(0,t.createContext)(null);function i({children:e}){let[i,a]=(0,t.useState)(null),[o,s]=(0,t.useState)(!1),[c,l]=(0,t.useState)(0),u=(0,t.useCallback)((e,t)=>{a(e),s(!!t?.openAdd),l(0)},[]),d=(0,t.useCallback)(()=>{a(null),s(!1),l(0)},[]),f=(0,t.useCallback)(()=>{l(e=>e+1)},[]),p=(0,t.useMemo)(()=>({section:i,openAdd:o,addRequestKey:c,openSection:u,closeDrawer:d,requestAdd:f}),[c,d,o,u,f,i]);return(0,n.jsx)(r.Provider,{value:p,children:e})}function a(){let e=(0,t.useContext)(r);if(!e)throw Error(`useConversationOverviewDrawer must be used within ConversationOverviewDrawerProvider`);return e}function o(){return(0,t.useContext)(r)}exports.ConversationOverviewDrawerProvider=i,exports.useConversationOverviewDrawer=a,exports.useConversationOverviewDrawerOptional=o;
|
|
2
|
+
//# sourceMappingURL=conversation-overview-drawer-context.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer-context.cjs","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer-context.tsx"],"sourcesContent":["import React, {\n createContext,\n useCallback,\n useContext,\n useMemo,\n useState,\n} from \"react\";\nimport type {\n ConversationOverviewDrawerOpenOptions,\n ConversationOverviewDrawerSection,\n} from \"./conversation-overview-drawer.types\";\n\ninterface ConversationOverviewDrawerContextValue {\n section: ConversationOverviewDrawerSection | null;\n openAdd: boolean;\n /** Increments when the drawer header Add control is clicked. */\n addRequestKey: number;\n openSection: (\n section: ConversationOverviewDrawerSection,\n options?: ConversationOverviewDrawerOpenOptions,\n ) => void;\n closeDrawer: () => void;\n requestAdd: () => void;\n}\n\nconst ConversationOverviewDrawerContext =\n createContext<ConversationOverviewDrawerContextValue | null>(null);\n\nexport function ConversationOverviewDrawerProvider({\n children,\n}: {\n children: React.ReactNode;\n}) {\n const [section, setSection] =\n useState<ConversationOverviewDrawerSection | null>(null);\n const [openAdd, setOpenAdd] = useState(false);\n const [addRequestKey, setAddRequestKey] = useState(0);\n\n const openSection = useCallback(\n (\n nextSection: ConversationOverviewDrawerSection,\n options?: ConversationOverviewDrawerOpenOptions,\n ) => {\n setSection(nextSection);\n setOpenAdd(Boolean(options?.openAdd));\n setAddRequestKey(0);\n },\n [],\n );\n\n const closeDrawer = useCallback(() => {\n setSection(null);\n setOpenAdd(false);\n setAddRequestKey(0);\n }, []);\n\n const requestAdd = useCallback(() => {\n setAddRequestKey((previous) => previous + 1);\n }, []);\n\n const value = useMemo(\n () => ({\n section,\n openAdd,\n addRequestKey,\n openSection,\n closeDrawer,\n requestAdd,\n }),\n [addRequestKey, closeDrawer, openAdd, openSection, requestAdd, section],\n );\n\n return (\n <ConversationOverviewDrawerContext.Provider value={value}>\n {children}\n </ConversationOverviewDrawerContext.Provider>\n );\n}\n\nexport function useConversationOverviewDrawer() {\n const context = useContext(ConversationOverviewDrawerContext);\n if (!context) {\n throw new Error(\n \"useConversationOverviewDrawer must be used within ConversationOverviewDrawerProvider\",\n );\n }\n return context;\n}\n\nexport function useConversationOverviewDrawerOptional() {\n return useContext(ConversationOverviewDrawerContext);\n}\n"],"mappings":"sIAyBA,IAAM,GAAA,EAAA,EAAA,eACyD,IAAI,EAEnE,SAAgB,EAAmC,CACjD,YAGC,CACD,GAAM,CAAC,EAAS,IAAA,EAAA,EAAA,UACqC,IAAI,EACnD,CAAC,EAAS,IAAA,EAAA,EAAA,UAAuB,EAAK,EACtC,CAAC,EAAe,IAAA,EAAA,EAAA,UAA6B,CAAC,EAE9C,GAAA,EAAA,EAAA,cAEF,EACA,IACG,CACH,EAAW,CAAW,EACtB,EAAW,EAAQ,GAAS,OAAQ,EACpC,EAAiB,CAAC,CACpB,EACA,CAAC,CACH,EAEM,GAAA,EAAA,EAAA,iBAAgC,CACpC,EAAW,IAAI,EACf,EAAW,EAAK,EAChB,EAAiB,CAAC,CACpB,EAAG,CAAC,CAAC,EAEC,GAAA,EAAA,EAAA,iBAA+B,CACnC,EAAkB,GAAa,EAAW,CAAC,CAC7C,EAAG,CAAC,CAAC,EAEC,GAAA,EAAA,EAAA,cACG,CACL,UACA,UACA,gBACA,cACA,cACA,YACF,GACA,CAAC,EAAe,EAAa,EAAS,EAAa,EAAY,CAAO,CACxE,EAEA,OACE,EAAA,EAAA,KAAC,EAAkC,SAAnC,CAAmD,QAChD,UACyC,CAAA,CAEhD,CAEA,SAAgB,GAAgC,CAC9C,IAAM,GAAA,EAAA,EAAA,YAAqB,CAAiC,EAC5D,GAAI,CAAC,EACH,MAAU,MACR,sFACF,EAEF,OAAO,CACT,CAEA,SAAgB,GAAwC,CACtD,OAAA,EAAA,EAAA,YAAkB,CAAiC,CACrD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ConversationOverviewDrawerOpenOptions, ConversationOverviewDrawerSection } from "./conversation-overview-drawer.types";
|
|
3
|
+
interface ConversationOverviewDrawerContextValue {
|
|
4
|
+
section: ConversationOverviewDrawerSection | null;
|
|
5
|
+
openAdd: boolean;
|
|
6
|
+
/** Increments when the drawer header Add control is clicked. */
|
|
7
|
+
addRequestKey: number;
|
|
8
|
+
openSection: (section: ConversationOverviewDrawerSection, options?: ConversationOverviewDrawerOpenOptions) => void;
|
|
9
|
+
closeDrawer: () => void;
|
|
10
|
+
requestAdd: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function ConversationOverviewDrawerProvider({ children, }: {
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
export declare function useConversationOverviewDrawer(): ConversationOverviewDrawerContextValue;
|
|
16
|
+
export declare function useConversationOverviewDrawerOptional(): ConversationOverviewDrawerContextValue | null;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createContext as e, useCallback as t, useContext as n, useMemo as r, useState as i } from "react";
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/features/conversation/conversation-overview-drawer-context.tsx
|
|
4
|
+
var o = e(null);
|
|
5
|
+
function s({ children: e }) {
|
|
6
|
+
let [n, s] = i(null), [c, l] = i(!1), [u, d] = i(0), f = t((e, t) => {
|
|
7
|
+
s(e), l(!!t?.openAdd), d(0);
|
|
8
|
+
}, []), p = t(() => {
|
|
9
|
+
s(null), l(!1), d(0);
|
|
10
|
+
}, []), m = t(() => {
|
|
11
|
+
d((e) => e + 1);
|
|
12
|
+
}, []), h = r(() => ({
|
|
13
|
+
section: n,
|
|
14
|
+
openAdd: c,
|
|
15
|
+
addRequestKey: u,
|
|
16
|
+
openSection: f,
|
|
17
|
+
closeDrawer: p,
|
|
18
|
+
requestAdd: m
|
|
19
|
+
}), [
|
|
20
|
+
u,
|
|
21
|
+
p,
|
|
22
|
+
c,
|
|
23
|
+
f,
|
|
24
|
+
m,
|
|
25
|
+
n
|
|
26
|
+
]);
|
|
27
|
+
return /* @__PURE__ */ a(o.Provider, {
|
|
28
|
+
value: h,
|
|
29
|
+
children: e
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function c() {
|
|
33
|
+
let e = n(o);
|
|
34
|
+
if (!e) throw Error("useConversationOverviewDrawer must be used within ConversationOverviewDrawerProvider");
|
|
35
|
+
return e;
|
|
36
|
+
}
|
|
37
|
+
function l() {
|
|
38
|
+
return n(o);
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
export { s as ConversationOverviewDrawerProvider, c as useConversationOverviewDrawer, l as useConversationOverviewDrawerOptional };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=conversation-overview-drawer-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer-context.js","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer-context.tsx"],"sourcesContent":["import React, {\n createContext,\n useCallback,\n useContext,\n useMemo,\n useState,\n} from \"react\";\nimport type {\n ConversationOverviewDrawerOpenOptions,\n ConversationOverviewDrawerSection,\n} from \"./conversation-overview-drawer.types\";\n\ninterface ConversationOverviewDrawerContextValue {\n section: ConversationOverviewDrawerSection | null;\n openAdd: boolean;\n /** Increments when the drawer header Add control is clicked. */\n addRequestKey: number;\n openSection: (\n section: ConversationOverviewDrawerSection,\n options?: ConversationOverviewDrawerOpenOptions,\n ) => void;\n closeDrawer: () => void;\n requestAdd: () => void;\n}\n\nconst ConversationOverviewDrawerContext =\n createContext<ConversationOverviewDrawerContextValue | null>(null);\n\nexport function ConversationOverviewDrawerProvider({\n children,\n}: {\n children: React.ReactNode;\n}) {\n const [section, setSection] =\n useState<ConversationOverviewDrawerSection | null>(null);\n const [openAdd, setOpenAdd] = useState(false);\n const [addRequestKey, setAddRequestKey] = useState(0);\n\n const openSection = useCallback(\n (\n nextSection: ConversationOverviewDrawerSection,\n options?: ConversationOverviewDrawerOpenOptions,\n ) => {\n setSection(nextSection);\n setOpenAdd(Boolean(options?.openAdd));\n setAddRequestKey(0);\n },\n [],\n );\n\n const closeDrawer = useCallback(() => {\n setSection(null);\n setOpenAdd(false);\n setAddRequestKey(0);\n }, []);\n\n const requestAdd = useCallback(() => {\n setAddRequestKey((previous) => previous + 1);\n }, []);\n\n const value = useMemo(\n () => ({\n section,\n openAdd,\n addRequestKey,\n openSection,\n closeDrawer,\n requestAdd,\n }),\n [addRequestKey, closeDrawer, openAdd, openSection, requestAdd, section],\n );\n\n return (\n <ConversationOverviewDrawerContext.Provider value={value}>\n {children}\n </ConversationOverviewDrawerContext.Provider>\n );\n}\n\nexport function useConversationOverviewDrawer() {\n const context = useContext(ConversationOverviewDrawerContext);\n if (!context) {\n throw new Error(\n \"useConversationOverviewDrawer must be used within ConversationOverviewDrawerProvider\",\n );\n }\n return context;\n}\n\nexport function useConversationOverviewDrawerOptional() {\n return useContext(ConversationOverviewDrawerContext);\n}\n"],"mappings":";;;AAyBA,IAAM,IACJ,EAA6D,IAAI;AAEnE,SAAgB,EAAmC,EACjD,eAGC;CACD,IAAM,CAAC,GAAS,KACd,EAAmD,IAAI,GACnD,CAAC,GAAS,KAAc,EAAS,EAAK,GACtC,CAAC,GAAe,KAAoB,EAAS,CAAC,GAE9C,IAAc,GAEhB,GACA,MACG;EAGH,AAFA,EAAW,CAAW,GACtB,EAAW,EAAQ,GAAS,OAAQ,GACpC,EAAiB,CAAC;CACpB,GACA,CAAC,CACH,GAEM,IAAc,QAAkB;EAGpC,AAFA,EAAW,IAAI,GACf,EAAW,EAAK,GAChB,EAAiB,CAAC;CACpB,GAAG,CAAC,CAAC,GAEC,IAAa,QAAkB;EACnC,GAAkB,MAAa,IAAW,CAAC;CAC7C,GAAG,CAAC,CAAC,GAEC,IAAQ,SACL;EACL;EACA;EACA;EACA;EACA;EACA;CACF,IACA;EAAC;EAAe;EAAa;EAAS;EAAa;EAAY;CAAO,CACxE;CAEA,OACE,kBAAC,EAAkC,UAAnC;EAAmD;EAChD;CACyC,CAAA;AAEhD;AAEA,SAAgB,IAAgC;CAC9C,IAAM,IAAU,EAAW,CAAiC;CAC5D,IAAI,CAAC,GACH,MAAU,MACR,sFACF;CAEF,OAAO;AACT;AAEA,SAAgB,IAAwC;CACtD,OAAO,EAAW,CAAiC;AACrD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");const e=require("../../../utils/utils.cjs"),t=require("./conversation-overview-drawer-context.cjs"),n=require("../../ui/resize-handle.cjs"),r=require("../../../hooks/use-resizable-drawer-width.cjs"),i=require("./conversation-overview-drawer-content.cjs"),a=require("./conversation-overview-drawer.constants.cjs");let o=require("react/jsx-runtime");function s(e){return e?`translate-x-0 opacity-100`:`w-0 translate-x-full opacity-0`}function c({isMobile:c,resizeContainerRef:l}){let u=t.useConversationOverviewDrawerOptional(),d=!!u?.section,{drawerWidth:f,isDragging:p,handleMouseDown:m}=r.useResizableDrawerWidth({containerRef:l??{current:null},defaultWidth:420,minWidth:300,maxWidth:640,storageKey:a.CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY,enabled:d&&!c&&l!=null});return u?c?d?(0,o.jsx)(i.ConversationOverviewDrawerContent,{className:`max-h-[min(50vh,420px)] w-full border-t border-[var(--oh-border)]`}):null:(0,o.jsxs)(o.Fragment,{children:[d&&l?(0,o.jsx)(`div`,{"data-testid":a.CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID,children:(0,o.jsx)(n.ResizeHandle,{onMouseDown:m,isDragging:p})}):null,(0,o.jsx)(`div`,{"data-testid":a.CONVERSATION_OVERVIEW_DRAWER_TEST_ID,"aria-hidden":!d,className:e.cn(`shrink-0 overflow-hidden ease-in-out`,p?`transition-[transform,opacity] duration-300`:`transition-all duration-300`,s(d)),style:{width:d?`${f}px`:`0px`,transitionProperty:p?`transform, opacity`:`width, transform, opacity`},children:(0,o.jsx)(`div`,{className:`flex h-full flex-col overflow-hidden border-l border-[var(--oh-border)] bg-base-secondary`,style:{width:`${f}px`},children:d?(0,o.jsx)(i.ConversationOverviewDrawerContent,{className:`h-full`}):null})})]}):null}exports.ConversationOverviewDrawer=c;
|
|
2
|
+
//# sourceMappingURL=conversation-overview-drawer.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer.cjs","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer.tsx"],"sourcesContent":["import type { RefObject } from \"react\";\nimport { ResizeHandle } from \"#/components/ui/resize-handle\";\nimport { useResizableDrawerWidth } from \"#/hooks/use-resizable-drawer-width\";\nimport { cn } from \"#/utils/utils\";\nimport { ConversationOverviewDrawerContent } from \"./conversation-overview-drawer-content\";\nimport { useConversationOverviewDrawerOptional } from \"./conversation-overview-drawer-context\";\nimport {\n CONVERSATION_OVERVIEW_DRAWER_DEFAULT_WIDTH_PX,\n CONVERSATION_OVERVIEW_DRAWER_MAX_WIDTH_PX,\n CONVERSATION_OVERVIEW_DRAWER_MIN_WIDTH_PX,\n CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID,\n CONVERSATION_OVERVIEW_DRAWER_TEST_ID,\n CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY,\n} from \"./conversation-overview-drawer.constants\";\n\nfunction getOverviewDrawerClass(isOpen: boolean) {\n return isOpen\n ? \"translate-x-0 opacity-100\"\n : \"w-0 translate-x-full opacity-0\";\n}\n\ninterface ConversationOverviewDrawerProps {\n isMobile: boolean;\n resizeContainerRef?: RefObject<HTMLElement | null>;\n}\n\nexport function ConversationOverviewDrawer({\n isMobile,\n resizeContainerRef,\n}: ConversationOverviewDrawerProps) {\n const overviewDrawer = useConversationOverviewDrawerOptional();\n const isOpen = Boolean(overviewDrawer?.section);\n\n const { drawerWidth, isDragging, handleMouseDown } = useResizableDrawerWidth({\n containerRef: resizeContainerRef ?? { current: null },\n defaultWidth: CONVERSATION_OVERVIEW_DRAWER_DEFAULT_WIDTH_PX,\n minWidth: CONVERSATION_OVERVIEW_DRAWER_MIN_WIDTH_PX,\n maxWidth: CONVERSATION_OVERVIEW_DRAWER_MAX_WIDTH_PX,\n storageKey: CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY,\n enabled: isOpen && !isMobile && resizeContainerRef != null,\n });\n\n if (!overviewDrawer) {\n return null;\n }\n\n if (isMobile) {\n if (!isOpen) {\n return null;\n }\n\n return (\n <ConversationOverviewDrawerContent className=\"max-h-[min(50vh,420px)] w-full border-t border-[var(--oh-border)]\" />\n );\n }\n\n return (\n <>\n {isOpen && resizeContainerRef ? (\n <div data-testid={CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID}>\n <ResizeHandle onMouseDown={handleMouseDown} isDragging={isDragging} />\n </div>\n ) : null}\n <div\n data-testid={CONVERSATION_OVERVIEW_DRAWER_TEST_ID}\n aria-hidden={!isOpen}\n className={cn(\n \"shrink-0 overflow-hidden ease-in-out\",\n isDragging\n ? \"transition-[transform,opacity] duration-300\"\n : \"transition-all duration-300\",\n getOverviewDrawerClass(isOpen),\n )}\n style={{\n width: isOpen ? `${drawerWidth}px` : \"0px\",\n transitionProperty: isDragging\n ? \"transform, opacity\"\n : \"width, transform, opacity\",\n }}\n >\n <div\n className=\"flex h-full flex-col overflow-hidden border-l border-[var(--oh-border)] bg-base-secondary\"\n style={{ width: `${drawerWidth}px` }}\n >\n {isOpen ? (\n <ConversationOverviewDrawerContent className=\"h-full\" />\n ) : null}\n </div>\n </div>\n </>\n );\n}\n"],"mappings":"+YAeA,SAAS,EAAuB,EAAiB,CAC/C,OAAO,EACH,4BACA,gCACN,CAOA,SAAgB,EAA2B,CACzC,WACA,sBACkC,CAClC,IAAM,EAAiB,EAAA,sCAAsC,EACvD,EAAS,EAAQ,GAAgB,QAEjC,CAAE,cAAa,aAAY,mBAAoB,EAAA,wBAAwB,CAC3E,aAAc,GAAsB,CAAE,QAAS,IAAK,EACpD,aAAA,IACA,SAAA,IACA,SAAA,IACA,WAAY,EAAA,+CACZ,QAAS,GAAU,CAAC,GAAY,GAAsB,IACxD,CAAC,EAgBD,OAdK,EAID,EACG,GAKH,EAAA,EAAA,KAAC,EAAA,kCAAD,CAAmC,UAAU,mEAAqE,CAAA,EAJ3G,MAST,EAAA,EAAA,MAAA,EAAA,SAAA,CAAA,SAAA,CACG,GAAU,GACT,EAAA,EAAA,KAAC,MAAD,CAAK,cAAa,EAAA,6DAChB,EAAA,EAAA,KAAC,EAAA,aAAD,CAAc,YAAa,EAA6B,YAAa,CAAA,CAClE,CAAA,EACH,MACJ,EAAA,EAAA,KAAC,MAAD,CACE,cAAa,EAAA,qCACb,cAAa,CAAC,EACd,UAAW,EAAA,GACT,uCACA,EACI,8CACA,8BACJ,EAAuB,CAAM,CAC/B,EACA,MAAO,CACL,MAAO,EAAS,GAAG,EAAY,IAAM,MACrC,mBAAoB,EAChB,qBACA,2BACN,YAEA,EAAA,EAAA,KAAC,MAAD,CACE,UAAU,4FACV,MAAO,CAAE,MAAO,GAAG,EAAY,GAAI,WAElC,GACC,EAAA,EAAA,KAAC,EAAA,kCAAD,CAAmC,UAAU,QAAU,CAAA,EACrD,IACD,CAAA,CACF,CAAA,CACL,CAAA,CAAA,EA9CK,IAgDX"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");var e=`conversation-overview-drawer-width`,t=`conversation-overview-drawer-resize-handle`,n=`conversation-overview-drawer`;exports.CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID=t,exports.CONVERSATION_OVERVIEW_DRAWER_TEST_ID=n,exports.CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY=e;
|
|
2
|
+
//# sourceMappingURL=conversation-overview-drawer.constants.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer.constants.cjs","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer.constants.ts"],"sourcesContent":["export const CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY =\n \"conversation-overview-drawer-width\";\n\nexport const CONVERSATION_OVERVIEW_DRAWER_DEFAULT_WIDTH_PX = 420;\nexport const CONVERSATION_OVERVIEW_DRAWER_MIN_WIDTH_PX = 300;\nexport const CONVERSATION_OVERVIEW_DRAWER_MAX_WIDTH_PX = 640;\n\nexport const CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID =\n \"conversation-overview-drawer-resize-handle\";\n\nexport const CONVERSATION_OVERVIEW_DRAWER_TEST_ID =\n \"conversation-overview-drawer\";\n"],"mappings":"mDAAA,IAAa,EACX,qCAMW,EACX,6CAEW,EACX"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY = "conversation-overview-drawer-width";
|
|
2
|
+
export declare const CONVERSATION_OVERVIEW_DRAWER_DEFAULT_WIDTH_PX = 420;
|
|
3
|
+
export declare const CONVERSATION_OVERVIEW_DRAWER_MIN_WIDTH_PX = 300;
|
|
4
|
+
export declare const CONVERSATION_OVERVIEW_DRAWER_MAX_WIDTH_PX = 640;
|
|
5
|
+
export declare const CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID = "conversation-overview-drawer-resize-handle";
|
|
6
|
+
export declare const CONVERSATION_OVERVIEW_DRAWER_TEST_ID = "conversation-overview-drawer";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/components/features/conversation/conversation-overview-drawer.constants.ts
|
|
2
|
+
var e = "conversation-overview-drawer-width", t = "conversation-overview-drawer-resize-handle", n = "conversation-overview-drawer";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { t as CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID, n as CONVERSATION_OVERVIEW_DRAWER_TEST_ID, e as CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY };
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=conversation-overview-drawer.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer.constants.js","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer.constants.ts"],"sourcesContent":["export const CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY =\n \"conversation-overview-drawer-width\";\n\nexport const CONVERSATION_OVERVIEW_DRAWER_DEFAULT_WIDTH_PX = 420;\nexport const CONVERSATION_OVERVIEW_DRAWER_MIN_WIDTH_PX = 300;\nexport const CONVERSATION_OVERVIEW_DRAWER_MAX_WIDTH_PX = 640;\n\nexport const CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID =\n \"conversation-overview-drawer-resize-handle\";\n\nexport const CONVERSATION_OVERVIEW_DRAWER_TEST_ID =\n \"conversation-overview-drawer\";\n"],"mappings":";AAAA,IAAa,IACX,sCAMW,IACX,8CAEW,IACX"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RefObject } from "react";
|
|
2
|
+
interface ConversationOverviewDrawerProps {
|
|
3
|
+
isMobile: boolean;
|
|
4
|
+
resizeContainerRef?: RefObject<HTMLElement | null>;
|
|
5
|
+
}
|
|
6
|
+
export declare function ConversationOverviewDrawer({ isMobile, resizeContainerRef, }: ConversationOverviewDrawerProps): import("react").JSX.Element | null;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { cn as e } from "../../../utils/utils.js";
|
|
2
|
+
import { useConversationOverviewDrawerOptional as t } from "./conversation-overview-drawer-context.js";
|
|
3
|
+
import { ResizeHandle as n } from "../../ui/resize-handle.js";
|
|
4
|
+
import { useResizableDrawerWidth as r } from "../../../hooks/use-resizable-drawer-width.js";
|
|
5
|
+
import { ConversationOverviewDrawerContent as i } from "./conversation-overview-drawer-content.js";
|
|
6
|
+
import { CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID as a, CONVERSATION_OVERVIEW_DRAWER_TEST_ID as o, CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY as s } from "./conversation-overview-drawer.constants.js";
|
|
7
|
+
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/features/conversation/conversation-overview-drawer.tsx
|
|
9
|
+
function d(e) {
|
|
10
|
+
return e ? "translate-x-0 opacity-100" : "w-0 translate-x-full opacity-0";
|
|
11
|
+
}
|
|
12
|
+
function f({ isMobile: f, resizeContainerRef: p }) {
|
|
13
|
+
let m = t(), h = !!m?.section, { drawerWidth: g, isDragging: _, handleMouseDown: v } = r({
|
|
14
|
+
containerRef: p ?? { current: null },
|
|
15
|
+
defaultWidth: 420,
|
|
16
|
+
minWidth: 300,
|
|
17
|
+
maxWidth: 640,
|
|
18
|
+
storageKey: s,
|
|
19
|
+
enabled: h && !f && p != null
|
|
20
|
+
});
|
|
21
|
+
return m ? f ? h ? /* @__PURE__ */ l(i, { className: "max-h-[min(50vh,420px)] w-full border-t border-[var(--oh-border)]" }) : null : /* @__PURE__ */ u(c, { children: [h && p ? /* @__PURE__ */ l("div", {
|
|
22
|
+
"data-testid": a,
|
|
23
|
+
children: /* @__PURE__ */ l(n, {
|
|
24
|
+
onMouseDown: v,
|
|
25
|
+
isDragging: _
|
|
26
|
+
})
|
|
27
|
+
}) : null, /* @__PURE__ */ l("div", {
|
|
28
|
+
"data-testid": o,
|
|
29
|
+
"aria-hidden": !h,
|
|
30
|
+
className: e("shrink-0 overflow-hidden ease-in-out", _ ? "transition-[transform,opacity] duration-300" : "transition-all duration-300", d(h)),
|
|
31
|
+
style: {
|
|
32
|
+
width: h ? `${g}px` : "0px",
|
|
33
|
+
transitionProperty: _ ? "transform, opacity" : "width, transform, opacity"
|
|
34
|
+
},
|
|
35
|
+
children: /* @__PURE__ */ l("div", {
|
|
36
|
+
className: "flex h-full flex-col overflow-hidden border-l border-[var(--oh-border)] bg-base-secondary",
|
|
37
|
+
style: { width: `${g}px` },
|
|
38
|
+
children: h ? /* @__PURE__ */ l(i, { className: "h-full" }) : null
|
|
39
|
+
})
|
|
40
|
+
})] }) : null;
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
export { f as ConversationOverviewDrawer };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=conversation-overview-drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer.js","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer.tsx"],"sourcesContent":["import type { RefObject } from \"react\";\nimport { ResizeHandle } from \"#/components/ui/resize-handle\";\nimport { useResizableDrawerWidth } from \"#/hooks/use-resizable-drawer-width\";\nimport { cn } from \"#/utils/utils\";\nimport { ConversationOverviewDrawerContent } from \"./conversation-overview-drawer-content\";\nimport { useConversationOverviewDrawerOptional } from \"./conversation-overview-drawer-context\";\nimport {\n CONVERSATION_OVERVIEW_DRAWER_DEFAULT_WIDTH_PX,\n CONVERSATION_OVERVIEW_DRAWER_MAX_WIDTH_PX,\n CONVERSATION_OVERVIEW_DRAWER_MIN_WIDTH_PX,\n CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID,\n CONVERSATION_OVERVIEW_DRAWER_TEST_ID,\n CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY,\n} from \"./conversation-overview-drawer.constants\";\n\nfunction getOverviewDrawerClass(isOpen: boolean) {\n return isOpen\n ? \"translate-x-0 opacity-100\"\n : \"w-0 translate-x-full opacity-0\";\n}\n\ninterface ConversationOverviewDrawerProps {\n isMobile: boolean;\n resizeContainerRef?: RefObject<HTMLElement | null>;\n}\n\nexport function ConversationOverviewDrawer({\n isMobile,\n resizeContainerRef,\n}: ConversationOverviewDrawerProps) {\n const overviewDrawer = useConversationOverviewDrawerOptional();\n const isOpen = Boolean(overviewDrawer?.section);\n\n const { drawerWidth, isDragging, handleMouseDown } = useResizableDrawerWidth({\n containerRef: resizeContainerRef ?? { current: null },\n defaultWidth: CONVERSATION_OVERVIEW_DRAWER_DEFAULT_WIDTH_PX,\n minWidth: CONVERSATION_OVERVIEW_DRAWER_MIN_WIDTH_PX,\n maxWidth: CONVERSATION_OVERVIEW_DRAWER_MAX_WIDTH_PX,\n storageKey: CONVERSATION_OVERVIEW_DRAWER_WIDTH_STORAGE_KEY,\n enabled: isOpen && !isMobile && resizeContainerRef != null,\n });\n\n if (!overviewDrawer) {\n return null;\n }\n\n if (isMobile) {\n if (!isOpen) {\n return null;\n }\n\n return (\n <ConversationOverviewDrawerContent className=\"max-h-[min(50vh,420px)] w-full border-t border-[var(--oh-border)]\" />\n );\n }\n\n return (\n <>\n {isOpen && resizeContainerRef ? (\n <div data-testid={CONVERSATION_OVERVIEW_DRAWER_RESIZE_HANDLE_TEST_ID}>\n <ResizeHandle onMouseDown={handleMouseDown} isDragging={isDragging} />\n </div>\n ) : null}\n <div\n data-testid={CONVERSATION_OVERVIEW_DRAWER_TEST_ID}\n aria-hidden={!isOpen}\n className={cn(\n \"shrink-0 overflow-hidden ease-in-out\",\n isDragging\n ? \"transition-[transform,opacity] duration-300\"\n : \"transition-all duration-300\",\n getOverviewDrawerClass(isOpen),\n )}\n style={{\n width: isOpen ? `${drawerWidth}px` : \"0px\",\n transitionProperty: isDragging\n ? \"transform, opacity\"\n : \"width, transform, opacity\",\n }}\n >\n <div\n className=\"flex h-full flex-col overflow-hidden border-l border-[var(--oh-border)] bg-base-secondary\"\n style={{ width: `${drawerWidth}px` }}\n >\n {isOpen ? (\n <ConversationOverviewDrawerContent className=\"h-full\" />\n ) : null}\n </div>\n </div>\n </>\n );\n}\n"],"mappings":";;;;;;;;AAeA,SAAS,EAAuB,GAAiB;CAC/C,OAAO,IACH,8BACA;AACN;AAOA,SAAgB,EAA2B,EACzC,aACA,yBACkC;CAClC,IAAM,IAAiB,EAAsC,GACvD,IAAS,EAAQ,GAAgB,SAEjC,EAAE,gBAAa,eAAY,uBAAoB,EAAwB;EAC3E,cAAc,KAAsB,EAAE,SAAS,KAAK;EACpD,cAAA;EACA,UAAA;EACA,UAAA;EACA,YAAY;EACZ,SAAS,KAAU,CAAC,KAAY,KAAsB;CACxD,CAAC;CAgBD,OAdK,IAID,IACG,IAKH,kBAAC,GAAD,EAAmC,WAAU,oEAAqE,CAAA,IAJ3G,OAST,kBAAA,GAAA,EAAA,UAAA,CACG,KAAU,IACT,kBAAC,OAAD;EAAK,eAAa;YAChB,kBAAC,GAAD;GAAc,aAAa;GAA6B;EAAa,CAAA;CAClE,CAAA,IACH,MACJ,kBAAC,OAAD;EACE,eAAa;EACb,eAAa,CAAC;EACd,WAAW,EACT,wCACA,IACI,gDACA,+BACJ,EAAuB,CAAM,CAC/B;EACA,OAAO;GACL,OAAO,IAAS,GAAG,EAAY,MAAM;GACrC,oBAAoB,IAChB,uBACA;EACN;YAEA,kBAAC,OAAD;GACE,WAAU;GACV,OAAO,EAAE,OAAO,GAAG,EAAY,IAAI;aAElC,IACC,kBAAC,GAAD,EAAmC,WAAU,SAAU,CAAA,IACrD;EACD,CAAA;CACF,CAAA,CACL,EAAA,CAAA,IA9CK;AAgDX"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");var e={automations:`automations`,skills:`skills`,mcp:`mcp`,secrets:`secrets`,pull_requests:`pull_requests`,issues:`issues`};exports.CONVERSATION_OVERVIEW_DRAWER_SECTION=e;
|
|
2
|
+
//# sourceMappingURL=conversation-overview-drawer.types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer.types.cjs","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer.types.ts"],"sourcesContent":["export const CONVERSATION_OVERVIEW_DRAWER_SECTION = {\n automations: \"automations\",\n skills: \"skills\",\n mcp: \"mcp\",\n secrets: \"secrets\",\n pull_requests: \"pull_requests\",\n issues: \"issues\",\n} as const;\n\nexport type ConversationOverviewDrawerSection =\n (typeof CONVERSATION_OVERVIEW_DRAWER_SECTION)[keyof typeof CONVERSATION_OVERVIEW_DRAWER_SECTION];\n\nexport interface ConversationOverviewDrawerOpenOptions {\n openAdd?: boolean;\n}\n"],"mappings":"mDAAA,IAAa,EAAuC,CAClD,YAAa,cACb,OAAQ,SACR,IAAK,MACL,QAAS,UACT,cAAe,gBACf,OAAQ,QACV"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const CONVERSATION_OVERVIEW_DRAWER_SECTION: {
|
|
2
|
+
readonly automations: "automations";
|
|
3
|
+
readonly skills: "skills";
|
|
4
|
+
readonly mcp: "mcp";
|
|
5
|
+
readonly secrets: "secrets";
|
|
6
|
+
readonly pull_requests: "pull_requests";
|
|
7
|
+
readonly issues: "issues";
|
|
8
|
+
};
|
|
9
|
+
export type ConversationOverviewDrawerSection = (typeof CONVERSATION_OVERVIEW_DRAWER_SECTION)[keyof typeof CONVERSATION_OVERVIEW_DRAWER_SECTION];
|
|
10
|
+
export interface ConversationOverviewDrawerOpenOptions {
|
|
11
|
+
openAdd?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/components/features/conversation/conversation-overview-drawer.types.ts
|
|
2
|
+
var e = {
|
|
3
|
+
automations: "automations",
|
|
4
|
+
skills: "skills",
|
|
5
|
+
mcp: "mcp",
|
|
6
|
+
secrets: "secrets",
|
|
7
|
+
pull_requests: "pull_requests",
|
|
8
|
+
issues: "issues"
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as CONVERSATION_OVERVIEW_DRAWER_SECTION };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=conversation-overview-drawer.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-drawer.types.js","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-drawer.types.ts"],"sourcesContent":["export const CONVERSATION_OVERVIEW_DRAWER_SECTION = {\n automations: \"automations\",\n skills: \"skills\",\n mcp: \"mcp\",\n secrets: \"secrets\",\n pull_requests: \"pull_requests\",\n issues: \"issues\",\n} as const;\n\nexport type ConversationOverviewDrawerSection =\n (typeof CONVERSATION_OVERVIEW_DRAWER_SECTION)[keyof typeof CONVERSATION_OVERVIEW_DRAWER_SECTION];\n\nexport interface ConversationOverviewDrawerOpenOptions {\n openAdd?: boolean;\n}\n"],"mappings":";AAAA,IAAa,IAAuC;CAClD,aAAa;CACb,QAAQ;CACR,KAAK;CACL,SAAS;CACT,eAAe;CACf,QAAQ;AACV"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/react-i18next/dist/es/useTranslation.cjs"),n=require("../../../i18n/declaration.cjs"),r=require("../../../node_modules/lucide-react/dist/esm/icons/external-link.cjs"),i=require("../../../utils/utils.cjs"),a=require("../../../hooks/use-conversation-primary-repository.cjs"),o=require("./conversation-overview-drawer.types.cjs"),s=require("../../../api/git-provider-items-service.cjs"),c=require("../../../hooks/query/use-repository-git-items.cjs"),l=require("../../../utils/extension-module-card-classes.cjs");let u=require("react");u=e.__toESM(u,1);let d=require("react/jsx-runtime");var f=i.cn(`size-3.5 shrink-0 text-[var(--oh-muted)]`,`opacity-0 transition-opacity group-hover:opacity-100 group-focus-visible:opacity-100`);function p(e){let{repository:t,provider:n}=a.useConversationPrimaryRepository();return!t||!n?null:e===o.CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests?s.GitProviderItemsService.constructPullRequestsListUrl(n,t):s.GitProviderItemsService.constructIssuesListUrl(n,t)}function m({kind:e}){let{t:o}=t.useTranslation(`openhands`),{provider:s}=a.useConversationPrimaryRepository(),c=p(e);return!c||!s?null:(0,d.jsxs)(`a`,{href:c,target:`_blank`,rel:`noreferrer`,"data-testid":`conversation-overview-${e}-open-external`,className:i.cn(`inline-flex h-7 min-h-7 shrink-0 items-center gap-1.5 whitespace-nowrap`,`px-1 text-xs text-[var(--oh-muted)] transition-colors`,`hover:text-[var(--oh-foreground)]`),children:[o(n.I18nKey.CONVERSATION$OVERVIEW_VIEW_ON_PROVIDER,{provider:i.getProviderName(s)}),(0,d.jsx)(r.ExternalLink,{className:`size-3.5`,"aria-hidden":!0})]})}function h({kind:e}){let{t:s}=t.useTranslation(`openhands`),{repository:u,provider:p,isConnected:m}=a.useConversationPrimaryRepository(),h=c.useRepositoryPullRequests(u,p),g=c.useRepositoryIssues(u,p),_=e===o.CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests?h:g;return!m||!u||!p?(0,d.jsx)(`p`,{"data-testid":`conversation-overview-git-items-unavailable`,className:i.cn(l.extensionModuleEmptyStateClassName,`px-4 py-6 text-center text-sm`),children:s(n.I18nKey.CONVERSATION$OVERVIEW_GIT_UNAVAILABLE)}):(0,d.jsx)(`div`,{"data-testid":`conversation-overview-${e}-panel`,className:`min-h-0 flex-1 overflow-y-auto px-2 py-2`,children:_.isLoading?(0,d.jsx)(`p`,{className:`px-2 py-4 text-sm text-[var(--oh-muted)]`,children:s(n.I18nKey.HOME$LOADING)}):_.isError?(0,d.jsx)(`p`,{"data-testid":`conversation-overview-${e}-error`,className:i.cn(l.extensionModuleEmptyStateClassName,`px-2 py-6 text-center text-sm`),children:s(n.I18nKey.CONVERSATION$OVERVIEW_GIT_ITEMS_ERROR)}):_.data&&_.data.length>0?(0,d.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:_.data.map(t=>(0,d.jsx)(`li`,{children:(0,d.jsxs)(`a`,{href:t.url,target:`_blank`,rel:`noreferrer`,"data-testid":`conversation-overview-${e}-item-${t.number}`,className:i.cn(`group flex min-w-0 items-center gap-2 rounded-md px-2 py-2`,`transition-colors hover:bg-white/5`),children:[(0,d.jsxs)(`span`,{className:`shrink-0 text-sm tabular-nums text-[var(--oh-muted)]`,children:[`#`,t.number]}),(0,d.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-sm text-[var(--oh-foreground)]`,children:t.title}),(0,d.jsx)(r.ExternalLink,{className:f,"aria-hidden":!0})]})},t.id))}):(0,d.jsx)(`p`,{"data-testid":`conversation-overview-${e}-empty`,className:i.cn(l.extensionModuleEmptyStateClassName,`px-2 py-6 text-center text-sm`),children:e===o.CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests?s(n.I18nKey.CONVERSATION$OVERVIEW_PULL_REQUESTS_EMPTY):s(n.I18nKey.CONVERSATION$OVERVIEW_ISSUES_EMPTY)})})}exports.ConversationOverviewGitItemsHeaderLink=m,exports.ConversationOverviewGitItemsPanel=h;
|
|
2
|
+
//# sourceMappingURL=conversation-overview-git-items-panel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-git-items-panel.cjs","names":[],"sources":["../../../../src/components/features/conversation/conversation-overview-git-items-panel.tsx"],"sourcesContent":["import React from \"react\";\nimport { ExternalLink } from \"lucide-react\";\nimport { useTranslation } from \"react-i18next\";\nimport { GitProviderItemsService } from \"#/api/git-provider-items-service\";\nimport {\n useRepositoryIssues,\n useRepositoryPullRequests,\n} from \"#/hooks/query/use-repository-git-items\";\nimport { useConversationPrimaryRepository } from \"#/hooks/use-conversation-primary-repository\";\nimport { I18nKey } from \"#/i18n/declaration\";\nimport { cn, getProviderName } from \"#/utils/utils\";\nimport { extensionModuleEmptyStateClassName } from \"#/utils/extension-module-card-classes\";\nimport { CONVERSATION_OVERVIEW_DRAWER_SECTION } from \"./conversation-overview-drawer.types\";\n\ninterface ConversationOverviewGitItemsPanelProps {\n kind: \"pull_requests\" | \"issues\";\n}\n\nconst EXTERNAL_LINK_ICON_CLASSNAME = cn(\n \"size-3.5 shrink-0 text-[var(--oh-muted)]\",\n \"opacity-0 transition-opacity group-hover:opacity-100 group-focus-visible:opacity-100\",\n);\n\nfunction useGitItemsExternalListUrl(kind: \"pull_requests\" | \"issues\") {\n const { repository, provider } = useConversationPrimaryRepository();\n\n if (!repository || !provider) {\n return null;\n }\n\n return kind === CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests\n ? GitProviderItemsService.constructPullRequestsListUrl(provider, repository)\n : GitProviderItemsService.constructIssuesListUrl(provider, repository);\n}\n\nexport function ConversationOverviewGitItemsHeaderLink({\n kind,\n}: ConversationOverviewGitItemsPanelProps) {\n const { t } = useTranslation(\"openhands\");\n const { provider } = useConversationPrimaryRepository();\n const externalListUrl = useGitItemsExternalListUrl(kind);\n\n if (!externalListUrl || !provider) {\n return null;\n }\n\n return (\n <a\n href={externalListUrl}\n target=\"_blank\"\n rel=\"noreferrer\"\n data-testid={`conversation-overview-${kind}-open-external`}\n className={cn(\n \"inline-flex h-7 min-h-7 shrink-0 items-center gap-1.5 whitespace-nowrap\",\n \"px-1 text-xs text-[var(--oh-muted)] transition-colors\",\n \"hover:text-[var(--oh-foreground)]\",\n )}\n >\n {t(I18nKey.CONVERSATION$OVERVIEW_VIEW_ON_PROVIDER, {\n provider: getProviderName(provider),\n })}\n <ExternalLink className=\"size-3.5\" aria-hidden />\n </a>\n );\n}\n\nexport function ConversationOverviewGitItemsPanel({\n kind,\n}: ConversationOverviewGitItemsPanelProps) {\n const { t } = useTranslation(\"openhands\");\n const { repository, provider, isConnected } =\n useConversationPrimaryRepository();\n\n const pullRequestsQuery = useRepositoryPullRequests(repository, provider);\n const issuesQuery = useRepositoryIssues(repository, provider);\n\n const query =\n kind === CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests\n ? pullRequestsQuery\n : issuesQuery;\n\n if (!isConnected || !repository || !provider) {\n return (\n <p\n data-testid=\"conversation-overview-git-items-unavailable\"\n className={cn(\n extensionModuleEmptyStateClassName,\n \"px-4 py-6 text-center text-sm\",\n )}\n >\n {t(I18nKey.CONVERSATION$OVERVIEW_GIT_UNAVAILABLE)}\n </p>\n );\n }\n\n return (\n <div\n data-testid={`conversation-overview-${kind}-panel`}\n className=\"min-h-0 flex-1 overflow-y-auto px-2 py-2\"\n >\n {query.isLoading ? (\n <p className=\"px-2 py-4 text-sm text-[var(--oh-muted)]\">\n {t(I18nKey.HOME$LOADING)}\n </p>\n ) : query.isError ? (\n <p\n data-testid={`conversation-overview-${kind}-error`}\n className={cn(\n extensionModuleEmptyStateClassName,\n \"px-2 py-6 text-center text-sm\",\n )}\n >\n {t(I18nKey.CONVERSATION$OVERVIEW_GIT_ITEMS_ERROR)}\n </p>\n ) : query.data && query.data.length > 0 ? (\n <ul className=\"flex flex-col gap-0.5\">\n {query.data.map((item) => (\n <li key={item.id}>\n <a\n href={item.url}\n target=\"_blank\"\n rel=\"noreferrer\"\n data-testid={`conversation-overview-${kind}-item-${item.number}`}\n className={cn(\n \"group flex min-w-0 items-center gap-2 rounded-md px-2 py-2\",\n \"transition-colors hover:bg-white/5\",\n )}\n >\n <span className=\"shrink-0 text-sm tabular-nums text-[var(--oh-muted)]\">\n #{item.number}\n </span>\n <span className=\"min-w-0 flex-1 truncate text-sm text-[var(--oh-foreground)]\">\n {item.title}\n </span>\n <ExternalLink\n className={EXTERNAL_LINK_ICON_CLASSNAME}\n aria-hidden\n />\n </a>\n </li>\n ))}\n </ul>\n ) : (\n <p\n data-testid={`conversation-overview-${kind}-empty`}\n className={cn(\n extensionModuleEmptyStateClassName,\n \"px-2 py-6 text-center text-sm\",\n )}\n >\n {kind === CONVERSATION_OVERVIEW_DRAWER_SECTION.pull_requests\n ? t(I18nKey.CONVERSATION$OVERVIEW_PULL_REQUESTS_EMPTY)\n : t(I18nKey.CONVERSATION$OVERVIEW_ISSUES_EMPTY)}\n </p>\n )}\n </div>\n );\n}\n"],"mappings":"oqBAkBA,IAAM,EAA+B,EAAA,GACnC,2CACA,sFACF,EAEA,SAAS,EAA2B,EAAkC,CACpE,GAAM,CAAE,aAAY,YAAa,EAAA,iCAAiC,EAMlE,MAJI,CAAC,GAAc,CAAC,EACX,KAGF,IAAS,EAAA,qCAAqC,cACjD,EAAA,wBAAwB,6BAA6B,EAAU,CAAU,EACzE,EAAA,wBAAwB,uBAAuB,EAAU,CAAU,CACzE,CAEA,SAAgB,EAAuC,CACrD,QACyC,CACzC,GAAM,CAAE,KAAM,EAAA,eAAe,WAAW,EAClC,CAAE,YAAa,EAAA,iCAAiC,EAChD,EAAkB,EAA2B,CAAI,EAMvD,MAJI,CAAC,GAAmB,CAAC,EAChB,MAIP,EAAA,EAAA,MAAC,IAAD,CACE,KAAM,EACN,OAAO,SACP,IAAI,aACJ,cAAa,yBAAyB,EAAK,gBAC3C,UAAW,EAAA,GACT,0EACA,wDACA,mCACF,WATF,CAWG,EAAE,EAAA,QAAQ,uCAAwC,CACjD,SAAU,EAAA,gBAAgB,CAAQ,CACpC,CAAC,GACD,EAAA,EAAA,KAAC,EAAA,aAAD,CAAc,UAAU,WAAW,cAAA,EAAa,CAAA,CAC/C,GAEP,CAEA,SAAgB,EAAkC,CAChD,QACyC,CACzC,GAAM,CAAE,KAAM,EAAA,eAAe,WAAW,EAClC,CAAE,aAAY,WAAU,eAC5B,EAAA,iCAAiC,EAE7B,EAAoB,EAAA,0BAA0B,EAAY,CAAQ,EAClE,EAAc,EAAA,oBAAoB,EAAY,CAAQ,EAEtD,EACJ,IAAS,EAAA,qCAAqC,cAC1C,EACA,EAgBN,MAdI,CAAC,GAAe,CAAC,GAAc,CAAC,GAEhC,EAAA,EAAA,KAAC,IAAD,CACE,cAAY,8CACZ,UAAW,EAAA,GACT,EAAA,mCACA,+BACF,WAEC,EAAE,EAAA,QAAQ,qCAAqC,CAC/C,CAAA,GAKL,EAAA,EAAA,KAAC,MAAD,CACE,cAAa,yBAAyB,EAAK,QAC3C,UAAU,oDAET,EAAM,WACL,EAAA,EAAA,KAAC,IAAD,CAAG,UAAU,oDACV,EAAE,EAAA,QAAQ,YAAY,CACtB,CAAA,EACD,EAAM,SACR,EAAA,EAAA,KAAC,IAAD,CACE,cAAa,yBAAyB,EAAK,QAC3C,UAAW,EAAA,GACT,EAAA,mCACA,+BACF,WAEC,EAAE,EAAA,QAAQ,qCAAqC,CAC/C,CAAA,EACD,EAAM,MAAQ,EAAM,KAAK,OAAS,GACpC,EAAA,EAAA,KAAC,KAAD,CAAI,UAAU,iCACX,EAAM,KAAK,IAAK,IACf,EAAA,EAAA,KAAC,KAAD,CAAA,UACE,EAAA,EAAA,MAAC,IAAD,CACE,KAAM,EAAK,IACX,OAAO,SACP,IAAI,aACJ,cAAa,yBAAyB,EAAK,QAAQ,EAAK,SACxD,UAAW,EAAA,GACT,6DACA,oCACF,WARF,EAUE,EAAA,EAAA,MAAC,OAAD,CAAM,UAAU,gEAAhB,CAAuE,IACnE,EAAK,MACH,KACN,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,uEACb,EAAK,KACF,CAAA,GACN,EAAA,EAAA,KAAC,EAAA,aAAD,CACE,UAAW,EACX,cAAA,EACD,CAAA,CACA,GACD,EAtBK,EAAK,EAsBV,CACL,CACC,CAAA,GAEJ,EAAA,EAAA,KAAC,IAAD,CACE,cAAa,yBAAyB,EAAK,QAC3C,UAAW,EAAA,GACT,EAAA,mCACA,+BACF,WAEC,IAAS,EAAA,qCAAqC,cAC3C,EAAE,EAAA,QAAQ,yCAAyC,EACnD,EAAE,EAAA,QAAQ,kCAAkC,CAC/C,CAAA,CAEF,CAAA,CAET"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ConversationOverviewGitItemsPanelProps {
|
|
3
|
+
kind: "pull_requests" | "issues";
|
|
4
|
+
}
|
|
5
|
+
export declare function ConversationOverviewGitItemsHeaderLink({ kind, }: ConversationOverviewGitItemsPanelProps): React.JSX.Element | null;
|
|
6
|
+
export declare function ConversationOverviewGitItemsPanel({ kind, }: ConversationOverviewGitItemsPanelProps): React.JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { useTranslation as e } from "../../../node_modules/react-i18next/dist/es/useTranslation.js";
|
|
2
|
+
import { I18nKey as t } from "../../../i18n/declaration.js";
|
|
3
|
+
import { ExternalLink as n } from "../../../node_modules/lucide-react/dist/esm/icons/external-link.js";
|
|
4
|
+
import { cn as r, getProviderName as i } from "../../../utils/utils.js";
|
|
5
|
+
import { useConversationPrimaryRepository as a } from "../../../hooks/use-conversation-primary-repository.js";
|
|
6
|
+
import { CONVERSATION_OVERVIEW_DRAWER_SECTION as o } from "./conversation-overview-drawer.types.js";
|
|
7
|
+
import { GitProviderItemsService as s } from "../../../api/git-provider-items-service.js";
|
|
8
|
+
import { useRepositoryIssues as c, useRepositoryPullRequests as l } from "../../../hooks/query/use-repository-git-items.js";
|
|
9
|
+
import { extensionModuleEmptyStateClassName as u } from "../../../utils/extension-module-card-classes.js";
|
|
10
|
+
import "react";
|
|
11
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
12
|
+
//#region src/components/features/conversation/conversation-overview-git-items-panel.tsx
|
|
13
|
+
var p = r("size-3.5 shrink-0 text-[var(--oh-muted)]", "opacity-0 transition-opacity group-hover:opacity-100 group-focus-visible:opacity-100");
|
|
14
|
+
function m(e) {
|
|
15
|
+
let { repository: t, provider: n } = a();
|
|
16
|
+
return !t || !n ? null : e === o.pull_requests ? s.constructPullRequestsListUrl(n, t) : s.constructIssuesListUrl(n, t);
|
|
17
|
+
}
|
|
18
|
+
function h({ kind: o }) {
|
|
19
|
+
let { t: s } = e("openhands"), { provider: c } = a(), l = m(o);
|
|
20
|
+
return !l || !c ? null : /* @__PURE__ */ f("a", {
|
|
21
|
+
href: l,
|
|
22
|
+
target: "_blank",
|
|
23
|
+
rel: "noreferrer",
|
|
24
|
+
"data-testid": `conversation-overview-${o}-open-external`,
|
|
25
|
+
className: r("inline-flex h-7 min-h-7 shrink-0 items-center gap-1.5 whitespace-nowrap", "px-1 text-xs text-[var(--oh-muted)] transition-colors", "hover:text-[var(--oh-foreground)]"),
|
|
26
|
+
children: [s(t.CONVERSATION$OVERVIEW_VIEW_ON_PROVIDER, { provider: i(c) }), /* @__PURE__ */ d(n, {
|
|
27
|
+
className: "size-3.5",
|
|
28
|
+
"aria-hidden": !0
|
|
29
|
+
})]
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function g({ kind: i }) {
|
|
33
|
+
let { t: s } = e("openhands"), { repository: m, provider: h, isConnected: g } = a(), _ = l(m, h), v = c(m, h), y = i === o.pull_requests ? _ : v;
|
|
34
|
+
return !g || !m || !h ? /* @__PURE__ */ d("p", {
|
|
35
|
+
"data-testid": "conversation-overview-git-items-unavailable",
|
|
36
|
+
className: r(u, "px-4 py-6 text-center text-sm"),
|
|
37
|
+
children: s(t.CONVERSATION$OVERVIEW_GIT_UNAVAILABLE)
|
|
38
|
+
}) : /* @__PURE__ */ d("div", {
|
|
39
|
+
"data-testid": `conversation-overview-${i}-panel`,
|
|
40
|
+
className: "min-h-0 flex-1 overflow-y-auto px-2 py-2",
|
|
41
|
+
children: y.isLoading ? /* @__PURE__ */ d("p", {
|
|
42
|
+
className: "px-2 py-4 text-sm text-[var(--oh-muted)]",
|
|
43
|
+
children: s(t.HOME$LOADING)
|
|
44
|
+
}) : y.isError ? /* @__PURE__ */ d("p", {
|
|
45
|
+
"data-testid": `conversation-overview-${i}-error`,
|
|
46
|
+
className: r(u, "px-2 py-6 text-center text-sm"),
|
|
47
|
+
children: s(t.CONVERSATION$OVERVIEW_GIT_ITEMS_ERROR)
|
|
48
|
+
}) : y.data && y.data.length > 0 ? /* @__PURE__ */ d("ul", {
|
|
49
|
+
className: "flex flex-col gap-0.5",
|
|
50
|
+
children: y.data.map((e) => /* @__PURE__ */ d("li", { children: /* @__PURE__ */ f("a", {
|
|
51
|
+
href: e.url,
|
|
52
|
+
target: "_blank",
|
|
53
|
+
rel: "noreferrer",
|
|
54
|
+
"data-testid": `conversation-overview-${i}-item-${e.number}`,
|
|
55
|
+
className: r("group flex min-w-0 items-center gap-2 rounded-md px-2 py-2", "transition-colors hover:bg-white/5"),
|
|
56
|
+
children: [
|
|
57
|
+
/* @__PURE__ */ f("span", {
|
|
58
|
+
className: "shrink-0 text-sm tabular-nums text-[var(--oh-muted)]",
|
|
59
|
+
children: ["#", e.number]
|
|
60
|
+
}),
|
|
61
|
+
/* @__PURE__ */ d("span", {
|
|
62
|
+
className: "min-w-0 flex-1 truncate text-sm text-[var(--oh-foreground)]",
|
|
63
|
+
children: e.title
|
|
64
|
+
}),
|
|
65
|
+
/* @__PURE__ */ d(n, {
|
|
66
|
+
className: p,
|
|
67
|
+
"aria-hidden": !0
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
}) }, e.id))
|
|
71
|
+
}) : /* @__PURE__ */ d("p", {
|
|
72
|
+
"data-testid": `conversation-overview-${i}-empty`,
|
|
73
|
+
className: r(u, "px-2 py-6 text-center text-sm"),
|
|
74
|
+
children: i === o.pull_requests ? s(t.CONVERSATION$OVERVIEW_PULL_REQUESTS_EMPTY) : s(t.CONVERSATION$OVERVIEW_ISSUES_EMPTY)
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
export { h as ConversationOverviewGitItemsHeaderLink, g as ConversationOverviewGitItemsPanel };
|
|
80
|
+
|
|
81
|
+
//# sourceMappingURL=conversation-overview-git-items-panel.js.map
|