- createMediaService: sealed store + live relay + /watch in one mount, used by both `shade media serve` and standalone.ts - SHADE_MEDIA_DIR enables it (no in-memory fallback, like the vault); SHADE_MEDIA_OWNERS lists who may upload and open live channels - live publishers co-sign their hello with an owner key; a relay with an owner list refuses everyone else, and the client stops on that refusal instead of reconnecting forever - relay caps live channels held at once; `shade media whoami` Verified against the real standalone process: film round trip identical, stranger gets 403 / refused channel, live logs and browser playback. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
12 KiB
12 KiB