[FEATURE] Allow for limited memory across sessions
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
In the regular web based Claude, conversations are persisted. You can close the browser and come back in. Open the conversation and go.
With Claude Code, there is no concept of a persisted conversation. Everything is a session. The problem with this is that VS Code can be a little volatile. ESPECIALLY with Maui development. I'm constantly having to reload my solution. That, of course, loses whatever context I had going with Claude Code. I have to bring it back up to speed, show it files, etc.
Proposed Solution
I get that it could be difficult to persist conversations in the same way that you do with online Claude, but it would be amazing if there could be a memory cache that can survive sessions. It could be limited in size (rolling) so that it doesn't remember a ton of stuff. It could also be user deletable. I tell it to reset, and it resets.
This would allow users to pick up where they left off. Or, if they want to talk about something new, they could ask Claude Code to start a new conversation. Poof. Everything is gone.
Alternative Solutions
Of course, you can constantly update Claude.md with what you are working on, but that isn't very user friendly. I could also have it maintain a temporary file that I could have it read when I restart, but that also requires me to remember to do it. If I'm troubleshooting an issue, I'm going to forget to do that.
Basically, the only alternatives I've thought about are manual on my part.
Priority
High - Significant impact on productivity
Feature Category
Other
Use Case Example
I would use this feature every single day.
I'm working with Claude Code on an issue. I type something wrong in the XAML editor and it crashes (happens multiple times per day). I have to reload the solution to make it not be crazy anymore. And... Claude Code remembers nothing that happened.
Additional Context
Basically, we're talking about emulating what online Claude does. To a limited degree, anyways.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗