Repository navigation
Cursor 3.32 started encrypting the session token on disk. It's rolled out per account, so one day neocursor simply goes quiet: no error, the ghost text never shows up. :NeocursorDebug would have shown CppConfig empty, and every reply came back with zero edits.
This release reads the encrypted token. If you're on Cursor 3.32 or newer, update.
What you'll notice
| Platform | What happens |
|---|---|
| macOS | On each Neovim start, macOS asks whether security may read Cursor Safe Storage. Choose Allow. Always Allow stops the prompts, but then any program running as you can read that key without asking. What it grants, and how to undo it. |
| Windows | Nothing. The key is protected by DPAPI for your Windows user. |
| Linux | With GNOME Keyring or KWallet running, Cursor encrypts, and you need secret-tool (libsecret-tools) or kwallet-query. Without a keyring Cursor keeps the token plain and nothing changes. |
The sidecar now needs the Python cryptography package, which the default sidecar_cmd pulls in. If you override sidecar_cmd, add "--with", "cryptography". Without it, a plain token still works and an encrypted one fails with a message that names the package.
Which Cursor?
Every bug report starts with that question, and until now nothing answered it. :NeocursorDebug now does:
cursor : 3.32.25 token=encrypted v10
Startup errors include it too. docs/compatibility.md records the Cursor build each release was tested on, back to v0.1.0 (3.12.30). This release was tested live on Cursor 3.32.25.
Also in this release
filter+hide()(#15): hold suggestions back while a completion menu is open, without counting as a rejection, so blink.cmp or nvim-cmp can't push the plugin into Cursor's mute threshold.hint_keys(#16): if you accept with<C-y>, the hints say<C-y>instead of<Tab>.- Restarting works (#17): after
stop()+setup(), the old sidecar's late exit no longer kills the new one or shows a false "exited during startup" error. - A suggestion never outlives insert mode (#13).
'undolevels'no longer leaks into the global option when you accept (#12).
How the token decoding was tested
- macOS: a real encrypted token, live against Cursor's backend
- Linux: ciphertexts sealed by real Electron 43.8.9 (the one Cursor 3.32.25 ships), decrypted through the real keyring (
test/safestorage_linux.sh), plus a live request from Linux - Windows: real DPAPI on the CI runner, end to end
Thanks to @1A7432 for #14, #15 and #16, and for spotting the restart race, and to @boazy for #12.