feat(ui-flow): worker release and integration manifest JSON modal IPC (v0.8.700)
Wire modal-open events and clear-integration-manifest-export-json for Phase 724 dedicated worker export mesh management. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2521,6 +2521,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
send({ type: 'worker-json-modal-opened' })
|
send({ type: 'worker-json-modal-opened' })
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'worker-release-json-modal-open') {
|
||||||
|
pushState()
|
||||||
|
send({ type: 'worker-release-json-modal-opened' })
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if (t === 'integration-manifest-json-modal-open') {
|
||||||
|
pushState()
|
||||||
|
send({ type: 'integration-manifest-json-modal-opened' })
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'sync-worker-release-json') {
|
if (t === 'sync-worker-release-json') {
|
||||||
const out = await platform.pushWorkerReleaseJsonToMesh()
|
const out = await platform.pushWorkerReleaseJsonToMesh()
|
||||||
pushState()
|
pushState()
|
||||||
@@ -2555,6 +2565,17 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'clear-integration-manifest-export-json') {
|
||||||
|
await platform.clearIntegrationManifestExportJsonExports()
|
||||||
|
pushState()
|
||||||
|
if (platform.mode === 'guild' && platform.activeChannelId) {
|
||||||
|
send({
|
||||||
|
type: 'composer-focus-channel',
|
||||||
|
channelId: platform.activeChannelId
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'bot-json-modal-open') {
|
if (t === 'bot-json-modal-open') {
|
||||||
pushState()
|
pushState()
|
||||||
send({ type: 'bot-json-modal-opened' })
|
send({ type: 'bot-json-modal-opened' })
|
||||||
|
|||||||
Reference in New Issue
Block a user