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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user