hasAccessToIDEExtensionDiffFeature method

bool hasAccessToIDEExtensionDiffFeature(
  1. List<Map<String, dynamic>> mcpClients
)

Check if there is an IDE extension connected with diff support.

Implementation

bool hasAccessToIDEExtensionDiffFeature(
  List<Map<String, dynamic>> mcpClients,
) {
  return mcpClients.any(
    (client) => client['type'] == 'connected' && client['name'] == 'ide',
  );
}