isInstalled method

  1. @override
Future<bool> isInstalled()
override

Check if agent is installed on the system

Implementation

@override
Future<bool> isInstalled() async {
  // Check for OpenCode installation
  return await detectByCommand('which opencode');
}