MCPcopy
hub / github.com/codeaashu/claude-code / isAgentTeamsFlagSet

Function isAgentTeamsFlagSet

src/utils/agentSwarmsEnabled.ts:10–12  ·  view source on GitHub ↗

* Check if --agent-teams flag is provided via CLI. * Checks process.argv directly to avoid import cycles with bootstrap/state. * Note: The flag is only shown in help for ant users, but if external users * pass it anyway, it will work (subject to the killswitch).

()

Source from the content-addressed store, hash-verified

8 * pass it anyway, it will work (subject to the killswitch).
9 */
10function isAgentTeamsFlagSet(): boolean {
11 return process.argv.includes('--agent-teams')
12}
13
14/**
15 * Centralized runtime check for agent teams/teammate features.

Callers 1

isAgentSwarmsEnabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected