Cursor Usage Tracker (Extension)

@caio-swdev Hey can you test the latest version? I added the wsl path, it should work and hopefully the status bar will come back on ubuntu.

Sure. Just tested on WSL, the icon is still missing in the status bar, same on ubuntu.

Tested version:
[1.0.4] - 2025-02-02

1 Like

Hey, if anyone here is using a Mac and is having problems, could you try the pre-release version?

Tried the pre-release on Mac and it worked after I got my session token from the browser cookie. :+1:

1 Like

Thanks for testing the extension, but how were you able to add the cookie manually? I didn’t add such an option, the extension should automatically pull the cookie from the sqlite database.

@dragonfire1119 can you try the new beta version I would appreciate your feedback.

@caio-swdev can you try the new beta I have changed the sqlite3 library I might be solved the problems cursor-stats/cursor-stats-1.0.5-beta.4.vsix at master · Dwtexe/cursor-stats · GitHub

Sure. I dont see it in the status bar yet.
Tested in 2 machines: win 11 wsl, ubuntu 24.
Tested extension version [1.0.5-beta.3] - 2024-02-14.

I see on comments ppl had success installing it on mac, I wonder if anyone else using ubuntu or win11 tested it.

I have made a PR with an update to support macOS! :slight_smile: It works for me, thanks for the plugin

2 Likes

I believe it will now work on all platforms and many improvements and innovations have been added.

Please try and share your experience with me and if there are bugs, I will fix them as soon as possible.


Settings

UI

2 Likes

works on my mac :raised_hands: thanks for making the extension

1 Like

Version ## [1.0.6] - 2025-02-06

Nice! Tested in Ubuntu 24, success! Thank you.

Tested in Win11 WSL is says “no token found”
image

can you find the state.vscdb location on the wsl and share to me? Probably I am having issues about that.

Sure. I found it here:
C:\Users\Caio\AppData\Roaming\Cursor\User\globalStorage\state.vscdb

this is windows path I need the wsl path

I just want to clarify something, as there might be a potential misinterpretation.

“In Windows 11 WSL, VS Code is installed on Windows, not inside WSL. However, VS Code can seamlessly integrate with WSL using the “Remote - WSL” extension. This allows you to open and work on WSL files as if they were local.”

hey can you try the beta:

Tested, it is still the same.

I can look the source code to see I can help further.
I have never touched vscode extension development though.

okey you can look at it GitHub - Dwtexe/cursor-stats: A Cursor extension that displays your Cursor Subscription usage statistics in the status bar.

also I will setup wsl on my pc to investigate(I am on w10)

Yeah, I thought of trying to figure it out because I have one machine with the environment (windows) we are discussing, it may be easier to debug.
I’ve downloaded source code and start debugging the issue.

1 Like