dreamstack/compiler
enzotar a8235c48b3 feat: stream composition API — select, schema, relay filtering
1. Receiver-side `select` clause:
   - `stream from "url" { select: field1, field2 }`
   - Parser, AST, codegen all updated
   - Emits: `_connectStream(url, ["field1","field2"])`
   - Client-side _csFilter strips unwanted fields

2. Schema announcement (0x32):
   - Sources send output schema on connect
   - Lists registered signal names and mode

3. Relay schema cache:
   - ChannelState stores schema from 0x32
   - Forwarded to late-joining receivers

4. Relay-side subscribe filter (0x33):
   - Receivers send wanted fields after connecting
   - Relay strips unwanted JSON keys from 0x30/0x31
     frames before forwarding — saves bandwidth

Protocol: SchemaAnnounce=0x32, SubscribeFilter=0x33
54 tests pass, all crates build clean.
2026-02-26 10:07:47 -08:00
..
ds-analyzer feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-cli feat: v2 module system — import/export with multi-file compilation 2026-02-25 20:36:18 -08:00
ds-codegen feat: stream composition API — select, schema, relay filtering 2026-02-26 10:07:47 -08:00
ds-layout feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-parser feat: stream composition API — select, schema, relay filtering 2026-02-26 10:07:47 -08:00
ds-types feat: v2 phase 1 — array access, timer, string interpolation 2026-02-25 19:20:20 -08:00