()
| 29 | } |
| 30 | |
| 31 | export 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. |
no outgoing calls
no test coverage detected