MCPcopy Create free account
hub / github.com/Ark0N/Codeman / killSubagentsForSession

Method killSubagentsForSession

src/subagent-watcher.ts:763–772  ·  view source on GitHub ↗

* Kill all subagents for a specific Codeman session. * IMPORTANT: Must scope to sessionId to avoid cross-session kills. * All sessions in the same workingDir share a projectHash, so filtering * by workingDir alone would kill subagents belonging to OTHER sessions.

(workingDir: string, sessionId?: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_doCleanupSessionMethod · 0.80

Calls 2

killSubagentMethod · 0.95

Tested by

no test coverage detected