diff --git a/config/process-host-direct-import-baseline.txt b/config/process-host-direct-import-baseline.txt index 825ebe86785..a26390615aa 100644 --- a/config/process-host-direct-import-baseline.txt +++ b/config/process-host-direct-import-baseline.txt @@ -6,7 +6,6 @@ src/cli/handlers/core.ts src/cli/handlers/interactive-login-interruption.ts src/cli/runtime/launch.ts src/main/agent-hooks/managed-hook-owner-identity.ts -src/main/agent-hooks/wsl-hook-relay-launch.ts src/main/agent-hooks/wsl-hook-relay-link.ts src/main/agent-hooks/wsl-hook-relay-manager.ts src/main/agent-hooks/wsl-hook-relay-sentinel.ts diff --git a/src/main/agent-hooks/wsl-hook-relay-launch.ts b/src/main/agent-hooks/wsl-hook-relay-launch.ts index 364aa5cfab8..4539c7a5eaa 100644 --- a/src/main/agent-hooks/wsl-hook-relay-launch.ts +++ b/src/main/agent-hooks/wsl-hook-relay-launch.ts @@ -1,4 +1,4 @@ -import type { ChildProcessWithoutNullStreams } from 'node:child_process' +import type { PipedChildProcess } from '@orca/process-host/process-spec' import { existsSync, readFileSync } from 'node:fs' import { join } from 'node:path' import { spawnProcess } from '@orca/process-host' @@ -102,7 +102,7 @@ export function spawnWslRelayProcess( distro: string, env: NodeJS.ProcessEnv, version: string -): ChildProcessWithoutNullStreams { +): PipedChildProcess { // --exec bypasses login-shell rewriting and passes $HOME verbatim for guest-side expansion. const command = `exec sh "${guestRelayDirExpr(version)}/launch.sh"` return spawnProcess({ @@ -153,10 +153,10 @@ export async function launchWslRelayWithInstall(options: { version: string io: WslRelayLaunchIo isDisposed: () => boolean - onChild: (child: ChildProcessWithoutNullStreams) => void + onChild: (child: PipedChildProcess) => void onNoNode: () => void onFailure: (message: string) => void - connect: (transport: MultiplexerTransport, child: ChildProcessWithoutNullStreams) => Promise + connect: (transport: MultiplexerTransport, child: PipedChildProcess) => Promise }): Promise { const { distro, env, bundleJsPath, version, io } = options let installTried = false