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