( mcpClients: MCPServerConnection[], )
| 836 | } |
| 837 | |
| 838 | export function hasAccessToIDEExtensionDiffFeature( |
| 839 | mcpClients: MCPServerConnection[], |
| 840 | ): boolean { |
| 841 | // Check if there's a connected IDE client in the provided MCP clients list |
| 842 | return mcpClients.some( |
| 843 | client => client.type === 'connected' && client.name === 'ide', |
| 844 | ) |
| 845 | } |
| 846 | |
| 847 | const EXTENSION_ID = |
| 848 | process.env.USER_TYPE === 'ant' |
no outgoing calls
no test coverage detected