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(approval): use direct import for RequestRoute in gate_state
Steven Enamakel524a213694bb
diff --git a/crates/openhuman-core/src/security/approval/gate_state.rs b/crates/openhuman-core/src/security/approval/gate_state.rsindex e60f4c13ad..338f36d4d2 100644--- a/crates/openhuman-core/src/security/approval/gate_state.rs+++ b/crates/openhuman-core/src/security/approval/gate_state.rs@@ -188,14 +188,14 @@ impl ApprovalGate {/// Record the routing correlation for a newly-parked request. Called at/// park time in `intercept_audited_inner`, alongside the `thread_to_request`/// insert.- pub(super) fn insert_request_route(&self, request_id: &str, route: super::gate::RequestRoute) {+ pub(super) fn insert_request_route(&self, request_id: &str, route: RequestRoute) {self.request_routes.lock().insert(request_id.to_string(), route);}/// Remove and return the routing correlation for `request_id`, if any./// Consumed exactly once per request — by whichever path resolves the/// decision first (`decide`, a TTL timeout, or a dropped channel).- pub(super) fn take_request_route(&self, request_id: &str) -> Option<super::gate::RequestRoute> {+ pub(super) fn take_request_route(&self, request_id: &str) -> Option<RequestRoute> {self.request_routes.lock().remove(request_id)}