Skip to content

Commit 170ea5d

Browse files
committed
Implement resumeTask
1 parent 9003f08 commit 170ea5d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,13 @@ export class ClineProvider
403403
await this.removeClineFromStack()
404404
}
405405

406+
resumeTask(taskId: string): void {
407+
// Use the existing showTaskWithId method which handles both current and historical tasks
408+
this.showTaskWithId(taskId).catch((error) => {
409+
this.log(`Failed to resume task ${taskId}: ${error.message}`)
410+
})
411+
}
412+
406413
getRecentTasks(): string[] {
407414
if (this.recentTasksCache) {
408415
return this.recentTasksCache

0 commit comments

Comments
 (0)