Appearance
Crush
Crush 是由 Charm 开发的开源终端 AI 编程 Agent,支持多模型切换、LSP 集成、MCP 服务器和代理式编码工作流。
Base URL: https://www.sky-ze.com
安装
bash
npm install -g @charmland/crush
crush --versionmacOS 也可用 Homebrew:
bash
brew install charmbracelet/tap/crush配置
配置文件位置:
- Linux / macOS:
~/.config/crush/crush.json - Windows:
%USERPROFILE%\.config\crush\crush.json
json
{
"providers": {
"opt": {
"type": "openai-compat",
"base_url": "https://www.sky-ze.com/v1",
"api_key": "sk-your-opt-api-key",
"models": [
{
"id": "DeepSeek-V4-Flash",
"name": "DeepSeek-V4-Flash",
"context_window": 1048576,
"default_max_tokens": 32768,
"can_reason": false
}
]
}
}
}启动后在 Crush 中使用 Provider 切换功能选择 opt。