From e1468823217e00672a7e71f6120ef75b4ba31398 Mon Sep 17 00:00:00 2001 From: Nekono Nana KAKKO KARI <3267314+nananek@users.noreply.github.com> Date: Fri, 14 Aug 2026 14:01:02 +0900 Subject: [PATCH] Upgrade node-pty to 1.2.0-beta.15 for the macOS spawn-helper exec-bit fix 1.1.0 ships prebuilds/darwin-*/spawn-helper with mode 644, so macOS PTY spawn fails with posix_spawnp EACCES (microsoft/node-pty#850). The permission fix landed upstream in #858; pin ~1.2.0-beta.15 (prereleases only, no silent jump to a future 1.3.0). spawn/onData/onExit/write/ kill/resize API is unchanged. --- package-lock.json | 8 ++++---- server/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6630ea5..21ce6f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2949,9 +2949,9 @@ "license": "MIT" }, "node_modules/node-pty": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.1.0.tgz", - "integrity": "sha512-20JqtutY6JPXTUnL0ij1uad7Qe1baT46lyolh2sSENDd4sTzKZ4nmAFkeAARDKwmlLjPx6XKRlwRUxwjOy+lUg==", + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.2.0-beta.15.tgz", + "integrity": "sha512-vORSzHXi4Ofl7HemVWpuudLqCPdaQb4LfpRCUpE5HPxhp4JYscl8zZwxh11p26v2wvW24WMwnMfLjhRLixrfxA==", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -4075,7 +4075,7 @@ "@fastify/websocket": "^11.2.0", "@modelcontextprotocol/sdk": "^1.30.0", "fastify": "^5.7.4", - "node-pty": "^1.1.0" + "node-pty": "~1.2.0-beta.15" } } } diff --git a/server/package.json b/server/package.json index 0d49453..db2eb57 100644 --- a/server/package.json +++ b/server/package.json @@ -12,6 +12,6 @@ "@fastify/websocket": "^11.2.0", "@modelcontextprotocol/sdk": "^1.30.0", "fastify": "^5.7.4", - "node-pty": "^1.1.0" + "node-pty": "~1.2.0-beta.15" } }