conversationWindow property
What is left of window after the host's fixed request overhead (system prompt / tool instructions). The CLI carries none (0); the app subtracts its measured on-device overhead. This — not window — is what the compaction thresholds are scaled to and gated on.
Implementation
final int conversationWindow;