compaction_update, which carries a compactionId and a status of in_progress, completed, failed, or cancelled. Reporting progress is optional. A single update with status: "completed" is enough. An Agent can send the user-displayable summary that the compaction retained in the summary field, or stream it with compaction_summary_chunk. A compaction keeps its position in the session timeline and is part of replay. It does not tell the Client to discard earlier messages.
In ACP v1, Clients opt in with clientCapabilities.session.compaction: {}. In ACP v2, no Client capability is needed.