(appState: AppState)
| 15 | * Uses getTeamName() for consistency with isTeammate() swarm detection. |
| 16 | */ |
| 17 | export function getStandaloneAgentName(appState: AppState): string | undefined { |
| 18 | // If in a team (swarm), don't return standalone name |
| 19 | if (getTeamName()) { |
| 20 | return undefined |
| 21 | } |
| 22 | return appState.standaloneAgentContext?.name |
| 23 | } |
| 24 |
no test coverage detected