( mcpClients: MCPServerConnection[], )
| 1177 | } |
| 1178 | |
| 1179 | export function getConnectedIdeName( |
| 1180 | mcpClients: MCPServerConnection[], |
| 1181 | ): string | null { |
| 1182 | const ideClient = mcpClients.find( |
| 1183 | client => client.type === 'connected' && client.name === 'ide', |
| 1184 | ) |
| 1185 | return getIdeClientName(ideClient) |
| 1186 | } |
| 1187 | |
| 1188 | export function getIdeClientName( |
| 1189 | ideClient?: MCPServerConnection, |
no test coverage detected