refactor(pi): report context usage on provider turns

The base branch now carries live context usage on provider turns
(tokenUsage, #8144) and the web meter reads it from the projection. Pi
kept a second owner for the same data: a contextUsage snapshot on the
provider thread, refreshed after terminalization and invalidated by hand
on rollback.

Read Pi's session stats while the turn settles and attach them to the
completed provider turn instead, then drop the provider-thread field and
its generation bookkeeping. A turn without usable stats simply carries no
report, so the meter keeps the last reported turn without adapter-side
retention logic.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
530c68c165Wout Stiens committed on 9/1/2026, 5:43:11 AMparent8454e66
5 files changedLine totals unavailable