mirror of
https://github.com/ruvnet/RuView.git
synced 2026-10-21 22:22:33 -05:00
/api/v1/status reported source_state "live_unverified" for a configured live source before any frame had arrived, because source_state() fed a fixed zero frame age into the ADR-295 resolver. It now uses the real age of the last accepted frame for the current source, so the states are: - disconnected (waiting_for_frames: true) until the first frame - live_unverified while frames arrive within ESP32_OFFLINE_TIMEOUT (5 s) - stale once they stop for longer than that The response also carries waiting_for_frames and last_frame_age_ms. ADR-270 vendor events get their own receive clock so they age the same way. An unknown --source value (for example "macos") used to start a server with no data task. Clap now rejects it with the list of valid values (auto, esp32, wifi, simulated, simulate), and plan_source returns an error for anything else. Docs: user guide lists the valid --source values and status states, the macOS section uses --source wifi, and the Linux section says there is no Linux RSSI source in the server yet. Refs #2097 Co-Authored-By: claude-flow <ruv@ruv.net>