Expand description
Receive omni casts from a relay as an NDJSON stream.
omni listen and omni get are lightweight local daemon subscribers. The
always-on omni daemon owns the remote relay registration and OS injection,
then mirrors each received InjectionCommand to every subscriber on its
existing local port. Subscribers do not inject keys or open another listening
socket, which makes the stream suitable for shell pipelines and Pi extensions.
Structs§
- Receive
Options - Options for
receive_from_daemon.
Enums§
- Session
End - Why one connected receive session ended.
Functions§
- receive_
events_ from_ daemon - Event-only subscriber. A stream discontinuity emits a local
omni_stream_resetcancel event before reconnecting, so held-state consumers can reset safely. - receive_
events_ session - Receive only non-injecting application events, never the command tap.
- receive_
from_ daemon - Connect to a daemon, subscribe to its command tap, and stream to output.
- receive_
session - Subscribe to a local daemon and copy received commands to
outputas NDJSON.