Release: v1.51.0 (#7130)

This commit is contained in:
Matt Rubens 2025-08-15 12:42:53 -04:00 • committed by GitHub
parent 9a734d0cab
commit 6274273982
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@roo-code/types",
"version": "1.50.0",
"version": "1.51.0",
"description": "TypeScript type definitions for Roo Code.",
"publishConfig": {
"access": "public",

View file

@ -25,6 +25,7 @@ export interface TaskProviderLike {
createTask(text?: string, images?: string[], parentTask?: TaskLike): Promise<TaskLike>
cancelTask(): Promise<void>
clearTask(): Promise<void>
resumeTask(taskId: string): void
getState(): Promise<TaskProviderState>
postStateToWebview(): Promise<void>

View file

@ -403,6 +403,13 @@ export class ClineProvider
await this.removeClineFromStack()
}
resumeTask(taskId: string): void {
// Use the existing showTaskWithId method which handles both current and historical tasks
this.showTaskWithId(taskId).catch((error) => {
this.log(`Failed to resume task ${taskId}: ${error.message}`)
})
}
getRecentTasks(): string[] {
if (this.recentTasksCache) {
return this.recentTasksCache