How a native-input action delivers its event relative to app focus.
Foreground is the historical CEL behavior: the dispatcher brings the
target app to the front (activate_app / ensure_target_app_focus) and
then posts a session-wide CGEvent at whatever is frontmost. Robust, but
it steals the user’s focus and is the root cause of the focus-sensitive
hybrid-suite constraint.
Background posts the event directly to the target process via
CGEventPostToPid without activating it (see cel_input::background),
so the user’s active window keeps focus. Not every macOS app honors
background-delivered events, so the dispatcher falls back to Foreground
when no target PID resolves or the background post is rejected.
Defaults to Foreground so existing plans and serialized payloads are
unchanged. WS1 of the Peekaboo-parity plan.