mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +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>
20 lines
690 B
JSON
20 lines
690 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "dom"],
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "react",
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"paths": {
|
|
"@lydell/node-pty": ["../../node_modules/@lydell/node-pty/node-pty.d.ts"]
|
|
}
|
|
/* Additional Checks */
|
|
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
|
}
|
|
}
|