fix(vscode): recover pending questions on SSE reconnect

This commit is contained in:
kirillk
2026-04-06 12:33:30 -04:00
parent 77769f1ef4
commit 62d41be0cc
+1
View File
@@ -1057,6 +1057,7 @@ export class KiloProvider implements vscode.WebviewViewProvider, TelemetryProper
await this.syncWebviewState("sse-connected")
await this.flushPendingSessionRefresh("sse-connected")
await fetchAndSendPendingPermissions(this.permissionCtx)
await fetchAndSendPendingQuestions(this.questionCtx)
} catch (error) {
console.error("[Kilo New] KiloProvider: ❌ Failed during connected state handling:", error)
this.postMessage({