electron-agent-bridge
    Preparing search index...
    interface LaunchOptions {
        allowEval?: boolean;
        allowPackaged?: boolean;
        args?: readonly string[];
        checkFuses?: boolean;
        cwd?: string;
        env?: Readonly<Record<string, string>>;
        executable: string;
        injectPath?: string;
        options?: {
            ipc?: { values?: string[] };
            logs?: { mainConsole?: boolean; sourceMaps?: boolean };
            snapshot?: { clickListeners?: boolean };
        };
        probeMs?: number;
        role?: "controller"
        | "observer";
        stateShim?: boolean;
        strategy?: LaunchStrategy | "auto";
        timeoutMs?: number;
    }
    Index
    allowEval?: boolean

    Grant the eval capability (main-process code execution, dialog stubs) to clients of this app. Default false: launched apps get observe and interact only.

    allowPackaged?: boolean

    Allow the bridge in a packaged (production) build. Default false.

    args?: readonly string[]
    checkFuses?: boolean

    Read the binary's fuses first and skip strategies they block (default true).

    cwd?: string
    env?: Readonly<Record<string, string>>

    Extra environment for the app (on top of the launcher's own).

    executable: string

    The app's executable: a packaged app, or the Electron binary with the app directory in args.

    injectPath?: string

    Path of @electron-agent-bridge/electron/inject (default: resolved next to this package).

    options?: {
        ipc?: { values?: string[] };
        logs?: { mainConsole?: boolean; sourceMaps?: boolean };
        snapshot?: { clickListeners?: boolean };
    }

    Runtime options for the launched app, as an app would pass them to enableAgentBridge (the serializable subset): IPC value channels, main console capture, click-listener tracking.

    probeMs?: number

    How long to wait for the injected code to report that it loaded; longer means the app ignored the strategy. Default 8 s.

    role?: "controller" | "observer"
    stateShim?: boolean

    Define the Redux DevTools extension globals in the app's pages, so stores built with DevTools support (Redux, RTK, Zustand devtools, NgRx store-devtools) register for state.read. Adds visible globals; default false. See docs/state.md.

    strategy?: LaunchStrategy | "auto"

    Default auto: NODE_OPTIONS first, then the inspector.

    timeoutMs?: number

    How long one strategy may take until the bridge is up. Default 20 s.