( mcpClients: MCPServerConnection[], )
| 895 | } |
| 896 | |
| 897 | export function hasAccessToIDEExtensionDiffFeature( |
| 898 | mcpClients: MCPServerConnection[], |
| 899 | ): boolean { |
| 900 | // Check if there's a connected IDE client in the provided MCP clients list |
| 901 | return mcpClients.some( |
| 902 | client => client.type === 'connected' && client.name === 'ide', |
| 903 | ) |
| 904 | } |
| 905 | |
| 906 | const EXTENSION_ID = |
| 907 | isInternalBuild() |
no outgoing calls
no test coverage detected