@musistudio/claude-code-router 1.0.40 → 1.0.41

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 CHANGED
@@ -208,7 +208,7 @@ ccr code
208
208
  > ccr restart
209
209
  > ```
210
210
 
211
- ### 4. UI Mode (Beta)
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
  ![UI](/blog/images/ui.png)
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
+ ![statusline-config.png](/blog/images/statusline-config.png)
406
+
407
+ The effect is as follows:
408
+ ![statusline](/blog/images/statusline.png)
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,7 @@ A huge thank you to all our sponsors for their generous support!
542
546
  - @水\*丫
543
547
  - @二吉吉
544
548
  - @a\*g
545
- - @*林
549
+ - @\*林
550
+ - @\*咸
546
551
 
547
552
  (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 模式 (Beta)
185
+ ### 4. UI 模式
186
186
 
187
187
  为了获得更直观的体验,您可以使用 UI 模式来管理您的配置:
188
188
 
@@ -194,8 +194,6 @@ ccr ui
194
194
 
195
195
  ![UI](/blog/images/ui.png)
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
+ ![statusline-config.png](/blog/images/statusline-config.png)
379
+
380
+ 效果如下:
381
+ ![statusline](/blog/images/statusline.png)
378
382
 
379
383
  ## 🤖 GitHub Actions
380
384
 
@@ -511,7 +515,8 @@ jobs:
511
515
  - @水\*丫
512
516
  - @二吉吉
513
517
  - @a\*g
514
- - @*林
518
+ - @\*林
519
+ - @\*咸
515
520
 
516
521
  (如果您的名字被屏蔽,请通过我的主页电子邮件与我联系,以便使用您的 GitHub 用户名进行更新。)
517
522
 
package/dist/cli.js CHANGED
@@ -66123,7 +66123,7 @@ var require_package3 = __commonJS({
66123
66123
  "package.json"(exports2, module2) {
66124
66124
  module2.exports = {
66125
66125
  name: "@musistudio/claude-code-router",
66126
- version: "1.0.40",
66126
+ version: "1.0.41",
66127
66127
  description: "Use Claude Code without an Anthropics account and route it to another LLM provider",
66128
66128
  bin: {
66129
66129
  ccr: "./dist/cli.js"
@@ -78926,7 +78926,7 @@ async function executeCodeCommand(args = []) {
78926
78926
  padding: 0
78927
78927
  };
78928
78928
  }
78929
- if (Object.keys(settingsFlag).length > 0) {
78929
+ if (Object.keys(settingsFlag).length > 0 && process.platform !== "win32") {
78930
78930
  args.push(`--settings=${JSON.stringify(settingsFlag)}`);
78931
78931
  }
78932
78932
  if (config.NON_INTERACTIVE_MODE) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@musistudio/claude-code-router",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Use Claude Code without an Anthropics account and route it to another LLM provider",
5
5
  "bin": {
6
6
  "ccr": "./dist/cli.js"