mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
docs: 添加自定义 CLI 注册说明
- 通过 API Settings 注册任意 API 为自定义 CLI - 注册后可语义调用自定义 CLI - 支持自定义 CLI 与内置 CLI 协同编排
This commit is contained in:
30
README.md
30
README.md
@@ -183,6 +183,36 @@ User: "Use Gemini to plan the refactoring, then Codex to implement it"
|
||||
|
||||
> 💡 **Key**: Just describe which CLI to use and what to do - CCW handles the invocation automatically.
|
||||
|
||||
### Custom CLI Registration
|
||||
|
||||
Register **any API as a custom CLI** via Dashboard API Settings:
|
||||
|
||||
```json
|
||||
// Example: Register "deepseek" as custom CLI
|
||||
{
|
||||
"tools": {
|
||||
"deepseek": {
|
||||
"enabled": true,
|
||||
"type": "api-endpoint",
|
||||
"endpoint": "https://api.deepseek.com/v1/chat",
|
||||
"apiKey": "your-api-key"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
After registration, use it semantically:
|
||||
|
||||
```text
|
||||
User: "Use DeepSeek to analyze this algorithm complexity"
|
||||
→ System auto-calls: deepseek CLI (your custom endpoint)
|
||||
|
||||
User: "Let DeepSeek and Gemini compare their analysis results"
|
||||
→ System auto-calls: deepseek + gemini in parallel
|
||||
```
|
||||
|
||||
> ⚙️ **Dashboard**: `ccw view` → Status → API Settings to manage custom CLIs.
|
||||
|
||||
---
|
||||
|
||||
## 🔍 ACE Tool Configuration
|
||||
|
||||
Reference in New Issue
Block a user