Phase 784: sync-guild-unread IPC for mesh unread recovery
Triggers notification emit, sync fanout, and structural state push. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
|
||||
|
||||
**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`.
|
||||
|
||||
**Phase 782 (v0.8.749):** `sync-guild-presence` → `requestGuildSyncFanout` + structural push. Bundle: `npm run test:ci-phase782`.
|
||||
|
||||
@@ -766,6 +766,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
}
|
||||
return true
|
||||
}
|
||||
if (t === 'sync-guild-unread') {
|
||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||
platform.emit('notification')
|
||||
if (typeof platform.requestGuildSyncFanout === 'function') {
|
||||
platform.requestGuildSyncFanout()
|
||||
}
|
||||
}
|
||||
pushState({ structural: true, light: false })
|
||||
return true
|
||||
}
|
||||
if (t === 'sync-guild-sync-health') {
|
||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||
if (typeof platform.clearGuildSyncPushHalt === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user