Private
Public Access
1
0

feat: 重构 setup.ps1 为一站式安装配置脚本

- 新增包管理器检测(Node.js/npm 和 Bun)
- 新增 Bun 安装引导功能
- 新增工具安装功能(通过 npm/bun 安装 CLI 工具)
- 支持从远程下载并执行配置脚本
- 移除 Claude Code 配置中的默认 model 设置
This commit is contained in:
2025-12-05 18:38:34 +08:00
parent 13c6e92df6
commit badf8e6bb6
7 changed files with 294 additions and 85 deletions

View File

@@ -167,7 +167,6 @@ function New-Settings {
DISABLE_ERROR_REPORTING = 1
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = 1
}
model = "sonnet"
}
try {

View File

@@ -141,8 +141,7 @@ create_settings() {
"DISABLE_TELEMETRY": 1,
"DISABLE_ERROR_REPORTING": 1,
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1
},
"model": "sonnet"
}
}')
# Validate JSON