fix: resolve macos bun interop

Use Bun-safe Electron and child_process import patterns for macOS GitHub Actions tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Kaya
2026-03-26 00:30:41 +01:00
co-authored by Copilot
parent 40ef1c07b5
commit d9f3f5302a
13 changed files with 104 additions and 58 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
import { app } from 'electron';
import electron from 'electron';
import { spawn, type ChildProcessWithoutNullStreams } from 'node:child_process';
import type {
@@ -23,6 +23,8 @@ import {
import { TurnCancelledError } from '@main/sidecar/turnCancelledError';
import { resolveSidecarProcess } from '@main/sidecar/sidecarRuntime';
const { app } = electron;
type PendingCommand =
| ({
processId: number;