feat: enhance Claude CLI detector for macOS support

- Updated ClaudeCliDetector to include support for macOS (darwin) in the preference for using pty, improving compatibility across platforms.
This commit is contained in:
Kacper
2025-12-11 19:16:22 +01:00
parent 0510ab31e3
commit b39a88ba15

View File

@@ -536,6 +536,7 @@ class ClaudeCliDetector {
const platform = process.platform;
const preferPty =
(platform === "win32" ||
platform === "darwin" ||
process.env.CLAUDE_AUTH_FORCE_PTY === "1") &&
process.env.CLAUDE_AUTH_DISABLE_PTY !== "1";