feat(ui-flow): peer picker, schedule digest export, trial matrix IPC

Pass targetMemberId for archive mesh fetch. Add export-automation-schedule-digest,
run-worker-trial-matrix, and list-audit-archive-fetch-peers handlers.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 05:09:15 -04:00
co-authored by Cursor
parent d930d3b8a2
commit 4633245da7
+22 -1
View File
@@ -178,7 +178,8 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
format: msg.format,
timeoutMs: msg.timeoutMs,
maxAttempts: msg.maxAttempts,
baseDelayMs: msg.baseDelayMs
baseDelayMs: msg.baseDelayMs,
targetMemberId: msg.targetMemberId || null
})
: await platform.exportAuditExportArchive(msg.archiveId, {
format: msg.format
@@ -206,6 +207,26 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
send({ type: 'overdue-automation-ran', result })
return true
}
if (t === 'list-audit-archive-fetch-peers') {
const peers = await platform.listAuditArchiveFetchPeers()
send({ type: 'audit-archive-fetch-peers', peers })
return true
}
if (t === 'export-automation-schedule-digest') {
const out = await platform.exportAutomationScheduleDigest({
format: msg.format,
windowMs: msg.windowMs
})
send({ type: 'automation-schedule-digest-export', ...out })
return true
}
if (t === 'run-worker-trial-matrix') {
const result = await platform.runIntegrationWorkerTrialMatrix({
holdMs: msg.holdMs
})
send({ type: 'worker-trial-matrix', result })
return true
}
if (t === 'run-worker-install-trial') {
const result = await platform.runIntegrationWorkerTrial({
templateId: msg.templateId,