feat(rpc): Phase 870 media mesh protomux-rpc dual-stack (v0.8.837)

Add opt-in PEARCORD_MEDIA_RPC_WIRE for attach/voice/screen JSON planes on
protomux-rpc v2 (requires PEARCORD_RPC_WIRE=v2|dual). New mux-wire/media.js
attachMediaWireSession; attach fetch uses rpc.request when enabled. Default
unchanged: media stays v1 buffer even when gossip is v2. Smokes, CI bundle
test:ci-phase870, smoke-runner bounded mesh flush. No breaking behavior change.
This commit is contained in:
Raven Scott
2026-06-04 16:49:18 -04:00
parent d7460405fe
commit 8960f9b5d1
7 changed files with 94 additions and 7 deletions
+16
View File
@@ -0,0 +1,16 @@
# Release v0.8.837 — Phase 870
## Summary
Opt-in protomux-rpc v2 for attach/voice/screen JSON media planes when `PEARCORD_MEDIA_RPC_WIRE=1` and `PEARCORD_RPC_WIRE=v2|dual`. Default unchanged: media stays v1 buffer even if gossip is v2.
## Changes
- `pearcord-shared/rpc-wire-env.js``isMediaRpcWireEnabled`, `useMediaWireV1/V2`
- `pearcord-drive/mux-wire/media.js``attachMediaWireSession`
- `attach-mesh.js`, `pearcord-voice-media/mesh.js`, `pearcord-screen-share/mesh.js` — dual-stack media wire
## Verification
- `npm run test:ci-phase870`
- `npm run test:protomux-rpc-attach-mesh-live`