feat(sdk): shareMedia / onMediaGrant — media grants over a Shade session
A grant for a sealed file or a live channel rides the Double Ratchet like any message. With an onMediaGrant handler registered, grants are routed there instead of onMessage; with none, they arrive as text as before. Bench results for @shade/media (1 GiB, up to 200 live viewers, 100 % delivered) committed with their chart spec. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Reference in New Issue
Block a user