()
| 3265 | // Clear the current task without treating it as a subtask. |
| 3266 | // This is used when the user cancels a task that is not a subtask. |
| 3267 | public async clearTask(): Promise<void> { |
| 3268 | if (this.clineStack.length > 0) { |
| 3269 | const task = this.clineStack[this.clineStack.length - 1] |
| 3270 | console.log(`[clearTask] clearing task ${task.taskId}.${task.instanceId}`) |
| 3271 | await this.removeClineFromStack() |
| 3272 | } |
| 3273 | } |
| 3274 | |
| 3275 | public resumeTask(taskId: string): void { |
| 3276 | // Use the existing showTaskWithId method which handles both current and |
nothing calls this directly
no test coverage detected