Roo-Code/src
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
..
__mocks__ feature: add toggle for disable mcp server tool from prompt (#3551) 2025-06-20 19:14:59 -04:00
__tests__ Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
activate fix: identify mcp and slash command config path in multiple folder workspace (#6904) 2025-09-05 14:52:48 -04:00
api fix: preserve context by retrying with full conversation on invalid previous_response_id (#7714) 2025-09-05 16:09:14 -04:00
assets PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
core fix: implement persistent multi-model cost tracking (#7755) 2025-09-07 14:07:46 +00:00
extension Focus the extension when receiving bridge commands (#7633) 2025-09-03 12:23:50 -07:00
i18n fix: add error transform to cryptic openAI SDK errors when API key is invalid (#7586) 2025-09-04 23:12:28 -04:00
integrations fix: identify mcp and slash command config path in multiple folder workspace (#6904) 2025-09-05 14:52:48 -04:00
services feat(checkpoints): create checkpoint when user sends a message (#7713) 2025-09-05 18:07:59 -04:00
shared fix: implement persistent multi-model cost tracking (#7755) 2025-09-07 14:07:46 +00:00
utils fix: handle array paths from VSCode terminal profiles (#7697) 2025-09-05 11:41:00 -07:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
.gitignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.prettierignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.vscodeignore debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
esbuild.mjs Revert "fix: optimize README for VS Code marketplace to prevent UI freezing" (#6303) 2025-07-28 14:31:01 -04:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts Focus the extension when receiving bridge commands (#7633) 2025-09-03 12:23:50 -07:00
package.json Changeset version bump (#7716) 2025-09-05 18:20:26 -04:00
package.nls.ca.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.de.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.es.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.fr.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.hi.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.id.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.it.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.ja.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.ko.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.nl.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.pl.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.pt-BR.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.ru.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.tr.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.vi.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.zh-CN.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04:00
package.nls.zh-TW.json feat: add configurable embedding batch size for code indexing (#7464) 2025-09-01 21:36:56 -04: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
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