feat(ui-flow): expose DM thread P2P audit IPC event

Add `audit-dm-thread-p2p` dispatch handling and emit
`dm-thread-p2p-audit` results sourced from platform diagnostics.
Document the new IPC contract for phase658 closure.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-02 03:07:52 -04:00
co-authored by Cursor
parent 618d5a0cf0
commit 2993e14262
2 changed files with 8 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.638 (Phase 658):** Added `audit-dm-thread-p2p` IPC -> `dm-thread-p2p-audit` event to expose DM-thread topic safety diagnostics from platform.
**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.
+6
View File
@@ -1390,6 +1390,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState()
return true
}
if (t === 'audit-dm-thread-p2p') {
const result = await platform.exportDmThreadP2PAudit()
send({ type: 'dm-thread-p2p-audit', result })
pushState()
return true
}
if (t === 'create-category') {
await platform.createCategory({ name: msg.name })
if (platform.mode === 'guild' && platform.activeChannelId) {