mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 21:03:08 +00:00
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:
@@ -536,6 +536,7 @@ class ClaudeCliDetector {
|
|||||||
const platform = process.platform;
|
const platform = process.platform;
|
||||||
const preferPty =
|
const preferPty =
|
||||||
(platform === "win32" ||
|
(platform === "win32" ||
|
||||||
|
platform === "darwin" ||
|
||||||
process.env.CLAUDE_AUTH_FORCE_PTY === "1") &&
|
process.env.CLAUDE_AUTH_FORCE_PTY === "1") &&
|
||||||
process.env.CLAUDE_AUTH_DISABLE_PTY !== "1";
|
process.env.CLAUDE_AUTH_DISABLE_PTY !== "1";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user