Roo-Code/webview-ui
Roo Code 2b5146611e fix: implement persistent multi-model cost tracking (#7755)
- Add CostLedger class with Write-Ahead Logging (WAL) for crash-safe persistence
- Integrate cost tracking into Task streaming loop to capture costs after each API call
- Preserve cost ledger instance when switching models in ClineProvider
- Update UI components to display ledger data instead of recalculated metrics
- Add comprehensive unit tests for CostLedger functionality

This ensures accurate cumulative cost tracking across model switches,
fixing the issue where costs were incorrectly recalculated based on
the current model pricing instead of preserving actual historical costs.
2025-09-07 14:07:46 +00:00
..
audio feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-20 01:15:05 -04:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src fix: implement persistent multi-model cost tracking (#7755) 2025-09-07 14:07:46 +00:00
.gitignore PR cleanup 2025-03-12 11:23:06 -04:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
eslint.config.mjs Preserve model settings when selecting a specific OpenRouter provider (#3915) 2025-05-23 23:22:41 -07:00
index.html Fix linter warning + run prettier on everything (#3581) 2025-05-13 15:16:24 -07:00
package.json Fix webview in dev mode (#7044) 2025-08-13 01:40:00 -07:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vite.config.ts Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00