@dedenlabs/claude-code-router-cli 2.0.6-beta.1 → 2.0.6

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.
Files changed (3) hide show
  1. package/README.md +20 -4
  2. package/dist/cli.js +3 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # Claude Code Router CLI v2.0.5
1
+ # Claude Code Router CLI v2.0.6
2
2
 
3
3
  <div align="center">
4
4
 
5
- [![Version](https://img.shields.io/badge/version-2.0.5-blue.svg)](https://github.com/dedenlabs/claude-code-router-cli)
5
+ [![Version](https://img.shields.io/badge/version-2.0.6-blue.svg)](https://github.com/dedenlabs/claude-code-router-cli)
6
6
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
7
7
  [![Node](https://img.shields.io/badge/node-%3E%3D16.0.0-brightgreen.svg)](https://nodejs.org/)
8
8
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.0-blue.svg)](https://www.typescriptlang.org/)
@@ -114,10 +114,10 @@ ccr start -b
114
114
 
115
115
  **修改配置文件:**
116
116
 
117
- 启动服务后会创建默认配置,您可以通过两种方式修改:
117
+ 启动服务后会创建默认配置,您可以通过两种方式编辑路由规则和替换密钥:
118
118
 
119
119
  1. **手动编辑**:修改 `~/.claude-code-router/config.json` 配置文件
120
- 2. **可视化界面**:访问 http://localhost:3456/ui/ 实时编辑路由规则和替换密钥
120
+ 2. **可视化界面**:访问 http://localhost:3456/ui/
121
121
 
122
122
  推荐使用模型替换规则,只需修改路由映射,所有IDE工具无需改动:
123
123
 
@@ -695,6 +695,22 @@ export class MyTransformer extends BaseTransformer {
695
695
 
696
696
  ## 📈 版本历史
697
697
 
698
+ ### v2.0.6 (2025-12-23)
699
+
700
+ **🎯 正式版本发布**
701
+
702
+ **✅ 路由规则优化**
703
+ - 修复规则路由provider模型自动补全功能
704
+ - 优化统一路由引擎的字段兼容性处理
705
+ - 增强路由决策的准确性和稳定性
706
+ - 完善调试日志和错误处理机制
707
+
708
+ **📚 文档完善**
709
+ - 修复README文档中的版本徽章显示错误
710
+ - 完善统一路由引擎使用指南
711
+ - 添加更多配置示例和使用场景
712
+ - 优化文档结构和用户体验
713
+
698
714
  ### v2.0.5 (2025-12-21)
699
715
 
700
716
  **🔧 UI修复版本**
package/dist/cli.js CHANGED
@@ -67706,7 +67706,7 @@ var require_package3 = __commonJS({
67706
67706
  "package.json"(exports2, module2) {
67707
67707
  module2.exports = {
67708
67708
  name: "@dedenlabs/claude-code-router-cli",
67709
- version: "2.0.6-beta.1",
67709
+ version: "2.0.6",
67710
67710
  description: "\u57FA\u4E8E@musistudio/claude-code-router\u7684\u589E\u5F3A\u7248CLI\u8DEF\u7531\u5DE5\u5177 - \u652F\u6301\u7EDF\u4E00\u8DEF\u7531\u5F15\u64CE\u3001\u5916\u90E8\u89C4\u5219\u52A0\u8F7D\u3001\u667A\u80FD\u65E5\u5FD7\u7CFB\u7EDF\u3001\u81EA\u52A8\u914D\u7F6E\u8FC1\u79FB\u548CGLM\u601D\u8003\u6A21\u5F0F",
67711
67711
  bin: {
67712
67712
  ccr: "dist/cli.js"
@@ -87261,7 +87261,7 @@ try {
87261
87261
  };
87262
87262
  }
87263
87263
  } catch (error) {
87264
- packageInfo = { name: "Claude Code Router CLI", version: "2.0.0" };
87264
+ packageInfo = { name: "Claude Code Router CLI", version: "2.0.6" };
87265
87265
  }
87266
87266
  function formatPackageName(packageName) {
87267
87267
  const cleanName = packageName.replace(/^@[^/]+\//, "");
@@ -87606,7 +87606,7 @@ async function run(options = {}) {
87606
87606
  const primaryIP = getPrimaryIP(HOST);
87607
87607
  const url = HOST === "0.0.0.0" ? `http://${primaryIP}:${servicePort}` : `http://127.0.0.1:${servicePort}`;
87608
87608
  const formattedName = packageInfo ? formatPackageName(packageInfo.name) : "Claude Code Router CLI";
87609
- const version2 = packageInfo?.version || "2.0.0";
87609
+ const version2 = packageInfo?.version || "2.0.6";
87610
87610
  console.log(`
87611
87611
  \u{1F680} ${formattedName} v${version2} is running on ${url}`);
87612
87612
  if (HOST === "0.0.0.0" && accessibleIPs.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedenlabs/claude-code-router-cli",
3
- "version": "2.0.6-beta.1",
3
+ "version": "2.0.6",
4
4
  "description": "基于@musistudio/claude-code-router的增强版CLI路由工具 - 支持统一路由引擎、外部规则加载、智能日志系统、自动配置迁移和GLM思考模式",
5
5
  "bin": {
6
6
  "ccr": "dist/cli.js"