mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
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>
18 lines
509 B
JSON
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"
|
|
}
|
|
}
|