Built a Cursor Extension to save and share chat and composer history

The team and I over at SpecStory are huge fans of and avid Cursor users. We all use it daily.

Many have indicated on the forums and elsewhere that having persistent access to the chat and composer history in your project folder + elsewhere would be a big unlock. We agree!

We built an extension that works with Cursor Version: 0.43.6 that allows you to easily save your history to a markdown file that you can locally version and render + share with others if you’d like.

Install it from Visual Studio Marketplace and let us know what you think. We’re rapidly iterating!

Oh, btw, it’s free!


Two commands:

Save your composer history and chat history from your active project to a local markdown file by opening the command palette and running SpecStory: Save Composer and Chat History

never_lose_your_composer_chat_history

Share your composer and chat history with others by opening the command palette and running SpecStory: Share Composer and Chat History. You’ll get an anonymous link rendered on the web.

14 Likes

Does it work with remote/virtual workspaces?

Unless I am missing something. Only the current chat/ composer can be saved. Would be handy to be able to see the list of all workspaces and find a specific chat or composer

Hi @mrmaarten – in our latest version which we recommend you get from here: Install the extension - SpecStory we introduced a “pick list” to find a specific chat / composer. This is still going to be mapped to the workspace you’re in.

Hi @gregce, thank you very much! Is there any easy way for me to keep the extension up to date?

may you please create an interactive interface for managing the composer logs - please see what I have been doing with SpecStory and other auto-documentation efforts to wrangle Composer agents ai-mnesia…

its going… interstingly (but yolo is fantastic)

Does this work for windows/wsl? Having some issues “failed to read composer data from global storage: Error: ENOENT” etc following the path, there is no state file there.

1 Like

Gabriel, yes, we are working to actually include an auto-updater in the extension itself because the cursor marketplace doesn’t stay in sync with Visual Code marketplace.

Are you on 0.2.3 of the extension @richiedhubbard88 ?

Would it be possible to post your details here: 'No workspace open' error · Issue #4 · specstoryai/getspecstory · GitHub?

Godsend. thank you for making this. I have so much insight in my composer chats, and it contains the methodologies i used to gain it! I use Cursor for more than just coding, being able to build contexts into magical structures, has been… magical!

:pray: :palms_up_together: :handshake:

2 Likes

:wave: SpecStory founder here. Glad this has been helpful, and hoping to make it even more so. We just released version 0.2.6 which fixes two major bugs:

  • Remote dev workspaces - WSL, devcontainers, and remote ssh folders are now supported.
  • Agent mode - it now outputs more details from Agent mode composer sessions, like code and commands. There’s still more we want to do here, including showing the code diffs, the command outputs, and the linting results.

Instructions for installing the latest are in the docs.

We’ll keep working to make it better based on all the feedback.

1 Like

I followed the install instructions. Arch linux.

Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Linux x64 6.12.7-arch1-1

I get this error when I first run the command SpecStory: Save ...


Eventually this pops up. I click [OK]:


And then this error:


I’m not interesting in sharing my chat history:

image

But I wanted to test and share:

image


I am most interested in the generated markdown file, but it’s just not working for me.

I’m happy to share any other information you need :+1:

Thanks, @jjaimealeman for the bug report and I’m sorry you’re having trouble. I’ve added this to Failed to read composer data from global storage: Error: database disk image is malformed · Issue #11 · specstoryai/getspecstory · GitHub where we’re tracking this bug. If you’re willing to hop on a screenshare, please drop a note to support@specstory.com and we’ll get some time setup that’s convenient for you.

Sure thing.

Feel free to DM.

1 Like

thank you so much for creating this… does any data pass through your servers? I have no interest in sharing anything, and I’m concerned I might accidentally do that. Just want a quick, easy, secure and private way of saving

thank u

@wm9 glad it’s helpful. If you use “SpecStory: Save” none of your Cursor history passes through our servers.

If you use “SpecStory: Share” your history is stored on our servers.

Also, the extension does have pseudo anonymous usage tracking which logs activities but does not log Cursor History, but you can disable that via the setting “SpecStory: Help Us Improve”.

The newest version of SpecStory has an auto-save feature

would love to get this working but I have never gotten this to work with any of the versions… :frowning:


[Extension Host] Failed to parse capability data: SyntaxError: "undefined" is not valid JSON
    at JSON.parse (<anonymous>)
    at Ec (/Users/salaciouscarrot/.cursor/extensions/specstory.specstory-vscode-0.4.0/dist/extension.js:179:309)
    at /Users/salaciouscarrot/.cursor/extensions/specstory.specstory-vscode-0.4.0/dist/extension.js:179:564
    at Array.map (<anonymous>)
    at Tc (/Users/salaciouscarrot/.cursor/extensions/specstory.specstory-vscode-0.4.0/dist/extension.js:179:557)
    at zn (/Users/salaciouscarrot/.cursor/extensions/specstory.specstory-vscode-0.4.0/dist/extension.js:179:702)
    at Array.map (<anonymous>)
    at Et.renderToMarkdown (/Users/salaciouscarrot/.cursor/extensions/specstory.specstory-vscode-0.4.0/dist/extension.js:193:696)
    at Ya.checkForChanges (/Users/salaciouscarrot/.cursor/extensions/specstory.specstory-vscode-0.4.0/dist/extension.js:245:2305)

Version: 0.44.11
VSCode Version: 1.93.1
Commit: fe574d0820377383143b2ea26aa6ae28b3425220
Date: 2025-01-03T07:59:06.361Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.2.0

Opened an issue for you. If you would be so kind to either jump on SalaciousCarrot: Extension Host] Failed to parse capability data: SyntaxError: "undefined" is not valid JSON · Issue #24 · specstoryai/getspecstory · GitHub or either join our slack community directly we could probably better help you out. Much appreciated!