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

Function setKeepSubagents

packages/plugin/src/shared/keep-subagents.ts:21–23  ·  view source on GitHub ↗
(value: boolean)

Source from the content-addressed store, hash-verified

19
20/** Set at plugin boot from `keep_subagents` config. */
21export function setKeepSubagents(value: boolean): void {
22 keepSubagents = value === true;
23}
24
25/** True when subagent child sessions should be retained (not deleted). */
26export function shouldKeepSubagents(): boolean {

Callers 3

serverFunction · 0.90
index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected