We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 009258c commit e3c059aCopy full SHA for e3c059a
packages/amazonq/src/lsp/chat/messages.ts
@@ -49,6 +49,8 @@ import {
49
buttonClickRequestType,
50
ButtonClickResult,
51
CancellationTokenSource,
52
+ chatUpdateNotificationType,
53
+ ChatUpdateParams,
54
} from '@aws/language-server-runtimes/protocol'
55
import { v4 as uuidv4 } from 'uuid'
56
import * as vscode from 'vscode'
@@ -463,6 +465,13 @@ export function registerMessageListeners(
463
465
true
464
466
)
467
})
468
+
469
+ languageClient.onNotification(chatUpdateNotificationType.method, (params: ChatUpdateParams) => {
470
+ void provider.webview?.postMessage({
471
+ command: chatUpdateNotificationType.method,
472
+ params: params,
473
+ })
474
475
}
476
477
function isServerEvent(command: string) {
0 commit comments