feat(panel): default-lock topbar capsule and hover context to main agent with toggle (#35)

This commit is contained in:
fish
2026-11-22 17:09:00 +09:00
parent 1b61ae0258
commit 97ef8b5ea5
22 changed files with 799 additions and 58 deletions
+4 -1
View File
@@ -47,6 +47,7 @@ import { i18nStore, isEnglishLocale, t } from '../i18n/index.js';
import { createSvgIcon } from '../icons/SvgIcon.js';
import { ActionMenu } from '../components/ui/ActionMenu.js';
import {
getDefaultCtxInspectorAgentId,
prefetchConsumptionPresets,
selectConsumptionTimeRange,
selectConversation,
@@ -1463,7 +1464,9 @@ export const ConsumptionView = defineComponent({
activeView: 'steps',
stepsSubTab: 'steps',
selectedAgentScope: 'all',
ctxInspectorAgentId: 'auto',
ctxInspectorAgentId: getDefaultCtxInspectorAgentId(
telemetryStore.getState().telemetry?.settings
),
});
},
},