MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getPlanModeV2ExploreAgentCount

Function getPlanModeV2ExploreAgentCount

src/utils/planModeV2.ts:31–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31export function getPlanModeV2ExploreAgentCount(): number {
32 if (process.env.CLAUDE_CODE_PLAN_V2_EXPLORE_AGENT_COUNT) {
33 const count = parseInt(
34 process.env.CLAUDE_CODE_PLAN_V2_EXPLORE_AGENT_COUNT,
35 10,
36 )
37 if (!isNaN(count) && count > 0 && count <= 10) {
38 return count
39 }
40 }
41
42 return 3
43}
44
45/**
46 * Check if plan mode interview phase is enabled.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected