@musistudio/claude-code-router 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -5
- package/README_zh.md +12 -4
- package/dist/cli.js +2506 -2484
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -208,7 +208,7 @@ ccr code
|
|
|
208
208
|
> ccr restart
|
|
209
209
|
> ```
|
|
210
210
|
|
|
211
|
-
### 4. UI Mode
|
|
211
|
+
### 4. UI Mode
|
|
212
212
|
|
|
213
213
|
For a more intuitive experience, you can use the UI mode to manage your configuration:
|
|
214
214
|
|
|
@@ -220,9 +220,6 @@ This will open a web-based interface where you can easily view and edit your `co
|
|
|
220
220
|
|
|
221
221
|

|
|
222
222
|
|
|
223
|
-
> **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).
|
|
224
|
-
If you encounter any issues, please submit an issue on GitHub.
|
|
225
|
-
|
|
226
223
|
#### Providers
|
|
227
224
|
|
|
228
225
|
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
|
|
|
403
400
|
Please help me analyze this code snippet for potential optimizations...
|
|
404
401
|
```
|
|
405
402
|
|
|
403
|
+
## Status Line (Beta)
|
|
404
|
+
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.
|
|
405
|
+

|
|
406
|
+
|
|
407
|
+
The effect is as follows:
|
|
408
|
+

|
|
409
|
+
|
|
406
410
|
## 🤖 GitHub Actions
|
|
407
411
|
|
|
408
412
|
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:
|
|
@@ -542,6 +546,10 @@ A huge thank you to all our sponsors for their generous support!
|
|
|
542
546
|
- @水\*丫
|
|
543
547
|
- @二吉吉
|
|
544
548
|
- @a\*g
|
|
545
|
-
-
|
|
549
|
+
- @\*林
|
|
550
|
+
- @\*咸
|
|
551
|
+
- @\*明
|
|
552
|
+
- @S\*y
|
|
553
|
+
- @f\*o
|
|
546
554
|
|
|
547
555
|
(If your name is masked, please contact me via my homepage email to update it with your GitHub username.)
|
package/README_zh.md
CHANGED
|
@@ -182,7 +182,7 @@ ccr code
|
|
|
182
182
|
> ccr restart
|
|
183
183
|
> ```
|
|
184
184
|
|
|
185
|
-
### 4. UI 模式
|
|
185
|
+
### 4. UI 模式
|
|
186
186
|
|
|
187
187
|
为了获得更直观的体验,您可以使用 UI 模式来管理您的配置:
|
|
188
188
|
|
|
@@ -194,8 +194,6 @@ ccr ui
|
|
|
194
194
|
|
|
195
195
|

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

|
|
379
|
+
|
|
380
|
+
效果如下:
|
|
381
|
+

|
|
378
382
|
|
|
379
383
|
## 🤖 GitHub Actions
|
|
380
384
|
|
|
@@ -511,7 +515,11 @@ jobs:
|
|
|
511
515
|
- @水\*丫
|
|
512
516
|
- @二吉吉
|
|
513
517
|
- @a\*g
|
|
514
|
-
-
|
|
518
|
+
- @\*林
|
|
519
|
+
- @\*咸
|
|
520
|
+
- @\*明
|
|
521
|
+
- @S\*y
|
|
522
|
+
- @f\*o
|
|
515
523
|
|
|
516
524
|
(如果您的名字被屏蔽,请通过我的主页电子邮件与我联系,以便使用您的 GitHub 用户名进行更新。)
|
|
517
525
|
|