feat(ui-flow): sync-guild-partition-heal force heal IPC (Phase 796)

Headless can trigger runPartitionHealSync and structural UI refresh.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 22:29:22 -04:00
co-authored by Cursor
parent 7f8cb5e8af
commit 951c07f54f
2 changed files with 11 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 796 (v0.8.763):** `sync-guild-partition-heal` → force heal + structural push. Bundle: `npm run test:ci-phase796`.
**Phase 795 (v0.8.762):** `sync-guild-mesh-triple` → guild-mesh-topology emit + structural push. Bundle: `npm run test:ci-phase795`. **Phase 795 (v0.8.762):** `sync-guild-mesh-triple` → guild-mesh-topology emit + structural push. Bundle: `npm run test:ci-phase795`.
**Phase 794 (v0.8.761):** `sync-guild-channel-settings` → channel-settings emit + structural push. Bundle: `npm run test:ci-phase794`. **Phase 794 (v0.8.761):** `sync-guild-channel-settings` → channel-settings emit + structural push. Bundle: `npm run test:ci-phase794`.
+9
View File
@@ -877,6 +877,15 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple' }) pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple' })
return true return true
} }
if (t === 'sync-guild-partition-heal') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
void platform
.runPartitionHealSync({ force: true, source: 'sync-guild-partition-heal' })
.catch(() => null)
}
pushState({ structural: true, light: false, source: 'sync-guild-partition-heal' })
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') {