Files
led-controller/graphify-out/cache/ast/v0.9.101-s36-g1339418af9f9/d8c36f426e81818a58343caf7f5182d86638eb8cd73985e3876746e53d66adaa.json
T
jimmyandClaude Opus 5.5 581b751904 feat: browser simulator served by the controller, desktop build, browser bridge
- 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>
2026-11-16 19:32:46 +13:00

1 line
13 KiB
JSON

{"nodes": [{"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "label": "sim_stubs.c", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_esp_vfs_littlefs_register", "label": "esp_vfs_littlefs_register()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L10", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "esp_vfs_littlefs_conf_t", "label": "esp_vfs_littlefs_conf_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_start", "label": "mic_start()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L18", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_get_level", "label": "mic_get_level()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L23", "_callable": true}, {"id": "mic_level_t", "label": "mic_level_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_open", "label": "mic_stream_open()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L30", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_read", "label": "mic_stream_read()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L35", "_callable": true}, {"id": "ticktype_t", "label": "TickType_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_close", "label": "mic_stream_close()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L43", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_confirm_later", "label": "ota_confirm_later()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L49", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_unsupported", "label": "ota_unsupported()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L53", "_callable": true}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_register", "label": "ota_register()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L60", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}], "edges": [{"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "stat", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "esp_littlefs", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L4", "weight": 1.0, "metadata": {"raw_include": "esp_littlefs.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L5", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "beat", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "beat.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "mic", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "mic.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "ota", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "ota.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_esp_vfs_littlefs_register", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_esp_vfs_littlefs_register", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L10", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_esp_vfs_littlefs_register", "target": "esp_vfs_littlefs_conf_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L10", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_start", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L18", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_start", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L18", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_get_level", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L23", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_get_level", "target": "mic_level_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L23", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_open", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L30", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_open", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L30", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_read", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_read", "target": "ticktype_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L35", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_close", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L43", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_confirm_later", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L49", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_unsupported", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_unsupported", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L53", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_unsupported", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L53", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_register", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L60", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_register", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L60", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_register", "target": "httpd_handle_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L60", "weight": 1.0, "context": "parameter_type"}], "raw_calls": [{"caller_nid": "$graphify-root$_sim_controller_components_sim_sim_stubs_esp_vfs_littlefs_register", "callee": "mkdir", "is_member_call": false, "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L12", "receiver": null}, {"caller_nid": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_start", "callee": "beat_start", "is_member_call": false, "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L20", "receiver": null}, {"caller_nid": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_read", "callee": "vTaskDelay", "is_member_call": false, "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L39", "receiver": null}, {"caller_nid": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_unsupported", "callee": "httpd_resp_set_status", "is_member_call": false, "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L55", "receiver": null}, {"caller_nid": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_unsupported", "callee": "httpd_resp_set_type", "is_member_call": false, "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L56", "receiver": null}, {"caller_nid": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_unsupported", "callee": "httpd_resp_sendstr", "is_member_call": false, "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L57", "receiver": null}, {"caller_nid": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_register", "callee": "httpd_register_uri_handler", "is_member_call": false, "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L63", "receiver": null}]}