saoudrizwan / claude-dev

Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.
https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev
MIT License
2.51k stars 241 forks source link

Adding memory #2

Closed SamPink closed 3 weeks ago

SamPink commented 1 month ago

First of all this is amazing!

one thing that would be good though is if it had a chat history, i say this because i keep losing the task when im creating something.

Similar to this, it would also be good for this to work on existing projects

saoudrizwan commented 1 month ago

one thing that would be good though is if it had a chat history, i say this because i keep losing the task when im creating something.

Task history is on the roadmap!

Similar to this, it would also be good for this to work on existing projects

You can open Claude Dev in an existing workspace, and it will attempt to complete its tasks within that directory. First it will request permission to view the directory's contents and after examining filenames and extensions, it will determine the type of project (language, frameworks, conventions, etc.) It may also request access to key files, such as the manifest (e.g., package.json), to gain further insight.

However there's a lot of room for improvement here, and I'm currently looking into smarter approaches to analyzing complex projects i.e. through semantic elements within your source code, like symbols and doc comments.

Stay tuned for future updates, and thank you for your feedback!

aizenshtat commented 1 month ago

this VSCode extension is unreal! thanks for your work! I like how easy it is to install it. Do you have the roadmap outlined somewhere? I hope it will become something bigger than just a submission for the Claude competition. LMK if I can help contribute.

saoudrizwan commented 1 month ago

@aizenshtat thank you for the kind words! I'll update the README at some point with upcoming features, right now the "roadmap" is just a todo list of fixing bugs/implementing the most requested features. And yes I'd love your help, I will let you know once the repo is in a better state to accept PRs.

DaveSanders commented 1 month ago

I ran into this issue today when I decided to move the claude dev panel to the other side of VSC and lost my chat history.

One trick I'm trying this morning is that I'm using an instructions.md file to maintain the project info and instructions, and at the top of that file I told claude: "As we work through this project, there is a file called progress.md that you have access to. I want you to record all current tasks, past decisions, and next steps in this file as we go along, that way we can pick back up if something happens and I need to restart the tools."

So far, that seems to be working - at least, I'll be able to tell it to review these two MD files when I need to restart a session and maybe give it a leg up.

saoudrizwan commented 3 weeks ago

v1.0.6 now has the ability to export tasks to markdown. This can be useful as context for future conversations, and you have the freedom to strip out anything irrelevant or summarize certain sections to keep token count low.

v1.0.4 also brought a new analyze_project capability which allows Claude to get a comprehensive overview of your project's source code definitions and file structure.

saoudrizwan commented 1 week ago

v1.3.4 now has task history 🎉 claude dev automatically saves your tasks so you can resume them whenever you'd like!