feat(panel): add conversation turn rail, prompt preview, and decoupled step toggles

- Track user input turn boundaries and prompt previews in extractModelSteps while stripping compaction summary headers
- Align interleaved main and subagent steps onto unified rootTurnIndex in telemetry-builder and scope lazy cache refresh to the active session family
- Render dynamic left-edge turn rail and viewport-clamped prompt tooltip in StepsDetailView across arbitrary custom column orders
- Decouple [主]/[子] agent badges from step index and add independent switches for Turn Rail and Agent Badge under Preferences -> Structure

Co-authored-by: Swei <sweilo@qq.com>
This commit is contained in:
fish
2026-11-15 16:55:26 +09:00
co-authored by Swei
parent f2a68c6d82
commit 228031e335
17 changed files with 1350 additions and 54 deletions
+5 -1
View File
@@ -257,10 +257,12 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'steps.modelSplitFoot': 'In {inTok} · Cache {cacheTok} · Think {thinkTok} · Out {respTok}',
'steps.fitActiveCardTitle': '{title} (Active in Trend Fit; Ctrl/Shift-click to compare)',
'steps.fitInactiveCardTitle': 'Click to inspect {text} in Trend Fit (Ctrl/Shift-click to compare)',
'steps.turnMediaOnly': '[Media Attachment]',
'steps.turnMediaSuffix': '[Media]',
// Step Table Columns (Headers & Option Labels)
'stepCol.step.th': 'Step',
'stepCol.step.opt': 'Step & Agent',
'stepCol.step.opt': 'Step Number (#)',
'stepCol.time.th': 'Time',
'stepCol.time.opt': 'Timestamp (HH:mm:ss)',
'stepCol.model.th': 'Model',
@@ -423,6 +425,8 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.str.addOverviewMetric': 'Add Metric ({count}/{max})',
'settings.str.stepsSection': 'Step Table Columns',
'settings.str.stepsBadge': '{count} cols',
'settings.str.stepTurnRailToggle': 'Turn Rail & Preview',
'settings.str.stepAgentBadgeToggle': 'Main/Sub Agent Badge',
'settings.str.stepsColsLabel': '"Steps" Visible Columns (Left → Right, min 2)',
'settings.str.addStepCol': 'Add Column ({count}/{max})',
'settings.slot.moveUp': 'Move earlier',
+5 -1
View File
@@ -257,10 +257,12 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'steps.modelSplitFoot': '入 {inTok} · 缓 {cacheTok} · 思 {thinkTok} · 正 {respTok}',
'steps.fitActiveCardTitle': '{title}(已纳入上方趋势拟合,按住 Ctrl/Shift 点击可多选对比)',
'steps.fitInactiveCardTitle': '点击在上方拟合图查看 {text}(按住 Ctrl/Shift 点击可多选同图对比)',
'steps.turnMediaOnly': '[图片/附件提问]',
'steps.turnMediaSuffix': '[附图]',
// Step Table Columns (Headers & Option Labels)
'stepCol.step.th': '步序',
'stepCol.step.opt': '步序与代理',
'stepCol.step.opt': '调用步序 (#)',
'stepCol.time.th': '时间',
'stepCol.time.opt': '调用时间 (HH:mm:ss)',
'stepCol.model.th': '模型',
@@ -423,6 +425,8 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'settings.str.addOverviewMetric': '添加指标 ({count}/{max})',
'settings.str.stepsSection': '调用明细字段',
'settings.str.stepsBadge': '{count} 列',
'settings.str.stepTurnRailToggle': '对话轮次导轨',
'settings.str.stepAgentBadgeToggle': '主/子代理标识',
'settings.str.stepsColsLabel': '「按步查看」显示列 (左 → 右,至少 2 列)',
'settings.str.addStepCol': '添加字段 ({count}/{max})',
'settings.slot.moveUp': '前移',