MCPcopy Create free account
hub / github.com/codeaashu/claude-code / hasActiveInProcessTeammates

Function hasActiveInProcessTeammates

src/utils/teammate.ts:205–213  ·  view source on GitHub ↗
(appState: AppState)

Source from the content-addressed store, hash-verified

203 * before exiting.
204 */
205export function hasActiveInProcessTeammates(appState: AppState): boolean {
206 // Check for running in-process teammate tasks
207 for (const task of Object.values(appState.tasks)) {
208 if (task.type === 'in_process_teammate' && task.status === 'running') {
209 return true
210 }
211 }
212 return false
213}
214
215/**
216 * Checks if there are in-process teammates still actively working on tasks.

Callers 1

runFunction · 0.85

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected