Add context compaction markers (#58089)

Adds the flat context compaction marker data model and replays persisted
markers into native agent transcripts as static dividers. This lets
compacted thread boundaries deserialize, render, and export to Markdown
without enabling automatic compaction behavior yet.

Release Notes:

- Improved agent threads to show restored context compaction dividers in
conversations
b259b346bfRichard Feldman committed on 6/1/2026, 2:29:15 PM· committed by GitHubparent4fe71ff
7 files changedLine totals unavailable