update readme to add statusline

This commit is contained in:
musistudio
2025-08-18 22:25:12 +08:00
parent 0c14a5c053
commit 01cd5d03a3
4 changed files with 15 additions and 7 deletions

View File

@@ -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
![UI](/blog/images/ui.png)
> **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.
![statusline-config.png](/blog/images/statusline-config.png)
The effect is as follows:
![statusline](/blog/images/statusline.png)
## 🤖 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:

View File

@@ -182,7 +182,7 @@ ccr code
> ccr restart
> ```
### 4. UI 模式 (Beta)
### 4. UI 模式
为了获得更直观的体验,您可以使用 UI 模式来管理您的配置:
@@ -194,8 +194,6 @@ ccr ui
![UI](/blog/images/ui.png)
> **注意**: 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中启用它
![statusline-config.png](/blog/images/statusline-config.png)
效果如下:
![statusline](/blog/images/statusline.png)
## 🤖 GitHub Actions

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
blog/images/statusline.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB