agent: Respect compaction boundaries in request windows (#58241)

Agent request construction now honors persisted compaction markers by
rebuilding the model-visible window from the latest boundary, retaining
recent user context for summary compactions, and treating
provider-native compactions as suffix-only until native replay lands.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
b9892c593fRichard Feldman committed on 6/1/2026, 4:00:38 PM· committed by GitHubparent513e2b2
1 file changedLine totals unavailable