File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,9 @@ export class API extends EventEmitter<RooCodeEvents> implements RooCodeAPI {
5656 }
5757
5858 public async resumeTask ( taskId : string ) : Promise < void > {
59- await this . provider . removeClineFromStack ( )
60- await this . provider . postStateToWebview ( )
61- await this . provider . postMessageToWebview ( { type : "action" , action : "chatButtonClicked" } )
62- // TODO: what message should we send to the webview before resuming an old task?
63- await this . provider . postMessageToWebview ( { type : "invoke" , invoke : "newChat" } )
64-
6559 const { historyItem } = await this . provider . getTaskWithId ( taskId )
6660 await this . provider . initClineWithHistoryItem ( historyItem )
61+ await this . provider . postMessageToWebview ( { type : "action" , action : "chatButtonClicked" } )
6762 }
6863
6964 public async isTaskInHistory ( taskId : string ) : Promise < boolean > {
You can’t perform that action at this time.
0 commit comments