Barazo AppView backend barazo.forum

fix(ozone): decode CBOR frames instead of JSON.parse for label events (#122) master

The AT Protocol firehose sends label events as CBOR-encoded binary frames, not JSON. OzoneService.handleMessage was calling JSON.parse on CBOR data, causing continuous "Failed to process Ozone label event" warnings with SyntaxError on every incoming message. - Add cbor-frames utility using cborg's decodeFirst to split the AT Protocol event stream frame (header + body CBOR objects) - Replace JSON.parse with CBOR frame decoding in handleMessage - Add toBinaryData helper to handle Blob/ArrayBuffer/Uint8Array - Handle error frames (op: -1) with proper logging - Skip non-#labels message types silently - Add cborg 4.5.8 as direct dependency (was already transitive via @ipld/dag-cbor) Fixes barazo-forum/barazo-workspace#146


+1576 -3614
6 changed files