MCPcopy Create free account
hub / github.com/cortexkit/magic-context / shouldKeepSubagents

Function shouldKeepSubagents

packages/plugin/src/shared/keep-subagents.ts:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25/** True when subagent child sessions should be retained (not deleted). */
26export function shouldKeepSubagents(): boolean {
27 return keepSubagents;
28}
29
30/** Test-only reset. Do NOT call from production paths. */
31export function _resetKeepSubagentsForTesting(): void {

Callers 7

cleanupChildSessionFunction · 0.90
runSidekickFunction · 0.90
verifyOneBatchFunction · 0.90
classifyOneChunkFunction · 0.90
mapOneBatchFunction · 0.90
runHistorianPromptFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected