feat(ui-flow): sync-guild-mesh-triple-channel-delete IPC (Phase 801)

Triple mesh channel-delete recovery with structural sidebar push.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 22:44:24 -04:00
co-authored by Cursor
parent dcc7d599c3
commit 66c3809d66
2 changed files with 27 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 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`.
**Phase 799 (v0.8.766):** `sync-guild-mesh-triple-channel-settings` → topology + channelSettings recovery. Bundle: `npm run test:ci-phase799`.
+25
View File
@@ -931,6 +931,31 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple-channels' })
return true
}
if (t === 'sync-guild-mesh-triple-channel-delete') {
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('channel-delete', {
guildId: gid,
channelId: platform.activeChannelId,
manualRecovery: true
})
platform.emit('guild-sync-ready', { guildId: gid, channels: 1 })
if (typeof platform.requestGuildSyncFanout === 'function') {
platform.requestGuildSyncFanout()
}
}
pushState({
structural: true,
light: false,
source: 'sync-guild-mesh-triple-channel-delete'
})
return true
}
if (t === 'sync-guild-mesh-triple-channel-settings') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
const gid = platform.guild.guild.id