api/checkpoint: add CompactTranscriptStart marker to session metadata

main

Commit

Soph2mo ago

Add CompactTranscriptStart *int (compact_transcript_start) plus a GetCompactTranscriptStart accessor. transcript.jsonl now stores the full compacted session, so this marks where a checkpoint's slice begins: compactLines[CompactTranscriptStart:].

A pointer is used so "absent" (a legacy checkpoint whose transcript.jsonl holds only its delta, read from line 0) is distinguishable from 0 (a full file whose first checkpoint starts at the beginning).

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: da4c0cb275ab

Checkpoints

Compact Transcript Storage and Boundary Markers

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1