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

Method isActiveTask

src/core/webview/ClineProvider.ts:699–712  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

697 }
698
699 public static async isActiveTask(): Promise<boolean> {
700 const visibleProvider = await ClineProvider.getInstance()
701
702 if (!visibleProvider) {
703 return false
704 }
705
706 // Check if there is a cline instance in the stack (if this provider has an active task)
707 if (visibleProvider.getCurrentTask()) {
708 return true
709 }
710
711 return false
712 }
713
714 public static async handleCodeAction(
715 command: CodeActionId,

Callers

nothing calls this directly

Calls 2

getCurrentTaskMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected