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
chore(subagent_host): reformat checkpoint key expressions
Steven Enamakel226939af98e2
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rsindex 17f8ccabb9..56e186b701 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs@@ -584,7 +584,9 @@ pub(super) fn shared_subagent_flight(// Key by the normalized root so every caller of one task, whether or not the// directory exists yet, reaches the same reservation.flights- .entry(checkpoint::absolute_checkpoint_dir(checkpoint_dir.to_path_buf()))+ .entry(checkpoint::absolute_checkpoint_dir(+ checkpoint_dir.to_path_buf(),+ )).or_default().clone()}diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle_checkpoint_tests.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle_checkpoint_tests.rsindex 416acf1a89..5010ef9ed0 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle_checkpoint_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle_checkpoint_tests.rs@@ -19,7 +19,10 @@ fn checkpoint_dir_key_is_stable_across_directory_creation() {std::fs::create_dir_all(&requested).expect("create checkpoint dir");let after = absolute_checkpoint_dir(requested);- assert_eq!(before, after, "key must not change when the directory appears");+ assert_eq!(+ before, after,+ "key must not change when the directory appears"+ );assert_eq!(after, std::fs::canonicalize(&after).expect("exists"));}