()
| 30 | * orchestration role and has its own delegation model. |
| 31 | */ |
| 32 | export function isForkSubagentEnabled(): boolean { |
| 33 | if (feature('FORK_SUBAGENT')) { |
| 34 | if (isCoordinatorMode()) return false |
| 35 | if (getIsNonInteractiveSession()) return false |
| 36 | return true |
| 37 | } |
| 38 | return false |
| 39 | } |
| 40 | |
| 41 | /** Synthetic agent type name used for analytics when the fork path fires. */ |
| 42 | export const FORK_SUBAGENT_TYPE = 'fork' |
no test coverage detected