Optional ReadonlyallowOptional ReadonlyallowAllow the bridge in a packaged (production) build. Default false.
Optional ReadonlyargsOptional ReadonlycheckRead the binary's fuses first and skip strategies they block (default true).
Optional ReadonlycwdOptional ReadonlyenvExtra environment for the app (on top of the launcher's own).
ReadonlyexecutableThe app's executable: a packaged app, or the Electron binary with the app directory in args.
Optional ReadonlyinjectPath of @electron-agent-bridge/electron/inject (default: resolved next to this package).
Optional ReadonlyoptionsRuntime 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.
Optional ReadonlyprobeHow long to wait for the injected code to report that it loaded; longer means the app ignored the strategy. Default 8 s.
Optional ReadonlyroleOptional ReadonlystateDefine 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.
Optional ReadonlystrategyDefault auto: NODE_OPTIONS first, then the inspector.
Optional ReadonlytimeoutHow long one strategy may take until the bridge is up. Default 20 s.
Grant the
evalcapability (main-process code execution, dialog stubs) to clients of this app. Default false: launched apps getobserveandinteractonly.