detectRuntimes function
Detect available runtimes.
Implementation
Future<List<String>> detectRuntimes() async {
final runtimes = <String>[];
for (final name in ['bun', 'deno', 'node']) {
if (await _isCommandAvailable(name)) runtimes.add(name);
}
return runtimes;
}