Files
led-controller/graphify-out/cache/ast/v0.9.101-s36-g1339418af9f9/0bbee351bc3da1ac1a973977738b872333137b7ead161a1caa2af75ae2ca0f93.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
11 KiB
JSON

{"nodes": [{"id": "$graphify-root$_main_ws_client_c", "label": "ws_client.c", "file_type": "code", "source_file": "main/ws_client.c", "source_location": "L1"}, {"id": "$graphify-root$_main_ws_client_read_handshake", "label": "read_handshake()", "file_type": "code", "source_file": "main/ws_client.c", "source_location": "L18", "_callable": true}, {"id": "$graphify-root$_main_ws_client_ws_client_connect", "label": "ws_client_connect()", "file_type": "code", "source_file": "main/ws_client.c", "source_location": "L35", "_callable": true}, {"id": "$graphify-root$_main_ws_client_ws_client_send_text", "label": "ws_client_send_text()", "file_type": "code", "source_file": "main/ws_client.c", "source_location": "L81", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/ws_client.c"}, {"id": "$graphify-root$_main_ws_client_read_n", "label": "read_n()", "file_type": "code", "source_file": "main/ws_client.c", "source_location": "L111", "_callable": true}, {"id": "$graphify-root$_main_ws_client_ws_client_recv_text", "label": "ws_client_recv_text()", "file_type": "code", "source_file": "main/ws_client.c", "source_location": "L125", "_callable": true}, {"id": "$graphify-root$_main_ws_client_ws_client_close", "label": "ws_client_close()", "file_type": "code", "source_file": "main/ws_client.c", "source_location": "L166", "_callable": true}], "edges": [{"source": "$graphify-root$_main_ws_client_c", "target": "$graphify-root$_main_ws_client_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L3", "weight": 1.0, "target_file": "$graphify-root$/main/ws_client.h"}, {"source": "$graphify-root$_main_ws_client_c", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_c", "target": "stdlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ws_client_c", "target": "esp_random", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "esp_random.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ws_client_c", "target": "netdb", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "lwip/netdb.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ws_client_c", "target": "sockets", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "lwip/sockets.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ws_client_c", "target": "$graphify-root$_main_ws_client_read_handshake", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L18", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_c", "target": "$graphify-root$_main_ws_client_ws_client_connect", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_c", "target": "$graphify-root$_main_ws_client_ws_client_send_text", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L81", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_ws_client_send_text", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L81", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_ws_client_c", "target": "$graphify-root$_main_ws_client_read_n", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L111", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_c", "target": "$graphify-root$_main_ws_client_ws_client_recv_text", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L125", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_c", "target": "$graphify-root$_main_ws_client_ws_client_close", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L166", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_ws_client_connect", "target": "$graphify-root$_main_ws_client_read_handshake", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L72", "weight": 1.0}, {"source": "$graphify-root$_main_ws_client_ws_client_recv_text", "target": "$graphify-root$_main_ws_client_read_n", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/ws_client.c", "source_location": "L129", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_main_ws_client_read_handshake", "callee": "recv", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L22", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_read_handshake", "callee": "strstr", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L28", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "getaddrinfo", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L41", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "ESP_LOGW", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L42", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "socket", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L45", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "freeaddrinfo", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L47", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "setsockopt", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L51", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "setsockopt", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L52", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "setsockopt", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L54", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "connect", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L55", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "freeaddrinfo", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L56", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "close", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L57", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "freeaddrinfo", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L60", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "snprintf", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L63", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "send", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L67", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "close", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L68", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "strncmp", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L72", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "ESP_LOGW", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L73", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_connect", "callee": "close", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L74", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_send_text", "callee": "malloc", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L88", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_send_text", "callee": "esp_fill_random", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L93", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_send_text", "callee": "memcpy", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L102", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_send_text", "callee": "send", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L106", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_send_text", "callee": "free", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L107", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_read_n", "callee": "recv", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L115", "receiver": null}, {"caller_nid": "$graphify-root$_main_ws_client_ws_client_close", "callee": "close", "is_member_call": false, "source_file": "main/ws_client.c", "source_location": "L169", "receiver": null}], "_cached_target_files": ["$graphify-root$/main/ws_client.h"]}