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',