mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
* feat(sessions): explain why one session cost what it did `codeburn sessions --id <id> --why` reads one Claude Code transcript on demand and returns where the money went: a verdict, findings ranked by dollars, spend by prompt with helper (sub-agent) cost stacked, and every prompt's model calls and tool steps with timing, cost parts and step detail. Money comes from the parser's own dedupe, turn grouping and calculateCost, so the session total matches its `sessions` row. The desktop app opens this as a focused session view when a Claude Code session is clicked. Transcript content is read on demand only: never cached, never routed through serve's output memo, never synced or sent in telemetry. * fix(sessions): audit fixes for the session cost view Recovery after a failed step stays inside its prompt; neutral note when the view and the row differ (forked/resumed transcripts); starting-context estimate compares against the cached prefix; local dates with the end date when the session spans days; idle gaps that end with a helper reporting back say so; savings are the difference of the shown figures; singular counts; more secret patterns (sk_live_/sk_test_, aws_secret_access_key, URL credentials); a note when the prompt count differs from the row's turns. |
||
|---|---|---|
| .. | ||
| quota | ||
| cli-win32-reap.test.ts | ||
| cli-win32-tree-kill.test.ts | ||
| cli.test.ts | ||
| cli.ts | ||
| mac-menubar.test.ts | ||
| mac-menubar.ts | ||
| main.test.ts | ||
| main.ts | ||
| menubar.test.ts | ||
| menubar.ts | ||
| optimize-store.test.ts | ||
| optimize-store.ts | ||
| preload.ts | ||
| telemetry.test.ts | ||
| telemetry.ts | ||
| tray-settings-atomic.test.ts | ||
| tray-settings-lock.test.ts | ||
| tray-settings.test.ts | ||
| tray-settings.ts | ||
| updates.test.ts | ||
| updates.ts | ||