diff --git a/README.md b/README.md index eba0cc6..b04d696 100644 --- a/README.md +++ b/README.md @@ -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.628 (Phase 655 batch 2):** IPC `rename-group-dm`, `start-dm-voice`, `start-dm-video`; `open-dm` passes `sidebarFilterActive`. See [DM_INBOX.md](../../docs/DM_INBOX.md). + **Phase 654 now active** with 50 swarm/repl/sync items; composer production UI (autofocus, send btn, autogrow) landed with manual agentctl + BOOT_OK verification; platform/swarm-manager changes for adaptive retry + discovery aid. **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). diff --git a/index.js b/index.js index 07fd815..8d92a4d 100644 --- a/index.js +++ b/index.js @@ -1831,7 +1831,8 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { if (t === 'open-dm') { await platform.openDM({ peerUserId: msg.peerUserId, - peerDisplayName: msg.peerDisplayName || msg.peerUserId?.slice(0, 8) + peerDisplayName: msg.peerDisplayName || msg.peerUserId?.slice(0, 8), + sidebarFilterActive: !!msg.sidebarFilterActive }) pushState() if (platform.activeChannelId) { @@ -1839,6 +1840,24 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { } return true } + if (t === 'rename-group-dm') { + await platform.renameGroupDM({ + channelId: msg.channelId, + displayName: msg.displayName + }) + pushState() + return true + } + if (t === 'start-dm-voice') { + const out = await platform.startDmVoiceCall() + send({ type: 'dm-voice-call-started', ...out }) + return true + } + if (t === 'start-dm-video') { + const out = await platform.startDmVideoCall() + send({ type: 'dm-video-call-started', ...out }) + return true + } if (t === 'create-group-dm') { await platform.createGroupDM({ peerUserIds: msg.peerUserIds || [],