feat(mesh): gossip message search request/response (v0.8.86)

Wire RPC 77/78 to message-search-request and message-search-response events
with gossipMessageSearchRequest/Response helpers.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 08:02:39 -04:00
co-authored by Cursor
parent c3ca4b1208
commit 85b14c2516
+14
View File
@@ -374,6 +374,12 @@ class PearcordGuild extends EventEmitter {
if (method === RPC.AUDIT_EXPORT_CSV_SYNC) {
this.emit('audit-export-csv-sync', payload)
}
if (method === RPC.MESSAGE_SEARCH_REQUEST) {
this.emit('message-search-request', payload)
}
if (method === RPC.MESSAGE_SEARCH_RESPONSE) {
this.emit('message-search-response', payload)
}
if (method === RPC.AUDIT_EXPORT_ARCHIVE) {
this.emit('audit-export-archive', payload)
}
@@ -741,6 +747,14 @@ class PearcordGuild extends EventEmitter {
broadcastGossip(this, RPC.AUTOMATION_DIGEST_EXPORT_SNAPSHOT_REQUEST, payload)
}
gossipMessageSearchRequest (payload) {
broadcastGossip(this, RPC.MESSAGE_SEARCH_REQUEST, payload)
}
gossipMessageSearchResponse (payload) {
broadcastGossip(this, RPC.MESSAGE_SEARCH_RESPONSE, payload)
}
gossipBotInstall (bot) {
broadcastGossip(this, RPC.BOT_INSTALL_UPSERT, bot)
}