Skip to content

Custom configuration overwritten before extraction: Claude Code

Quick fix

In 4.0, switching providers after upgrading preserves plugins, hooks, permissions, and other content in settings.json.

Error output
提取不到任何新增信息
English translation

Unable to extract any new information

The issue reported that, when editing a provider, a generic configuration fragment was merged into the form before extraction from the already-overwritten content, preventing custom values from being extracted. The maintainer replied that 4.0 removed generic configuration fragments. When switching providers, it replaces only key fields such as the address, key, and model, while preserving other content in settings.json unchanged. Therefore, this timing issue does not occur in 4.0.

A later comment reported a separate, earlier-stage case: the stored configuration may overwrite settings.json on disk before extraction. The comment did not confirm that the 4.0 explanation resolves this case.

  1. The maintainer recommends upgrading to 4.0. When switching providers, settings.json content such as plugins, hooks, and permissions is preserved.

ToolClaude Code
Version4.0 为维护者所述修复版本;受影响版本未说明
PlatformsWindows
After upgrading to 4.0, will plugin and skill configurations be lost when switching providers?
The maintainer says that switching providers in 4.0 preserves other content in settings.json, including plugins, hooks, and permissions; the comment does not mention skill separately.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.