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

Method hasActiveTask

apps/cli/src/agent/extension-client.ts:231–233  ·  view source on GitHub ↗

* Check if there is an active task.

()

Source from the content-addressed store, hash-verified

229 * Check if there is an active task.
230 */
231 hasActiveTask(): boolean {
232 return this.store.getCurrentState() !== AgentLoopState.NO_TASK
233 }
234
235 /**
236 * Get all messages in the current task.

Callers 3

runStdinStreamModeFunction · 0.80

Calls 1

getCurrentStateMethod · 0.45

Tested by

no test coverage detected