mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-08 03:07:53 +00:00
Release: v1.51.0 (#7130)
This commit is contained in:
parent
9a734d0cab
commit
6274273982
3 changed files with 9 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue