-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
我是先手动配置好了Claude code,并下载了插件,然后再使用的cc-switch-cli进行配置的,配置完成以后发现claude code中已安装的插件全都检测不到,查看配置文件发现文件被覆写掉了,下面是我未配置cc-switch-cli时的json文件,当我安装并配置完成以后,仅"env"字段保留,其他字段都丢失了,是不是因为对json文件的写入是覆盖的而不是追加修改的
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "xxx",
"ANTHROPIC_BASE_URL": "xxxx",
"ANTHROPIC_MODEL": "MiniMax-M2.5"
},
"model": "MiniMax-M2.5",
"statusLine": {
"type": "command", "command": "bash -c \"/home/szuser/.nvm/versions/node/v18.20.8/bin/node \\\"$(ls -td ~/.claude/plugins/cache/claude-hud/claude-hud/*/ 2>/dev/null | head -1)dist/index.js\\\"\""
},
"enabledPlugins": {
"superpowers@superpowers-dev": true,
"pyright-lsp@claude-plugins-official": true,
"commit-commands@claude-plugins-official": true,
"context7@claude-plugins-official": true,
"code-review@claude-plugins-official": true,
"code-simplifier@claude-plugins-official": true,
"claude-md-management@claude-plugins-official": true,
"claude-hud@claude-hud": true,
"feature-dev@claude-plugins-official": true,
"skill-creator@claude-plugins-official": true
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels