Cline Source
Default location
Section titled “Default location”- VS Code and Cursor global storage for extension
saoudrizwan.claude-dev:<editor root>/User/globalStorage/saoudrizwan.claude-dev/tasks/*/ui_messages.json, where the roots are~/.config/Codeand~/.config/Cursoron Linux,~/Library/Application Support/Codeand~/Library/Application Support/Cursoron macOS, and%APPDATA%\Codeand%APPDATA%\Cursoron Windows - Remote VS Code server storage:
~/.vscode-server/data/User/globalStorage/saoudrizwan.claude-dev/tasks/*/ui_messages.json
Override
Section titled “Override”llm-usage daily --source cline --cline-dir /path/to/cline/taskscline is directory-backed, so generic source directory overrides also work:
llm-usage daily --source-dir cline=/path/to/cline/tasksParsing notes
Section titled “Parsing notes”The adapter reads task ui_messages.json arrays and counts say: "api_req_started" entries. The nested JSON payload maps tokensIn, tokensOut, cacheReads, cacheWrites, and positive cost values into normalized usage. Cline writes the provider’s raw input count in tokensIn, so it maps straight to input tokens (unlike Roo Code and Kilo Code, whose cache-inclusive count is split). Model names are read from the sibling api_conversation_history.json file.