diff --git a/README.md b/README.md index 9f82f70..f1fb254 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. M **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`. + **v0.8.621 (Phase 649):** `export-federation-sync-diagnostics` → `federation-sync-diagnostics-exported`. Bundle: `npm run test:phase649-federation-discovery` (app repo). **v0.8.620 (Phase 648):** `export-multi-guild-sync-diagnostics` → `multi-guild-sync-diagnostics-exported`. Bundle: `npm run test:phase648-multi-guild-mesh` (app repo). diff --git a/index.js b/index.js index 7d2068e..682ddf7 100644 --- a/index.js +++ b/index.js @@ -233,7 +233,7 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { return true } if (t === 'export-federation-sync-diagnostics') { - const data = platform.exportFederationSyncDiagnostics() + const data = await platform.exportFederationSyncDiagnostics() send({ type: 'federation-sync-diagnostics-exported', json: JSON.stringify(data, null, 2) @@ -241,6 +241,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { pushState() return true } + if (t === 'refresh-discovery-explore-scoped') { + const result = await platform.refreshDiscoveryExploreScoped() + send({ type: 'discovery-explore-scoped-refreshed', result }) + pushState() + return true + } if (t === 'mark-onboarding-explore-shown') { await platform.markOnboardingExploreShown() pushState()