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

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

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

Visibility: public

Requested revision: c1e2f1d1c9598767b86c4212804ebe17b05bffa5

Requested commit: c1e2f1d1c9598767b86c4212804ebe17b05bffa5

Commit: c1e2f1d1c9598767b86c4212804ebe17b05bffa5

Tree: 4e7fe50f88a9ceaab433ce3258f60b31b365f05b

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

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

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