feat(bridge): add wifi/serial bridge runtime and UI

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-28 00:38:21 +12:00
parent 2cf019079e
commit 78dc8ffc77
92 changed files with 5679 additions and 1790 deletions

View File

@@ -28,6 +28,22 @@ def _patch_delivery(monkeypatch):
return delivered
def test_reset_manual_lane_strides_zeros_counters():
bdr.set_sequence_manual_lane_route(
0,
["desk"],
"5",
{"p": "chase", "a": False, "manual_beat_n": 1},
)
with bdr._route_lock:
bdr._lane_manual[0]["beat_counter"] = 4
bdr._preset_session_beats = 3
bdr.reset_manual_lane_strides()
with bdr._route_lock:
assert bdr._lane_manual[0]["beat_counter"] == 0
assert bdr._preset_session_beats == 0
def test_suppress_next_notify_skips_one_select(monkeypatch):
delivered = _patch_delivery(monkeypatch)