# feat\(orchestration-v2\): show live context usage in the meter \(\#8144\) · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/7b42da140d26e0c9a1026bd03548757dcc1fa6e9)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 7b42da140d26e0c9a1026bd03548757dcc1fa6e9

Requested commit: 7b42da140d26e0c9a1026bd03548757dcc1fa6e9

Commit: 7b42da140d26e0c9a1026bd03548757dcc1fa6e9

Tree: 84723fa48cc482a482c83f574019f229fe05e764

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
feat(orchestration-v2): show live context usage in the meter (#8144)

The v2 context meter could only show token counts after a compaction had
already happened — v2 had no live usage plumbing at all, so main's
compaction-threshold UX was invisible on v2 threads. Provider turns now
carry an optional tokenUsage report: the Codex adapter maps the
app-server's thread/tokenUsage/updated notification (total breakdown +
model context window) onto the active provider turn, ChatView picks the
newest report out of the projection, and the meter prefers it over the
compaction fallback — so usage and remaining-context percentages update
while the turn runs.

Claude's v2 adapter does not report usage yet; its meter falls back to
compaction items as before.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

```

## Parents

- [9e3c8f3c004246076db3b2614fae0707712a29cb](https://git.cafe/pingdotgg/t3code/commit/9e3c8f3c004246076db3b2614fae0707712a29cb?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/7b42da140d26e0c9a1026bd03548757dcc1fa6e9?format=markdown)
