Skip to content

fix(desktop): keep replayed turns in the sidebar across reloads - #4298

Merged
LHagfoss merged 1 commit into
mainfrom
fix/desktop-replayed-sidebar-turns
Nov 24, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
fix/desktop-replayed-sidebar-turns

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

Summary

  • Reconstruct finished turns and their item slices in turnEntries and turnItemsByEnd when a replayed transcript (from session/load, offline cache/mirror, or an external harness) has no turnEnd footer rows, while keeping a live trailing turn open until it finishes.
  • Pass the thread's running/loading state into TurnsSection (ThreadDetails.tsx), ExecutionLogSection (OverviewLog.tsx), and Transcript.tsx so earlier replayed turns stay listed across restarts, machine reconnects, and new turns.
  • Preserve pendingTurn when a replayed cancelled turn sends its timing on an empty agent_message_chunk.

Changelog

Keep a thread's turns listed in the right sidebar after restarting the app or reloading the thread.

@github-actions github-actions Bot added the fix A bug fix label Nov 24, 2026
@LHagfoss
LHagfoss merged commit 3c95e26 into main Nov 24, 2026
10 checks passed
@LHagfoss
LHagfoss deleted the fix/desktop-replayed-sidebar-turns branch November 24, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants