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
refactor(runtime): acquire profile turn guard in native runner
Steven Enamakeldbc23235afdf
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/native_runner.rs b/crates/openhuman-core/src/channels/runtime/dispatch/native_runner.rsindex 131735d1cb..ce4d384354 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/native_runner.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/native_runner.rs@@ -250,7 +250,7 @@ impl NativeHost {// Match WebHost's lock order exactly: session lease before the// profile-wide chat/cron gate. Both acquisitions happen in checkout,// after TurnRunner admission, and cancellation drops either future.- let profile_turn: Option<crate::profiles::turn_gate::TurnGuard> = None;+ let profile_turn = crate::profiles::turn_gate::acquire(dispatch).await;// Relay keeps its thread busy through the small post-run durable// reply-recording tail in `run_relay_turn`; other native turns can// release their busy guard with progressive terminal delivery.