feat(ui-flow): sync-guild-mesh-triple-emojis recovery IPC (Phase 802)

Triple mesh emoji sync with topology and guild-sync-ready emojis slice.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 22:46:48 -04:00
co-authored by Cursor
parent 66c3809d66
commit e7abdb2699
2 changed files with 19 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 802 (v0.8.769):** `sync-guild-mesh-triple-emojis` recovery IPC. Bundle: `npm run test:ci-phase802`.
**Phase 801 (v0.8.768):** `sync-guild-mesh-triple-channel-delete` recovery IPC. Bundle: `npm run test:ci-phase801`.
**Phase 800 (v0.8.767):** `sync-guild-channel-lifecycle`, `sync-guild-mesh-triple-channels` recovery IPC. Bundle: `npm run test:ci-phase800`.
+17
View File
@@ -809,6 +809,23 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState({ structural: true, light: false, source: 'sync-guild-emojis' })
return true
}
if (t === 'sync-guild-mesh-triple-emojis') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
const gid = platform.guild.guild.id
platform.emit('guild-mesh-topology', {
guildId: gid,
meshPeerCount: platform.guild?.peers?.size ?? 0,
manualRecovery: true
})
platform.emit('guild-emoji', { guildId: gid, manualRecovery: true })
platform.emit('guild-sync-ready', { guildId: gid, emojis: 1 })
if (typeof platform.requestGuildSyncFanout === 'function') {
platform.requestGuildSyncFanout()
}
}
pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple-emojis' })
return true
}
if (t === 'sync-guild-stickers') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
platform.emit('guild-sticker', {