Phase 719: read state and webhook execute JSON mesh parity (v0.8.695)

Add dedicated signed-export modals for read receipts and webhook execute
exports, populate view rows and meta, partition-heal mixins with dedicated
spans, agentctl journeys, and CI smokes following the Phase 718 pattern.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 08:08:00 -04:00
co-authored by Cursor
parent e946b0e7a7
commit b4909deec7
+14 -2
View File
@@ -2584,8 +2584,9 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
return true
}
if (t === 'push-webhook-execute-export-json') {
await platform.pushWebhookExecuteExportToMesh()
const out = await platform.pushWebhookExecuteExportToMesh()
pushState()
send({ type: 'webhook-execute-export-json-synced', ...out })
if (platform.mode === 'guild' && platform.activeChannelId) {
send({
type: 'composer-focus-channel',
@@ -2594,6 +2595,14 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
}
return true
}
if (t === 'clear-webhook-execute-export-json') {
await platform.clearWebhookExecuteExportJsonExports()
pushState()
if (platform.mode === 'guild' && platform.activeChannelId) {
send({ type: 'composer-focus-channel', channelId: platform.activeChannelId })
}
return true
}
if (t === 'slash-json-modal-open') {
pushState()
send({ type: 'slash-json-modal-opened' })
@@ -2785,7 +2794,8 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
if (t === 'presence-json-modal-open') { pushState(); send({ type: 'presence-json-modal-opened' }); return true }
if (t === 'sync-presence-activity-json') { const out = await platform.pushPresenceActivityJsonToMesh(); pushState(); send({ type: 'presence-activity-json-synced', ...out }); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
if (t === 'clear-presence-activity-json') { await platform.clearPresenceActivityJsonExports(); pushState(); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
if (t === 'push-read-state-export-json') { await platform.pushReadStateExportToMesh(); pushState(); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
if (t === 'push-read-state-export-json') { const out = await platform.pushReadStateExportToMesh(); pushState(); send({ type: 'read-state-export-json-synced', ...out }); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
if (t === 'clear-read-state-export-json') { await platform.clearReadStateExportJsonExports(); pushState(); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
if (t === 'notification-json-modal-open') { pushState(); send({ type: 'notification-json-modal-opened' }); return true }
if (t === 'sync-notification-override-json') { const out = await platform.pushNotificationOverrideJsonToMesh(); pushState(); send({ type: 'notification-override-json-synced', ...out }); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
if (t === 'clear-notification-override-json') { await platform.clearNotificationOverrideJsonExports(); pushState(); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
@@ -2812,6 +2822,8 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
if (t === 'partition-heal-json-modal-open') { pushState(); send({ type: 'partition-heal-json-modal-opened' }); return true }
if (t === 'channel-follow-json-modal-open') { pushState(); send({ type: 'channel-follow-json-modal-opened' }); return true }
if (t === 'guild-widget-json-modal-open') { pushState(); send({ type: 'guild-widget-json-modal-opened' }); return true }
if (t === 'read-state-json-modal-open') { pushState(); send({ type: 'read-state-json-modal-opened' }); return true }
if (t === 'webhook-json-modal-open') { pushState(); send({ type: 'webhook-json-modal-opened' }); return true }
if (t === 'sync-device-sync-json') { const out = await platform.pushDeviceSyncJsonToMesh(); pushState(); send({ type: 'device-sync-json-synced', ...out }); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
if (t === 'clear-device-sync-json') { await platform.clearDeviceSyncJsonExports(); pushState(); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }
if (t === 'push-discovery-listing-export-json') { await platform.pushDiscoveryListingExportToMesh(); pushState(); if (platform.mode==='guild'&&platform.activeChannelId) send({ type:'composer-focus-channel', channelId: platform.activeChannelId }); return true }