Skip to content

Conversation

@samhvw8
Copy link
Contributor

@samhvw8 samhvw8 commented Mar 6, 2025

Context

Fix reset state context proxy

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Add resetAllState() to ContextProxy for resetting state, secrets, and caches, and integrate it into ClineProvider.

  • Behavior:
    • Add resetAllState() to ContextProxy to reset global state, secrets, and caches.
    • Replace existing reset logic in ClineProvider with contextProxy.resetAllState().
  • Tests:
    • Add tests for resetAllState() in contextProxy.test.ts to verify clearing caches, updating global state keys to undefined, deleting secrets, and reinitializing caches.
    • Update ClineProvider.test.ts to mock resetAllState() and verify integration with ClineProvider.

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

@changeset-bot
Copy link

changeset-bot bot commented Mar 6, 2025

⚠️ No Changeset found

Latest commit: 5b4b406

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

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 6, 2025
@samhvw8 samhvw8 force-pushed the fix/reset-all-state-context-proxy branch from a713c40 to 5b4b406 Compare March 6, 2025 04:53
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. bug Something isn't working and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Mar 6, 2025
@samhvw8 samhvw8 closed this Mar 6, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants