MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / postMessageToWebview

Method postMessageToWebview

src/core/webview/ClineProvider.ts:1208–1218  ·  view source on GitHub ↗
(message: ExtensionMessage)

Source from the content-addressed store, hash-verified

1206 }
1207
1208 public async postMessageToWebview(message: ExtensionMessage) {
1209 if (this._disposed) {
1210 return
1211 }
1212
1213 try {
1214 await this.view?.webview.postMessage(message)
1215 } catch {
1216 // View disposed, drop message silently
1217 }
1218 }
1219
1220 private async getHMRHtmlContent(webview: vscode.Webview): Promise<string> {
1221 let localPort = "5173"

Callers 15

resolveWebviewViewMethod · 0.95
handleZooCodeCallbackMethod · 0.95
showTaskWithIdMethod · 0.95
condenseTaskContextMethod · 0.95
postStateToWebviewMethod · 0.95
fetchMarketplaceDataMethod · 0.95
updateTaskHistoryMethod · 0.95
resetStateMethod · 0.95

Calls 1

postMessageMethod · 0.65

Tested by 1

simulateConditionCheckFunction · 0.64