- --network NAME HOST PORT (repeatable)
- --serial NAME DEVICE BAUD (repeatable)
- --file PATH (repeatable, replayed via FileBackend)
- --log-dir DIR (frame logging, default ./log)
- --delay SECS (file replay inter-frame delay, default 1.0)
- --project FILE load config from JSON project file
- --save FILE export current config as JSON project file
Multiple source types can be combined. Network sources share one
NetworkBackend; serial sources each get their own SerialBackend;
file sources share one FileBackend. The poll loop runs only for
network sources; file-only mode joins the reader threads; serial-only
mode blocks on signal.pause().
file_backend: rename _source_id -> source_id_from_path (public),
add join() to wait for reader threads.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>