()
| 98 | } |
| 99 | |
| 100 | export async function createAuthProxy(): Promise<AuthProxyInfo> { |
| 101 | const id = randomUUID() |
| 102 | |
| 103 | if (isWindows) { |
| 104 | return createTcpAuthProxy(id) |
| 105 | } |
| 106 | return createUnixSocketAuthProxy(id) |
| 107 | } |
| 108 | |
| 109 | async function createUnixSocketAuthProxy(id: string): Promise<AuthProxyInfo> { |
| 110 | const socketPath = `/tmp/claude-ssh-auth-${id}.sock` |
no test coverage detected