Show a resumed session's earlier messages #4
Loading…
Reference in a new issue
No description provided.
Delete branch "ATC-3-resume-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR 1 of 5 toward every Claude launcher opening at-claude from one setting (ATC-6). This one is ATC-3:
-resumenow shows the session's earlier conversation, read from the file Claude Code saved it to, before anything new. It has to land first, because later PRs send Ctrl+Shift+T, session restore and the Chrome relaunch through at-claude, and without it those windows would come back empty.Changed:
internal/claudefinds and reads the saved session (meta and subagent lines left out, notifications and compaction shown as notices), and the transcript replays it, closing an interrupted tool call instead of letting it hold back the rest. Checked on a throwaway server: a resumed recorded session shows its two turns, and a third message lands after them; an unknown id says why nothing could be shown. The largest real session (281 MB) reads and draws in about 2.7 s.