Fix broad query invalidation on checkpoint/captured events

Scope invalidation to only the checkpoint diff query for the newly
captured turn instead of invalidating all provider queries. The
checkpoint/captured event carries a turnCount in its payload, so we
use a predicate to match only the query whose toTurnCount equals the
captured turn. This prevents N unnecessary refetches of immutable
diffs for already-completed turns on each new turn completion.
24c617d32eCursor Agent committed on 2/19/2026, 8:37:06 AM· committed by Julius Marmingeparent22e1a4c
1 file changedLine totals unavailable