dreamstack/engine
enzotar 08e36573a5 feat: HTTP /meta API, signal dedup, periodic auto-sync
Relay HTTP /meta endpoint:
- GET /meta → JSON with all channel stats
- GET /meta/{name} → JSON with specific channel stats, schema, current state
- Uses TCP peek to intercept raw HTTP before WS handshake
- CORS headers for browser access

Signal deduplication:
- _lastSentValues tracks last-sent value per signal
- JSON.stringify comparison skips unchanged values
- Prevents redundant WS frames from derived signals

Periodic auto-sync:
- Every 50 diff batches, source sends full SignalSync (0x30)
- Relay can compact its cache instead of accumulating infinite diffs
- Resets pending_signal_diffs in relay cache

All 57 relay tests pass. All 9 examples pass.
2026-02-26 18:17:25 -08:00
..
ds-physics feat: physics language integration — scene container with Rapier2D WASM 2026-02-25 10:58:43 -08:00
ds-stream feat: HTTP /meta API, signal dedup, periodic auto-sync 2026-02-26 18:17:25 -08:00
ds-stream-wasm feat(wasm): add ds-stream-wasm crate — browser codec via WebAssembly 2026-02-25 14:45:51 -08:00