MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getCurrentTask

Method getCurrentTask

src/core/webview/ClineProvider.ts:2947–2953  ·  view source on GitHub ↗

* TaskProviderLike, TelemetryPropertiesProvider

()

Source from the content-addressed store, hash-verified

2945 */
2946
2947 public getCurrentTask(): Task | undefined {
2948 if (this.clineStack.length === 0) {
2949 return undefined
2950 }
2951
2952 return this.clineStack[this.clineStack.length - 1]
2953 }
2954
2955 private logWebviewHiddenDiagnostics(): void {
2956 const task = this.getCurrentTask()

Callers 15

onTaskAbortedMethod · 0.95
resolveWebviewViewMethod · 0.95
handleModeSwitchMethod · 0.95
showTaskWithIdMethod · 0.95
deleteTaskWithIdMethod · 0.95
messagesMethod · 0.95
cancelTaskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected