The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix: gate macOS-only Claude PATH prefix
Steven Enamakel40e54d54a769
diff --git a/src/openhuman/inference/provider/claude_code/driver.rs b/src/openhuman/inference/provider/claude_code/driver.rsindex d715ca3384..e23da9ba04 100644--- a/src/openhuman/inference/provider/claude_code/driver.rs+++ b/src/openhuman/inference/provider/claude_code/driver.rs@@ -236,6 +236,7 @@ pub(crate) fn child_path_with_user_bins(claude_bin: &std::path::Path) -> std::ffprefix.push(home.join(".local/bin"));prefix.push(home.join("bin"));}+ #[cfg(target_os = "macos")]prefix.push(PathBuf::from("/opt/homebrew/bin"));prefix.push(PathBuf::from("/usr/local/bin"));diff --git a/src/openhuman/inference/provider/claude_code/version_check_tests.rs b/src/openhuman/inference/provider/claude_code/version_check_tests.rsindex ab30701ece..3cf7159d74 100644--- a/src/openhuman/inference/provider/claude_code/version_check_tests.rs+++ b/src/openhuman/inference/provider/claude_code/version_check_tests.rs@@ -68,7 +68,8 @@ fn first_existing_skips_non_executable_files() {fn well_known_candidates_put_native_install_first() {let candidates = well_known_candidates();assert!(!candidates.is_empty());- if let Some(home) = dirs::home_dir() {- assert_eq!(candidates[0], home.join(".local/bin/claude"));+ match dirs::home_dir() {+ Some(home) => assert_eq!(candidates[0], home.join(".local/bin/claude")),+ None => assert_eq!(candidates[0], std::path::Path::new("/usr/local/bin/claude")),}}