|
@@ -169,6 +169,10 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|
|
return this.clineStack.length
|
|
return this.clineStack.length
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public getCurrentTaskStack(): string[] {
|
|
|
|
|
+ return this.clineStack.map((cline) => cline.taskId)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// remove the current task/cline instance (at the top of the stack), ao this task is finished
|
|
// remove the current task/cline instance (at the top of the stack), ao this task is finished
|
|
|
// and resume the previous task/cline instance (if it exists)
|
|
// and resume the previous task/cline instance (if it exists)
|
|
|
// this is used when a sub task is finished and the parent task needs to be resumed
|
|
// this is used when a sub task is finished and the parent task needs to be resumed
|