- Go to workspaceStorage. (On Windows,
cd %APPDATA%\Cursor\User\workspaceStorage
) - You will see a list of folders whose names are md5 hashes. Open each of them.
datasette state.vscdb
- Visit “http://localhost:8001/state?” in a browser and enter this query:
SELECT
rowid,
[key],
value
FROM
ItemTable
WHERE
[key] IN (‘aiService.prompts’, ‘workbench.panel.aichat.view.aichat.chatdata’)
- Parse the json based on your use case.