feat(panel): add inline CLI statusLine capsule, step speed color toggle, and refined defaults

- Auto-provision native Antigravity CLI `statusLine` (`stack_with_default: false`) in `~/.gemini/antigravity-cli/settings.json` while strictly preserving custom third-party `statusLine.command` scripts, using zero-double-quote Windows commands compatible with Go `syscall.EscapeArg` under `cmd /c`
- Add `cli-statusline.mjs` and `cli-statusline-config.mjs` to render a single-line transparent 24-bit ANSI footer (`? for shortcuts` left, live multi-session & 1..5 capsule metrics centered, deduplicated `mode · model · effort` right) with responsive narrow-terminal fallbacks and `stdin` quota fallback
- Persist `cli-status-snapshot.json` during telemetry builds and self-heal sidecar restarts inside `executeTelemetryAction` error paths when `computeRuntimeCodeVersion()` advances
- Add `enableCliStatusLine` and `showStepSpeedColor` preferences in Settings -> Structure, rename the mount sub-tab/section label in `zh-CN` to `挂载胶囊`, set default `topbarCapsuleSlots` to `['tps', 'ttft', 'context']`, and default `showStepTurnRail` and `showStepSpeedColor` to `false`
- Add unit and end-to-end tests across `backend.test.mjs` and `window-bridge.test.mjs`, and update `README.md` / `README.zh-CN.md`
This commit is contained in:
fish
2026-11-16 14:00:05 +09:00
parent 76669d5cc7
commit cd841b55cf
23 changed files with 2478 additions and 125 deletions
@@ -1191,9 +1191,9 @@ export function mountWindowOverlay() {
// 构建可复用的预占胶囊槽位节点(由 CapsuleBarWidget 共享创建,支持 1..5 项动态槽位)
const capsuleSlots = [
createCapsuleSlotNode(0, 'context'),
createCapsuleSlotNode(1, 'tps'),
createCapsuleSlotNode(2, 'quota_auto'),
createCapsuleSlotNode(0, 'tps'),
createCapsuleSlotNode(1, 'ttft'),
createCapsuleSlotNode(2, 'context'),
createCapsuleSlotNode(3, 'none'),
createCapsuleSlotNode(4, 'none'),
];
@@ -54,7 +54,9 @@ export function createCapsuleSlotNode(slotIndex, initialMetric) {
? '--%'
: initialMetric === 'tps'
? '-- t/s'
: t('capsule.quotaUnknown'),
: initialMetric === 'ttft'
? '--s'
: t('capsule.quotaUnknown'),
});
const el = h(
'span',
@@ -65,7 +67,9 @@ export function createCapsuleSlotNode(slotIndex, initialMetric) {
? 'wm-cap-slot wm-ctx-seg'
: initialMetric === 'tps'
? 'wm-cap-slot wm-seg-speed'
: 'wm-cap-slot wm-seg-quota',
: initialMetric === 'ttft'
? 'wm-cap-slot wm-seg-metric'
: 'wm-cap-slot wm-seg-quota',
hidden: isNone,
'data-slot-idx': String(slotIndex),
'data-metric': initialMetric,
@@ -160,9 +164,9 @@ export const CapsuleBarWidget = defineComponent({
);
const capsuleSlots = [
createCapsuleSlotNode(0, 'context'),
createCapsuleSlotNode(1, 'tps'),
createCapsuleSlotNode(2, 'quota_auto'),
createCapsuleSlotNode(0, 'tps'),
createCapsuleSlotNode(1, 'ttft'),
createCapsuleSlotNode(2, 'context'),
createCapsuleSlotNode(3, 'none'),
createCapsuleSlotNode(4, 'none'),
];
@@ -166,15 +166,16 @@ export const StepTableWidget = defineComponent({
effectiveScopes = ['all'],
hasSubagents = false,
isMergedMultiAgents = false,
showStepTurnRail = true,
showStepTurnRail = false,
showStepAgentBadge = true,
showStepSpeedColor = false,
displaySettings = {},
} = {}
) {
const colOrderSig = colKeys.join(',');
const renderOptions = JSON.stringify([
cascadeId, locale, colOrderSig, effectiveScopes, hasSubagents, isMergedMultiAgents,
showStepTurnRail, showStepAgentBadge, displaySettings.showUpstreamModel,
showStepTurnRail, showStepAgentBadge, showStepSpeedColor, displaySettings.showUpstreamModel,
displaySettings.orchestratorIdMode,
]);
if (lastRenderOptions === renderOptions && lastRenderedRows &&
@@ -189,6 +190,7 @@ export const StepTableWidget = defineComponent({
const cellCtx = {
hasSubagents,
showAgentBadge,
showStepSpeedColor,
effectiveScopes,
scopeSigKey: effectiveScopes.join(','),
displaySettings,
+4
View File
@@ -413,8 +413,11 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.str.mountComposer': 'Composer Mount (Input Box + Sidebar)',
'settings.str.mountSidebar': 'Sidebar Only',
'settings.str.multiToggle': 'Active Sessions Pill',
'settings.str.cliCapsuleToggle': 'CLI Bottom Capsule',
'settings.str.show': 'Show',
'settings.str.hide': 'Hide',
'settings.str.on': 'On',
'settings.str.off': 'Off',
'settings.str.capsuleSlotsLabel': 'Capsule Metrics & Order (Left → Right, 1–5, draggable)',
'settings.str.addCapsuleSlot': 'Add Slot ({count}/{max})',
'settings.str.hoverSection': 'Hover Quick-View',
@@ -434,6 +437,7 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.str.stepsBadge': '{count} cols',
'settings.str.stepTurnRailToggle': 'Turn Rail & Preview',
'settings.str.stepAgentBadgeToggle': 'Main/Sub Agent Badge',
'settings.str.stepSpeedColorToggle': 'Speed Multi-Color',
'settings.str.stepsColsLabel': '"Steps" Visible Columns (Left → Right, min 2, draggable)',
'settings.str.addStepCol': 'Add Column ({count}/{max})',
'settings.slot.dragHint': 'Drag up or down to reorder',
+6 -2
View File
@@ -401,20 +401,23 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
// Preferences -> Structure Tab
'settings.str.thirdTabAria': '结构子菜单切换',
'settings.str.tabMount': '挂载与胶囊',
'settings.str.tabMount': '挂载胶囊',
'settings.str.tabHover': '鼠标悬浮窗',
'settings.str.tabOverview': '实时监控布局',
'settings.str.tabSteps': '调用明细字段',
'settings.str.previewMountSidebarHint': '当前为仅侧边栏模式,主窗口不挂载胶囊;切回顶部栏或输入框挂载后将按上方样式呈现',
'settings.str.mountSection': '挂载与胶囊栏',
'settings.str.mountSection': '挂载胶囊',
'settings.str.mountBadge': '{count}/5 项',
'settings.str.mountMode': '面板挂载方式',
'settings.str.mountDual': '双栖挂载 (顶部栏 + 侧边栏)',
'settings.str.mountComposer': '输入框挂载 (输入框 + 侧边栏)',
'settings.str.mountSidebar': '仅侧边栏',
'settings.str.multiToggle': '实时运行会话入口',
'settings.str.cliCapsuleToggle': 'CLI 底部状态胶囊',
'settings.str.show': '显示',
'settings.str.hide': '隐藏',
'settings.str.on': '开启',
'settings.str.off': '关闭',
'settings.str.capsuleSlotsLabel': '胶囊数值与顺序 (左 → 右,1~5 项,可拖拽)',
'settings.str.addCapsuleSlot': '添加槽位 ({count}/{max})',
'settings.str.hoverSection': '鼠标悬浮窗',
@@ -434,6 +437,7 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'settings.str.stepsBadge': '{count} 列',
'settings.str.stepTurnRailToggle': '对话轮次导轨',
'settings.str.stepAgentBadgeToggle': '主/子代理标识',
'settings.str.stepSpeedColorToggle': '输出速度多色分级',
'settings.str.stepsColsLabel': '「按步查看」显示列 (左 → 右,至少 2 列,可拖拽)',
'settings.str.addStepCol': '添加字段 ({count}/{max})',
'settings.slot.dragHint': '按住上下拖动调整顺序',
@@ -117,7 +117,8 @@ export const STEP_COLUMN_REGISTRY = Object.freeze({
key: 'tps',
thLabel: () => t('stepCol.tps.th'),
optLabel: () => t('stepCol.tps.opt'),
sigPart: (st) => `${st.tokPerSec}:${st.selectedSpeedReason || ''}`,
sigPart: (st, ctx) =>
`${st.tokPerSec}:${st.selectedSpeedReason || ''}:${ctx?.showStepSpeedColor === true ? 1 : 0}`,
createCell: () => {
const speedMain = h('strong', {
className: 'cell-value tone-muted',
@@ -131,9 +132,17 @@ export const STEP_COLUMN_REGISTRY = Object.freeze({
const td = h('td', {}, [wrapEl]);
return { td, refs: { wrapEl, speedMain, speedReason: null } };
},
updateCell: (refs, st) => {
updateCell: (refs, st, ctx) => {
patchText(refs.speedMain, formatMetric(st.tokPerSec, ' tok/s'));
patchAttr(refs.speedMain, 'class', `cell-value ${getSpeedToneClass(st.tokPerSec)}`);
const hasValidSpeed =
st.tokPerSec != null && Number.isFinite(Number(st.tokPerSec)) && Number(st.tokPerSec) > 0;
const toneCls =
ctx?.showStepSpeedColor === true
? getSpeedToneClass(st.tokPerSec)
: hasValidSpeed
? ''
: 'tone-muted';
patchAttr(refs.speedMain, 'class', toneCls ? `cell-value ${toneCls}` : 'cell-value');
const reason = speedReasonText(st.selectedSpeedReason);
if (reason && !refs.speedReason) {
refs.speedReason = h('div', {
+14 -2
View File
@@ -122,7 +122,7 @@ export const CLIENT_TOPBAR_SLOT_KEYS = Object.freeze([
'claude_weekly',
]);
export const DEFAULT_CLIENT_TOPBAR_SLOTS = Object.freeze(['context', 'tps', 'quota_auto']);
export const DEFAULT_CLIENT_TOPBAR_SLOTS = Object.freeze(['tps', 'ttft', 'context']);
export const CLIENT_OVERVIEW_MODULE_KEYS = Object.freeze([
'metrics',
@@ -380,15 +380,21 @@ function isEquivalentTelemetry(prev, next) {
return false;
}
if (pSet?.enableWindowOverlay !== nSet?.enableWindowOverlay) return false;
if ((pSet?.enableCliStatusLine !== false) !== (nSet?.enableCliStatusLine !== false)) {
return false;
}
if ((pSet?.showTopbarMultiSession !== false) !== (nSet?.showTopbarMultiSession !== false)) {
return false;
}
if ((pSet?.showStepTurnRail !== false) !== (nSet?.showStepTurnRail !== false)) {
if (Boolean(pSet?.showStepTurnRail) !== Boolean(nSet?.showStepTurnRail)) {
return false;
}
if ((pSet?.showStepAgentBadge !== false) !== (nSet?.showStepAgentBadge !== false)) {
return false;
}
if (Boolean(pSet?.showStepSpeedColor) !== Boolean(nSet?.showStepSpeedColor)) {
return false;
}
if (!sameArr(pSet?.topbarCapsuleSlots, nSet?.topbarCapsuleSlots)) return false;
if (!sameArr(pSet?.hoverModules, nSet?.hoverModules)) return false;
if (!sameArr(pSet?.overviewModules, nSet?.overviewModules)) return false;
@@ -1002,6 +1008,9 @@ export async function saveSettingsPatch(patch) {
safePatch.weeklyLimitMode =
mode === 'custom_tokens' || mode === 'custom_cost' ? mode : 'official';
}
if (Object.prototype.hasOwnProperty.call(safePatch, 'enableCliStatusLine')) {
safePatch.enableCliStatusLine = Boolean(safePatch.enableCliStatusLine);
}
if (Object.prototype.hasOwnProperty.call(safePatch, 'showTopbarMultiSession')) {
safePatch.showTopbarMultiSession = Boolean(safePatch.showTopbarMultiSession);
}
@@ -1011,6 +1020,9 @@ export async function saveSettingsPatch(patch) {
if (Object.prototype.hasOwnProperty.call(safePatch, 'showStepAgentBadge')) {
safePatch.showStepAgentBadge = Boolean(safePatch.showStepAgentBadge);
}
if (Object.prototype.hasOwnProperty.call(safePatch, 'showStepSpeedColor')) {
safePatch.showStepSpeedColor = Boolean(safePatch.showStepSpeedColor);
}
if (Object.prototype.hasOwnProperty.call(safePatch, 'topbarCapsuleSlots')) {
safePatch.topbarCapsuleSlots = normalizeClientTopbarSlots(safePatch.topbarCapsuleSlots);
}
+4 -2
View File
@@ -726,8 +726,9 @@ export const StepsDetailView = defineComponent({
effectiveScopes,
hasSubagents,
isMergedMultiAgents,
showStepTurnRail: slice.showStepTurnRail !== false,
showStepTurnRail: slice.showStepTurnRail === true,
showStepAgentBadge: slice.showStepAgentBadge !== false,
showStepSpeedColor: slice.showStepSpeedColor === true,
displaySettings,
});
stepsScroll.refresh();
@@ -1048,8 +1049,9 @@ export const StepsDetailView = defineComponent({
orchestratorIdMode: normalizeOrchestratorIdDisplayMode(
st.telemetry?.settings?.orchestratorIdMode
),
showStepTurnRail: st.telemetry?.settings?.showStepTurnRail !== false,
showStepTurnRail: st.telemetry?.settings?.showStepTurnRail === true,
showStepAgentBadge: st.telemetry?.settings?.showStepAgentBadge !== false,
showStepSpeedColor: st.telemetry?.settings?.showStepSpeedColor === true,
stepTableColumns: st.telemetry?.settings?.stepTableColumns,
}),
(slice) => {
@@ -69,6 +69,13 @@ function getMultiToggleOptions() {
];
}
function getEnableToggleOptions() {
return [
{ value: 'on', label: t('settings.str.on') },
{ value: 'off', label: t('settings.str.off') },
];
}
function isSameList(a, b) {
if (!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length) return false;
for (let i = 0; i < a.length; i += 1) {
@@ -82,13 +89,15 @@ export const SettingsStructureTab = defineComponent({
setup({ props, onCleanup }) {
let activeThirdTab = normalizeStructureTabKey(uiStore.getState().settingsStructureTab);
let draftWindowMountMode = 'dual';
let draftEnableCliStatusLine = true;
let draftShowTopbarMulti = true;
let draftTopbarSlots = [...DEFAULT_CLIENT_TOPBAR_SLOTS];
let draftHoverModules = [...DEFAULT_CLIENT_HOVER_MODULES];
let draftOverviewModules = [...DEFAULT_CLIENT_OVERVIEW_MODULES];
let draftOverviewMetrics = [...DEFAULT_CLIENT_OVERVIEW_METRICS];
let draftShowStepTurnRail = true;
let draftShowStepTurnRail = false;
let draftShowStepAgentBadge = true;
let draftShowStepSpeedColor = false;
let draftStepColumns = [...DEFAULT_CLIENT_STEP_COLUMNS];
let latestSettings = null;
@@ -101,6 +110,7 @@ export const SettingsStructureTab = defineComponent({
return buildStructurePreviewTelemetry(latestSettings, {
windowMountMode: draftWindowMountMode,
enableWindowOverlay: draftWindowMountMode !== 'sidebar',
enableCliStatusLine: draftEnableCliStatusLine,
showTopbarMultiSession: draftShowTopbarMulti,
topbarCapsuleSlots: draftTopbarSlots,
hoverModules: draftHoverModules,
@@ -108,6 +118,7 @@ export const SettingsStructureTab = defineComponent({
overviewMetrics: draftOverviewMetrics,
showStepTurnRail: draftShowStepTurnRail,
showStepAgentBadge: draftShowStepAgentBadge,
showStepSpeedColor: draftShowStepSpeedColor,
stepTableColumns: draftStepColumns,
});
}
@@ -178,6 +189,10 @@ export const SettingsStructureTab = defineComponent({
className: 'form-label',
text: t('settings.str.multiToggle'),
});
const cliCapsuleLabelEl = h('span', {
className: 'form-label',
text: t('settings.str.cliCapsuleToggle'),
});
const capsuleSlotsLabelEl = h('span', {
className: 'form-label',
text: t('settings.str.capsuleSlotsLabel'),
@@ -212,6 +227,19 @@ export const SettingsStructureTab = defineComponent({
},
});
const cliCapsuleToggle = SegmentedControl({
ariaLabel: t('settings.str.cliCapsuleToggle'),
modelValue: 'on',
options: getEnableToggleOptions(),
onUpdateModelValue: (val) => {
draftEnableCliStatusLine = val !== 'off';
syncMountSectionMeta();
void persistStructurePatch(mountSection, {
enableCliStatusLine: draftEnableCliStatusLine,
});
},
});
const topbarSlotsList = EditableSlotList({
items: draftTopbarSlots,
options: getCapsuleMetricOptions(),
@@ -239,6 +267,7 @@ export const SettingsStructureTab = defineComponent({
badgeText: t('settings.str.mountBadge', { count: draftTopbarSlots.length }),
onReset: () => {
draftWindowMountMode = 'dual';
draftEnableCliStatusLine = true;
draftShowTopbarMulti = true;
draftTopbarSlots = [...DEFAULT_CLIENT_TOPBAR_SLOTS];
syncMountSectionMeta();
@@ -248,6 +277,7 @@ export const SettingsStructureTab = defineComponent({
{
windowMountMode: 'dual',
enableWindowOverlay: true,
enableCliStatusLine: true,
showTopbarMultiSession: true,
topbarCapsuleSlots: [...DEFAULT_CLIENT_TOPBAR_SLOTS],
},
@@ -262,6 +292,10 @@ export const SettingsStructureTab = defineComponent({
multiToggleLabelEl,
multiSessionToggle.el,
]),
h('div', { className: 'settings-inline-row' }, [
cliCapsuleLabelEl,
cliCapsuleToggle.el,
]),
h('div', { className: 'form-row' }, [capsuleSlotsLabelEl, topbarSlotsList.el]),
],
});
@@ -280,6 +314,10 @@ export const SettingsStructureTab = defineComponent({
modelValue: draftShowTopbarMulti ? 'show' : 'hide',
options: getMultiToggleOptions(),
});
cliCapsuleToggle.setProps({
modelValue: draftEnableCliStatusLine ? 'on' : 'off',
options: getEnableToggleOptions(),
});
topbarSlotsList.refs.setProps({
items: draftTopbarSlots,
options: getCapsuleMetricOptions(),
@@ -290,6 +328,7 @@ export const SettingsStructureTab = defineComponent({
);
const isDefault =
draftWindowMountMode === 'dual' &&
draftEnableCliStatusLine === true &&
draftShowTopbarMulti === true &&
isSameList(draftTopbarSlots, DEFAULT_CLIENT_TOPBAR_SLOTS);
mountSection.refs.setResetDisabled(isDefault);
@@ -550,6 +589,10 @@ export const SettingsStructureTab = defineComponent({
className: 'form-label',
text: t('settings.str.stepAgentBadgeToggle'),
});
const stepSpeedColorLabelEl = h('span', {
className: 'form-label',
text: t('settings.str.stepSpeedColorToggle'),
});
const stepColsLabelEl = h('span', {
className: 'form-label',
text: t('settings.str.stepsColsLabel'),
@@ -557,7 +600,7 @@ export const SettingsStructureTab = defineComponent({
const stepTurnRailToggle = SegmentedControl({
ariaLabel: t('settings.str.stepTurnRailToggle'),
modelValue: 'show',
modelValue: 'hide',
options: getMultiToggleOptions(),
onUpdateModelValue: (val) => {
draftShowStepTurnRail = val !== 'hide';
@@ -581,6 +624,19 @@ export const SettingsStructureTab = defineComponent({
},
});
const stepSpeedColorToggle = SegmentedControl({
ariaLabel: t('settings.str.stepSpeedColorToggle'),
modelValue: 'off',
options: getEnableToggleOptions(),
onUpdateModelValue: (val) => {
draftShowStepSpeedColor = val !== 'off';
syncStepsSectionMeta();
void persistStructurePatch(stepsSection, {
showStepSpeedColor: draftShowStepSpeedColor,
});
},
});
const stepColumnsList = EditableSlotList({
items: draftStepColumns,
options: getStepColumnOptions(),
@@ -607,16 +663,18 @@ export const SettingsStructureTab = defineComponent({
title: t('settings.str.stepsSection'),
badgeText: t('settings.str.stepsBadge', { count: draftStepColumns.length }),
onReset: () => {
draftShowStepTurnRail = true;
draftShowStepTurnRail = false;
draftShowStepAgentBadge = true;
draftShowStepSpeedColor = false;
draftStepColumns = [...DEFAULT_CLIENT_STEP_COLUMNS];
syncStepsSectionMeta();
props.onLayoutChange?.();
void persistStructurePatch(
stepsSection,
{
showStepTurnRail: true,
showStepTurnRail: false,
showStepAgentBadge: true,
showStepSpeedColor: false,
stepTableColumns: [...DEFAULT_CLIENT_STEP_COLUMNS],
},
'settings.resetDone'
@@ -633,6 +691,10 @@ export const SettingsStructureTab = defineComponent({
stepAgentBadgeLabelEl,
stepAgentBadgeToggle.el,
]),
h('div', { className: 'settings-inline-row' }, [
stepSpeedColorLabelEl,
stepSpeedColorToggle.el,
]),
h('div', { className: 'settings-divider' }),
h('div', { className: 'form-row' }, [stepColsLabelEl, stepColumnsList.el]),
],
@@ -653,6 +715,7 @@ export const SettingsStructureTab = defineComponent({
isMergedMultiAgents: true,
showStepTurnRail: draftShowStepTurnRail,
showStepAgentBadge: draftShowStepAgentBadge,
showStepSpeedColor: draftShowStepSpeedColor,
displaySettings: mockData.settings,
}
);
@@ -667,6 +730,10 @@ export const SettingsStructureTab = defineComponent({
modelValue: draftShowStepAgentBadge ? 'show' : 'hide',
options: getMultiToggleOptions(),
});
stepSpeedColorToggle.setProps({
modelValue: draftShowStepSpeedColor ? 'on' : 'off',
options: getEnableToggleOptions(),
});
stepColumnsList.refs.setProps({
items: draftStepColumns,
options: getStepColumnOptions(),
@@ -674,8 +741,9 @@ export const SettingsStructureTab = defineComponent({
});
stepsSection.refs.setBadge(t('settings.str.stepsBadge', { count: draftStepColumns.length }));
const isDefault =
draftShowStepTurnRail === true &&
draftShowStepTurnRail === false &&
draftShowStepAgentBadge === true &&
draftShowStepSpeedColor === false &&
isSameList(draftStepColumns, DEFAULT_CLIENT_STEP_COLUMNS);
stepsSection.refs.setResetDisabled(isDefault);
refreshStepsPreview();
@@ -737,13 +805,15 @@ export const SettingsStructureTab = defineComponent({
settings.windowMountMode,
settings.enableWindowOverlay
);
draftEnableCliStatusLine = settings.enableCliStatusLine !== false;
draftShowTopbarMulti = settings.showTopbarMultiSession !== false;
draftTopbarSlots = normalizeClientTopbarSlots(settings.topbarCapsuleSlots);
draftHoverModules = normalizeClientHoverModules(settings.hoverModules);
draftOverviewModules = normalizeClientOverviewModules(settings.overviewModules);
draftOverviewMetrics = normalizeClientOverviewMetrics(settings.overviewMetrics);
draftShowStepTurnRail = settings.showStepTurnRail !== false;
draftShowStepTurnRail = settings.showStepTurnRail === true;
draftShowStepAgentBadge = settings.showStepAgentBadge !== false;
draftShowStepSpeedColor = settings.showStepSpeedColor === true;
draftStepColumns = normalizeClientStepColumns(settings.stepTableColumns);
syncMountSectionMeta();
@@ -762,6 +832,7 @@ export const SettingsStructureTab = defineComponent({
mountSection.refs.setResetLabel(t('settings.resetBtn'));
patchText(mountModeLabelEl, t('settings.str.mountMode'));
patchText(multiToggleLabelEl, t('settings.str.multiToggle'));
patchText(cliCapsuleLabelEl, t('settings.str.cliCapsuleToggle'));
patchText(capsuleSlotsLabelEl, t('settings.str.capsuleSlotsLabel'));
hoverSection.refs.setTitle(t('settings.str.hoverSection'));
@@ -778,6 +849,7 @@ export const SettingsStructureTab = defineComponent({
stepsSection.refs.setResetLabel(t('settings.resetBtn'));
patchText(stepTurnRailLabelEl, t('settings.str.stepTurnRailToggle'));
patchText(stepAgentBadgeLabelEl, t('settings.str.stepAgentBadgeToggle'));
patchText(stepSpeedColorLabelEl, t('settings.str.stepSpeedColorToggle'));
patchText(stepColsLabelEl, t('settings.str.stepsColsLabel'));
syncMountSectionMeta();
@@ -823,12 +895,14 @@ export const SettingsStructureTab = defineComponent({
stepTablePreview.destroy();
windowMountSelect.destroy();
multiSessionToggle.destroy();
cliCapsuleToggle.destroy();
topbarSlotsList.destroy();
hoverModulesList.destroy();
overviewModulesList.destroy();
overviewMetricsList.destroy();
stepTurnRailToggle.destroy();
stepAgentBadgeToggle.destroy();
stepSpeedColorToggle.destroy();
stepColumnsList.destroy();
mountSection.destroy();
hoverSection.destroy();
@@ -846,12 +920,14 @@ export const SettingsStructureTab = defineComponent({
stepTablePreview,
windowMountSelect,
multiSessionToggle,
cliCapsuleToggle,
topbarSlotsList,
hoverModulesList,
overviewModulesList,
overviewMetricsList,
stepTurnRailToggle,
stepAgentBadgeToggle,
stepSpeedColorToggle,
stepColumnsList,
mountSection,
hoverSection,