( mcpClients: MCPServerConnection[], )
| 1236 | } |
| 1237 | |
| 1238 | export function getConnectedIdeName( |
| 1239 | mcpClients: MCPServerConnection[], |
| 1240 | ): string | null { |
| 1241 | const ideClient = mcpClients.find( |
| 1242 | client => client.type === 'connected' && client.name === 'ide', |
| 1243 | ) |
| 1244 | return getIdeClientName(ideClient) |
| 1245 | } |
| 1246 | |
| 1247 | export function getIdeClientName( |
| 1248 | ideClient?: MCPServerConnection, |
no test coverage detected