- led-simulator: the rig runs the C++ led-driver as WebAssembly (sim-driver/), one single-threaded worker per bar, no cross-origin isolation needed. Rooms (one JSON per room) with an on-page editor, and a pattern gallery. The Python server, Pyodide boot and ring buffer are removed. - sim-controller sim_rig.c: serves /sim/ from an embedded pack, the page's WebSocket and the rooms/flash API. The desktop build embeds it too. - bridge.c: a "browser" bridge kind that carries ESP-NOW frames to the page; devices announced through it are marked sim. - UI: Simulator in the Menu, split view with resize and pop-out, swipe between controller and rig on phones; SIM/REAL badges in Devices. - Fades: preset pushes and Wi-Fi driver bodies always carry fade and beat_time, so "off" no longer inherits an earlier fade. - Also the sequences-v2 work in progress: desktop port, bridge firmware, serial bridge, Wi-Fi drivers, sequence timeline, audio and API changes. - led-driver: ESP-NOW link, beat sync, control messages, sim hooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"nodes": [{"id": "$graphify-root$_test_api_test_audio_py", "label": "test_audio.py", "file_type": "code", "source_file": "test/api/test_audio.py", "source_location": "L1"}, {"id": "$graphify-root$_test_api_test_audio_test_status", "label": "test_status()", "file_type": "code", "source_file": "test/api/test_audio.py", "source_location": "L11", "_callable": true}, {"id": "$graphify-root$_test_api_test_audio_test_start_stop", "label": "test_start_stop()", "file_type": "code", "source_file": "test/api/test_audio.py", "source_location": "L19", "_callable": true}, {"id": "$graphify-root$_test_api_test_audio_test_devices", "label": "test_devices()", "file_type": "code", "source_file": "test/api/test_audio.py", "source_location": "L34", "_callable": true}, {"id": "$graphify-root$_test_api_test_audio_test_events_stream", "label": "test_events_stream()", "file_type": "code", "source_file": "test/api/test_audio.py", "source_location": "L45", "_callable": true}, {"id": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "label": "test_settings_switch_wait()", "file_type": "code", "source_file": "test/api/test_audio.py", "source_location": "L58", "_callable": true}, {"id": "$graphify-root$_test_api_test_audio_rationale_1", "label": "main's /api/audio routes on the controller's microphone.", "file_type": "rationale", "source_file": "test/api/test_audio.py", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_test_api_test_audio_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "test/api/test_audio.py", "source_location": "L3", "weight": 1.0, "_python_import_module": "json", "_python_import_bindings": [["json", "json"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_test_api_test_audio_py", "target": "requests", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "test/api/test_audio.py", "source_location": "L5", "weight": 1.0, "_python_import_module": "requests", "_python_import_bindings": [["requests", "requests"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_test_api_test_audio_py", "target": "$graphify-root$_test_api_test_audio_test_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "test/api/test_audio.py", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_test_api_test_audio_py", "target": "$graphify-root$_test_api_test_audio_test_start_stop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "test/api/test_audio.py", "source_location": "L19", "weight": 1.0}, {"source": "$graphify-root$_test_api_test_audio_py", "target": "$graphify-root$_test_api_test_audio_test_devices", "relation": "contains", "confidence": "EXTRACTED", "source_file": "test/api/test_audio.py", "source_location": "L34", "weight": 1.0}, {"source": "$graphify-root$_test_api_test_audio_py", "target": "$graphify-root$_test_api_test_audio_test_events_stream", "relation": "contains", "confidence": "EXTRACTED", "source_file": "test/api/test_audio.py", "source_location": "L45", "weight": 1.0}, {"source": "$graphify-root$_test_api_test_audio_py", "target": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "relation": "contains", "confidence": "EXTRACTED", "source_file": "test/api/test_audio.py", "source_location": "L58", "weight": 1.0}, {"source": "$graphify-root$_test_api_test_audio_rationale_1", "target": "$graphify-root$_test_api_test_audio_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "test/api/test_audio.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_test_api_test_audio_test_status", "callee": "get", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L12", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [327, 353]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_status", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L14", "receiver": "resp", "_python_receiver_shadowed": true, "_python_receiver_factory": [327, 353], "_python_call_site": [398, 409]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L20", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [543, 576]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "get", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L20", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [543, 569]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "post", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L21", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [609, 634]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L22", "receiver": "resp", "_python_receiver_shadowed": true, "_python_receiver_factory": [609, 634], "_python_call_site": [646, 657]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L23", "receiver": "resp", "_python_receiver_shadowed": true, "_python_receiver_factory": [609, 634], "_python_call_site": [681, 692]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "post", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L26", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [830, 856]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L27", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [921, 954]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "post", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L27", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [921, 947]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L28", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [995, 1028]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "post", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L28", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [995, 1021]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L29", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [1054, 1092]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "post", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L29", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [1054, 1085]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_start_stop", "callee": "post", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L31", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [1131, 1156]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_devices", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L35", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [1191, 1225]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_devices", "callee": "get", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L35", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [1191, 1218]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_devices", "callee": "list", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "test/api/test_audio.py", "source_location": "L36"}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_devices", "callee": "put", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L41", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [1589, 1646]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_devices", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L42", "receiver": "resp", "_python_receiver_shadowed": true, "_python_receiver_factory": [1589, 1646], "_python_call_site": [1658, 1669]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_events_stream", "callee": "get", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L47", "receiver": "requests", "_python_receiver_shadowed": false, "_python_call_site": [1844, 1913]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_events_stream", "callee": "startswith", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L49", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [1977, 2037]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_events_stream", "callee": "iter_lines", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L50", "receiver": "resp", "_python_receiver_shadowed": true, "_python_call_site": [2058, 2094]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_events_stream", "callee": "startswith", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L51", "receiver": "line", "_python_receiver_shadowed": true, "_python_call_site": [2111, 2136]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_events_stream", "callee": "loads", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L52", "receiver": "json", "_python_receiver_shadowed": false, "_python_call_site": [2162, 2182]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "callee": "put", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L59", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [2360, 2421]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L60", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [2452, 2477]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "callee": "get", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L60", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [2452, 2470]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "callee": "put", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L61", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [2527, 2583]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "callee": "put", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L62", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [2614, 2667]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "callee": "json", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L63", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [2698, 2723]}, {"caller_nid": "$graphify-root$_test_api_test_audio_test_settings_switch_wait", "callee": "get", "is_member_call": true, "source_file": "test/api/test_audio.py", "source_location": "L63", "receiver": "c", "_python_receiver_shadowed": true, "_python_fixture_param": true, "_python_call_site": [2698, 2716]}]} |