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:
@@ -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`.
|
||||||
|
|||||||
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user