qwen-code/integration-tests/terminal-capture/package.json
tanzhenxin 89b79544d1 fix: upgrade @lydell/node-pty to 1.2.0-beta.10 to fix PTY FD leak
The previous version (1.1.0) has a native-level bug on macOS where each
PTY spawn leaks one /dev/ptmx file descriptor that is never closed. Over
a long session with hundreds of shell commands, this exhausts the
system-wide PTY pool (kern.tty.ptmx_max = 511), breaking other programs
like tmux and new terminal windows.

Root cause: microsoft/node-pty#882

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-01 07:55:56 +08:00

18 lines
509 B
JSON

{
"name": "@qwen-code/terminal-capture",
"version": "0.1.0",
"private": true,
"description": "Terminal UI screenshot automation for CLI visual testing",
"type": "module",
"scripts": {
"capture": "npx tsx run.ts scenarios/",
"capture:about": "npx tsx run.ts scenarios/about.ts",
"capture:all": "npx tsx run.ts scenarios/all.ts"
},
"dependencies": {
"@lydell/node-pty": "1.2.0-beta.10",
"@xterm/xterm": "^5.5.0",
"playwright": "^1.50.0",
"strip-ansi": "^7.1.2"
}
}