mcp-stdio-proxy 0.1.51 → 0.1.53

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/CHANGELOG.md ADDED
@@ -0,0 +1,62 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/).
7
+
8
+ ## [0.1.52] - 2026-02-15
9
+
10
+ ### Fixed
11
+
12
+ - **PATH 按段去重**: `ensure_runtime_path` 从整段 `starts_with` 改为按分隔符拆段去重,
13
+ 解决上层多次前置导致的 `node/bin` 重复条目问题
14
+ - **config PATH 覆盖**: 用户在 MCP config env 中指定自定义 PATH 时,
15
+ 仍然确保应用内置运行时路径(`NUWAX_APP_RUNTIME_PATH`)在最前面
16
+ - **env value 泄露**: `log_command_details` 不再打印 env 变量的 value,
17
+ 仅输出 key 列表,避免泄露敏感信息(如 token、secret)
18
+
19
+ ### Added
20
+
21
+ - **`mcp-common::diagnostic` 模块**: 提取子进程启动诊断日志为独立模块,
22
+ 提供 `log_stdio_spawn_context`、`format_spawn_error`、`format_path_summary` 等公共函数,
23
+ 减少业务代码中的日志侵入
24
+ - **启动阶段环境诊断**: `env_init` 结束后输出 PATH 摘要和镜像环境变量最终值
25
+ - **spawn 失败上下文**: SSE/Stream 子进程 spawn 失败时输出完整错误上下文
26
+ (command、args、PATH),便于快速定位可执行文件找不到的问题
27
+ - **build 失败上下文**: `mcp_start_task` 中 SSE/Stream server build 失败时
28
+ 通过 `anyhow::Context` 附加 MCP ID 和服务类型
29
+ - **`ensure_runtime_path` 单元测试**: 新增 5 个测试覆盖前置、部分去重、
30
+ 全部已存在、双重重复等场景
31
+
32
+ ### Changed
33
+
34
+ - **server_builder PATH 逻辑简化**: 两侧 `connect_stdio` 从三分支
35
+ (继承/config/缺失)统一为:取基础 PATH → `ensure_runtime_path` → 传递给子进程
36
+ - **无镜像提示**: 未配置镜像源时输出提示行,而非静默跳过
37
+
38
+ ## [0.1.51] - 2026-02-14
39
+
40
+ ### Changed
41
+
42
+ - 版本号更新
43
+
44
+ ## [0.1.49] - 2026-02-13
45
+
46
+ ### Added
47
+
48
+ - **镜像源配置**: 支持通过 `config.yml` 配置 npm/PyPI 镜像源,
49
+ 环境变量优先级高于配置文件
50
+ - **环境变量初始化**: `env_init` 模块统一管理子进程环境(镜像源 + 内置运行时 PATH)
51
+ - **`UV_INSECURE_HOST` 支持**: HTTP 类型的 PyPI 镜像自动提取 host 并设置
52
+
53
+ ## [0.1.48] - 2026-02-12
54
+
55
+ ### Added
56
+
57
+ - **跨平台进程管理**: `process_compat` 模块提供 `wrap_process_v8` / `wrap_process_v9` 宏,
58
+ 统一 Unix(ProcessGroup)和 Windows(JobObject + CREATE_NO_WINDOW)的进程包装
59
+
60
+ ### Fixed
61
+
62
+ - Windows 平台隐藏控制台窗口配置
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT OR Apache-2.0",
25
25
  "name": "mcp-stdio-proxy",
26
- "version": "0.1.51"
26
+ "version": "0.1.53"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -515,5 +515,5 @@
515
515
  }
516
516
  },
517
517
  "requires": true,
518
- "version": "0.1.51"
518
+ "version": "0.1.53"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://nuwa-packages.oss-rg-china-mainland.aliyuncs.com/mcp-stdio-proxy/v0.1.51",
2
+ "artifactDownloadUrl": "https://nuwa-packages.oss-rg-china-mainland.aliyuncs.com/mcp-stdio-proxy/v0.1.53",
3
3
  "author": "nuwax-ai",
4
4
  "bin": {
5
5
  "mcp-proxy": "run-mcp-proxy.js"
@@ -93,7 +93,7 @@
93
93
  "zipExt": ".tar.xz"
94
94
  }
95
95
  },
96
- "version": "0.1.51",
96
+ "version": "0.1.53",
97
97
  "volta": {
98
98
  "node": "18.14.1",
99
99
  "npm": "9.5.0"