diff --git a/apps/web/src/components/chat/MessagesTimeline.tsx b/apps/web/src/components/chat/MessagesTimeline.tsx index 4db17a233c..f3e462f7fe 100644 --- a/apps/web/src/components/chat/MessagesTimeline.tsx +++ b/apps/web/src/components/chat/MessagesTimeline.tsx @@ -147,25 +147,11 @@ export const MessagesTimeline = memo(function MessagesTimeline({ } if (timelineEntry.kind === "work") { - if (timelineEntry.entry.display === "timeline-marker") { - nextRows.push({ - kind: "work", - id: timelineEntry.id, - createdAt: timelineEntry.createdAt, - groupedEntries: [timelineEntry.entry], - }); - continue; - } const groupedEntries = [timelineEntry.entry]; let cursor = index + 1; while (cursor < timelineEntries.length) { const nextEntry = timelineEntries[cursor]; - if ( - !nextEntry || - nextEntry.kind !== "work" || - nextEntry.entry.display === "timeline-marker" - ) - break; + if (!nextEntry || nextEntry.kind !== "work") break; groupedEntries.push(nextEntry.entry); cursor += 1; } @@ -328,21 +314,6 @@ export const MessagesTimeline = memo(function MessagesTimeline({ (() => { const groupId = row.id; const groupedEntries = row.groupedEntries; - const markerEntry = - groupedEntries.length === 1 && groupedEntries[0]?.display === "timeline-marker" - ? groupedEntries[0] - : null; - if (markerEntry) { - return ( -
- - - {markerEntry.label} - - -
- ); - } const isExpanded = expandedWorkGroups[groupId] ?? false; const hasOverflow = groupedEntries.length > MAX_VISIBLE_WORK_LOG_ENTRIES; const visibleEntries = diff --git a/apps/web/src/session-logic.ts b/apps/web/src/session-logic.ts index 47de2415ce..83a95d6313 100644 --- a/apps/web/src/session-logic.ts +++ b/apps/web/src/session-logic.ts @@ -40,7 +40,6 @@ export interface WorkLogEntry { command?: string; changedFiles?: ReadonlyArray; tone: "thinking" | "tool" | "info" | "error"; - display?: "timeline-marker"; toolTitle?: string; itemType?: ToolLifecycleItemType; requestKind?: PendingApproval["requestKind"]; @@ -523,9 +522,6 @@ function toDerivedWorkLogEntry(activity: OrchestrationThreadActivity): DerivedWo if (requestKind) { entry.requestKind = requestKind; } - if (activity.kind === "context-compaction") { - entry.display = "timeline-marker"; - } const collapseKey = deriveToolLifecycleCollapseKey(entry); if (collapseKey) { entry.collapseKey = collapseKey;