feat(media,server): media in the Shade container, owner-only uploads and channels
- 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>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
"@shade/core": "workspace:*",
|
||||
"@shade/inbox-server": "workspace:*",
|
||||
"@shade/key-transparency": "workspace:*",
|
||||
"@shade/media": "workspace:*",
|
||||
"@shade/observability": "workspace:*",
|
||||
"@shade/storage-sqlite": "workspace:*",
|
||||
"@shade/vault": "workspace:*",
|
||||
|
||||
Reference in New Issue
Block a user