( prompt: string, taskId?: string, configuration?: RooCodeSettings, images?: string[], )
| 517 | } |
| 518 | |
| 519 | public async runTask( |
| 520 | prompt: string, |
| 521 | taskId?: string, |
| 522 | configuration?: RooCodeSettings, |
| 523 | images?: string[], |
| 524 | ): Promise<void> { |
| 525 | this.sendToExtension({ |
| 526 | type: "newTask", |
| 527 | text: prompt, |
| 528 | taskId, |
| 529 | taskConfiguration: configuration, |
| 530 | ...(images !== undefined ? { images } : {}), |
| 531 | }) |
| 532 | return this.waitForTaskCompletion() |
| 533 | } |
| 534 | |
| 535 | public async resumeTask(taskId: string): Promise<void> { |
| 536 | this.sendToExtension({ type: "showTaskWithId", text: taskId }) |
no test coverage detected