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: update module paths and pattern matches
Steven Enamakel517d49b3a7b2
diff --git a/crates/openhuman-core/src/channels/proactive.rs b/crates/openhuman-core/src/channels/proactive.rsindex 6b5d27a503..317b006d72 100644--- a/crates/openhuman-core/src/channels/proactive.rs+++ b/crates/openhuman-core/src/channels/proactive.rs@@ -137,7 +137,7 @@ impl EventHandler<DomainEvent> for ProactiveMessageSubscriber {source,message,job_name,- tenant: _,+ ..} = eventelse {return;diff --git a/crates/openhuman-core/src/core/runtime/subscribers_tests.rs b/crates/openhuman-core/src/core/runtime/subscribers_tests.rsindex 7f522621df..a09ae0d9a4 100644--- a/crates/openhuman-core/src/core/runtime/subscribers_tests.rs+++ b/crates/openhuman-core/src/core/runtime/subscribers_tests.rs@@ -224,7 +224,7 @@ fn proactive_message_reaches_web_on_channelless_core_boot() {.build().expect("test runtime").block_on(async {- crate::core::runtime::lock_mode(crate::core::runtime::Mode::Saas)+ crate::core::runtime::mode::lock_mode(crate::core::runtime::Mode::Saas).expect("lock isolated test process in SaaS mode");crate::core::bus::init().await.expect("bus init");let mut web_events = crate::web_chat::subscribe_web_channel_events();@@ -234,7 +234,7 @@ fn proactive_message_reaches_web_on_channelless_core_boot() {let root = tempfile::tempdir().expect("profile root");let id = crate::profiles::ProfileId::parse("proactive-test").unwrap();let profile_host = std::sync::Arc::new(crate::profiles::ProfileHost::new(- crate::profiles::SaasConfig::new(root.path()),+ crate::core::runtime::SaasConfig::new(root.path()),crate::core::runtime::CoreContext::for_test(crate::core::runtime::DomainSet::full(),None,@@ -243,7 +243,7 @@ fn proactive_message_reaches_web_on_channelless_core_boot() {profile_host.provision(&id).await.expect("provision profile");let profile = profile_host.open(&id).await.expect("open profile");crate::profiles::host::install(profile_host);- let ctx = crate::core::runtime::DispatchCtx::new(profile.context());+ let ctx = crate::core::runtime::DispatchCtx::new(std::sync::Arc::clone(profile.context()));let tenant = ctx.event_tenant();assert_eq!(tenant.as_ref().and_then(|tenant| tenant.profile.as_deref()), Some("proactive-test"));diff --git a/crates/openhuman-core/src/web_chat/proactive.rs b/crates/openhuman-core/src/web_chat/proactive.rsindex e38064fe5b..a8cc884a91 100644--- a/crates/openhuman-core/src/web_chat/proactive.rs+++ b/crates/openhuman-core/src/web_chat/proactive.rs@@ -46,7 +46,7 @@ impl EventHandler<DomainEvent> for WebProactiveSubscriber {source,message,job_name,- tenant: _,+ ..} = eventelse {return;