persistent-terminal-mcp 1.0.4 → 1.0.5

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/CHANGELOG.md +9 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -9,6 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  - _Nothing yet._
11
11
 
12
+ ## [1.0.5] - 2026-02-10
13
+
14
+ ### Fixed
15
+ - 修复通过 `npx -y persistent-terminal-mcp` 运行 npm 包时,`create_terminal` 可能报错 `posix_spawnp failed` 的问题。
16
+ - 根因是 `node-pty` 使用了宽松版本范围导致安装到 `1.1.0`,在部分 macOS 场景下会触发 PTY 创建失败。
17
+
18
+ ### Changed
19
+ - 将 `node-pty` 依赖从 `^1.0.0` 锁定为 `1.0.0`,确保与源码环境一致、避免 npm 安装时漂移。
20
+
12
21
  ## [1.0.4] - 2026-02-10
13
22
 
14
23
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "persistent-terminal-mcp",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "MCP server for managing persistent terminal sessions using node-pty",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -102,7 +102,7 @@
102
102
  "@modelcontextprotocol/sdk": "^1.0.0",
103
103
  "cors": "^2.8.5",
104
104
  "express": "^4.18.2",
105
- "node-pty": "^1.0.0",
105
+ "node-pty": "1.0.0",
106
106
  "uuid": "^9.0.1",
107
107
  "ws": "^8.18.3",
108
108
  "zod": "^3.22.4"