Repository navigation
Merge Settings snapshots on /import by default and add --replace option - #3310
Merged
Merged
Conversation
/import used to restore a snapshot as a whole: every Settings value the file did not carry went back to its default and the providers map was replaced outright. A file that carries one model, such as the model config an app hands over so a bot's browser can use that model, therefore wiped every other provider and API key, the profile, user memory, custom skills and permissions. /import now merges by default, the way the Cloud launcher's import_config_patch already does: only the settings present in the file change, providers merge by ID, and the platform-managed WebBrain Compass providers are never taken from a file. /import --replace, with inline JSON or --file, keeps the previous restore-everything behavior. - background: import_config takes msg.replace. The merge path reuses parseConfigPatchImport and mergeConfigPatchSettings, the trace-tier rule still keys on import_config_patch, and the reply reports the mode. - side panel: the --replace option, a "Merged N Settings values" confirmation, and the flag forwarded for inline JSON and the file picker. - locales: the --replace description and the merge confirmation, in all 23 languages of both builds. - docs: slash commands (EN, FR, zh-CN), export formats, architecture, CHANGELOG. - tests: the handler tests cover merge, replace and the trace tiers; a new test covers the /import parser and the locale keys in both builds. Chrome and Firefox. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merge Settings snapshots on /import by default and add /import --replace
|
@esokullu is attempting to deploy a commit to the esokullu's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.