Phase 652: mesh replication diagnostics IPC and hub composer focus.

Export mesh replication diagnostics to clipboard and focus composer after announcement hub subscribe.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-01 22:07:56 -04:00
co-authored by Cursor
parent 8e82182b8f
commit 5e2dacb1d3
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.
**v0.8.624 (Phase 652):** `export-mesh-replication-diagnostics``mesh-replication-diagnostics-exported`; hub subscribe + composer focus. Bundle: `npm run test:phase652-live-mesh-churn` (app repo).
**v0.8.617 (Phase 645):** `request-member-page``member-page-requested`; `archive-thread``thread-archive-result` + composer focus. Bundle: `npm run test:phase645-large-guild-mesh` (app repo).
**v0.8.622 (Phase 650):** `refresh-discovery-explore-scoped``discovery-explore-scoped-refreshed`; async federation export. Bundle: `npm run test:phase650-live-federation-mesh`.
+13
View File
@@ -191,6 +191,15 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState()
return true
}
if (t === 'export-mesh-replication-diagnostics') {
const data = platform.exportMeshReplicationDiagnostics(msg.guildId)
send({
type: 'mesh-replication-diagnostics-exported',
json: JSON.stringify(data, null, 2)
})
pushState()
return true
}
if (t === 'sync-settings-mesh') {
await platform.syncSettingsMesh({ guildId: msg.guildId })
pushState()
@@ -620,6 +629,10 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
sourceChannelId: msg.sourceChannelId,
targetChannelId: msg.targetChannelId
})
const focusCh = msg.targetChannelId || platform.activeChannelId
if (focusCh && platform.mode === 'guild') {
send({ type: 'composer-focus-channel', channelId: focusCh })
}
pushState()
return true
}