MCPcopy Create free account
hub / github.com/Noumena-Network/code / isAgentTeamsFlagSet

Function isAgentTeamsFlagSet

src/utils/agentSwarmsEnabled.ts:11–13  ·  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

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

Callers 1

isAgentSwarmsEnabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected