No description
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.
|
||
|---|---|---|
| bench | ||
| compiler | ||
| engine | ||
| examples | ||
| registry | ||
| .gitignore | ||
| BITSTREAM_INTEGRATION.md | ||
| Cargo.toml | ||
| DREAMSTACK.md | ||
| IMPLEMENTATION_PLAN.md | ||
| STREAM_COMPOSITION.md | ||
| USE_CASES.md | ||