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

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 (2) hide show
  1. package/dist/cli.js +3 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -99963,9 +99963,9 @@ function patchLlmsPackage() {
99963
99963
  const WfOriginal = llmsModule?.Wf;
99964
99964
  if (typeof WfOriginal === "function") {
99965
99965
  llmsModule.Wf = function(url, request, config, logger, context) {
99966
- const noProxy = (process.env.NO_PROXY || process.env.no_proxy || "").toLowerCase();
99967
- const isLocal = noProxy.includes("localhost") && (url.toString().includes("localhost") || url.toString().includes("127.0.0.1"));
99968
- if (isLocal && config.httpsProxy) {
99966
+ const urlStr = typeof url === "string" ? url : url.toString();
99967
+ const isLocalHost2 = urlStr.includes("localhost") || urlStr.includes("127.0.0.1");
99968
+ if (isLocalHost2 && config.httpsProxy) {
99969
99969
  const { httpsProxy, ...restConfig } = config;
99970
99970
  return WfOriginal(url, request, restConfig, logger, context);
99971
99971
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedenlabs/claude-code-router-cli",
3
- "version": "2.0.8-beta.1",
3
+ "version": "2.0.8-beta.2",
4
4
  "description": "基于@musistudio/claude-code-router的增强版CLI路由工具 - 支持统一路由引擎、外部规则加载、智能日志系统、自动配置迁移和GLM思考模式",
5
5
  "bin": {
6
6
  "ccr": "dist/cli.js"