mirror of
https://github.com/musistudio/claude-code-router.git
synced 2025-09-06 23:41:06 +00:00
update readme to add statusline
This commit is contained in:
12
README.md
12
README.md
@@ -208,7 +208,7 @@ ccr code
|
||||
> ccr restart
|
||||
> ```
|
||||
|
||||
### 4. UI Mode (Beta)
|
||||
### 4. UI Mode
|
||||
|
||||
For a more intuitive experience, you can use the UI mode to manage your configuration:
|
||||
|
||||
@@ -220,9 +220,6 @@ This will open a web-based interface where you can easily view and edit your `co
|
||||
|
||||

|
||||
|
||||
> **Note**: The UI mode is currently in beta. 100% vibe coding: including project initialization, I just created a folder and a project.md document, and all code was generated by ccr + qwen3-coder + gemini(webSearch).
|
||||
If you encounter any issues, please submit an issue on GitHub.
|
||||
|
||||
#### Providers
|
||||
|
||||
The `Providers` array is where you define the different model providers you want to use. Each provider object requires:
|
||||
@@ -403,6 +400,13 @@ For routing within subagents, you must specify a particular provider and model b
|
||||
Please help me analyze this code snippet for potential optimizations...
|
||||
```
|
||||
|
||||
## Status Line (Beta)
|
||||
To better monitor the status of claude-code-router at runtime, version v1.0.40 includes a built-in statusline tool, which you can enable in the UI.
|
||||

|
||||
|
||||
The effect is as follows:
|
||||

|
||||
|
||||
## 🤖 GitHub Actions
|
||||
|
||||
Integrate Claude Code Router into your CI/CD pipeline. After setting up [Claude Code Actions](https://docs.anthropic.com/en/docs/claude-code/github-actions), modify your `.github/workflows/claude.yaml` to use the router:
|
||||
|
10
README_zh.md
10
README_zh.md
@@ -182,7 +182,7 @@ ccr code
|
||||
> ccr restart
|
||||
> ```
|
||||
|
||||
### 4. UI 模式 (Beta)
|
||||
### 4. UI 模式
|
||||
|
||||
为了获得更直观的体验,您可以使用 UI 模式来管理您的配置:
|
||||
|
||||
@@ -194,8 +194,6 @@ ccr ui
|
||||
|
||||

|
||||
|
||||
> **注意**: UI 模式目前处于测试阶段。这是一个 100% vibe coding的项目,包括项目的初始化,我只是新建了一个文件夹和一个project.md文档。所有代码均由 ccr + qwen3-coder + gemini(webSearch) 实现。如有问题请提交 issue。
|
||||
|
||||
#### Providers
|
||||
|
||||
`Providers` 数组是您定义要使用的不同模型提供商的地方。每个提供商对象都需要:
|
||||
@@ -375,6 +373,12 @@ module.exports = async function router(req, config) {
|
||||
请帮我分析这段代码是否存在潜在的优化空间...
|
||||
```
|
||||
|
||||
## Status Line (Beta)
|
||||
为了在运行时更好的查看claude-code-router的状态,claude-code-router在v1.0.40内置了一个statusline工具,你可以在UI中启用它,
|
||||

|
||||
|
||||
效果如下:
|
||||

|
||||
|
||||
## 🤖 GitHub Actions
|
||||
|
||||
|
BIN
blog/images/statusline-config.png
Normal file
BIN
blog/images/statusline-config.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 91 KiB |
BIN
blog/images/statusline.png
Normal file
BIN
blog/images/statusline.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Reference in New Issue
Block a user