Skip to content

Conversation

@napter
Copy link
Contributor

@napter napter commented Jan 22, 2025

Description

When working in many projects, finding past conversations that relate to the current project can be cumbersome.

This adds a workspace option, where users can specify a folder to automatically save their current conversations.

In addition to making it easier to find conversations, a local history of conversations means you can ask Roo to review previous conversations for context in a new task.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • [ x ] New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • [x ] My code follows the patterns of this project
  • [ x] I have performed a self-review of my own code
  • [ x] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Additional context

image
image

Related Issues

Reviewers


Important

Adds a feature to save conversations to a specified local folder, with UI and backend support, and includes tests for the new functionality.

  • Behavior:
    • Adds conversationSaveFolder setting to save conversations locally in Cline.ts and ClineProvider.ts.
    • Implements ConversationSaver class in conversation-saver/index.ts to handle saving and updating conversations.
    • Updates SettingsView.tsx to include UI for setting conversation save folder.
  • Testing:
    • Adds tests for ConversationSaver in conversation-saver/__tests__/index.test.ts.
    • Updates extension.test.ts to ensure new feature integration.
  • Misc:
    • Updates package.json to reflect changes.
    • Adjusts ExtensionStateContext.tsx to manage new state for conversation saving.

This description was created by Ellipsis for c70faf0a2d31de4ccada0e221c1e709532691f20. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2025

⚠️ No Changeset found

Latest commit: 42eb136

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@napter napter force-pushed the local-conversation-saver branch 5 times, most recently from c39d85b to c90cbd3 Compare January 26, 2025 19:13
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we should be checking in these documentation files? My instinct is no, but curious to hear your thoughts.

@napter napter force-pushed the local-conversation-saver branch 2 times, most recently from ec3b423 to 7bb587a Compare January 29, 2025 20:28
@EricTheMagician
Copy link

EricTheMagician commented Jan 31, 2025

I ssh into a remote machine from different computers and roo saves the conversation locally to the computer that I'm connected from. It currently makes it impossible to switch task between computers unless I manually copy over the task history.

This would rally help me a lot!
Thank you!

@napter napter force-pushed the local-conversation-saver branch from 7bb587a to 1e2432b Compare January 31, 2025 23:10
@napter napter requested a review from cte as a code owner January 31, 2025 23:10
@napter napter force-pushed the local-conversation-saver branch from 1e2432b to 42eb136 Compare January 31, 2025 23:11
@hannesrudolph hannesrudolph moved this to To triage in Roo Code Roadmap Mar 5, 2025
@hannesrudolph hannesrudolph moved this from To triage to PR - Needs Approval in Roo Code Roadmap Mar 6, 2025
@mrubens mrubens moved this from PR [Unverified] to PR [Deferred] in Roo Code Roadmap Mar 10, 2025
@cexer
Copy link

cexer commented Mar 15, 2025

This feature is very practical. I 'm keeping cherry picking this and packaging by myself, but there are more and more conflicts with the latest main branch. please solve these conflicts with the main branch.

@cexer
Copy link

cexer commented Mar 15, 2025

@mrubens Can we merge this feature? It feels more reasonable that the task is saved relate to the project?

@absahad
Copy link

absahad commented Apr 13, 2025

💡 If you want to keep your Roo AI chats organized by project, the best way is to create separate VS Code profiles for each project. Then, install the Roo extension in each profile. This way, each project has its own isolated environment and chat history, making it much easier to manage conversations and context. Super helpful when juggling multiple projects! 🙌

@mrubens
Copy link
Collaborator

mrubens commented Apr 13, 2025

We merged a feature into main that defaults to only showing chat history from the current workspace - will go out in the next release and I think should cover this.

@hannesrudolph
Copy link
Collaborator

@mrubens so is this already dealt with through another PR?

@cte
Copy link
Collaborator

cte commented May 5, 2025

@mrubens so is this already dealt with through another PR?

#1941

@cte cte closed this May 5, 2025
@github-project-automation github-project-automation bot moved this from PR [Deferred] to Done in Roo Code Roadmap May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants