Migrate workspaceUpdated protobus (#4014)

* migrate workspaceUpdated

* fix linter warning about empty proto object creation

---------

Co-authored-by: Elephant Lumps <celestial_vault@Elephants-MacBook-Pro.local>
This commit is contained in:
celestial-vaultandElephant Lumps authored and GitHub committed 2025-06-06 19:05:16 -07:00
1 parent 4d7ced7e15
commit 150af1607e
9 files changed
+96 -21

No files matched your search

@@ -50,7 +50,7 @@ export async function sendChatButtonClickedEvent(controllerId: string): Promise<
}
try {
const event: Empty = Empty.create({})
const event = Empty.create({})
await responseStream(
event,
false, // Not the last message
@@ -50,7 +50,7 @@ export async function sendHistoryButtonClickedEvent(webviewType?: WebviewProvide
}
try {
const event: Empty = Empty.create({})
const event = Empty.create({})
await responseStream(
event,
false, // Not the last message
@@ -41,7 +41,7 @@ export async function subscribeToMcpButtonClicked(
* @param webviewType The type of webview that triggered the event (SIDEBAR or TAB)
*/
export async function sendMcpButtonClickedEvent(webviewType?: WebviewProviderType): Promise<void> {
const event: Empty = Empty.create({})
const event = Empty.create({})
// Process all subscriptions, filtering based on the source
const promises = Array.from(mcpButtonClickedSubscriptions.entries()).map(async ([responseStream, providerType]) => {