@openhands/agent-canvas 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.windows.md +2 -2
- package/build/assets/acp-providers-BKvmTf82.js +1 -0
- package/build/assets/active-backend-context-DKFSMbn3.js +2 -0
- package/build/assets/agent-context-settings-D3PjSTU1.js +1 -0
- package/build/assets/agent-profiles-settings-D4cY5U2T.js +1 -0
- package/build/assets/agent-server-conversation-service.api-DozDKIW_.js +86 -0
- package/build/assets/agent-settings-351vXWc9.js +2 -0
- package/build/assets/agent-settings-Ce7BDZ6I.js +1 -0
- package/build/assets/alert-banner-Kyy1YWZU.js +1 -0
- package/build/assets/api-error-message-BJyfWp6p.js +1 -0
- package/build/assets/api-key-entry-screen-INIxqAMs.js +1 -0
- package/build/assets/app-settings-CbHqzQus.js +1 -0
- package/build/assets/automation-detail-DXDhUwPq.js +3 -0
- package/build/assets/automation-export-BRopEHMu.js +2 -0
- package/build/assets/automation-git-sync-CzyS4cn1.js +1 -0
- package/build/assets/automation-setup-route-FRr05f_g.js +1 -0
- package/build/assets/automation-templates-C_0FZgLG.js +1 -0
- package/build/assets/automations-list-CERuQWE6.js +1 -0
- package/build/assets/back-nav-button-Dm9tIjVf.js +1 -0
- package/build/assets/backend-form-modal-DK78-jn1.js +1 -0
- package/build/assets/backend-synced-settings-badge-3fOwg6Bd.js +1 -0
- package/build/assets/badge-D4SqUCsR.js +1 -0
- package/build/assets/base-modal-C7_BDl_U.js +1 -0
- package/build/assets/bot-C-0Wu7vQ.js +1 -0
- package/build/assets/brand-button-Dxv6PDeN.js +1 -0
- package/build/assets/browser-11etCQ04.js +7 -0
- package/build/assets/browser-tab-BAl4ckJE.js +1 -0
- package/build/assets/chat-send-button-DWwR2cgI.js +1 -0
- package/build/assets/check-Cf2YoT90.js +1 -0
- package/build/assets/chevron-down-C3OQ-ehx.js +1 -0
- package/build/assets/chevron-right-CN1uUiJ1.js +1 -0
- package/build/assets/circle-check-g5yeGMd-.js +1 -0
- package/build/assets/circle-plus-check-toggle-CBh_qomE.js +1 -0
- package/build/assets/cloud-funnel-analytics-287iIERo.js +1 -0
- package/build/assets/cog-C4rrw-ZK.js +1 -0
- package/build/assets/command-menu-BZQ8S3Ke.js +1 -0
- package/build/assets/commits-tab-DZtJgaDM.js +1 -0
- package/build/assets/condenser-settings-BcNmYR4s.js +1 -0
- package/build/assets/confirmation-modal-Bk4JRcCM.js +1 -0
- package/build/assets/context-menu-list-item-lVYETtY5.js +1 -0
- package/build/assets/conversation-CchMzpGl.js +1 -0
- package/build/assets/conversation-Dpzftz57.js +93 -0
- package/build/assets/conversation-panel-CchMzpGl.js +1 -0
- package/build/assets/conversation-state-store-a9d2fxRc.js +1 -0
- package/build/assets/conversation-store-Ca3ghXap.js +6 -0
- package/build/assets/conversation-tab-empty-state-HJtkmHZj.js +1 -0
- package/build/assets/copy-to-clipboard-button-Cjkswvnj.js +1 -0
- package/build/assets/device-verify-EZhHhBT7.js +1 -0
- package/build/assets/dropdown-classes-DJe-E6MC.js +1 -0
- package/build/assets/edit-automation-modal-D-urtv8n.js +1 -0
- package/build/assets/empty-state-CvaVahVr.js +1 -0
- package/build/assets/entry.client-C7Bi2tkU.js +2 -0
- package/build/assets/enum-filter-dropdown-DliX_Lo0.js +1 -0
- package/build/assets/environment-switch-overlay-CEKrFiMw.js +1 -0
- package/build/assets/error-state-BALXiBNy.js +1 -0
- package/build/assets/extension-module-card-classes-DpeaYhYo.js +1 -0
- package/build/assets/extensions-hub-CFduxBnk.js +1 -0
- package/build/assets/extensions-navigation-BeC224yX.js +1 -0
- package/build/assets/external-link-DFpYunfj.js +1 -0
- package/build/assets/files-tab-CL3J9b3p.js +1 -0
- package/build/assets/form-control-classes-CGw40z5h.js +1 -0
- package/build/assets/format-model-name-BNPKVsIq.js +1 -0
- package/build/assets/get-git-path-DlAJa_i6.js +1 -0
- package/build/assets/git-repo-dropdown-DGMEhz7d.js +1 -0
- package/build/assets/git-repo-dropdown-ai8qaNkD.js +1 -0
- package/build/assets/highlighted-source-view-C3sxykQi.js +1 -0
- package/build/assets/home-BCGlNJCA.js +1 -0
- package/build/assets/home-DB1pRqTC.js +1 -0
- package/build/assets/home-automation-run-tooltip-CooFQRIG.js +1 -0
- package/build/assets/home-store-Dl1dPE58.js +1 -0
- package/build/assets/index-home-DB1pRqTC.js +1 -0
- package/build/assets/info-uYSVzX86.js +1 -0
- package/build/assets/install-server-modal-BbJdhzet.js +1 -0
- package/build/assets/kebab-menu-item-content-BYokkRHi.js +1 -0
- package/build/assets/key-Cn5za3rg.js +1 -0
- package/build/assets/launch-C1ieiOGe.js +1 -0
- package/build/assets/list-filter-OFkpRrmi.js +1 -0
- package/build/assets/list-todo-Cuu-STFc.js +1 -0
- package/build/assets/llm-not-configured-banner-BqqYnJ1t.js +27 -0
- package/build/assets/llm-settings-CnDbbmVW.js +1 -0
- package/build/assets/llm-settings-S8Yjg__1.js +1 -0
- package/build/assets/llm-subscription-service-BpPfzW4x.js +1 -0
- package/build/assets/loader-circle-nvrwthvj.js +1 -0
- package/build/assets/loading-spinner-0L3ZTToZ.js +1 -0
- package/build/assets/manage-backends-modal-BCUPswyl.js +1 -0
- package/build/assets/manifest-58597dde.js +1 -0
- package/build/assets/manifest-subpage-layout-BGhiUQbA.js +1 -0
- package/build/assets/map-provider-B9LTm23I.js +1 -0
- package/build/assets/markdown-renderer-Cb2sBWtV.js +8 -0
- package/build/assets/mcp-CKbR4Vft.js +1 -0
- package/build/assets/mcp-marketplace-utils-C13fFccR.js +1 -0
- package/build/assets/mcp-page-Bm4K2NQq.js +9 -0
- package/build/assets/messages-BTN5thLe.js +40 -0
- package/build/assets/modal-body-CMOc2tLl.js +1 -0
- package/build/assets/modal-classes-BAb4Y_BG.js +1 -0
- package/build/assets/modal-close-button-CkJ0Ktjj.js +1 -0
- package/build/assets/mouse-pointer-click-CsgRs_-r.js +1 -0
- package/build/assets/onboarding-Cx_kaiD1.js +1 -0
- package/build/assets/onboarding-modal-vMwn7ihv.js +1 -0
- package/build/assets/organization-service.api-C8XpQ0pM.js +1 -0
- package/build/assets/parse-git-remote-url-DpDM9bK6.js +1 -0
- package/build/assets/pencil-Clh1Wjvh.js +1 -0
- package/build/assets/planner-tab-DQvDU3ap.js +1 -0
- package/build/assets/plug-BuQhHSSG.js +1 -0
- package/build/assets/plugins-management-service-BjYeF0b0.js +1 -0
- package/build/assets/plus-CEKne-Yp.js +1 -0
- package/build/assets/profiles-service.api-QB-T_u-g.js +1 -0
- package/build/assets/providers-FfSZ5TXP.js +1 -0
- package/build/assets/proxy-tcFL2yTQ.js +1 -0
- package/build/assets/puzzle-A9pGxxai.js +1 -0
- package/build/assets/recommended-automations-launcher-Bw8uC4V6.js +1 -0
- package/build/assets/refresh-cw-Bh69DyYO.js +1 -0
- package/build/assets/root-BLeQfBEq.css +1 -0
- package/build/assets/root-ZKKYPR1Z.js +2 -0
- package/build/assets/root-layout-luJoE9IG.js +2 -0
- package/build/assets/schema-field-Csw5fhtN.js +1 -0
- package/build/assets/scroll-fade-state-Dw-i4SGq.js +1 -0
- package/build/assets/sdk-section-page-HTffvm7Q.js +1 -0
- package/build/assets/secret-form-HTUbYw5o.js +1 -0
- package/build/assets/secrets-service-BTor9uAU.js +1 -0
- package/build/assets/secrets-settings-BizaTEr1.js +1 -0
- package/build/assets/server-process-C9RKzd1x.js +1 -0
- package/build/assets/settings-BlmrkwRi.js +1 -0
- package/build/assets/settings-DcNPxz0v.js +1 -0
- package/build/assets/settings-dropdown-input-tM0A0ipy.js +1 -0
- package/build/assets/settings-index-CKq0b0Vg.js +1 -0
- package/build/assets/settings-input-C03KUoSC.js +1 -0
- package/build/assets/settings-list-classes-BJ0g8rWj.js +1 -0
- package/build/assets/settings-modal-AzEF1QPP.js +1 -0
- package/build/assets/settings-service.api-B2agVfjL.js +1 -0
- package/build/assets/settings-switch-CQE0EGC-.js +1 -0
- package/build/assets/settings-utils-ClYOkbbI.js +1 -0
- package/build/assets/shared-conversation-B55pCyBG.js +1 -0
- package/build/assets/shield-check-CFDViW82.js +1 -0
- package/build/assets/sidebar-layout-D3hE08wK.js +1 -0
- package/build/assets/sidebar-mobile-menu-toggle-BOtyJHwE.js +1 -0
- package/build/assets/sidebar-nav-link-CPzhyHQg.js +1 -0
- package/build/assets/sidebar-onboarding-checklist-storage-3qYflszY.js +1 -0
- package/build/assets/sidebar-store-DtpU7zaI.js +1 -0
- package/build/assets/skill-card-pill-row-CFxjoqxn.js +1 -0
- package/build/assets/skill-filter-CWZ5kjcg.js +2 -0
- package/build/assets/skill-icon-badge-CPQJ6A-I.js +1 -0
- package/build/assets/skill-scope-CV1dkAbW.js +1 -0
- package/build/assets/skills-plugins-DGHULTq6.js +1 -0
- package/build/assets/skills-settings-CM1lFv3e.js +1 -0
- package/build/assets/styled-tooltip-Dl06rkpY.js +1 -0
- package/build/assets/task-list-tab-04GNQuii.js +1 -0
- package/build/assets/terminal-Cj0iHIW7.js +3 -0
- package/build/assets/toggle-switch-Fd_QGz0r.js +1 -0
- package/build/assets/trash-2-Dl8_RGz0.js +1 -0
- package/build/assets/trash-_RMt7Ayc.js +1 -0
- package/build/assets/triangle-alert-SM-q4NU_.js +1 -0
- package/build/assets/typography-SgFy466J.js +1 -0
- package/build/assets/usage-tab-BcfWV6db.js +1 -0
- package/build/assets/use-acp-credential-form-BsSW5NHG.js +1 -0
- package/build/assets/use-activate-agent-profile-B2NS8nA5.js +1 -0
- package/build/assets/use-agent-profiles-DWBPC0Si.js +1 -0
- package/build/assets/use-automation-health-BxXdzZMP.js +1 -0
- package/build/assets/use-automations-zYb0dUny.js +1 -0
- package/build/assets/use-can-manage-org-profiles-BWMahtUh.js +1 -0
- package/build/assets/use-cloud-current-user-id-CPHMDG-C.js +1 -0
- package/build/assets/use-config-Bft35DOK.js +1 -0
- package/build/assets/use-create-conversation-DwN5vv2f.js +1 -0
- package/build/assets/use-create-secret-BSxJMxHp.js +1 -0
- package/build/assets/use-get-secrets-BT4ihRwj.js +1 -0
- package/build/assets/use-has-permission-B3C8rQmR.js +1 -0
- package/build/assets/use-is-authed-CFGkY3-Z.js +1 -0
- package/build/assets/use-launch-skill-in-chat-BYjYihBP.js +1 -0
- package/build/assets/use-llm-configured-BI6obxsc.js +1 -0
- package/build/assets/use-llm-profiles-djGAhTWL.js +1 -0
- package/build/assets/use-manifest-capabilities-3z0-1G59.js +1 -0
- package/build/assets/use-onboarding-completion-BXpyUSsJ.js +1 -0
- package/build/assets/use-plugins-marketplace-DI4_pK56.js +1 -0
- package/build/assets/use-save-agent-profile-DdBSTdpN.js +1 -0
- package/build/assets/use-save-settings-CUZW6yXP.js +1 -0
- package/build/assets/use-settings-C5VhGpqd.js +1 -0
- package/build/assets/use-settings-nav-items-DHaUu1Dg.js +16 -0
- package/build/assets/use-tracking-D5t9otIF.js +3 -0
- package/build/assets/use-user-conversation-DT0_QCnL.js +1 -0
- package/build/assets/useInfiniteQuery-CgeUQPfs.js +1 -0
- package/build/assets/useMutation-DFnzkf6f.js +1 -0
- package/build/assets/useQueries-BhbrGEf1.js +1 -0
- package/build/assets/useQuery-BXWbZBZl.js +1 -0
- package/build/assets/utils-DaCIEEQP.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-CTvDDiXg.js +1 -0
- package/build/assets/vendor~entry.client-BFE7Llz9.js +1 -0
- package/build/assets/vendor~entry.client-BaKt_PIp.js +9 -0
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kepq2zme-ZixYGy6E.js +186 -0
- package/build/assets/vendor~index-home~home~conversation-panel~conversation-BTyukeM-.js +13 -0
- package/build/assets/vendor~root-layout-BlUaZ18v.js +1 -0
- package/build/assets/vendor~root-layout~conversation-panel~conversation-BYAWJwQX.js +1 -0
- package/build/assets/vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-CHaLEBVR.js +1 -0
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation~mcp~automations-list~aut~ibfbmr9f-B2OLKL7N.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~hjcjabwg-Dtu7BpYk.js +48 -0
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~iw7io29p-Dz-MAyNb.js +1 -0
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~eo2nf80n-DonTKfQD.js +4949 -0
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~jz4f6vo2-BgxDvUcf.js +8420 -0
- package/build/assets/verification-settings-Bj6bo097.js +1 -0
- package/build/assets/wrench-hi7Q13dF.js +1 -0
- package/build/assets/x-DkgltWa0.js +1 -0
- package/build/index.html +4 -4
- package/build/locales/ar/openhands.json +183 -44
- package/build/locales/ca/openhands.json +183 -44
- package/build/locales/de/openhands.json +183 -44
- package/build/locales/en/openhands.json +183 -44
- package/build/locales/es/openhands.json +183 -44
- package/build/locales/fr/openhands.json +183 -44
- package/build/locales/it/openhands.json +183 -44
- package/build/locales/ja/openhands.json +183 -44
- package/build/locales/ko-KR/openhands.json +183 -44
- package/build/locales/no/openhands.json +183 -44
- package/build/locales/pt/openhands.json +183 -44
- package/build/locales/tr/openhands.json +183 -44
- package/build/locales/uk/openhands.json +183 -44
- package/build/locales/zh-CN/openhands.json +183 -44
- package/build/locales/zh-TW/openhands.json +183 -44
- package/config/defaults.json +2 -2
- 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 +115 -110
- package/dist/api/agent-server-adapter.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 +23 -2
- package/dist/api/automation-service/automation-service.api.js +130 -73
- 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/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 +9 -0
- package/dist/api/cloud/conversation-service.api.js +11 -1
- package/dist/api/cloud/conversation-service.api.js.map +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.cjs.map +1 -1
- package/dist/api/conversation-service/agent-server-conversation-service.api.js +29 -24
- package/dist/api/conversation-service/agent-server-conversation-service.api.js.map +1 -1
- 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/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 +1 -1
- package/dist/api/profiles-service/profiles-service.api.cjs.map +1 -1
- package/dist/api/profiles-service/profiles-service.api.d.ts +29 -2
- package/dist/api/profiles-service/profiles-service.api.js +25 -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/secrets-service.cjs +1 -1
- package/dist/api/secrets-service.cjs.map +1 -1
- package/dist/api/secrets-service.d.ts +5 -0
- package/dist/api/secrets-service.js +12 -6
- package/dist/api/secrets-service.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/index.d.ts +0 -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 +160 -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-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/git-sync/git-sync-activity-row.d.ts +15 -0
- package/dist/components/features/automations/git-sync/git-sync-config-form.d.ts +13 -0
- package/dist/components/features/automations/git-sync/git-sync-error-banner.d.ts +6 -0
- package/dist/components/features/automations/git-sync/git-sync-not-local-state.d.ts +1 -0
- package/dist/components/features/automations/git-sync/git-sync-overview-section.d.ts +12 -0
- package/dist/components/features/automations/git-sync/git-sync-skeleton.d.ts +1 -0
- package/dist/components/features/automations/git-sync/git-sync-status-pill.d.ts +7 -0
- package/dist/components/features/automations/git-sync/git-sync-unsupported-state.d.ts +7 -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.d.ts +2 -1
- 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.js +10 -10
- 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/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 +151 -148
- package/dist/components/features/chat/chat-interface.js.map +1 -1
- package/dist/components/features/chat/error-message-banner.cjs +1 -1
- package/dist/components/features/chat/error-message-banner.cjs.map +1 -1
- package/dist/components/features/chat/error-message-banner.d.ts +3 -1
- package/dist/components/features/chat/error-message-banner.js +64 -58
- package/dist/components/features/chat/error-message-banner.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 +138 -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 +98 -88
- package/dist/components/features/conversation/conversation-tabs/conversation-tabs.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/compact-conversation-row.cjs +1 -1
- package/dist/components/features/conversation-panel/compact-conversation-row.js +6 -6
- 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 +263 -236
- 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/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 +0 -1
- 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 +74 -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/steps/setup-llm-step.d.ts +10 -7
- 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/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 +1 -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 +10 -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/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 +7 -7
- package/dist/components/features/settings/sdk-settings/sdk-section-page.js.map +1 -1
- 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-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 +115 -111
- package/dist/components/features/sidebar/sidebar-rail-body.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 +88 -0
- package/dist/components/features/skills/build-skill-pills.js.map +1 -0
- 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.js +166 -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/buttons/conversation-confirmation-buttons.cjs +1 -1
- package/dist/components/shared/buttons/conversation-confirmation-buttons.cjs.map +1 -1
- package/dist/components/shared/buttons/conversation-confirmation-buttons.js +1 -1
- package/dist/components/shared/buttons/conversation-confirmation-buttons.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 +4 -4
- 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 +2 -2
- 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 +184 -159
- package/dist/contexts/conversation-websocket-context.js.map +1 -1
- 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-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/query-keys.cjs +1 -1
- package/dist/hooks/query/query-keys.cjs.map +1 -1
- package/dist/hooks/query/query-keys.d.ts +3 -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-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.js +1 -1
- package/dist/hooks/query/use-backends-health.js.map +1 -1
- 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-git-sync.d.ts +19 -0
- 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 +3 -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 +1 -1
- 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-task-polling.cjs +1 -1
- package/dist/hooks/query/use-task-polling.cjs.map +1 -1
- package/dist/hooks/query/use-task-polling.js +12 -10
- package/dist/hooks/query/use-task-polling.js.map +1 -1
- package/dist/hooks/query/use-workspace-files.cjs +1 -1
- package/dist/hooks/query/use-workspace-files.cjs.map +1 -1
- package/dist/hooks/query/use-workspace-files.d.ts +14 -4
- package/dist/hooks/query/use-workspace-files.js +46 -33
- package/dist/hooks/query/use-workspace-files.js.map +1 -1
- 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-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.d.ts +5 -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-tracking.cjs +1 -1
- package/dist/hooks/use-tracking.cjs.map +1 -1
- package/dist/hooks/use-tracking.d.ts +23 -0
- package/dist/hooks/use-tracking.js +16 -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 +182 -43
- 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 +3092 -729
- 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/locales/ar/openhands.json +183 -44
- package/dist/locales/ca/openhands.json +183 -44
- package/dist/locales/de/openhands.json +183 -44
- package/dist/locales/en/openhands.json +183 -44
- package/dist/locales/es/openhands.json +183 -44
- package/dist/locales/fr/openhands.json +183 -44
- package/dist/locales/it/openhands.json +183 -44
- package/dist/locales/ja/openhands.json +183 -44
- package/dist/locales/ko-KR/openhands.json +183 -44
- package/dist/locales/no/openhands.json +183 -44
- package/dist/locales/pt/openhands.json +183 -44
- package/dist/locales/tr/openhands.json +183 -44
- package/dist/locales/uk/openhands.json +183 -44
- package/dist/locales/zh-CN/openhands.json +183 -44
- package/dist/locales/zh-TW/openhands.json +183 -44
- 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 +47 -31
- package/dist/manifests/automation-interface.js +48 -54
- 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 +4843 -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 +87 -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 +98 -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 +32 -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 +29 -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-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/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 +72 -0
- package/dist/node_modules/@openhands/extensions/automations/catalog/news-digest/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 +16 -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/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 +68 -66
- package/dist/node_modules/@openhands/extensions/integrations/catalog-index.js.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.cjs +1002 -47
- package/dist/node_modules/@openhands/extensions/skills/index.cjs.map +1 -1
- package/dist/node_modules/@openhands/extensions/skills/index.js +59 -17
- package/dist/node_modules/@openhands/extensions/skills/index.js.map +1 -1
- 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/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/circle-alert.cjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.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/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/app-settings.cjs +1 -1
- package/dist/routes/app-settings.cjs.map +1 -1
- package/dist/routes/app-settings.js +87 -85
- 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 +121 -151
- 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 +137 -107
- 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/settings.cjs +1 -1
- package/dist/services/settings.cjs.map +1 -1
- package/dist/services/settings.js +2 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/services/telemetry.cjs +1 -1
- package/dist/services/telemetry.cjs.map +1 -1
- package/dist/services/telemetry.js +47 -51
- package/dist/services/telemetry.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/error-message-store.cjs +1 -1
- package/dist/stores/error-message-store.cjs.map +1 -1
- package/dist/stores/error-message-store.d.ts +3 -1
- package/dist/stores/error-message-store.js +5 -3
- package/dist/stores/error-message-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.js +8 -0
- package/dist/types/automation.js.map +1 -0
- package/dist/types/git-sync.d.ts +51 -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/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/error-handler.cjs +1 -1
- package/dist/utils/error-handler.cjs.map +1 -1
- package/dist/utils/error-handler.d.ts +3 -2
- package/dist/utils/error-handler.js +18 -5
- package/dist/utils/error-handler.js.map +1 -1
- 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 +1 -0
- package/dist/utils/format-model-name.js +1 -0
- 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.js +17 -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/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-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/transcript-export/load-complete-events.cjs +1 -1
- package/dist/utils/transcript-export/load-complete-events.cjs.map +1 -1
- package/dist/utils/transcript-export/load-complete-events.js +24 -16
- package/dist/utils/transcript-export/load-complete-events.js.map +1 -1
- package/dist/utils/utils.cjs +1 -1
- package/dist/utils/utils.cjs.map +1 -1
- package/dist/utils/utils.d.ts +1 -41
- package/dist/utils/utils.js +27 -6
- package/dist/utils/utils.js.map +1 -1
- 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/package.json +3 -3
- package/scripts/check-translation-completeness.cjs +7 -0
- package/scripts/dev-static.mjs +49 -43
- package/scripts/dev-with-automation.mjs +111 -14
- package/scripts/seed-automation-ux-data.mjs +810 -0
- package/build/assets/acp-providers-D1PORKc0.js +0 -1
- package/build/assets/active-backend-context-IqOjobNK.js +0 -2
- package/build/assets/agent-context-settings-DMrObcIS.js +0 -1
- package/build/assets/agent-profiles-settings-DororXN5.js +0 -1
- package/build/assets/agent-server-conversation-service.api-DWBe0rbX.js +0 -86
- package/build/assets/agent-settings-BJVk92PU.js +0 -2
- package/build/assets/agent-settings-COfJsQ1d.js +0 -1
- package/build/assets/alert-banner-CzZsm7ms.js +0 -1
- package/build/assets/api-key-entry-screen-D8Fade_-.js +0 -1
- package/build/assets/app-settings-CpyGB3AT.js +0 -1
- package/build/assets/automation-detail-B-jQ39Mm.js +0 -3
- package/build/assets/automation-export-B1dywoqk.js +0 -2
- package/build/assets/automation-setup-route-C-bWUZBi.js +0 -1
- package/build/assets/automation-templates-DgpCGOJV.js +0 -1
- package/build/assets/automations-list-DnMxlxsL.js +0 -1
- package/build/assets/back-nav-button-HHEneWMw.js +0 -1
- package/build/assets/backend-form-modal-DiVrD4Cm.js +0 -1
- package/build/assets/backend-synced-settings-badge-7MIjpr8M.js +0 -1
- package/build/assets/badge-CpYmcVZV.js +0 -1
- package/build/assets/base-modal-Fnh6Uln9.js +0 -1
- package/build/assets/bot-BQZx8e2i.js +0 -1
- package/build/assets/brand-button-swT1RyO0.js +0 -1
- package/build/assets/browser-B9AbV6kG.js +0 -7
- package/build/assets/browser-tab-zAY12m_i.js +0 -1
- package/build/assets/chat-send-button-DsJtivmL.js +0 -1
- package/build/assets/check-WAFXrrs_.js +0 -1
- package/build/assets/chevron-down-CifNWzme.js +0 -1
- package/build/assets/circle-check-CtnimJa8.js +0 -1
- package/build/assets/circle-plus-check-toggle-Cuzx55bo.js +0 -1
- package/build/assets/cloud-funnel-analytics-86CwNdSh.js +0 -1
- package/build/assets/combobox-caret-D0fRotFi.js +0 -1
- package/build/assets/command-menu-BXy03FBl.js +0 -1
- package/build/assets/condenser-settings-BmZa0ui_.js +0 -1
- package/build/assets/confirmation-modal-BgoN6lbN.js +0 -1
- package/build/assets/context-menu-list-item-Bq02tc-P.js +0 -1
- package/build/assets/conversation-BPo8SvLN.js +0 -1
- package/build/assets/conversation-CPCVsCUY.js +0 -90
- package/build/assets/conversation-panel-BPo8SvLN.js +0 -1
- package/build/assets/conversation-state-store-C5YpjMNy.js +0 -1
- package/build/assets/conversation-store-Blc5xysY.js +0 -6
- package/build/assets/conversation-tab-empty-state-CMqo_0Bd.js +0 -1
- package/build/assets/copy-to-clipboard-button-Cg1pF0xn.js +0 -1
- package/build/assets/device-verify-BfQLgNyq.js +0 -1
- package/build/assets/dropdown-classes-BIqQr5mx.js +0 -1
- package/build/assets/entry.client-CxFjRYqH.js +0 -2
- package/build/assets/enum-filter-dropdown-C_yV4_bo.js +0 -1
- package/build/assets/environment-switch-overlay-Bi4qbh2g.js +0 -1
- package/build/assets/extension-module-card-classes-Bo43vY5V.js +0 -1
- package/build/assets/extensions-hub-BqUINAhp.js +0 -1
- package/build/assets/extensions-navigation-lraj88Wk.js +0 -1
- package/build/assets/external-link-CgtpA_a1.js +0 -1
- package/build/assets/file-text-DEK4LSVw.js +0 -1
- package/build/assets/files-tab-DV0L-lFE.js +0 -1
- package/build/assets/form-control-classes-7yFSQJq_.js +0 -1
- package/build/assets/format-model-name-BN_rx1Y3.js +0 -1
- package/build/assets/format-relative-time-DSErAuVr.js +0 -1
- package/build/assets/git-provider-icon-BvlLAche.js +0 -1
- package/build/assets/git-repo-dropdown-ByMzpNko.js +0 -1
- package/build/assets/git-repo-dropdown-C6R7hgM8.js +0 -1
- package/build/assets/highlighted-source-view-C_sfncLZ.js +0 -1
- package/build/assets/home-BOrlwLqG.js +0 -1
- package/build/assets/home-BvMNC6E-.js +0 -1
- package/build/assets/home-store-CxqsY9Fi.js +0 -1
- package/build/assets/index-home-BvMNC6E-.js +0 -1
- package/build/assets/info-BRVcJAUg.js +0 -1
- package/build/assets/install-server-modal-Bl4G1zF4.js +0 -1
- package/build/assets/kebab-menu-item-content-BGoGFEAg.js +0 -1
- package/build/assets/launch-CkqiSCqi.js +0 -1
- package/build/assets/list-todo-DNWlzfaM.js +0 -1
- package/build/assets/llm-not-configured-banner-DLw_tu-G.js +0 -27
- package/build/assets/llm-settings-B-pkVCrt.js +0 -1
- package/build/assets/llm-settings-DSC0-IQ7.js +0 -1
- package/build/assets/llm-subscription-service-BAdOl5Xx.js +0 -1
- package/build/assets/loader-circle-B47W9XqT.js +0 -1
- package/build/assets/loading-spinner-xhnrGP4Y.js +0 -1
- package/build/assets/manage-backends-modal-DhGk5mJt.js +0 -1
- package/build/assets/manifest-653b89aa.js +0 -1
- package/build/assets/manifest-subpage-layout-CKWvL2ig.js +0 -1
- package/build/assets/map-provider-Mx8mZuE-.js +0 -1
- package/build/assets/markdown-renderer-DUmk7pFc.js +0 -8
- package/build/assets/mcp-DCkvl6K0.js +0 -9
- package/build/assets/mcp-marketplace-utils-DEbMXlQr.js +0 -1
- package/build/assets/messages-DSXvyc21.js +0 -40
- package/build/assets/modal-body-gIe21fDv.js +0 -1
- package/build/assets/modal-classes-D66dlgZ7.js +0 -1
- package/build/assets/modal-close-button-B6iOGYpI.js +0 -1
- package/build/assets/mouse-pointer-click-BYX1Pw5W.js +0 -1
- package/build/assets/npm-DLckoeJc.js +0 -1
- package/build/assets/onboarding-D7WDG66N.js +0 -1
- package/build/assets/onboarding-modal-C_xVrFNv.js +0 -1
- package/build/assets/organization-service.api-D-s9z18a.js +0 -1
- package/build/assets/pencil-BGOCPRyu.js +0 -1
- package/build/assets/planner-tab-AKaXIIfg.js +0 -1
- package/build/assets/plugins-management-service-wtmY4QQw.js +0 -1
- package/build/assets/plus-zNEL8rcX.js +0 -1
- package/build/assets/profiles-service.api-DCMYxHMi.js +0 -1
- package/build/assets/providers-BjrtjX4L.js +0 -1
- package/build/assets/proxy-9Z_WZggZ.js +0 -1
- package/build/assets/puzzle-BWLmN8z4.js +0 -1
- package/build/assets/recommended-automations-launcher-CFlzhu1o.js +0 -1
- package/build/assets/refresh-cw-CXtFWpwv.js +0 -1
- package/build/assets/root-CanxKlNV.css +0 -1
- package/build/assets/root-DkfG_UWR.js +0 -2
- package/build/assets/root-layout-D75LHYhh.js +0 -2
- package/build/assets/schema-field-OnM5Uob_.js +0 -1
- package/build/assets/sdk-section-page-m5WQm2sy.js +0 -1
- package/build/assets/search-CycosyjN.js +0 -1
- package/build/assets/secrets-service-B26R61C1.js +0 -1
- package/build/assets/secrets-settings-CbLYCKOX.js +0 -1
- package/build/assets/segmented-toggle-DCspm2U5.js +0 -1
- package/build/assets/settings-BJQI_iBM.js +0 -1
- package/build/assets/settings-CWFxymAf.js +0 -1
- package/build/assets/settings-dropdown-input-BI8V_Nov.js +0 -1
- package/build/assets/settings-index-BiTqJoH7.js +0 -1
- package/build/assets/settings-input-Cz62hWVW.js +0 -1
- package/build/assets/settings-list-classes-z_3FW5H3.js +0 -1
- package/build/assets/settings-modal-BIrIVn97.js +0 -1
- package/build/assets/settings-service.api--rJmnuLa.js +0 -1
- package/build/assets/settings-switch-BRsSI8Vs.js +0 -1
- package/build/assets/settings-utils-Ba7vel6T.js +0 -1
- package/build/assets/shared-conversation-CQK_PqHx.js +0 -1
- package/build/assets/shield-check-T3JsDJiM.js +0 -1
- package/build/assets/sidebar-layout-Bhi3hVcu.js +0 -1
- package/build/assets/sidebar-mobile-menu-toggle-YWJNRN4p.js +0 -1
- package/build/assets/sidebar-nav-link-BSUlY5Ml.js +0 -1
- package/build/assets/sidebar-store-Cl1cUv_F.js +0 -1
- package/build/assets/skill-card-pill-row-BXz8L8Rn.js +0 -1
- package/build/assets/skill-icon-badge-QgfKv31M.js +0 -1
- package/build/assets/skill-scope-Dc3JPW-8.js +0 -1
- package/build/assets/skills-plugins-CpTV27n3.js +0 -1
- package/build/assets/skills-settings-CSW__IW4.js +0 -2
- package/build/assets/sparkles-TJ0mdECe.js +0 -1
- package/build/assets/styled-tooltip-BUMSbgrF.js +0 -1
- package/build/assets/task-list-tab-mAHMOkUz.js +0 -1
- package/build/assets/terminal-BzxBaHx2.js +0 -3
- package/build/assets/toggle-switch-O5v1FgxW.js +0 -1
- package/build/assets/trash-2-C0xNVp9c.js +0 -1
- package/build/assets/typography-NOKSk9_R.js +0 -1
- package/build/assets/usage-tab-tEmVN0KD.js +0 -1
- package/build/assets/use-acp-credential-form-BPNi0Zbm.js +0 -1
- package/build/assets/use-activate-agent-profile-D9YRQPTF.js +0 -1
- package/build/assets/use-agent-profiles-Cb2zUW3l.js +0 -1
- package/build/assets/use-can-manage-org-profiles-Dxzq2AEd.js +0 -1
- package/build/assets/use-cloud-current-user-id-Co2eJk2A.js +0 -1
- package/build/assets/use-config-DKAMiI5R.js +0 -1
- package/build/assets/use-create-conversation-CoHTiCbI.js +0 -1
- package/build/assets/use-create-secret-2zBlCDsF.js +0 -1
- package/build/assets/use-is-authed-C52-ivnB.js +0 -1
- package/build/assets/use-is-creating-conversation-DdaAE6jV.js +0 -1
- package/build/assets/use-launch-skill-in-chat-COnDpxCQ.js +0 -1
- package/build/assets/use-llm-profiles-C_BHue65.js +0 -1
- package/build/assets/use-manifest-capabilities-DPrQsaPP.js +0 -1
- package/build/assets/use-onboarding-completion-CCE8OQgV.js +0 -1
- package/build/assets/use-plugins-marketplace-CEiak69h.js +0 -1
- package/build/assets/use-save-agent-profile-DK9idD6a.js +0 -1
- package/build/assets/use-save-settings-DNmnbG6f.js +0 -1
- package/build/assets/use-settings-nav-items-BlFL7YhM.js +0 -16
- package/build/assets/use-settings-wCwPaSIv.js +0 -1
- package/build/assets/use-tracking-CVwPmhlX.js +0 -3
- package/build/assets/use-user-conversation-DVtfg0B_.js +0 -1
- package/build/assets/useInfiniteQuery-p1xq35r2.js +0 -1
- package/build/assets/useMutation-BFDQmgk9.js +0 -1
- package/build/assets/useQueries-DF1NAAeC.js +0 -1
- package/build/assets/useQuery-DRv--6bK.js +0 -1
- package/build/assets/utils-zxEjKE70.js +0 -1
- package/build/assets/vendor~browser-B-fae1JU.js +0 -47
- package/build/assets/vendor~entry.client-CgNUwtQL.js +0 -1
- package/build/assets/vendor~entry.client-zSIea5EO.js +0 -9
- package/build/assets/vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~kv3pap4j-B8i84bh4.js +0 -186
- package/build/assets/vendor~files-tab-D9wR9yM2.js +0 -11
- package/build/assets/vendor~index-home~home~conversation-panel~conversation-Ipoe6hvY.js +0 -13
- package/build/assets/vendor~root-layout-C-IgVx6e.js +0 -1
- package/build/assets/vendor~root-layout~conversation-panel~conversation-Dhd_I4H4.js +0 -1
- package/build/assets/vendor~root-layout~conversation-panel~conversation~skills-settings~automations-list~shared-~bovqqk8e-Cc0f9kPP.js +0 -1
- package/build/assets/vendor~root-layout~index-home~home~conversation-panel~conversation~shared-conversation-d7svw-BB.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~gxu4j2ea-D5DWZVc7.js +0 -1
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~extensions-h~hjcjabwg-4WsUP-tz.js +0 -48
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~9pstowjp-BOVIFA_g.js +0 -73
- package/build/assets/vendor~root~root-layout~index-home~home~conversation-panel~conversation~launch~skills-setti~ht43enc2-C0JXQb_q.js +0 -7465
- package/build/assets/verification-settings-B8UMQ7MG.js +0 -1
- package/build/assets/wrench-DIka3hCq.js +0 -1
- package/build/assets/x-BWKA2Ver.js +0 -1
- package/build/assets/zap-DHddTPc0.js +0 -1
- package/dist/api/cloud/suggestions-service.api.d.ts +0 -8
- package/dist/api/suggestions-service/suggestions-service.api.d.ts +0 -11
- package/dist/components/conversation-events/chat/event-message-components/observation-pair-event-message.d.ts +0 -7
- package/dist/components/conversation-events/index.d.ts +0 -1
- package/dist/components/features/automations/metadata-chip.d.ts +0 -6
- package/dist/components/features/chat/task-tracking/status-badge.d.ts +0 -5
- package/dist/components/features/chat/task-tracking/status-icon.d.ts +0 -5
- package/dist/components/features/chat/task-tracking/task-list-section.d.ts +0 -10
- package/dist/components/features/controls/tools.d.ts +0 -2
- package/dist/components/features/conversation-panel/new-conversation-button.d.ts +0 -23
- 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/home/home-header/guide-message.d.ts +0 -1
- package/dist/components/features/home/home-header/home-header.d.ts +0 -1
- package/dist/components/features/home/new-conversation/create-conversation-button.d.ts +0 -1
- package/dist/components/features/home/new-conversation/new-conversation.d.ts +0 -1
- package/dist/components/features/home/new-conversation.d.ts +0 -1
- package/dist/components/features/home/tasks/task-card.d.ts +0 -6
- package/dist/components/features/home/tasks/task-group.d.ts +0 -7
- package/dist/components/features/home/tasks/task-issue-number.d.ts +0 -6
- package/dist/components/features/home/tasks/task-item-title.d.ts +0 -1
- package/dist/components/features/home/tasks/task-suggestions-skeleton.d.ts +0 -1
- package/dist/components/features/home/tasks/task-suggestions.d.ts +0 -6
- package/dist/components/features/settings/agent-server-onboarding.d.ts +0 -10
- package/dist/components/features/settings/mcp-settings/mcp-server-list-item.d.ts +0 -6
- package/dist/components/features/settings/mcp-settings/mcp-server-list.d.ts +0 -8
- 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.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/query/use-suggested-tasks.d.ts +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/hooks/use-should-show-user-features.d.ts +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/ui/card-title.d.ts +0 -16
- package/dist/ui/card.d.ts +0 -14
- 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/group-suggested-tasks.d.ts +0 -7
- 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.js +0 -45
- package/dist/utils/tips.js.map +0 -1
- /package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~dh9v73sa-rfV8mQ9m.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~ew3u153i-rfV8mQ9m.js} +0 -0
- /package/build/assets/{vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~lq5hicxx-cHFhpUBq.js → vendor~entry.client~root~root-layout~index-home~home~conversation-panel~conversation~launch~ox0jfsa0-cHFhpUBq.js} +0 -0
|
@@ -1,126 +1,174 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DEFAULT_UNPINNED_OVERVIEW_GIT_PARTS as e, DEFAULT_UNPINNED_OVERVIEW_SECTIONS as t, VALID_CONVERSATION_OVERVIEW_GIT_PARTS as n, VALID_CONVERSATION_OVERVIEW_SECTIONS as r } from "../components/features/conversation/conversation-overview-sections.js";
|
|
2
|
+
import { useEffect as i, useState as a } from "react";
|
|
2
3
|
//#region src/utils/conversation-local-storage.ts
|
|
3
|
-
var
|
|
4
|
+
var o = {
|
|
4
5
|
CONVERSATION_STATE: "conversation-state",
|
|
5
6
|
PENDING_TASK_DRAFT: "pending-task-draft"
|
|
6
|
-
},
|
|
7
|
+
}, s = "conversation-state-updated", c = {
|
|
7
8
|
selectedTab: "files",
|
|
8
9
|
unpinnedTabs: [],
|
|
10
|
+
unpinnedOverviewSections: [...t],
|
|
11
|
+
unpinnedOverviewGitParts: [...e],
|
|
9
12
|
conversationMode: "code",
|
|
10
13
|
subConversationTaskId: null,
|
|
11
14
|
draftMessage: null,
|
|
15
|
+
rightPanelShown: !1,
|
|
12
16
|
filesTabDiffView: null,
|
|
13
|
-
filesTabContentViewMode: "rich"
|
|
14
|
-
|
|
17
|
+
filesTabContentViewMode: "rich",
|
|
18
|
+
filesTabTreeVisible: !0,
|
|
19
|
+
filesTabOpenPaths: [],
|
|
20
|
+
filesTabSelectedPath: null
|
|
21
|
+
}, l = new Set([
|
|
15
22
|
"files",
|
|
23
|
+
"commits",
|
|
16
24
|
"browser",
|
|
17
25
|
"terminal",
|
|
18
26
|
"planner",
|
|
19
27
|
"tasklist",
|
|
20
28
|
"usage"
|
|
21
|
-
]),
|
|
29
|
+
]), u = new Set([
|
|
22
30
|
"editor",
|
|
23
31
|
"served",
|
|
24
|
-
"changes",
|
|
25
32
|
"app",
|
|
26
33
|
"vscode"
|
|
27
|
-
]),
|
|
28
|
-
function
|
|
29
|
-
let
|
|
30
|
-
if (
|
|
31
|
-
let e =
|
|
32
|
-
e
|
|
33
|
-
|
|
34
|
+
]), d = new Set(["rich", "plain"]);
|
|
35
|
+
function f(e) {
|
|
36
|
+
let t = e;
|
|
37
|
+
if (t.selectedTab != null && (u.has(t.selectedTab) || t.selectedTab === "changes" || !l.has(t.selectedTab))) {
|
|
38
|
+
let e = t.selectedTab;
|
|
39
|
+
t = { ...t }, e === "changes" ? t.selectedTab = "commits" : delete t.selectedTab;
|
|
40
|
+
}
|
|
41
|
+
if (t.unpinnedTabs) {
|
|
42
|
+
let e = t.unpinnedTabs.filter((e) => e !== "changes" && !u.has(e));
|
|
43
|
+
e.length !== t.unpinnedTabs.length && (t = {
|
|
44
|
+
...t,
|
|
34
45
|
unpinnedTabs: e
|
|
35
46
|
});
|
|
36
47
|
}
|
|
37
|
-
|
|
48
|
+
if (t.unpinnedOverviewSections) {
|
|
49
|
+
let e = t.unpinnedOverviewSections.filter((e) => r.has(e));
|
|
50
|
+
e.length !== t.unpinnedOverviewSections.length && (t = {
|
|
51
|
+
...t,
|
|
52
|
+
unpinnedOverviewSections: e
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
if (t.unpinnedOverviewGitParts) {
|
|
56
|
+
let e = t.unpinnedOverviewGitParts.filter((e) => n.has(e));
|
|
57
|
+
e.length !== t.unpinnedOverviewGitParts.length && (t = {
|
|
58
|
+
...t,
|
|
59
|
+
unpinnedOverviewGitParts: e
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
if (t.filesTabContentViewMode != null && !d.has(t.filesTabContentViewMode) && (t = { ...t }, delete t.filesTabContentViewMode), t.rightPanelShown != null && typeof t.rightPanelShown != "boolean" && (t = { ...t }, delete t.rightPanelShown), t.filesTabTreeVisible != null && typeof t.filesTabTreeVisible != "boolean" && (t = { ...t }, delete t.filesTabTreeVisible), t.filesTabOpenPaths != null) if (!Array.isArray(t.filesTabOpenPaths)) t = { ...t }, delete t.filesTabOpenPaths;
|
|
63
|
+
else {
|
|
64
|
+
let e = t.filesTabOpenPaths.filter((e) => typeof e == "string" && e.length > 0);
|
|
65
|
+
e.length !== t.filesTabOpenPaths.length && (t = {
|
|
66
|
+
...t,
|
|
67
|
+
filesTabOpenPaths: e
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return t.filesTabSelectedPath != null && typeof t.filesTabSelectedPath != "string" && (t = { ...t }, delete t.filesTabSelectedPath), t;
|
|
38
71
|
}
|
|
39
|
-
function
|
|
72
|
+
function p(e) {
|
|
40
73
|
return e.startsWith("task-");
|
|
41
74
|
}
|
|
42
|
-
function
|
|
43
|
-
return e === "" ||
|
|
75
|
+
function m(e) {
|
|
76
|
+
return e === "" || p(e);
|
|
44
77
|
}
|
|
45
|
-
function
|
|
46
|
-
if (
|
|
78
|
+
function h(e) {
|
|
79
|
+
if (m(e)) return c;
|
|
47
80
|
try {
|
|
48
|
-
let t = `${
|
|
49
|
-
return
|
|
50
|
-
...
|
|
51
|
-
...
|
|
81
|
+
let t = `${o.CONVERSATION_STATE}-${e}`, n = localStorage.getItem(t);
|
|
82
|
+
return n === null ? c : {
|
|
83
|
+
...c,
|
|
84
|
+
...f(JSON.parse(n))
|
|
52
85
|
};
|
|
53
86
|
} catch {
|
|
54
|
-
return
|
|
87
|
+
return c;
|
|
55
88
|
}
|
|
56
89
|
}
|
|
57
|
-
function
|
|
58
|
-
if (!
|
|
59
|
-
let
|
|
60
|
-
...
|
|
90
|
+
function g(e, t) {
|
|
91
|
+
if (!m(e)) try {
|
|
92
|
+
let n = `${o.CONVERSATION_STATE}-${e}`, r = {
|
|
93
|
+
...h(e),
|
|
61
94
|
...t
|
|
62
95
|
};
|
|
63
|
-
localStorage.setItem(
|
|
96
|
+
localStorage.setItem(n, JSON.stringify(r)), typeof window < "u" && window.dispatchEvent(new CustomEvent(s, { detail: { conversationId: e } }));
|
|
64
97
|
} catch (e) {
|
|
65
98
|
console.warn("Failed to set conversation localStorage", e);
|
|
66
99
|
}
|
|
67
100
|
}
|
|
68
|
-
function
|
|
69
|
-
return `${
|
|
101
|
+
function _(e) {
|
|
102
|
+
return `${o.PENDING_TASK_DRAFT}-${e}`;
|
|
70
103
|
}
|
|
71
|
-
function
|
|
104
|
+
function v(e, t) {
|
|
105
|
+
if (e) try {
|
|
106
|
+
localStorage.setItem(_(e), t);
|
|
107
|
+
} catch (e) {
|
|
108
|
+
console.warn("Failed to store pending task draft", e);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function y(e) {
|
|
72
112
|
if (!e) return null;
|
|
73
113
|
try {
|
|
74
|
-
let t =
|
|
114
|
+
let t = _(e), n = localStorage.getItem(t);
|
|
75
115
|
return localStorage.removeItem(t), n;
|
|
76
116
|
} catch (e) {
|
|
77
117
|
return console.warn("Failed to consume pending task draft", e), null;
|
|
78
118
|
}
|
|
79
119
|
}
|
|
80
|
-
function
|
|
120
|
+
function b(e) {
|
|
81
121
|
try {
|
|
82
|
-
let t = `${
|
|
83
|
-
localStorage.removeItem(t), typeof window < "u" && window.dispatchEvent(new CustomEvent(
|
|
122
|
+
let t = `${o.CONVERSATION_STATE}-${e}`;
|
|
123
|
+
localStorage.removeItem(t), typeof window < "u" && window.dispatchEvent(new CustomEvent(s, { detail: { conversationId: e } }));
|
|
84
124
|
} catch (t) {
|
|
85
125
|
console.warn("Failed to clear conversation localStorage", e, t);
|
|
86
126
|
}
|
|
87
127
|
}
|
|
88
|
-
function
|
|
89
|
-
let [
|
|
90
|
-
|
|
128
|
+
function x(e) {
|
|
129
|
+
let [t, n] = a(() => h(e));
|
|
130
|
+
i(() => {
|
|
91
131
|
if (typeof window > "u") return;
|
|
92
|
-
let
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
},
|
|
97
|
-
|
|
132
|
+
let t = `${o.CONVERSATION_STATE}-${e}`, r = () => {
|
|
133
|
+
n(h(e));
|
|
134
|
+
}, i = (e) => {
|
|
135
|
+
e.key === t && r();
|
|
136
|
+
}, a = (t) => {
|
|
137
|
+
t.detail?.conversationId === e && r();
|
|
98
138
|
};
|
|
99
|
-
return
|
|
100
|
-
window.removeEventListener("storage",
|
|
139
|
+
return r(), window.addEventListener("storage", i), window.addEventListener(s, a), () => {
|
|
140
|
+
window.removeEventListener("storage", i), window.removeEventListener(s, a);
|
|
101
141
|
};
|
|
102
|
-
}, [
|
|
103
|
-
let
|
|
104
|
-
if (
|
|
105
|
-
|
|
106
|
-
...
|
|
107
|
-
...
|
|
142
|
+
}, [e]);
|
|
143
|
+
let r = (t) => {
|
|
144
|
+
if (m(e)) {
|
|
145
|
+
n((e) => ({
|
|
146
|
+
...e,
|
|
147
|
+
...t
|
|
108
148
|
}));
|
|
109
149
|
return;
|
|
110
150
|
}
|
|
111
|
-
|
|
151
|
+
g(e, t);
|
|
112
152
|
};
|
|
113
153
|
return {
|
|
114
|
-
state:
|
|
115
|
-
setSelectedTab: (e) =>
|
|
116
|
-
setUnpinnedTabs: (e) =>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
154
|
+
state: t,
|
|
155
|
+
setSelectedTab: (e) => r({ selectedTab: e }),
|
|
156
|
+
setUnpinnedTabs: (e) => r({ unpinnedTabs: e }),
|
|
157
|
+
setUnpinnedOverviewSections: (e) => r({ unpinnedOverviewSections: e }),
|
|
158
|
+
setUnpinnedOverviewGitParts: (e) => r({ unpinnedOverviewGitParts: e }),
|
|
159
|
+
setConversationMode: (e) => r({ conversationMode: e }),
|
|
160
|
+
setDraftMessage: (e) => r({ draftMessage: e }),
|
|
161
|
+
setRightPanelShown: (e) => r({ rightPanelShown: e }),
|
|
162
|
+
setFilesTabDiffView: (e) => r({ filesTabDiffView: e }),
|
|
163
|
+
setFilesTabContentViewMode: (e) => r({ filesTabContentViewMode: e }),
|
|
164
|
+
setFilesTabTreeVisible: (e) => r({ filesTabTreeVisible: e }),
|
|
165
|
+
setFilesTabOpenState: (e, t) => r({
|
|
166
|
+
filesTabOpenPaths: e,
|
|
167
|
+
filesTabSelectedPath: t
|
|
168
|
+
})
|
|
121
169
|
};
|
|
122
170
|
}
|
|
123
171
|
//#endregion
|
|
124
|
-
export {
|
|
172
|
+
export { b as clearConversationLocalStorage, y as consumePendingTaskDraft, h as getConversationState, p as isTaskConversationId, g as setConversationState, v as setPendingTaskDraft, x as useConversationLocalStorageState };
|
|
125
173
|
|
|
126
174
|
//# sourceMappingURL=conversation-local-storage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-local-storage.js","names":[],"sources":["../../src/utils/conversation-local-storage.ts"],"sourcesContent":["import { useEffect, useState } from \"react\";\nimport type {\n ConversationTab,\n ConversationMode,\n} from \"#/stores/conversation-store\";\nimport type { ViewMode } from \"#/components/features/files-tab/view-mode\";\n\nexport const LOCAL_STORAGE_KEYS = {\n CONVERSATION_STATE: \"conversation-state\",\n PENDING_TASK_DRAFT: \"pending-task-draft\",\n} as const;\n\nconst CONVERSATION_STATE_UPDATED_EVENT = \"conversation-state-updated\";\n\ntype ConversationStateUpdatedDetail = {\n conversationId: string;\n};\n\n/**\n * Consolidated conversation state stored in a single localStorage key.\n *\n * NOTE: the right-drawer open/closed state is intentionally *not* persisted\n * here. Users expect the drawer to start closed every time the app is\n * (re)loaded and only stay open when they opened it themselves during the\n * current session. That state lives in the in-memory Zustand\n * `useConversationStore` (`isRightPanelShown` / `hasRightPanelToggled`)\n * which survives in-app navigation but resets on full reloads. Older\n * builds wrote a `rightPanelShown` field into this blob; we accept and\n * silently ignore that field on read so we don't churn old localStorage.\n */\nexport interface ConversationState {\n selectedTab: ConversationTab | null;\n unpinnedTabs: string[];\n conversationMode: ConversationMode;\n subConversationTaskId: string | null;\n draftMessage: string | null;\n /**\n * User's persisted choice for the Files tab diff-vs-files toggle.\n * `null` means \"no explicit choice yet\" — the Files tab then falls back\n * to its repo-aware default (diff inside a git repo with commits, files\n * otherwise).\n */\n filesTabDiffView: boolean | null;\n /** User's persisted choice for the Files tab Rich/Plain content toggle. */\n filesTabContentViewMode: ViewMode;\n}\n\nconst DEFAULT_CONVERSATION_STATE: ConversationState = {\n selectedTab: \"files\",\n unpinnedTabs: [],\n conversationMode: \"code\",\n subConversationTaskId: null,\n draftMessage: null,\n filesTabDiffView: null,\n filesTabContentViewMode: \"rich\",\n};\n\nconst VALID_CONVERSATION_TABS: ReadonlySet<ConversationTab> = new Set([\n \"files\",\n \"browser\",\n \"terminal\",\n \"planner\",\n \"tasklist\",\n \"usage\",\n]);\n\n// Tab keys that *used to* exist and were removed during the Files tab\n// refactor. We strip these out of any persisted state on read so that\n// returning users don't keep ghost entries (in `selectedTab` or\n// `unpinnedTabs`) forever — the UI has no way to surface them again to\n// be re-pinned or re-selected. We deliberately use an explicit denylist\n// here rather than a strict \"whitelist against VALID_CONVERSATION_TABS\"\n// filter because `unpinnedTabs` is typed `string[]` and other parts of\n// the app legitimately store arbitrary tab keys in it (sub-conversation\n// tab ids etc.).\nconst REMOVED_CONVERSATION_TABS: ReadonlySet<string> = new Set([\n \"editor\",\n \"served\",\n \"changes\",\n \"app\",\n \"vscode\",\n]);\n\nconst VALID_VIEW_MODES: ReadonlySet<ViewMode> = new Set([\"rich\", \"plain\"]);\n\nfunction sanitizeStoredState(\n stored: Record<string, unknown>,\n): Partial<ConversationState> {\n // `rightPanelShown` is no longer part of the schema (the drawer's\n // open state is session-only) but old persisted blobs still carry it.\n // We just drop it on the way in — keeping it in `result` here would\n // pollute the merged `ConversationState` shape that consumers receive.\n const { rightPanelShown: _ignoredRightPanelShown, ...rest } = stored as {\n rightPanelShown?: unknown;\n } & Record<string, unknown>;\n let result: Partial<ConversationState> = rest as Partial<ConversationState>;\n\n if (\n result.selectedTab != null &&\n (REMOVED_CONVERSATION_TABS.has(result.selectedTab) ||\n !VALID_CONVERSATION_TABS.has(result.selectedTab as ConversationTab))\n ) {\n result = { ...result };\n delete result.selectedTab;\n }\n\n if (result.unpinnedTabs) {\n const filtered = result.unpinnedTabs.filter(\n (tab) => !REMOVED_CONVERSATION_TABS.has(tab),\n );\n if (filtered.length !== result.unpinnedTabs.length) {\n result = { ...result, unpinnedTabs: filtered };\n }\n }\n\n // Drop a corrupt/manually-edited `filesTabContentViewMode` so it falls\n // back to the typed default (\"rich\") instead of leaking a junk string\n // into ViewMode-typed consumers. TypeScript can't help us here — the\n // value comes from `JSON.parse(localStorage.getItem(...))` which is\n // unknown at runtime.\n if (\n result.filesTabContentViewMode != null &&\n !VALID_VIEW_MODES.has(result.filesTabContentViewMode)\n ) {\n result = { ...result };\n delete result.filesTabContentViewMode;\n }\n\n return result;\n}\n\n/**\n * Check if a conversation ID is a temporary task ID that should not be persisted.\n * Task IDs have the format \"task-{uuid}\" and are used during V1 conversation initialization.\n */\nexport function isTaskConversationId(conversationId: string): boolean {\n return conversationId.startsWith(\"task-\");\n}\n\n/**\n * Whether persistence should be skipped for this conversation id.\n *\n * Skips:\n * - empty string ids (callers outside of a conversation route, e.g.\n * rendered inside a unit test without a NavigationProvider)\n * - \"task-...\" ids used as placeholders during V1 conversation\n * initialization\n */\nfunction shouldSkipPersistence(conversationId: string): boolean {\n return conversationId === \"\" || isTaskConversationId(conversationId);\n}\n\n/**\n * Get the full conversation state from localStorage.\n */\nexport function getConversationState(\n conversationId: string,\n): ConversationState {\n if (shouldSkipPersistence(conversationId)) {\n return DEFAULT_CONVERSATION_STATE;\n }\n try {\n const key = `${LOCAL_STORAGE_KEYS.CONVERSATION_STATE}-${conversationId}`;\n const item = localStorage.getItem(key);\n if (item !== null) {\n return {\n ...DEFAULT_CONVERSATION_STATE,\n ...sanitizeStoredState(JSON.parse(item)),\n };\n }\n return DEFAULT_CONVERSATION_STATE;\n } catch {\n return DEFAULT_CONVERSATION_STATE;\n }\n}\n\n/**\n * Set the conversation state in localStorage, merging with existing state.\n */\nexport function setConversationState(\n conversationId: string,\n updates: Partial<ConversationState>,\n): void {\n if (shouldSkipPersistence(conversationId)) {\n return;\n }\n try {\n const key = `${LOCAL_STORAGE_KEYS.CONVERSATION_STATE}-${conversationId}`;\n const currentState = getConversationState(conversationId);\n const newState = { ...currentState, ...updates };\n localStorage.setItem(key, JSON.stringify(newState));\n if (typeof window !== \"undefined\") {\n window.dispatchEvent(\n new CustomEvent<ConversationStateUpdatedDetail>(\n CONVERSATION_STATE_UPDATED_EVENT,\n { detail: { conversationId } },\n ),\n );\n }\n } catch (err) {\n console.warn(\"Failed to set conversation localStorage\", err);\n }\n}\n\nfunction getPendingTaskDraftKey(taskId: string): string {\n return `${LOCAL_STORAGE_KEYS.PENDING_TASK_DRAFT}-${taskId}`;\n}\n\nexport function setPendingTaskDraft(\n taskId: string | null | undefined,\n draftMessage: string,\n): void {\n if (!taskId) return;\n try {\n localStorage.setItem(getPendingTaskDraftKey(taskId), draftMessage);\n } catch (err) {\n console.warn(\"Failed to store pending task draft\", err);\n }\n}\n\nexport function consumePendingTaskDraft(\n taskId: string | null | undefined,\n): string | null {\n if (!taskId) return null;\n try {\n const key = getPendingTaskDraftKey(taskId);\n const draft = localStorage.getItem(key);\n localStorage.removeItem(key);\n return draft;\n } catch (err) {\n console.warn(\"Failed to consume pending task draft\", err);\n return null;\n }\n}\n\nexport function clearConversationLocalStorage(conversationId: string) {\n try {\n const key = `${LOCAL_STORAGE_KEYS.CONVERSATION_STATE}-${conversationId}`;\n localStorage.removeItem(key);\n if (typeof window !== \"undefined\") {\n window.dispatchEvent(\n new CustomEvent<ConversationStateUpdatedDetail>(\n CONVERSATION_STATE_UPDATED_EVENT,\n { detail: { conversationId } },\n ),\n );\n }\n } catch (err) {\n console.warn(\n \"Failed to clear conversation localStorage\",\n conversationId,\n err,\n );\n }\n}\n\n/**\n * React hook for conversation-scoped localStorage state.\n * Returns the full state and individual setters for each property.\n *\n * The right-drawer open state is deliberately not represented here —\n * see the note on `ConversationState` for the rationale.\n */\nexport function useConversationLocalStorageState(conversationId: string): {\n state: ConversationState;\n setSelectedTab: (tab: ConversationTab | null) => void;\n setUnpinnedTabs: (tabs: string[]) => void;\n setConversationMode: (mode: ConversationMode) => void;\n setDraftMessage: (message: string | null) => void;\n setFilesTabDiffView: (diffView: boolean | null) => void;\n setFilesTabContentViewMode: (mode: ViewMode) => void;\n} {\n const [state, setState] = useState<ConversationState>(() =>\n getConversationState(conversationId),\n );\n\n useEffect(() => {\n if (typeof window === \"undefined\") {\n return undefined;\n }\n\n const key = `${LOCAL_STORAGE_KEYS.CONVERSATION_STATE}-${conversationId}`;\n\n const syncState = () => {\n setState(getConversationState(conversationId));\n };\n\n const handleStorage = (event: StorageEvent) => {\n if (event.key === key) {\n syncState();\n }\n };\n\n const handleConversationStateUpdated = (event: Event) => {\n const customEvent = event as CustomEvent<ConversationStateUpdatedDetail>;\n if (customEvent.detail?.conversationId === conversationId) {\n syncState();\n }\n };\n\n // Ensure this hook reflects latest state for the current conversation ID.\n syncState();\n\n window.addEventListener(\"storage\", handleStorage);\n window.addEventListener(\n CONVERSATION_STATE_UPDATED_EVENT,\n handleConversationStateUpdated,\n );\n\n return () => {\n window.removeEventListener(\"storage\", handleStorage);\n window.removeEventListener(\n CONVERSATION_STATE_UPDATED_EVENT,\n handleConversationStateUpdated,\n );\n };\n }, [conversationId]);\n\n const updateState = (updates: Partial<ConversationState>) => {\n if (shouldSkipPersistence(conversationId)) {\n // No durable storage for this id (empty / task placeholder), but the\n // hook is still useful as ephemeral in-memory state — update the\n // local React mirror directly so toggles in the UI behave normally\n // until a real conversation id arrives.\n setState((prev) => ({ ...prev, ...updates }));\n return;\n }\n setConversationState(conversationId, updates);\n };\n\n return {\n state,\n setSelectedTab: (tab) => updateState({ selectedTab: tab }),\n setUnpinnedTabs: (tabs) => updateState({ unpinnedTabs: tabs }),\n setConversationMode: (mode) => updateState({ conversationMode: mode }),\n setDraftMessage: (message) => updateState({ draftMessage: message }),\n setFilesTabDiffView: (diffView) =>\n updateState({ filesTabDiffView: diffView }),\n setFilesTabContentViewMode: (mode) =>\n updateState({ filesTabContentViewMode: mode }),\n };\n}\n"],"mappings":";;AAOA,IAAa,IAAqB;CAChC,oBAAoB;CACpB,oBAAoB;AACtB,GAEM,IAAmC,8BAmCnC,IAAgD;CACpD,aAAa;CACb,cAAc,CAAC;CACf,kBAAkB;CAClB,uBAAuB;CACvB,cAAc;CACd,kBAAkB;CAClB,yBAAyB;AAC3B,GAEM,IAAwD,IAAI,IAAI;CACpE;CACA;CACA;CACA;CACA;CACA;AACF,CAAC,GAWK,IAAiD,IAAI,IAAI;CAC7D;CACA;CACA;CACA;CACA;AACF,CAAC,GAEK,IAA0C,IAAI,IAAI,CAAC,QAAQ,OAAO,CAAC;AAEzE,SAAS,EACP,GAC4B;CAK5B,IAAM,EAAE,iBAAiB,GAAyB,GAAG,MAAS,GAG1D,IAAqC;CAWzC,IARE,EAAO,eAAe,SACrB,EAA0B,IAAI,EAAO,WAAW,KAC/C,CAAC,EAAwB,IAAI,EAAO,WAA8B,OAEpE,IAAS,EAAE,GAAG,EAAO,GACrB,OAAO,EAAO,cAGZ,EAAO,cAAc;EACvB,IAAM,IAAW,EAAO,aAAa,QAClC,MAAQ,CAAC,EAA0B,IAAI,CAAG,CAC7C;EACA,AAAI,EAAS,WAAW,EAAO,aAAa,WAC1C,IAAS;GAAE,GAAG;GAAQ,cAAc;EAAS;CAEjD;CAeA,OAPE,EAAO,2BAA2B,QAClC,CAAC,EAAiB,IAAI,EAAO,uBAAuB,MAEpD,IAAS,EAAE,GAAG,EAAO,GACrB,OAAO,EAAO,0BAGT;AACT;AAMA,SAAgB,EAAqB,GAAiC;CACpE,OAAO,EAAe,WAAW,OAAO;AAC1C;AAWA,SAAS,EAAsB,GAAiC;CAC9D,OAAO,MAAmB,MAAM,EAAqB,CAAc;AACrE;AAKA,SAAgB,EACd,GACmB;CACnB,IAAI,EAAsB,CAAc,GACtC,OAAO;CAET,IAAI;EACF,IAAM,IAAM,GAAG,EAAmB,mBAAmB,GAAG,KAClD,IAAO,aAAa,QAAQ,CAAG;EAOrC,OANI,MAAS,OAMN,IALE;GACL,GAAG;GACH,GAAG,EAAoB,KAAK,MAAM,CAAI,CAAC;EACzC;CAGJ,QAAQ;EACN,OAAO;CACT;AACF;AAKA,SAAgB,EACd,GACA,GACM;CACF,OAAsB,CAAc,GAGxC,IAAI;EACF,IAAM,IAAM,GAAG,EAAmB,mBAAmB,GAAG,KAElD,IAAW;GAAE,GADE,EAAqB,CACpB;GAAc,GAAG;EAAQ;EAE/C,AADA,aAAa,QAAQ,GAAK,KAAK,UAAU,CAAQ,CAAC,GAC9C,OAAO,SAAW,OACpB,OAAO,cACL,IAAI,YACF,GACA,EAAE,QAAQ,EAAE,kBAAe,EAAE,CAC/B,CACF;CAEJ,SAAS,GAAK;EACZ,QAAQ,KAAK,2CAA2C,CAAG;CAC7D;AACF;AAEA,SAAS,EAAuB,GAAwB;CACtD,OAAO,GAAG,EAAmB,mBAAmB,GAAG;AACrD;AAcA,SAAgB,EACd,GACe;CACf,IAAI,CAAC,GAAQ,OAAO;CACpB,IAAI;EACF,IAAM,IAAM,EAAuB,CAAM,GACnC,IAAQ,aAAa,QAAQ,CAAG;EAEtC,OADA,aAAa,WAAW,CAAG,GACpB;CACT,SAAS,GAAK;EAEZ,OADA,QAAQ,KAAK,wCAAwC,CAAG,GACjD;CACT;AACF;AAEA,SAAgB,EAA8B,GAAwB;CACpE,IAAI;EACF,IAAM,IAAM,GAAG,EAAmB,mBAAmB,GAAG;EAExD,AADA,aAAa,WAAW,CAAG,GACvB,OAAO,SAAW,OACpB,OAAO,cACL,IAAI,YACF,GACA,EAAE,QAAQ,EAAE,kBAAe,EAAE,CAC/B,CACF;CAEJ,SAAS,GAAK;EACZ,QAAQ,KACN,6CACA,GACA,CACF;CACF;AACF;AASA,SAAgB,EAAiC,GAQ/C;CACA,IAAM,CAAC,GAAO,KAAY,QACxB,EAAqB,CAAc,CACrC;CAEA,QAAgB;EACd,IAAI,OAAO,SAAW,KACpB;EAGF,IAAM,IAAM,GAAG,EAAmB,mBAAmB,GAAG,KAElD,UAAkB;GACtB,EAAS,EAAqB,CAAc,CAAC;EAC/C,GAEM,KAAiB,MAAwB;GAC7C,AAAI,EAAM,QAAQ,KAChB,EAAU;EAEd,GAEM,KAAkC,MAAiB;GAEvD,AAAI,EAAY,QAAQ,mBAAmB,KACzC,EAAU;EAEd;EAWA,OARA,EAAU,GAEV,OAAO,iBAAiB,WAAW,CAAa,GAChD,OAAO,iBACL,GACA,CACF,SAEa;GAEX,AADA,OAAO,oBAAoB,WAAW,CAAa,GACnD,OAAO,oBACL,GACA,CACF;EACF;CACF,GAAG,CAAC,CAAc,CAAC;CAEnB,IAAM,KAAe,MAAwC;EAC3D,IAAI,EAAsB,CAAc,GAAG;GAKzC,GAAU,OAAU;IAAE,GAAG;IAAM,GAAG;GAAQ,EAAE;GAC5C;EACF;EACA,EAAqB,GAAgB,CAAO;CAC9C;CAEA,OAAO;EACL;EACA,iBAAiB,MAAQ,EAAY,EAAE,aAAa,EAAI,CAAC;EACzD,kBAAkB,MAAS,EAAY,EAAE,cAAc,EAAK,CAAC;EAC7D,sBAAsB,MAAS,EAAY,EAAE,kBAAkB,EAAK,CAAC;EACrE,kBAAkB,MAAY,EAAY,EAAE,cAAc,EAAQ,CAAC;EACnE,sBAAsB,MACpB,EAAY,EAAE,kBAAkB,EAAS,CAAC;EAC5C,6BAA6B,MAC3B,EAAY,EAAE,yBAAyB,EAAK,CAAC;CACjD;AACF"}
|
|
1
|
+
{"version":3,"file":"conversation-local-storage.js","names":[],"sources":["../../src/utils/conversation-local-storage.ts"],"sourcesContent":["import { useEffect, useState } from \"react\";\nimport type {\n ConversationTab,\n ConversationMode,\n} from \"#/stores/conversation-store\";\nimport type { ViewMode } from \"#/components/features/files-tab/view-mode\";\nimport {\n DEFAULT_UNPINNED_OVERVIEW_GIT_PARTS,\n DEFAULT_UNPINNED_OVERVIEW_SECTIONS,\n VALID_CONVERSATION_OVERVIEW_GIT_PARTS,\n VALID_CONVERSATION_OVERVIEW_SECTIONS,\n} from \"#/components/features/conversation/conversation-overview-sections\";\n\nexport const LOCAL_STORAGE_KEYS = {\n CONVERSATION_STATE: \"conversation-state\",\n PENDING_TASK_DRAFT: \"pending-task-draft\",\n} as const;\n\nconst CONVERSATION_STATE_UPDATED_EVENT = \"conversation-state-updated\";\n\ntype ConversationStateUpdatedDetail = {\n conversationId: string;\n};\n\n/**\n * Consolidated conversation state stored in a single localStorage key.\n *\n * NOTE: the right-drawer open/closed state is intentionally *not* persisted\n * here. Users expect the drawer to start closed every time the app is\n * (re)loaded and only stay open when they opened it themselves during the\n * current session. That state lives in the in-memory Zustand\n * `useConversationStore` (`isRightPanelShown` / `hasRightPanelToggled`)\n * which survives in-app navigation but resets on full reloads. Older\n * builds wrote a `rightPanelShown` field into this blob; we accept and\n * silently ignore that field on read so we don't churn old localStorage.\n */\nexport interface ConversationState {\n selectedTab: ConversationTab | null;\n unpinnedTabs: string[];\n unpinnedOverviewSections?: string[];\n unpinnedOverviewGitParts?: string[];\n conversationMode: ConversationMode;\n subConversationTaskId: string | null;\n draftMessage: string | null;\n rightPanelShown?: boolean;\n /**\n * Legacy Files-tab Diff/Files toggle preference. Kept for blob\n * compatibility; the Files surface no longer hosts Diff/Commits\n * (those live in the sibling Commits conversation tab).\n */\n filesTabDiffView: boolean | null;\n /** User's persisted choice for the Files tab Rich/Plain content toggle. */\n filesTabContentViewMode: ViewMode;\n /** Whether the left-hand file tree is visible in the Files tab. */\n filesTabTreeVisible?: boolean;\n /** Open file tabs in the Files quick-row (basenames, closable). */\n filesTabOpenPaths?: string[];\n /** Currently selected path among `filesTabOpenPaths`, if any. */\n filesTabSelectedPath?: string | null;\n}\n\nconst DEFAULT_CONVERSATION_STATE: ConversationState = {\n selectedTab: \"files\",\n unpinnedTabs: [],\n unpinnedOverviewSections: [...DEFAULT_UNPINNED_OVERVIEW_SECTIONS],\n unpinnedOverviewGitParts: [...DEFAULT_UNPINNED_OVERVIEW_GIT_PARTS],\n conversationMode: \"code\",\n subConversationTaskId: null,\n draftMessage: null,\n rightPanelShown: false,\n filesTabDiffView: null,\n filesTabContentViewMode: \"rich\",\n filesTabTreeVisible: true,\n filesTabOpenPaths: [],\n filesTabSelectedPath: null,\n};\n\nconst VALID_CONVERSATION_TABS: ReadonlySet<ConversationTab> = new Set([\n \"files\",\n \"commits\",\n \"browser\",\n \"terminal\",\n \"planner\",\n \"tasklist\",\n \"usage\",\n]);\n\n// Tab keys that *used to* exist and were removed during the Files tab\n// refactor. We strip these out of any persisted state on read so that\n// returning users don't keep ghost entries (in `selectedTab` or\n// `unpinnedTabs`) forever — the UI has no way to surface them again to\n// be re-pinned or re-selected. We deliberately use an explicit denylist\n// here rather than a strict \"whitelist against VALID_CONVERSATION_TABS\"\n// filter because `unpinnedTabs` is typed `string[]` and other parts of\n// the app legitimately store arbitrary tab keys in it (sub-conversation\n// tab ids etc.).\nconst REMOVED_CONVERSATION_TABS: ReadonlySet<string> = new Set([\n \"editor\",\n \"served\",\n \"app\",\n \"vscode\",\n]);\n\nconst VALID_VIEW_MODES: ReadonlySet<ViewMode> = new Set([\"rich\", \"plain\"]);\n\nfunction sanitizeStoredState(\n stored: Record<string, unknown>,\n): Partial<ConversationState> {\n let result: Partial<ConversationState> = stored as Partial<ConversationState>;\n\n if (\n result.selectedTab != null &&\n (REMOVED_CONVERSATION_TABS.has(result.selectedTab) ||\n (result.selectedTab as string) === \"changes\" ||\n !VALID_CONVERSATION_TABS.has(result.selectedTab as ConversationTab))\n ) {\n const selectedTab = result.selectedTab as string;\n result = { ...result };\n if (selectedTab === \"changes\") {\n result.selectedTab = \"commits\";\n } else {\n delete result.selectedTab;\n }\n }\n\n if (result.unpinnedTabs) {\n const filtered = result.unpinnedTabs.filter(\n (tab) => tab !== \"changes\" && !REMOVED_CONVERSATION_TABS.has(tab),\n );\n if (filtered.length !== result.unpinnedTabs.length) {\n result = { ...result, unpinnedTabs: filtered };\n }\n }\n\n if (result.unpinnedOverviewSections) {\n const filtered = result.unpinnedOverviewSections.filter((section) =>\n VALID_CONVERSATION_OVERVIEW_SECTIONS.has(section),\n );\n if (filtered.length !== result.unpinnedOverviewSections.length) {\n result = { ...result, unpinnedOverviewSections: filtered };\n }\n }\n\n if (result.unpinnedOverviewGitParts) {\n const filtered = result.unpinnedOverviewGitParts.filter((part) =>\n VALID_CONVERSATION_OVERVIEW_GIT_PARTS.has(part),\n );\n if (filtered.length !== result.unpinnedOverviewGitParts.length) {\n result = { ...result, unpinnedOverviewGitParts: filtered };\n }\n }\n\n // Drop a corrupt/manually-edited `filesTabContentViewMode` so it falls\n // back to the typed default (\"rich\") instead of leaking a junk string\n // into ViewMode-typed consumers. TypeScript can't help us here — the\n // value comes from `JSON.parse(localStorage.getItem(...))` which is\n // unknown at runtime.\n if (\n result.filesTabContentViewMode != null &&\n !VALID_VIEW_MODES.has(result.filesTabContentViewMode)\n ) {\n result = { ...result };\n delete result.filesTabContentViewMode;\n }\n\n if (\n result.rightPanelShown != null &&\n typeof result.rightPanelShown !== \"boolean\"\n ) {\n result = { ...result };\n delete result.rightPanelShown;\n }\n\n if (\n result.filesTabTreeVisible != null &&\n typeof result.filesTabTreeVisible !== \"boolean\"\n ) {\n result = { ...result };\n delete result.filesTabTreeVisible;\n }\n\n if (result.filesTabOpenPaths != null) {\n if (!Array.isArray(result.filesTabOpenPaths)) {\n result = { ...result };\n delete result.filesTabOpenPaths;\n } else {\n const filtered = result.filesTabOpenPaths.filter(\n (path): path is string => typeof path === \"string\" && path.length > 0,\n );\n if (filtered.length !== result.filesTabOpenPaths.length) {\n result = { ...result, filesTabOpenPaths: filtered };\n }\n }\n }\n\n if (\n result.filesTabSelectedPath != null &&\n typeof result.filesTabSelectedPath !== \"string\"\n ) {\n result = { ...result };\n delete result.filesTabSelectedPath;\n }\n\n return result;\n}\n\n/**\n * Check if a conversation ID is a temporary task ID that should not be persisted.\n * Task IDs have the format \"task-{uuid}\" and are used during V1 conversation initialization.\n */\nexport function isTaskConversationId(conversationId: string): boolean {\n return conversationId.startsWith(\"task-\");\n}\n\n/**\n * Whether persistence should be skipped for this conversation id.\n *\n * Skips:\n * - empty string ids (callers outside of a conversation route, e.g.\n * rendered inside a unit test without a NavigationProvider)\n * - \"task-...\" ids used as placeholders during V1 conversation\n * initialization\n */\nfunction shouldSkipPersistence(conversationId: string): boolean {\n return conversationId === \"\" || isTaskConversationId(conversationId);\n}\n\n/**\n * Get the full conversation state from localStorage.\n */\nexport function getConversationState(\n conversationId: string,\n): ConversationState {\n if (shouldSkipPersistence(conversationId)) {\n return DEFAULT_CONVERSATION_STATE;\n }\n try {\n const key = `${LOCAL_STORAGE_KEYS.CONVERSATION_STATE}-${conversationId}`;\n const item = localStorage.getItem(key);\n if (item !== null) {\n return {\n ...DEFAULT_CONVERSATION_STATE,\n ...sanitizeStoredState(JSON.parse(item)),\n };\n }\n return DEFAULT_CONVERSATION_STATE;\n } catch {\n return DEFAULT_CONVERSATION_STATE;\n }\n}\n\n/**\n * Set the conversation state in localStorage, merging with existing state.\n */\nexport function setConversationState(\n conversationId: string,\n updates: Partial<ConversationState>,\n): void {\n if (shouldSkipPersistence(conversationId)) {\n return;\n }\n try {\n const key = `${LOCAL_STORAGE_KEYS.CONVERSATION_STATE}-${conversationId}`;\n const currentState = getConversationState(conversationId);\n const newState = { ...currentState, ...updates };\n localStorage.setItem(key, JSON.stringify(newState));\n if (typeof window !== \"undefined\") {\n window.dispatchEvent(\n new CustomEvent<ConversationStateUpdatedDetail>(\n CONVERSATION_STATE_UPDATED_EVENT,\n { detail: { conversationId } },\n ),\n );\n }\n } catch (err) {\n console.warn(\"Failed to set conversation localStorage\", err);\n }\n}\n\nfunction getPendingTaskDraftKey(taskId: string): string {\n return `${LOCAL_STORAGE_KEYS.PENDING_TASK_DRAFT}-${taskId}`;\n}\n\nexport function setPendingTaskDraft(\n taskId: string | null | undefined,\n draftMessage: string,\n): void {\n if (!taskId) return;\n try {\n localStorage.setItem(getPendingTaskDraftKey(taskId), draftMessage);\n } catch (err) {\n console.warn(\"Failed to store pending task draft\", err);\n }\n}\n\nexport function consumePendingTaskDraft(\n taskId: string | null | undefined,\n): string | null {\n if (!taskId) return null;\n try {\n const key = getPendingTaskDraftKey(taskId);\n const draft = localStorage.getItem(key);\n localStorage.removeItem(key);\n return draft;\n } catch (err) {\n console.warn(\"Failed to consume pending task draft\", err);\n return null;\n }\n}\n\nexport function clearConversationLocalStorage(conversationId: string) {\n try {\n const key = `${LOCAL_STORAGE_KEYS.CONVERSATION_STATE}-${conversationId}`;\n localStorage.removeItem(key);\n if (typeof window !== \"undefined\") {\n window.dispatchEvent(\n new CustomEvent<ConversationStateUpdatedDetail>(\n CONVERSATION_STATE_UPDATED_EVENT,\n { detail: { conversationId } },\n ),\n );\n }\n } catch (err) {\n console.warn(\n \"Failed to clear conversation localStorage\",\n conversationId,\n err,\n );\n }\n}\n\n/**\n * React hook for conversation-scoped localStorage state.\n * Returns the full state and individual setters for each property.\n *\n * The right-drawer open state is deliberately not represented here —\n * see the note on `ConversationState` for the rationale.\n */\nexport function useConversationLocalStorageState(conversationId: string): {\n state: ConversationState;\n setSelectedTab: (tab: ConversationTab | null) => void;\n setUnpinnedTabs: (tabs: string[]) => void;\n setUnpinnedOverviewSections?: (sections: string[]) => void;\n setUnpinnedOverviewGitParts?: (parts: string[]) => void;\n setConversationMode: (mode: ConversationMode) => void;\n setDraftMessage: (message: string | null) => void;\n setRightPanelShown?: (shown: boolean) => void;\n setFilesTabDiffView: (diffView: boolean | null) => void;\n setFilesTabContentViewMode: (mode: ViewMode) => void;\n setFilesTabTreeVisible?: (visible: boolean) => void;\n setFilesTabOpenState?: (\n openPaths: string[],\n selectedPath: string | null,\n ) => void;\n} {\n const [state, setState] = useState<ConversationState>(() =>\n getConversationState(conversationId),\n );\n\n useEffect(() => {\n if (typeof window === \"undefined\") {\n return undefined;\n }\n\n const key = `${LOCAL_STORAGE_KEYS.CONVERSATION_STATE}-${conversationId}`;\n\n const syncState = () => {\n setState(getConversationState(conversationId));\n };\n\n const handleStorage = (event: StorageEvent) => {\n if (event.key === key) {\n syncState();\n }\n };\n\n const handleConversationStateUpdated = (event: Event) => {\n const customEvent = event as CustomEvent<ConversationStateUpdatedDetail>;\n if (customEvent.detail?.conversationId === conversationId) {\n syncState();\n }\n };\n\n // Ensure this hook reflects latest state for the current conversation ID.\n syncState();\n\n window.addEventListener(\"storage\", handleStorage);\n window.addEventListener(\n CONVERSATION_STATE_UPDATED_EVENT,\n handleConversationStateUpdated,\n );\n\n return () => {\n window.removeEventListener(\"storage\", handleStorage);\n window.removeEventListener(\n CONVERSATION_STATE_UPDATED_EVENT,\n handleConversationStateUpdated,\n );\n };\n }, [conversationId]);\n\n const updateState = (updates: Partial<ConversationState>) => {\n if (shouldSkipPersistence(conversationId)) {\n // No durable storage for this id (empty / task placeholder), but the\n // hook is still useful as ephemeral in-memory state — update the\n // local React mirror directly so toggles in the UI behave normally\n // until a real conversation id arrives.\n setState((prev) => ({ ...prev, ...updates }));\n return;\n }\n setConversationState(conversationId, updates);\n };\n\n return {\n state,\n setSelectedTab: (tab) => updateState({ selectedTab: tab }),\n setUnpinnedTabs: (tabs) => updateState({ unpinnedTabs: tabs }),\n setUnpinnedOverviewSections: (sections) =>\n updateState({ unpinnedOverviewSections: sections }),\n setUnpinnedOverviewGitParts: (parts) =>\n updateState({ unpinnedOverviewGitParts: parts }),\n setConversationMode: (mode) => updateState({ conversationMode: mode }),\n setDraftMessage: (message) => updateState({ draftMessage: message }),\n setRightPanelShown: (shown) => updateState({ rightPanelShown: shown }),\n setFilesTabDiffView: (diffView) =>\n updateState({ filesTabDiffView: diffView }),\n setFilesTabContentViewMode: (mode) =>\n updateState({ filesTabContentViewMode: mode }),\n setFilesTabTreeVisible: (visible) =>\n updateState({ filesTabTreeVisible: visible }),\n setFilesTabOpenState: (openPaths, selectedPath) =>\n updateState({\n filesTabOpenPaths: openPaths,\n filesTabSelectedPath: selectedPath,\n }),\n };\n}\n"],"mappings":";;;AAaA,IAAa,IAAqB;CAChC,oBAAoB;CACpB,oBAAoB;AACtB,GAEM,IAAmC,8BA2CnC,IAAgD;CACpD,aAAa;CACb,cAAc,CAAC;CACf,0BAA0B,CAAC,GAAG,CAAkC;CAChE,0BAA0B,CAAC,GAAG,CAAmC;CACjE,kBAAkB;CAClB,uBAAuB;CACvB,cAAc;CACd,iBAAiB;CACjB,kBAAkB;CAClB,yBAAyB;CACzB,qBAAqB;CACrB,mBAAmB,CAAC;CACpB,sBAAsB;AACxB,GAEM,IAAwD,IAAI,IAAI;CACpE;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC,GAWK,IAAiD,IAAI,IAAI;CAC7D;CACA;CACA;CACA;AACF,CAAC,GAEK,IAA0C,IAAI,IAAI,CAAC,QAAQ,OAAO,CAAC;AAEzE,SAAS,EACP,GAC4B;CAC5B,IAAI,IAAqC;CAEzC,IACE,EAAO,eAAe,SACrB,EAA0B,IAAI,EAAO,WAAW,KAC9C,EAAO,gBAA2B,aACnC,CAAC,EAAwB,IAAI,EAAO,WAA8B,IACpE;EACA,IAAM,IAAc,EAAO;EAE3B,AADA,IAAS,EAAE,GAAG,EAAO,GACjB,MAAgB,YAClB,EAAO,cAAc,YAErB,OAAO,EAAO;CAElB;CAEA,IAAI,EAAO,cAAc;EACvB,IAAM,IAAW,EAAO,aAAa,QAClC,MAAQ,MAAQ,aAAa,CAAC,EAA0B,IAAI,CAAG,CAClE;EACA,AAAI,EAAS,WAAW,EAAO,aAAa,WAC1C,IAAS;GAAE,GAAG;GAAQ,cAAc;EAAS;CAEjD;CAEA,IAAI,EAAO,0BAA0B;EACnC,IAAM,IAAW,EAAO,yBAAyB,QAAQ,MACvD,EAAqC,IAAI,CAAO,CAClD;EACA,AAAI,EAAS,WAAW,EAAO,yBAAyB,WACtD,IAAS;GAAE,GAAG;GAAQ,0BAA0B;EAAS;CAE7D;CAEA,IAAI,EAAO,0BAA0B;EACnC,IAAM,IAAW,EAAO,yBAAyB,QAAQ,MACvD,EAAsC,IAAI,CAAI,CAChD;EACA,AAAI,EAAS,WAAW,EAAO,yBAAyB,WACtD,IAAS;GAAE,GAAG;GAAQ,0BAA0B;EAAS;CAE7D;CA+BA,IAvBE,EAAO,2BAA2B,QAClC,CAAC,EAAiB,IAAI,EAAO,uBAAuB,MAEpD,IAAS,EAAE,GAAG,EAAO,GACrB,OAAO,EAAO,0BAId,EAAO,mBAAmB,QAC1B,OAAO,EAAO,mBAAoB,cAElC,IAAS,EAAE,GAAG,EAAO,GACrB,OAAO,EAAO,kBAId,EAAO,uBAAuB,QAC9B,OAAO,EAAO,uBAAwB,cAEtC,IAAS,EAAE,GAAG,EAAO,GACrB,OAAO,EAAO,sBAGZ,EAAO,qBAAqB,MAC9B,IAAI,CAAC,MAAM,QAAQ,EAAO,iBAAiB,GAEzC,AADA,IAAS,EAAE,GAAG,EAAO,GACrB,OAAO,EAAO;MACT;EACL,IAAM,IAAW,EAAO,kBAAkB,QACvC,MAAyB,OAAO,KAAS,YAAY,EAAK,SAAS,CACtE;EACA,AAAI,EAAS,WAAW,EAAO,kBAAkB,WAC/C,IAAS;GAAE,GAAG;GAAQ,mBAAmB;EAAS;CAEtD;CAWF,OAPE,EAAO,wBAAwB,QAC/B,OAAO,EAAO,wBAAyB,aAEvC,IAAS,EAAE,GAAG,EAAO,GACrB,OAAO,EAAO,uBAGT;AACT;AAMA,SAAgB,EAAqB,GAAiC;CACpE,OAAO,EAAe,WAAW,OAAO;AAC1C;AAWA,SAAS,EAAsB,GAAiC;CAC9D,OAAO,MAAmB,MAAM,EAAqB,CAAc;AACrE;AAKA,SAAgB,EACd,GACmB;CACnB,IAAI,EAAsB,CAAc,GACtC,OAAO;CAET,IAAI;EACF,IAAM,IAAM,GAAG,EAAmB,mBAAmB,GAAG,KAClD,IAAO,aAAa,QAAQ,CAAG;EAOrC,OANI,MAAS,OAMN,IALE;GACL,GAAG;GACH,GAAG,EAAoB,KAAK,MAAM,CAAI,CAAC;EACzC;CAGJ,QAAQ;EACN,OAAO;CACT;AACF;AAKA,SAAgB,EACd,GACA,GACM;CACF,OAAsB,CAAc,GAGxC,IAAI;EACF,IAAM,IAAM,GAAG,EAAmB,mBAAmB,GAAG,KAElD,IAAW;GAAE,GADE,EAAqB,CACpB;GAAc,GAAG;EAAQ;EAE/C,AADA,aAAa,QAAQ,GAAK,KAAK,UAAU,CAAQ,CAAC,GAC9C,OAAO,SAAW,OACpB,OAAO,cACL,IAAI,YACF,GACA,EAAE,QAAQ,EAAE,kBAAe,EAAE,CAC/B,CACF;CAEJ,SAAS,GAAK;EACZ,QAAQ,KAAK,2CAA2C,CAAG;CAC7D;AACF;AAEA,SAAS,EAAuB,GAAwB;CACtD,OAAO,GAAG,EAAmB,mBAAmB,GAAG;AACrD;AAEA,SAAgB,EACd,GACA,GACM;CACD,OACL,IAAI;EACF,aAAa,QAAQ,EAAuB,CAAM,GAAG,CAAY;CACnE,SAAS,GAAK;EACZ,QAAQ,KAAK,sCAAsC,CAAG;CACxD;AACF;AAEA,SAAgB,EACd,GACe;CACf,IAAI,CAAC,GAAQ,OAAO;CACpB,IAAI;EACF,IAAM,IAAM,EAAuB,CAAM,GACnC,IAAQ,aAAa,QAAQ,CAAG;EAEtC,OADA,aAAa,WAAW,CAAG,GACpB;CACT,SAAS,GAAK;EAEZ,OADA,QAAQ,KAAK,wCAAwC,CAAG,GACjD;CACT;AACF;AAEA,SAAgB,EAA8B,GAAwB;CACpE,IAAI;EACF,IAAM,IAAM,GAAG,EAAmB,mBAAmB,GAAG;EAExD,AADA,aAAa,WAAW,CAAG,GACvB,OAAO,SAAW,OACpB,OAAO,cACL,IAAI,YACF,GACA,EAAE,QAAQ,EAAE,kBAAe,EAAE,CAC/B,CACF;CAEJ,SAAS,GAAK;EACZ,QAAQ,KACN,6CACA,GACA,CACF;CACF;AACF;AASA,SAAgB,EAAiC,GAgB/C;CACA,IAAM,CAAC,GAAO,KAAY,QACxB,EAAqB,CAAc,CACrC;CAEA,QAAgB;EACd,IAAI,OAAO,SAAW,KACpB;EAGF,IAAM,IAAM,GAAG,EAAmB,mBAAmB,GAAG,KAElD,UAAkB;GACtB,EAAS,EAAqB,CAAc,CAAC;EAC/C,GAEM,KAAiB,MAAwB;GAC7C,AAAI,EAAM,QAAQ,KAChB,EAAU;EAEd,GAEM,KAAkC,MAAiB;GAEvD,AAAI,EAAY,QAAQ,mBAAmB,KACzC,EAAU;EAEd;EAWA,OARA,EAAU,GAEV,OAAO,iBAAiB,WAAW,CAAa,GAChD,OAAO,iBACL,GACA,CACF,SAEa;GAEX,AADA,OAAO,oBAAoB,WAAW,CAAa,GACnD,OAAO,oBACL,GACA,CACF;EACF;CACF,GAAG,CAAC,CAAc,CAAC;CAEnB,IAAM,KAAe,MAAwC;EAC3D,IAAI,EAAsB,CAAc,GAAG;GAKzC,GAAU,OAAU;IAAE,GAAG;IAAM,GAAG;GAAQ,EAAE;GAC5C;EACF;EACA,EAAqB,GAAgB,CAAO;CAC9C;CAEA,OAAO;EACL;EACA,iBAAiB,MAAQ,EAAY,EAAE,aAAa,EAAI,CAAC;EACzD,kBAAkB,MAAS,EAAY,EAAE,cAAc,EAAK,CAAC;EAC7D,8BAA8B,MAC5B,EAAY,EAAE,0BAA0B,EAAS,CAAC;EACpD,8BAA8B,MAC5B,EAAY,EAAE,0BAA0B,EAAM,CAAC;EACjD,sBAAsB,MAAS,EAAY,EAAE,kBAAkB,EAAK,CAAC;EACrE,kBAAkB,MAAY,EAAY,EAAE,cAAc,EAAQ,CAAC;EACnE,qBAAqB,MAAU,EAAY,EAAE,iBAAiB,EAAM,CAAC;EACrE,sBAAsB,MACpB,EAAY,EAAE,kBAAkB,EAAS,CAAC;EAC5C,6BAA6B,MAC3B,EAAY,EAAE,yBAAyB,EAAK,CAAC;EAC/C,yBAAyB,MACvB,EAAY,EAAE,qBAAqB,EAAQ,CAAC;EAC9C,uBAAuB,GAAW,MAChC,EAAY;GACV,mBAAmB;GACnB,sBAAsB;EACxB,CAAC;CACL;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../_virtual/_rolldown/runtime.cjs");function e(e){
|
|
1
|
+
require("../_virtual/_rolldown/runtime.cjs");function e(e){if(!e?.usage_to_metrics)return{accumulated_cost:0,max_budget_per_task:null,accumulated_token_usage:null};let t=0,n=null,r=null;for(let i of Object.values(e.usage_to_metrics))t+=i.accumulated_cost,n===null&&i.max_budget_per_task!==null&&(n=i.max_budget_per_task),i.accumulated_token_usage&&(r=r===null?{...i.accumulated_token_usage}:{prompt_tokens:r.prompt_tokens+i.accumulated_token_usage.prompt_tokens,completion_tokens:r.completion_tokens+i.accumulated_token_usage.completion_tokens,cache_read_tokens:r.cache_read_tokens+i.accumulated_token_usage.cache_read_tokens,cache_write_tokens:r.cache_write_tokens+i.accumulated_token_usage.cache_write_tokens,context_window:Math.max(r.context_window,i.accumulated_token_usage.context_window),per_turn_token:Math.max(r.per_turn_token,i.accumulated_token_usage.per_turn_token)});return{accumulated_cost:t,max_budget_per_task:n,accumulated_token_usage:r}}function t(t){return e(t.stats)}exports.combineUsageMetrics=e,exports.getCombinedMetrics=t;
|
|
2
2
|
//# sourceMappingURL=conversation-metrics.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-metrics.cjs","names":[],"sources":["../../src/utils/conversation-metrics.ts"],"sourcesContent":["import type {\n MetricsSnapshot,\n RuntimeConversationInfo,\n TokenUsage,\n} from \"#/api/conversation-service/agent-server-conversation-service.types\";\n\n/**\n * TypeScript equivalent of the get_combined_metrics method from the Python SDK\n * Combines metrics from all LLM usage IDs in
|
|
1
|
+
{"version":3,"file":"conversation-metrics.cjs","names":[],"sources":["../../src/utils/conversation-metrics.ts"],"sourcesContent":["import type {\n MetricsSnapshot,\n RuntimeConversationInfo,\n RuntimeConversationStats,\n TokenUsage,\n} from \"#/api/conversation-service/agent-server-conversation-service.types\";\n\n/**\n * TypeScript equivalent of the get_combined_metrics method from the Python SDK\n * Combines metrics from all LLM usage IDs in a conversation's stats\n */\nexport function combineUsageMetrics(\n stats: RuntimeConversationStats | null | undefined,\n): MetricsSnapshot {\n if (!stats?.usage_to_metrics) {\n return {\n accumulated_cost: 0,\n max_budget_per_task: null,\n accumulated_token_usage: null,\n };\n }\n\n let totalCost = 0;\n let maxBudgetPerTask: number | null = null;\n let combinedTokenUsage: TokenUsage | null = null;\n\n // Iterate through all metrics and combine them\n for (const metrics of Object.values(stats.usage_to_metrics)) {\n // Add up costs\n totalCost += metrics.accumulated_cost;\n\n // Keep the max budget per task if any is set\n if (maxBudgetPerTask === null && metrics.max_budget_per_task !== null) {\n maxBudgetPerTask = metrics.max_budget_per_task;\n }\n\n // Combine token usage\n if (metrics.accumulated_token_usage) {\n if (combinedTokenUsage === null) {\n combinedTokenUsage = { ...metrics.accumulated_token_usage };\n } else {\n combinedTokenUsage = {\n prompt_tokens:\n combinedTokenUsage.prompt_tokens +\n metrics.accumulated_token_usage.prompt_tokens,\n completion_tokens:\n combinedTokenUsage.completion_tokens +\n metrics.accumulated_token_usage.completion_tokens,\n cache_read_tokens:\n combinedTokenUsage.cache_read_tokens +\n metrics.accumulated_token_usage.cache_read_tokens,\n cache_write_tokens:\n combinedTokenUsage.cache_write_tokens +\n metrics.accumulated_token_usage.cache_write_tokens,\n context_window: Math.max(\n combinedTokenUsage.context_window,\n metrics.accumulated_token_usage.context_window,\n ),\n per_turn_token: Math.max(\n combinedTokenUsage.per_turn_token,\n metrics.accumulated_token_usage.per_turn_token,\n ),\n };\n }\n }\n }\n\n return {\n accumulated_cost: totalCost,\n max_budget_per_task: maxBudgetPerTask,\n accumulated_token_usage: combinedTokenUsage,\n };\n}\n\nexport function getCombinedMetrics(\n conversationInfo: RuntimeConversationInfo,\n): MetricsSnapshot {\n return combineUsageMetrics(conversationInfo.stats);\n}\n"],"mappings":"6CAWA,SAAgB,EACd,EACiB,CACjB,GAAI,CAAC,GAAO,iBACV,MAAO,CACL,iBAAkB,EAClB,oBAAqB,KACrB,wBAAyB,IAC3B,EAGF,IAAI,EAAY,EACZ,EAAkC,KAClC,EAAwC,KAG5C,IAAK,IAAM,KAAW,OAAO,OAAO,EAAM,gBAAgB,EAExD,GAAa,EAAQ,iBAGjB,IAAqB,MAAQ,EAAQ,sBAAwB,OAC/D,EAAmB,EAAQ,qBAIzB,EAAQ,0BACV,AAGE,EAHE,IAAuB,KACJ,CAAE,GAAG,EAAQ,uBAAwB,EAErC,CACnB,cACE,EAAmB,cACnB,EAAQ,wBAAwB,cAClC,kBACE,EAAmB,kBACnB,EAAQ,wBAAwB,kBAClC,kBACE,EAAmB,kBACnB,EAAQ,wBAAwB,kBAClC,mBACE,EAAmB,mBACnB,EAAQ,wBAAwB,mBAClC,eAAgB,KAAK,IACnB,EAAmB,eACnB,EAAQ,wBAAwB,cAClC,EACA,eAAgB,KAAK,IACnB,EAAmB,eACnB,EAAQ,wBAAwB,cAClC,CACF,GAKN,MAAO,CACL,iBAAkB,EAClB,oBAAqB,EACrB,wBAAyB,CAC3B,CACF,CAEA,SAAgB,EACd,EACiB,CACjB,OAAO,EAAoB,EAAiB,KAAK,CACnD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { MetricsSnapshot, RuntimeConversationInfo } from "#/api/conversation-service/agent-server-conversation-service.types";
|
|
1
|
+
import type { MetricsSnapshot, RuntimeConversationInfo, RuntimeConversationStats } from "#/api/conversation-service/agent-server-conversation-service.types";
|
|
2
2
|
/**
|
|
3
3
|
* TypeScript equivalent of the get_combined_metrics method from the Python SDK
|
|
4
|
-
* Combines metrics from all LLM usage IDs in
|
|
4
|
+
* Combines metrics from all LLM usage IDs in a conversation's stats
|
|
5
5
|
*/
|
|
6
|
+
export declare function combineUsageMetrics(stats: RuntimeConversationStats | null | undefined): MetricsSnapshot;
|
|
6
7
|
export declare function getCombinedMetrics(conversationInfo: RuntimeConversationInfo): MetricsSnapshot;
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
//#region src/utils/conversation-metrics.ts
|
|
2
2
|
function e(e) {
|
|
3
|
-
|
|
4
|
-
if (!t?.usage_to_metrics) return {
|
|
3
|
+
if (!e?.usage_to_metrics) return {
|
|
5
4
|
accumulated_cost: 0,
|
|
6
5
|
max_budget_per_task: null,
|
|
7
6
|
accumulated_token_usage: null
|
|
8
7
|
};
|
|
9
|
-
let
|
|
10
|
-
for (let
|
|
11
|
-
prompt_tokens:
|
|
12
|
-
completion_tokens:
|
|
13
|
-
cache_read_tokens:
|
|
14
|
-
cache_write_tokens:
|
|
15
|
-
context_window: Math.max(
|
|
16
|
-
per_turn_token: Math.max(
|
|
8
|
+
let t = 0, n = null, r = null;
|
|
9
|
+
for (let i of Object.values(e.usage_to_metrics)) t += i.accumulated_cost, n === null && i.max_budget_per_task !== null && (n = i.max_budget_per_task), i.accumulated_token_usage && (r = r === null ? { ...i.accumulated_token_usage } : {
|
|
10
|
+
prompt_tokens: r.prompt_tokens + i.accumulated_token_usage.prompt_tokens,
|
|
11
|
+
completion_tokens: r.completion_tokens + i.accumulated_token_usage.completion_tokens,
|
|
12
|
+
cache_read_tokens: r.cache_read_tokens + i.accumulated_token_usage.cache_read_tokens,
|
|
13
|
+
cache_write_tokens: r.cache_write_tokens + i.accumulated_token_usage.cache_write_tokens,
|
|
14
|
+
context_window: Math.max(r.context_window, i.accumulated_token_usage.context_window),
|
|
15
|
+
per_turn_token: Math.max(r.per_turn_token, i.accumulated_token_usage.per_turn_token)
|
|
17
16
|
});
|
|
18
17
|
return {
|
|
19
|
-
accumulated_cost:
|
|
20
|
-
max_budget_per_task:
|
|
21
|
-
accumulated_token_usage:
|
|
18
|
+
accumulated_cost: t,
|
|
19
|
+
max_budget_per_task: n,
|
|
20
|
+
accumulated_token_usage: r
|
|
22
21
|
};
|
|
23
22
|
}
|
|
23
|
+
function t(t) {
|
|
24
|
+
return e(t.stats);
|
|
25
|
+
}
|
|
24
26
|
//#endregion
|
|
25
|
-
export { e as getCombinedMetrics };
|
|
27
|
+
export { e as combineUsageMetrics, t as getCombinedMetrics };
|
|
26
28
|
|
|
27
29
|
//# sourceMappingURL=conversation-metrics.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-metrics.js","names":[],"sources":["../../src/utils/conversation-metrics.ts"],"sourcesContent":["import type {\n MetricsSnapshot,\n RuntimeConversationInfo,\n TokenUsage,\n} from \"#/api/conversation-service/agent-server-conversation-service.types\";\n\n/**\n * TypeScript equivalent of the get_combined_metrics method from the Python SDK\n * Combines metrics from all LLM usage IDs in
|
|
1
|
+
{"version":3,"file":"conversation-metrics.js","names":[],"sources":["../../src/utils/conversation-metrics.ts"],"sourcesContent":["import type {\n MetricsSnapshot,\n RuntimeConversationInfo,\n RuntimeConversationStats,\n TokenUsage,\n} from \"#/api/conversation-service/agent-server-conversation-service.types\";\n\n/**\n * TypeScript equivalent of the get_combined_metrics method from the Python SDK\n * Combines metrics from all LLM usage IDs in a conversation's stats\n */\nexport function combineUsageMetrics(\n stats: RuntimeConversationStats | null | undefined,\n): MetricsSnapshot {\n if (!stats?.usage_to_metrics) {\n return {\n accumulated_cost: 0,\n max_budget_per_task: null,\n accumulated_token_usage: null,\n };\n }\n\n let totalCost = 0;\n let maxBudgetPerTask: number | null = null;\n let combinedTokenUsage: TokenUsage | null = null;\n\n // Iterate through all metrics and combine them\n for (const metrics of Object.values(stats.usage_to_metrics)) {\n // Add up costs\n totalCost += metrics.accumulated_cost;\n\n // Keep the max budget per task if any is set\n if (maxBudgetPerTask === null && metrics.max_budget_per_task !== null) {\n maxBudgetPerTask = metrics.max_budget_per_task;\n }\n\n // Combine token usage\n if (metrics.accumulated_token_usage) {\n if (combinedTokenUsage === null) {\n combinedTokenUsage = { ...metrics.accumulated_token_usage };\n } else {\n combinedTokenUsage = {\n prompt_tokens:\n combinedTokenUsage.prompt_tokens +\n metrics.accumulated_token_usage.prompt_tokens,\n completion_tokens:\n combinedTokenUsage.completion_tokens +\n metrics.accumulated_token_usage.completion_tokens,\n cache_read_tokens:\n combinedTokenUsage.cache_read_tokens +\n metrics.accumulated_token_usage.cache_read_tokens,\n cache_write_tokens:\n combinedTokenUsage.cache_write_tokens +\n metrics.accumulated_token_usage.cache_write_tokens,\n context_window: Math.max(\n combinedTokenUsage.context_window,\n metrics.accumulated_token_usage.context_window,\n ),\n per_turn_token: Math.max(\n combinedTokenUsage.per_turn_token,\n metrics.accumulated_token_usage.per_turn_token,\n ),\n };\n }\n }\n }\n\n return {\n accumulated_cost: totalCost,\n max_budget_per_task: maxBudgetPerTask,\n accumulated_token_usage: combinedTokenUsage,\n };\n}\n\nexport function getCombinedMetrics(\n conversationInfo: RuntimeConversationInfo,\n): MetricsSnapshot {\n return combineUsageMetrics(conversationInfo.stats);\n}\n"],"mappings":";AAWA,SAAgB,EACd,GACiB;CACjB,IAAI,CAAC,GAAO,kBACV,OAAO;EACL,kBAAkB;EAClB,qBAAqB;EACrB,yBAAyB;CAC3B;CAGF,IAAI,IAAY,GACZ,IAAkC,MAClC,IAAwC;CAG5C,KAAK,IAAM,KAAW,OAAO,OAAO,EAAM,gBAAgB,GAUxD,AARA,KAAa,EAAQ,kBAGjB,MAAqB,QAAQ,EAAQ,wBAAwB,SAC/D,IAAmB,EAAQ,sBAIzB,EAAQ,4BACV,AAGE,IAHE,MAAuB,OACJ,EAAE,GAAG,EAAQ,wBAAwB,IAErC;EACnB,eACE,EAAmB,gBACnB,EAAQ,wBAAwB;EAClC,mBACE,EAAmB,oBACnB,EAAQ,wBAAwB;EAClC,mBACE,EAAmB,oBACnB,EAAQ,wBAAwB;EAClC,oBACE,EAAmB,qBACnB,EAAQ,wBAAwB;EAClC,gBAAgB,KAAK,IACnB,EAAmB,gBACnB,EAAQ,wBAAwB,cAClC;EACA,gBAAgB,KAAK,IACnB,EAAmB,gBACnB,EAAQ,wBAAwB,cAClC;CACF;CAKN,OAAO;EACL,kBAAkB;EAClB,qBAAqB;EACrB,yBAAyB;CAC3B;AACF;AAEA,SAAgB,EACd,GACiB;CACjB,OAAO,EAAoB,EAAiB,KAAK;AACnD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require("../_virtual/_rolldown/runtime.cjs");const e=require("./skill-scope.cjs");var t={project:`project`,all:`all`};function n(t,n){return e.getSkillScope(t,n)===`project`}function r(e,r,i){return r===t.all?e:e.filter(e=>n(e,i))}function i(t,n){return[...t].sort((t,r)=>{let i=e.getSkillScope(t,n),a=e.getSkillScope(r,n),o=e.SKILL_SCOPE_ORDER.indexOf(i),s=e.SKILL_SCOPE_ORDER.indexOf(a);return o===s?t.name.localeCompare(r.name):o-s})}exports.CONVERSATION_OVERVIEW_PROJECT_SCOPE=t,exports.filterSkillsByProjectScope=r,exports.sortSkillsByProjectRelevance=i;
|
|
2
|
+
//# sourceMappingURL=conversation-overview-project-scope.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-project-scope.cjs","names":[],"sources":["../../src/utils/conversation-overview-project-scope.ts"],"sourcesContent":["import type { Automation } from \"#/types/automation\";\nimport type { SkillInfo } from \"#/types/settings\";\nimport {\n getSkillScope,\n SKILL_SCOPE_ORDER,\n type SkillScope,\n} from \"#/utils/skill-scope\";\n\nexport const CONVERSATION_OVERVIEW_PROJECT_SCOPE = {\n project: \"project\",\n all: \"all\",\n} as const;\n\nexport type ConversationOverviewProjectScope =\n (typeof CONVERSATION_OVERVIEW_PROJECT_SCOPE)[keyof typeof CONVERSATION_OVERVIEW_PROJECT_SCOPE];\n\nexport function normalizeRepositoryName(\n repository: string | null | undefined,\n): string | null {\n if (!repository?.trim()) {\n return null;\n }\n return repository\n .trim()\n .toLowerCase()\n .replace(/\\.git$/, \"\");\n}\n\nexport function isAutomationForRepository(\n automation: Pick<Automation, \"repository\">,\n repository: string | null | undefined,\n): boolean {\n const target = normalizeRepositoryName(repository);\n const automationRepo = normalizeRepositoryName(automation.repository);\n if (!target || !automationRepo) {\n return false;\n }\n return automationRepo === target;\n}\n\nexport function isSkillForProject(\n skill: SkillInfo,\n projectDir?: string | null,\n): boolean {\n return getSkillScope(skill, projectDir) === \"project\";\n}\n\nexport function filterAutomationsByProjectScope(\n automations: Automation[],\n scope: ConversationOverviewProjectScope,\n repository: string | null | undefined,\n): Automation[] {\n if (scope === CONVERSATION_OVERVIEW_PROJECT_SCOPE.all) {\n return automations;\n }\n return automations.filter((automation) =>\n isAutomationForRepository(automation, repository),\n );\n}\n\nexport function filterSkillsByProjectScope(\n skills: SkillInfo[],\n scope: ConversationOverviewProjectScope,\n projectDir?: string | null,\n): SkillInfo[] {\n if (scope === CONVERSATION_OVERVIEW_PROJECT_SCOPE.all) {\n return skills;\n }\n return skills.filter((skill) => isSkillForProject(skill, projectDir));\n}\n\nexport function sortAutomationsByProjectRelevance(\n automations: Automation[],\n repository: string | null | undefined,\n): Automation[] {\n return [...automations].sort((left, right) => {\n const leftMatch = isAutomationForRepository(left, repository) ? 0 : 1;\n const rightMatch = isAutomationForRepository(right, repository) ? 0 : 1;\n if (leftMatch !== rightMatch) {\n return leftMatch - rightMatch;\n }\n return left.name.localeCompare(right.name);\n });\n}\n\nexport function sortSkillsByProjectRelevance(\n skills: SkillInfo[],\n projectDir?: string | null,\n): SkillInfo[] {\n return [...skills].sort((left, right) => {\n const leftScope = getSkillScope(left, projectDir);\n const rightScope = getSkillScope(right, projectDir);\n const leftOrder = SKILL_SCOPE_ORDER.indexOf(leftScope as SkillScope);\n const rightOrder = SKILL_SCOPE_ORDER.indexOf(rightScope as SkillScope);\n if (leftOrder !== rightOrder) {\n return leftOrder - rightOrder;\n }\n return left.name.localeCompare(right.name);\n });\n}\n\nexport function countAutomationsForRepository(\n automations: readonly Automation[],\n repository: string | null | undefined,\n): number {\n return automations.filter((automation) =>\n isAutomationForRepository(automation, repository),\n ).length;\n}\n\nexport function countSkillsForProject(\n skills: readonly SkillInfo[],\n projectDir?: string | null,\n): number {\n return skills.filter((skill) => isSkillForProject(skill, projectDir)).length;\n}\n"],"mappings":"kFAQA,IAAa,EAAsC,CACjD,QAAS,UACT,IAAK,KACP,EA6BA,SAAgB,EACd,EACA,EACS,CACT,OAAO,EAAA,cAAc,EAAO,CAAU,IAAM,SAC9C,CAeA,SAAgB,EACd,EACA,EACA,EACa,CAIb,OAHI,IAAU,EAAoC,IACzC,EAEF,EAAO,OAAQ,GAAU,EAAkB,EAAO,CAAU,CAAC,CACtE,CAgBA,SAAgB,EACd,EACA,EACa,CACb,MAAO,CAAC,GAAG,CAAM,EAAE,MAAM,EAAM,IAAU,CACvC,IAAM,EAAY,EAAA,cAAc,EAAM,CAAU,EAC1C,EAAa,EAAA,cAAc,EAAO,CAAU,EAC5C,EAAY,EAAA,kBAAkB,QAAQ,CAAuB,EAC7D,EAAa,EAAA,kBAAkB,QAAQ,CAAwB,EAIrE,OAHI,IAAc,EAGX,EAAK,KAAK,cAAc,EAAM,IAAI,EAFhC,EAAY,CAGvB,CAAC,CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Automation } from "#/types/automation";
|
|
2
|
+
import type { SkillInfo } from "#/types/settings";
|
|
3
|
+
export declare const CONVERSATION_OVERVIEW_PROJECT_SCOPE: {
|
|
4
|
+
readonly project: "project";
|
|
5
|
+
readonly all: "all";
|
|
6
|
+
};
|
|
7
|
+
export type ConversationOverviewProjectScope = (typeof CONVERSATION_OVERVIEW_PROJECT_SCOPE)[keyof typeof CONVERSATION_OVERVIEW_PROJECT_SCOPE];
|
|
8
|
+
export declare function normalizeRepositoryName(repository: string | null | undefined): string | null;
|
|
9
|
+
export declare function isAutomationForRepository(automation: Pick<Automation, "repository">, repository: string | null | undefined): boolean;
|
|
10
|
+
export declare function isSkillForProject(skill: SkillInfo, projectDir?: string | null): boolean;
|
|
11
|
+
export declare function filterAutomationsByProjectScope(automations: Automation[], scope: ConversationOverviewProjectScope, repository: string | null | undefined): Automation[];
|
|
12
|
+
export declare function filterSkillsByProjectScope(skills: SkillInfo[], scope: ConversationOverviewProjectScope, projectDir?: string | null): SkillInfo[];
|
|
13
|
+
export declare function sortAutomationsByProjectRelevance(automations: Automation[], repository: string | null | undefined): Automation[];
|
|
14
|
+
export declare function sortSkillsByProjectRelevance(skills: SkillInfo[], projectDir?: string | null): SkillInfo[];
|
|
15
|
+
export declare function countAutomationsForRepository(automations: readonly Automation[], repository: string | null | undefined): number;
|
|
16
|
+
export declare function countSkillsForProject(skills: readonly SkillInfo[], projectDir?: string | null): number;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SKILL_SCOPE_ORDER as e, getSkillScope as t } from "./skill-scope.js";
|
|
2
|
+
//#region src/utils/conversation-overview-project-scope.ts
|
|
3
|
+
var n = {
|
|
4
|
+
project: "project",
|
|
5
|
+
all: "all"
|
|
6
|
+
};
|
|
7
|
+
function r(e, n) {
|
|
8
|
+
return t(e, n) === "project";
|
|
9
|
+
}
|
|
10
|
+
function i(e, t, i) {
|
|
11
|
+
return t === n.all ? e : e.filter((e) => r(e, i));
|
|
12
|
+
}
|
|
13
|
+
function a(n, r) {
|
|
14
|
+
return [...n].sort((n, i) => {
|
|
15
|
+
let a = t(n, r), o = t(i, r), s = e.indexOf(a), c = e.indexOf(o);
|
|
16
|
+
return s === c ? n.name.localeCompare(i.name) : s - c;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { n as CONVERSATION_OVERVIEW_PROJECT_SCOPE, i as filterSkillsByProjectScope, a as sortSkillsByProjectRelevance };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=conversation-overview-project-scope.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-overview-project-scope.js","names":[],"sources":["../../src/utils/conversation-overview-project-scope.ts"],"sourcesContent":["import type { Automation } from \"#/types/automation\";\nimport type { SkillInfo } from \"#/types/settings\";\nimport {\n getSkillScope,\n SKILL_SCOPE_ORDER,\n type SkillScope,\n} from \"#/utils/skill-scope\";\n\nexport const CONVERSATION_OVERVIEW_PROJECT_SCOPE = {\n project: \"project\",\n all: \"all\",\n} as const;\n\nexport type ConversationOverviewProjectScope =\n (typeof CONVERSATION_OVERVIEW_PROJECT_SCOPE)[keyof typeof CONVERSATION_OVERVIEW_PROJECT_SCOPE];\n\nexport function normalizeRepositoryName(\n repository: string | null | undefined,\n): string | null {\n if (!repository?.trim()) {\n return null;\n }\n return repository\n .trim()\n .toLowerCase()\n .replace(/\\.git$/, \"\");\n}\n\nexport function isAutomationForRepository(\n automation: Pick<Automation, \"repository\">,\n repository: string | null | undefined,\n): boolean {\n const target = normalizeRepositoryName(repository);\n const automationRepo = normalizeRepositoryName(automation.repository);\n if (!target || !automationRepo) {\n return false;\n }\n return automationRepo === target;\n}\n\nexport function isSkillForProject(\n skill: SkillInfo,\n projectDir?: string | null,\n): boolean {\n return getSkillScope(skill, projectDir) === \"project\";\n}\n\nexport function filterAutomationsByProjectScope(\n automations: Automation[],\n scope: ConversationOverviewProjectScope,\n repository: string | null | undefined,\n): Automation[] {\n if (scope === CONVERSATION_OVERVIEW_PROJECT_SCOPE.all) {\n return automations;\n }\n return automations.filter((automation) =>\n isAutomationForRepository(automation, repository),\n );\n}\n\nexport function filterSkillsByProjectScope(\n skills: SkillInfo[],\n scope: ConversationOverviewProjectScope,\n projectDir?: string | null,\n): SkillInfo[] {\n if (scope === CONVERSATION_OVERVIEW_PROJECT_SCOPE.all) {\n return skills;\n }\n return skills.filter((skill) => isSkillForProject(skill, projectDir));\n}\n\nexport function sortAutomationsByProjectRelevance(\n automations: Automation[],\n repository: string | null | undefined,\n): Automation[] {\n return [...automations].sort((left, right) => {\n const leftMatch = isAutomationForRepository(left, repository) ? 0 : 1;\n const rightMatch = isAutomationForRepository(right, repository) ? 0 : 1;\n if (leftMatch !== rightMatch) {\n return leftMatch - rightMatch;\n }\n return left.name.localeCompare(right.name);\n });\n}\n\nexport function sortSkillsByProjectRelevance(\n skills: SkillInfo[],\n projectDir?: string | null,\n): SkillInfo[] {\n return [...skills].sort((left, right) => {\n const leftScope = getSkillScope(left, projectDir);\n const rightScope = getSkillScope(right, projectDir);\n const leftOrder = SKILL_SCOPE_ORDER.indexOf(leftScope as SkillScope);\n const rightOrder = SKILL_SCOPE_ORDER.indexOf(rightScope as SkillScope);\n if (leftOrder !== rightOrder) {\n return leftOrder - rightOrder;\n }\n return left.name.localeCompare(right.name);\n });\n}\n\nexport function countAutomationsForRepository(\n automations: readonly Automation[],\n repository: string | null | undefined,\n): number {\n return automations.filter((automation) =>\n isAutomationForRepository(automation, repository),\n ).length;\n}\n\nexport function countSkillsForProject(\n skills: readonly SkillInfo[],\n projectDir?: string | null,\n): number {\n return skills.filter((skill) => isSkillForProject(skill, projectDir)).length;\n}\n"],"mappings":";;AAQA,IAAa,IAAsC;CACjD,SAAS;CACT,KAAK;AACP;AA6BA,SAAgB,EACd,GACA,GACS;CACT,OAAO,EAAc,GAAO,CAAU,MAAM;AAC9C;AAeA,SAAgB,EACd,GACA,GACA,GACa;CAIb,OAHI,MAAU,EAAoC,MACzC,IAEF,EAAO,QAAQ,MAAU,EAAkB,GAAO,CAAU,CAAC;AACtE;AAgBA,SAAgB,EACd,GACA,GACa;CACb,OAAO,CAAC,GAAG,CAAM,EAAE,MAAM,GAAM,MAAU;EACvC,IAAM,IAAY,EAAc,GAAM,CAAU,GAC1C,IAAa,EAAc,GAAO,CAAU,GAC5C,IAAY,EAAkB,QAAQ,CAAuB,GAC7D,IAAa,EAAkB,QAAQ,CAAwB;EAIrE,OAHI,MAAc,IAGX,EAAK,KAAK,cAAc,EAAM,IAAI,IAFhC,IAAY;CAGvB,CAAC;AACH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../_virtual/_rolldown/runtime.cjs");const e=require("../services/telemetry.cjs");
|
|
1
|
+
require("../_virtual/_rolldown/runtime.cjs");const e=require("../services/telemetry.cjs");var t=new Set([`error_source`,`error_kind`,`error_id`,`error_telemetry`]);function n({source:n,metadata:r={},classification:i}){let a=Object.fromEntries(Object.entries(r).filter(([e])=>!t.has(e))),o=i?.kind||`unknown`,s=typeof r.eventId==`string`?r.eventId:void 0;s!=null&&delete a.eventId;let c=i?.error_id??s;e.trackEvent(`error_outcome`,{...a,current_url:window.location.href,error_source:n||`unknown`,error_kind:o,...c==null?{}:{error_id:c},error_telemetry:o===`internal`||o===`unknown`?`diagnostic`:`outcome`})}exports.trackError=n;
|
|
2
2
|
//# sourceMappingURL=error-handler.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-handler.cjs","names":[],"sources":["../../src/utils/error-handler.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"error-handler.cjs","names":[],"sources":["../../src/utils/error-handler.ts"],"sourcesContent":["import { trackEvent } from \"#/services/telemetry\";\nimport type { ErrorClassification } from \"@openhands/typescript-client\";\n\ninterface ErrorDetails {\n source?: string;\n metadata?: Record<string, unknown>;\n classification?: ErrorClassification | null;\n}\n\nconst RESERVED_ERROR_KEYS = new Set([\n \"error_source\",\n \"error_kind\",\n \"error_id\",\n \"error_telemetry\",\n]);\n\nexport function trackError({\n source,\n metadata = {},\n classification,\n}: ErrorDetails) {\n // Reserved outcome fields are derived from `source`/`classification` and\n // must not be overridable through arbitrary caller metadata.\n const extra = Object.fromEntries(\n Object.entries(metadata).filter(([key]) => !RESERVED_ERROR_KEYS.has(key)),\n );\n const kind = classification?.kind || \"unknown\";\n // Promote a caller-provided `eventId` to the reserved `error_id` dimension as\n // a fallback so unclassified errors stay correlatable with server-side logs.\n const promotedEventId =\n typeof metadata.eventId === \"string\" ? metadata.eventId : undefined;\n if (promotedEventId != null) {\n delete extra.eventId;\n }\n const errorId = classification?.error_id ?? promotedEventId;\n\n void trackEvent(\"error_outcome\", {\n ...extra,\n current_url: window.location.href,\n error_source: source || \"unknown\",\n error_kind: kind,\n // Keep diagnostic errors correlatable without capturing raw messages.\n ...(errorId != null ? { error_id: errorId } : {}),\n error_telemetry:\n kind === \"internal\" || kind === \"unknown\" ? \"diagnostic\" : \"outcome\",\n });\n}\n"],"mappings":"0FASA,IAAM,EAAsB,IAAI,IAAI,CAClC,eACA,aACA,WACA,iBACF,CAAC,EAED,SAAgB,EAAW,CACzB,SACA,WAAW,CAAC,EACZ,kBACe,CAGf,IAAM,EAAQ,OAAO,YACnB,OAAO,QAAQ,CAAQ,EAAE,QAAQ,CAAC,KAAS,CAAC,EAAoB,IAAI,CAAG,CAAC,CAC1E,EACM,EAAO,GAAgB,MAAQ,UAG/B,EACJ,OAAO,EAAS,SAAY,SAAW,EAAS,QAAU,IAAA,GACxD,GAAmB,MACrB,OAAO,EAAM,QAEf,IAAM,EAAU,GAAgB,UAAY,EAE5C,EAAK,WAAW,gBAAiB,CAC/B,GAAG,EACH,YAAa,OAAO,SAAS,KAC7B,aAAc,GAAU,UACxB,WAAY,EAEZ,GAAI,GAAW,KAA+B,CAAC,EAAzB,CAAE,SAAU,CAAQ,EAC1C,gBACE,IAAS,YAAc,IAAS,UAAY,aAAe,SAC/D,CAAC,CACH"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { ErrorClassification } from "@openhands/typescript-client";
|
|
1
2
|
interface ErrorDetails {
|
|
2
|
-
message: string;
|
|
3
3
|
source?: string;
|
|
4
4
|
metadata?: Record<string, unknown>;
|
|
5
|
+
classification?: ErrorClassification | null;
|
|
5
6
|
}
|
|
6
|
-
export declare function trackError({
|
|
7
|
+
export declare function trackError({ source, metadata, classification, }: ErrorDetails): void;
|
|
7
8
|
export {};
|
|
@@ -1,12 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { trackEvent as e } from "../services/telemetry.js";
|
|
2
2
|
//#region src/utils/error-handler.ts
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
var t = new Set([
|
|
4
|
+
"error_source",
|
|
5
|
+
"error_kind",
|
|
6
|
+
"error_id",
|
|
7
|
+
"error_telemetry"
|
|
8
|
+
]);
|
|
9
|
+
function n({ source: n, metadata: r = {}, classification: i }) {
|
|
10
|
+
let a = Object.fromEntries(Object.entries(r).filter(([e]) => !t.has(e))), o = i?.kind || "unknown", s = typeof r.eventId == "string" ? r.eventId : void 0;
|
|
11
|
+
s != null && delete a.eventId;
|
|
12
|
+
let c = i?.error_id ?? s;
|
|
13
|
+
e("error_outcome", {
|
|
14
|
+
...a,
|
|
15
|
+
current_url: window.location.href,
|
|
5
16
|
error_source: n || "unknown",
|
|
6
|
-
|
|
17
|
+
error_kind: o,
|
|
18
|
+
...c == null ? {} : { error_id: c },
|
|
19
|
+
error_telemetry: o === "internal" || o === "unknown" ? "diagnostic" : "outcome"
|
|
7
20
|
});
|
|
8
21
|
}
|
|
9
22
|
//#endregion
|
|
10
|
-
export {
|
|
23
|
+
export { n as trackError };
|
|
11
24
|
|
|
12
25
|
//# sourceMappingURL=error-handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-handler.js","names":[],"sources":["../../src/utils/error-handler.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"error-handler.js","names":[],"sources":["../../src/utils/error-handler.ts"],"sourcesContent":["import { trackEvent } from \"#/services/telemetry\";\nimport type { ErrorClassification } from \"@openhands/typescript-client\";\n\ninterface ErrorDetails {\n source?: string;\n metadata?: Record<string, unknown>;\n classification?: ErrorClassification | null;\n}\n\nconst RESERVED_ERROR_KEYS = new Set([\n \"error_source\",\n \"error_kind\",\n \"error_id\",\n \"error_telemetry\",\n]);\n\nexport function trackError({\n source,\n metadata = {},\n classification,\n}: ErrorDetails) {\n // Reserved outcome fields are derived from `source`/`classification` and\n // must not be overridable through arbitrary caller metadata.\n const extra = Object.fromEntries(\n Object.entries(metadata).filter(([key]) => !RESERVED_ERROR_KEYS.has(key)),\n );\n const kind = classification?.kind || \"unknown\";\n // Promote a caller-provided `eventId` to the reserved `error_id` dimension as\n // a fallback so unclassified errors stay correlatable with server-side logs.\n const promotedEventId =\n typeof metadata.eventId === \"string\" ? metadata.eventId : undefined;\n if (promotedEventId != null) {\n delete extra.eventId;\n }\n const errorId = classification?.error_id ?? promotedEventId;\n\n void trackEvent(\"error_outcome\", {\n ...extra,\n current_url: window.location.href,\n error_source: source || \"unknown\",\n error_kind: kind,\n // Keep diagnostic errors correlatable without capturing raw messages.\n ...(errorId != null ? { error_id: errorId } : {}),\n error_telemetry:\n kind === \"internal\" || kind === \"unknown\" ? \"diagnostic\" : \"outcome\",\n });\n}\n"],"mappings":";;AASA,IAAM,IAAsB,IAAI,IAAI;CAClC;CACA;CACA;CACA;AACF,CAAC;AAED,SAAgB,EAAW,EACzB,WACA,cAAW,CAAC,GACZ,qBACe;CAGf,IAAM,IAAQ,OAAO,YACnB,OAAO,QAAQ,CAAQ,EAAE,QAAQ,CAAC,OAAS,CAAC,EAAoB,IAAI,CAAG,CAAC,CAC1E,GACM,IAAO,GAAgB,QAAQ,WAG/B,IACJ,OAAO,EAAS,WAAY,WAAW,EAAS,UAAU,KAAA;CAC5D,AAAI,KAAmB,QACrB,OAAO,EAAM;CAEf,IAAM,IAAU,GAAgB,YAAY;CAE5C,EAAgB,iBAAiB;EAC/B,GAAG;EACH,aAAa,OAAO,SAAS;EAC7B,cAAc,KAAU;EACxB,YAAY;EAEZ,GAAI,KAAW,OAA+B,CAAC,IAAzB,EAAE,UAAU,EAAQ;EAC1C,iBACE,MAAS,cAAc,MAAS,YAAY,eAAe;CAC/D,CAAC;AACH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require("../_virtual/_rolldown/runtime.cjs");var e=`rounded-xl bg-base-secondary`,t=`extension-module-card-interactive`,n=`@container min-w-0 w-full`,
|
|
1
|
+
require("../_virtual/_rolldown/runtime.cjs");var e=`rounded-xl bg-base-secondary`,t=`extension-module-card-interactive`,n=`inline-flex max-w-full shrink-0 items-center whitespace-nowrap rounded-full bg-[rgba(255,255,255,0.04)] px-2 py-0.5 text-[11px] leading-4 text-tertiary-light`,r=`@container min-w-0 w-full`,i=`grid min-w-0 grid-cols-1 gap-3 @min-[600px]:grid-cols-2`,a=`rounded-xl border border-[var(--oh-border)] p-8 text-center`;exports.extensionModuleCardGridClassName=i,exports.extensionModuleCardGridContainerClassName=r,exports.extensionModuleCardInteractiveClassName=t,exports.extensionModuleCardPillClassName=n,exports.extensionModuleCardSurfaceClassName=e,exports.extensionModuleEmptyStateClassName=a;
|
|
2
2
|
//# sourceMappingURL=extension-module-card-classes.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-module-card-classes.cjs","names":[],"sources":["../../src/utils/extension-module-card-classes.ts"],"sourcesContent":["/** Shared card chrome for Skills / MCP / Automations tiles (border on hover only). */\nexport const extensionModuleCardSurfaceClassName =\n \"rounded-xl bg-base-secondary\";\n\n/** See `.extension-module-card-interactive` in `src/tailwind.css`. */\nexport const EXTENSION_MODULE_CARD_INTERACTIVE_CLASS =\n \"extension-module-card-interactive\";\n\nexport const extensionModuleCardInteractiveClassName =\n EXTENSION_MODULE_CARD_INTERACTIVE_CLASS;\n\n/** Shared pill chrome for Skills, automation cards, and related modals. */\nexport const extensionModuleCardPillClassName =\n \"inline-flex max-w-full shrink-0 items-center whitespace-nowrap rounded-full
|
|
1
|
+
{"version":3,"file":"extension-module-card-classes.cjs","names":[],"sources":["../../src/utils/extension-module-card-classes.ts"],"sourcesContent":["/** Shared card chrome for Skills / MCP / Automations tiles (border on hover only). */\nexport const extensionModuleCardSurfaceClassName =\n \"rounded-xl bg-base-secondary\";\n\n/** See `.extension-module-card-interactive` in `src/tailwind.css`. */\nexport const EXTENSION_MODULE_CARD_INTERACTIVE_CLASS =\n \"extension-module-card-interactive\";\n\nexport const extensionModuleCardInteractiveClassName =\n EXTENSION_MODULE_CARD_INTERACTIVE_CLASS;\n\n/** Shared pill chrome for Skills, automation cards, and related modals. */\nexport const extensionModuleCardPillClassName =\n \"inline-flex max-w-full shrink-0 items-center whitespace-nowrap rounded-full bg-[rgba(255,255,255,0.04)] px-2 py-0.5 text-[11px] leading-4 text-tertiary-light\";\n\n/** Two-column card grids switch back to one column at or below this width (px). */\nexport const EXTENSION_MODULE_CARD_GRID_SINGLE_COLUMN_MAX_PX = 599;\n\n/** Establishes the inline-size container queried by {@link extensionModuleCardGridClassName}. */\nexport const extensionModuleCardGridContainerClassName =\n \"@container min-w-0 w-full\";\n\n/** Single column in narrow content columns; two columns from 600px container width up. */\nexport const extensionModuleCardGridClassName =\n \"grid min-w-0 grid-cols-1 gap-3 @min-[600px]:grid-cols-2\";\n\n/** Bordered empty-state panel used on MCP Installed and Automations list pages. */\nexport const extensionModuleEmptyStateClassName =\n \"rounded-xl border border-[var(--oh-border)] p-8 text-center\";\n"],"mappings":"6CACA,IAAa,EACX,+BAMW,EACX,oCAGW,EACX,gKAMW,EACX,4BAGW,EACX,0DAGW,EACX"}
|
|
@@ -4,7 +4,7 @@ export declare const extensionModuleCardSurfaceClassName = "rounded-xl bg-base-s
|
|
|
4
4
|
export declare const EXTENSION_MODULE_CARD_INTERACTIVE_CLASS = "extension-module-card-interactive";
|
|
5
5
|
export declare const extensionModuleCardInteractiveClassName = "extension-module-card-interactive";
|
|
6
6
|
/** Shared pill chrome for Skills, automation cards, and related modals. */
|
|
7
|
-
export declare const extensionModuleCardPillClassName = "inline-flex max-w-full shrink-0 items-center whitespace-nowrap rounded-full
|
|
7
|
+
export declare const extensionModuleCardPillClassName = "inline-flex max-w-full shrink-0 items-center whitespace-nowrap rounded-full bg-[rgba(255,255,255,0.04)] px-2 py-0.5 text-[11px] leading-4 text-tertiary-light";
|
|
8
8
|
/** Two-column card grids switch back to one column at or below this width (px). */
|
|
9
9
|
export declare const EXTENSION_MODULE_CARD_GRID_SINGLE_COLUMN_MAX_PX = 599;
|
|
10
10
|
/** Establishes the inline-size container queried by {@link extensionModuleCardGridClassName}. */
|