-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Preserve existing provider profiles when importing #2052
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
Conversation
🦋 Changeset detectedLatest commit: 4cd92bd The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
mrubens
left a comment
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.
Is the test failure legit?
I committed a suggestion from ellipsis and that broke it; will fix. |
ddc4a3a to
4cd92bd
Compare
Trying a force push to undo the ellipsis change, hopefully not stepping on toes |
* main: (21 commits) Update contributors list (RooCodeInc#2137) Tree-sitter Enhancements: TSX, TypeScript, JSON, and Markdown Support (RooCodeInc#2169) Fix Tests to run properly on Windows (RooCodeInc#1963) We should post state to webview at the end of `RooCodeAPI.clearCurrentTask()` (RooCodeInc#1874) Update app icon (RooCodeInc#2166) Changeset version bump (RooCodeInc#2163) Revert "feat @-mention window path style & file with space (RooCodeInc#1924)" (RooCodeInc#2162) Changeset version bump (RooCodeInc#2154) Include inference-profile in Bedrock arnRegex (RooCodeInc#2156) Add requesty to connect-src (RooCodeInc#2155) Update the webview when changing settings via the API (RooCodeInc#2143) Split webviewMessageHandler out of ClineProvider.ts (RooCodeInc#2149) Changeset version bump (RooCodeInc#2141) Relax provider profiles schema and log parse error to PostHog (RooCodeInc#2139) Changeset version bump (RooCodeInc#1992) v3.11.0 (RooCodeInc#2136) Update contributors list (RooCodeInc#2090) Preserve existing provider profiles when importing (RooCodeInc#2052) feat: Add shift-click to append suggestions to text area (RooCodeInc#2081) Remove hard-coded o3-mini model when streaming is enabled, allowing custom o3-mini-<reasoning> model (RooCodeInc#2134) ...
Context
When importing a set of provider profiles, don't clobber the existing ones unless there is a name collision.
Implementation
Screenshots
How to Test
Get in Touch
Important
importSettingsnow preserves existing provider profiles during import, merging them with new profiles unless there's a name collision, with tests updated accordingly.importSettingsinimportExport.tsnow merges existing and new provider profiles, preserving existing ones unless there's a name collision.importExport.test.tsto verify that existing profiles are not clobbered during import.importExport.test.tsto include a test for preserving existing provider profiles during import.vscode,fs/promises, andosmodules for testing purposes.This description was created by
for 4cd92bd. It will automatically update as commits are pushed.