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(session-host): simplify optional flag reads in factory
Steven Enamakel237d752fd791
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rsindex b65046ea6b..092df7e297 100644--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs@@ -97,14 +97,8 @@ impl OpenHumanSessionHost {ToolScope::Wildcard => "wildcard".to_string(),}).unwrap_or_else(|| "legacy".to_string()),- target_def- .as_ref()- .map(|d| d.extensions.omit_identity)- .unwrap_or(false),- target_def- .as_ref()- .map(|d| d.extensions.omit_memory_context)- .unwrap_or(false),+ target_def.as_ref().is_some_and(|d| d.extensions.omit_identity),+ target_def.as_ref().is_some_and(|d| d.extensions.omit_memory_context),target_def.as_ref().map(|d| d.temperature)diff --git a/scripts/ci/check-openhuman-rust-layout.mjs b/scripts/ci/check-openhuman-rust-layout.mjsindex 68d6852bbf..f2da93fea5 100644--- a/scripts/ci/check-openhuman-rust-layout.mjs+++ b/scripts/ci/check-openhuman-rust-layout.mjs@@ -27,7 +27,7 @@ const LEGACY_LIMIT_ENTRIES = [// under the general 750 limit, so it needs no exception at all.// The session-todo integration added transcript metadata construction to// this already-exempt composition seam. Keep its allowance exact.- ["crates/openhuman-core/src/agent/session_host/runtime_session.rs", 1133],+ ["crates/openhuman-core/src/agent/session_host/runtime_session.rs", 1126],// `[components] juice` test constructor (tokenjuice gate tests).["crates/openhuman-core/src/core/runtime/context.rs", 753],// Session-host factory still assembles the product's deliberately coupled