Phase 785: sync-guild-voice IPC for mesh voice recovery

Triggers voice-state emit, fanout, and structural state push.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 21:30:04 -04:00
co-authored by Cursor
parent 2627272dbc
commit 31da636433
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
**Phase 785 (v0.8.752):** `sync-guild-voice` → voice-state emit + fanout + structural push. Bundle: `npm run test:ci-phase785`.
**Phase 784 (v0.8.751):** `sync-guild-unread` → notification emit + fanout + structural push. Bundle: `npm run test:ci-phase784`.
**Phase 783 (v0.8.750):** `sync-guild-sync-health` → clear push halt + fanout + structural push. Bundle: `npm run test:ci-phase783`.
+10
View File
@@ -766,6 +766,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
}
return true
}
if (t === 'sync-guild-voice') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
platform.emit('voice-state')
if (typeof platform.requestGuildSyncFanout === 'function') {
platform.requestGuildSyncFanout()
}
}
pushState({ structural: true, light: false })
return true
}
if (t === 'sync-guild-unread') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
platform.emit('notification')