Since the v2 upgrade, wakatime has been using ~8% CPU on my 9950X. There is an instance of wakatime running every time I open or edit a file, and it seems it will attempt to parse claude transcripts repeatedly, but fail to do so. With 2 claude instances and vscode running, this spawns 3 wakatime instances, each trying to parse this data.
Environment:
- OS: Arch Linux
- Platform: x86_64
Logs:
This is spammed in the log a few thousand times:
{"level":"warn","now":"2026-03-29T01:18:51-04:00","caller":"ai/claude.go:176","func":"github.com/wakatime/wakatime-cli/pkg/ai.Claude.parseTranscript","message":"failed parsing claude transcript line from: "[claude file]": json: cannot unmarshal string into Go struct field claudeLogLine.toolUseResult of type ai.toolUseResult","version":"v2.0.0","os/arch":"linux/amd64","file":"[editor file]","time":1774761416.714,"plugin":"vscode/1.113.0 vscode-wakatime/30.0.0","lineno":5,"is_write":true}
Since the v2 upgrade,
wakatimehas been using ~8% CPU on my 9950X. There is an instance ofwakatimerunning every time I open or edit a file, and it seems it will attempt to parseclaudetranscripts repeatedly, but fail to do so. With 2claudeinstances andvscoderunning, this spawns 3wakatimeinstances, each trying to parse this data.Environment:
Logs:
This is spammed in the log a few thousand times: