mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-11 22:51:26 +00:00
Fix exporting current open task
This commit is contained in:
parent
c277f7625f
commit
84150587a7
1 changed files with 4 additions and 2 deletions
|
|
@ -326,8 +326,10 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
|
|||
await this.postMessageToWebview({ type: "selectedImages", images })
|
||||
break
|
||||
case "exportCurrentTask":
|
||||
const firstMessageTs = this.claudeDev?.claudeMessages.at(0)?.ts ?? Date.now()
|
||||
downloadTask(firstMessageTs, this.claudeDev?.apiConversationHistory ?? [])
|
||||
const currentTaskId = this.claudeDev?.taskId
|
||||
if (currentTaskId) {
|
||||
this.exportTaskWithId(currentTaskId)
|
||||
}
|
||||
break
|
||||
case "showTaskWithId":
|
||||
this.showTaskWithId(message.text!)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue