Skip to content

RooCode Source

  • VS Code and Cursor global storage for extension rooveterinaryinc.roo-cline: <editor root>/User/globalStorage/rooveterinaryinc.roo-cline/tasks/*/ui_messages.json, where the roots are ~/.config/Code and ~/.config/Cursor on Linux, ~/Library/Application Support/Code and ~/Library/Application Support/Cursor on macOS, and %APPDATA%\Code and %APPDATA%\Cursor on Windows
  • Remote VS Code server storage: ~/.vscode-server/data/User/globalStorage/rooveterinaryinc.roo-cline/tasks/*/ui_messages.json
Terminal window
llm-usage daily --source roocode --roocode-dir /path/to/roocode/tasks

roocode is directory-backed, so generic source directory overrides also work:

Terminal window
llm-usage daily --source-dir roocode=/path/to/roocode/tasks

RooCode shares the Cline task format. The adapter reads ui_messages.json usage payloads, keeps positive USD cost values as explicit cost, and reads the model from sibling api_conversation_history.json.

Since late October 2025 (Roo Code PR #8954) tokensIn is the cache-inclusive prompt count (input plus cacheWrites plus cacheReads). The adapter subtracts the cache buckets whenever tokensIn is at least their sum, so input tokens exclude cache reads and writes as in every other source. Older rows carried the provider’s raw count; those whose count is below the cache buckets cannot be cache-inclusive and are left unchanged.