messageCap property
gh-1680: the learned per-model per-request message cap, forwarded to
the built AutoCompactor: count ≥ cap − margin fires the
pre-emptive trigger even when the token trigger is untouched (AC4).
Null = token-only behavior, byte-identical to today (AC8).
Implementation
final int? messageCap;