feat(ipc): announce-worker-release from server settings

Allows mods to gossip the current app version as the published
worker release for other guild peers on the mesh.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 04:17:53 -04:00
co-authored by Cursor
parent 43b5648f1c
commit 477359e3fe
+8
View File
@@ -110,6 +110,14 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState()
return true
}
if (t === 'announce-worker-release') {
await platform.announceWorkerRelease({
workerVersion: msg.workerVersion,
pearUri: msg.pearUri
})
pushState()
return true
}
if (t === 'export-integration-worker-script') {
const script = platform.buildIntegrationWorkerScript(msg.templateId || 'message-logger')
send({