Phase 791: sync-guild-stickers IPC for manual sticker mesh recovery.

Emits guild-sticker and requests sync fanout before structural push.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 22:04:22 -04:00
co-authored by Cursor
parent 06d2744187
commit 5941404e96
2 changed files with 15 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. Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
**Phase 791 (v0.8.758):** `sync-guild-stickers` → guild-sticker emit + structural push. Bundle: `npm run test:ci-phase791`.
**Phase 790 (v0.8.757):** `sync-guild-emojis` → guild-emoji emit + structural push. Bundle: `npm run test:ci-phase790`. **Phase 790 (v0.8.757):** `sync-guild-emojis` → guild-emoji emit + structural push. Bundle: `npm run test:ci-phase790`.
**Phase 789 (v0.8.756):** `sync-guild-reactions` → reaction emit + structural push. Bundle: `npm run test:ci-phase789`. **Phase 789 (v0.8.756):** `sync-guild-reactions` → reaction emit + structural push. Bundle: `npm run test:ci-phase789`.
+13
View File
@@ -809,6 +809,19 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState({ structural: true, light: false, source: 'sync-guild-emojis' }) pushState({ structural: true, light: false, source: 'sync-guild-emojis' })
return true return true
} }
if (t === 'sync-guild-stickers') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
platform.emit('guild-sticker', {
guildId: platform.guild.guild.id,
manualRecovery: true
})
if (typeof platform.requestGuildSyncFanout === 'function') {
platform.requestGuildSyncFanout()
}
}
pushState({ structural: true, light: false, source: 'sync-guild-stickers' })
return true
}
if (t === 'sync-guild-mesh-reconnect') { if (t === 'sync-guild-mesh-reconnect') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) { if (platform.mode === 'guild' && platform.guild?.guild?.id) {
if (typeof platform.runOfflineRecoverySync === 'function') { if (typeof platform.runOfflineRecoverySync === 'function') {