-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Checkpoints #626
base: main
Are you sure you want to change the base?
[WIP] Checkpoints #626
Conversation
|
@@ -34,6 +34,7 @@ module.exports = { | |||
transformIgnorePatterns: [ | |||
"node_modules/(?!(@modelcontextprotocol|delay|p-wait-for|globby|serialize-error|strip-ansi|default-shell|os-name)/)", | |||
], | |||
roots: ["<rootDir>/src", "<rootDir>/webview-ui/src"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the following warnings:
$ npm test
jest-haste-map: duplicate manual mock found: McpHub
The following files share their name; please delete one of them:
* <rootDir>/src/__mocks__/McpHub.ts
* <rootDir>/out/src/__mocks__/McpHub.js
jest-haste-map: duplicate manual mock found: fs/promises
The following files share their name; please delete one of them:
* <rootDir>/src/__mocks__/fs/promises.ts
* <rootDir>/out/src/__mocks__/fs/promises.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Useful for nix users to instantly create the development environment needed to run Roo Code:
name = "roo-code"; | ||
|
||
packages = with pkgs; [ | ||
nodejs_20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be locking the Node version in somewhere? (Like package.json#engines).
Description
Currently Cline has a nice "checkpoints" feature (see demo) that allows you to revert your VSCode workspace to a point in time in the chat history. It doesn't this by creating a "shadow" repository that is completely isolated from the current repo (if any).
An alternative approach that I'm exploring here is to use a separate branch to more space efficiently store checkpoints that can be restored using
git restore
.I consulted o1 Pro about the differences between these approaches, and here's what it thinks:
Type of change
How Has This Been Tested?
Checklist:
Additional context
Related Issues
Reviewers