mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-02 02:13:49 +00:00
The run detail tab, route, query hook, and query key say usage. Every read of input_tokens, output_tokens, total_tokens, reasoning_tokens, cache_read_tokens, cache_write_tokens, and total_usd_micros moves to usage.tokens and usage.cost, with lib/usage.ts replacing lib/billing.ts: totalTokens sums the five buckets, and costSourceTag names a cost that the provider reported or that was summed from differently sourced parts. The Usage tab and the stage popover show that tag next to such a cost. Test fixtures build a Usage through makeUsage; the failing set of the web tests is unchanged from main (the same 13 environment failures). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| data | ||
| hooks | ||
| layouts | ||
| lib | ||
| routes | ||
| app.css | ||
| entry.tsx | ||
| install-api.test.ts | ||
| install-api.ts | ||
| install-app.test.tsx | ||
| install-app.tsx | ||
| install-config.test.ts | ||
| install-config.ts | ||
| install-flow.test.ts | ||
| install-flow.ts | ||
| install-query.ts | ||
| install-router.test.tsx | ||
| install-router.tsx | ||
| mode.test.ts | ||
| mode.ts | ||
| root.tsx | ||
| router.test.tsx | ||
| router.tsx | ||