* Generic method to send any ask response. * * @param response - The response type * @param text - Optional text content * @param images - Optional images
(response: ClineAskResponse, text?: string, images?: string[])
| 382 | * @param images - Optional images |
| 383 | */ |
| 384 | sendResponse(response: ClineAskResponse, text?: string, images?: string[]): void { |
| 385 | const message: WebviewMessage = { |
| 386 | type: "askResponse", |
| 387 | askResponse: response, |
| 388 | text, |
| 389 | images, |
| 390 | } |
| 391 | this.sendMessage(message) |
| 392 | } |
| 393 | |
| 394 | // =========================================================================== |
| 395 | // Task Control Methods |
no test coverage detected