Files
t3code/packages
Theo BrowneandClaude Fable 5 f70a4e59ab Show live per-thread progress, timing, and token usage while reviewing
The in-progress view was a spinner and a counter, which wasted the most
interesting moment of a multi-minute sweep. It now shows a progress bar
plus a live list of every thread being reviewed — running ones first —
with project favicon, a per-thread elapsed clock that ticks while the
review runs, and the tokens and cost each review actually consumed.
The header aggregates run totals.

Usage is real, not estimated: the Claude CLI's `--output-format json`
envelope already reports `usage` and `total_cost_usd`, so
runClaudeJson now surfaces them through an optional onUsage sink,
generateThreadReview attaches them to its result, and the review RPC
returns them as an optional `usage` field. Input counts fold in
cache-creation and cache-read tokens so the number matches billing.
Providers that report nothing simply omit the field.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-26 23:02:27 -07:00
..