cc-viewer 1.5.32 → 1.5.33
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/interceptor.js +3 -1
- package/package.json +1 -1
package/interceptor.js
CHANGED
|
@@ -483,7 +483,9 @@ export function setupInterceptor() {
|
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
// 自动执行拦截器设置
|
|
486
|
-
|
|
486
|
+
// proxy 模式下(ccv CLI 或 ccv run),外层 proxy.js 已显式调用 setupInterceptor(),
|
|
487
|
+
// 这里跳过自动执行,避免 Claude 进程中重复拦截 fetch
|
|
488
|
+
if (!_ccvSkip && !process.env.CCV_PROXY_MODE) setupInterceptor();
|
|
487
489
|
|
|
488
490
|
// 等待日志文件初始化完成后启动 Web Viewer 服务
|
|
489
491
|
// 如果是 ccv --c 通过 proxy 模式启动的,外层已有 server,跳过
|