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(rpc): qualify tenant types through the tenant module
Steven Enamakele3b7dcf6a94e
diff --git a/crates/openhuman-rpc/src/server/socketio.rs b/crates/openhuman-rpc/src/server/socketio.rsindex 647d1934df..19827878a3 100644--- a/crates/openhuman-rpc/src/server/socketio.rs+++ b/crates/openhuman-rpc/src/server/socketio.rs@@ -1192,11 +1192,17 @@ fn replay_parked_approval(socket: &SocketRef, thread_id: &str) {/// UI the same fire-and-forget way, so the same reconciliation applies.fn socket_replay_tenant(profile_id: Option<&str>,- ambient: Result<crate::core_host::core::runtime::Tenant, crate::core_host::core::runtime::NoTenant>,-) -> Result<crate::core_host::core::runtime::Tenant, crate::core_host::core::runtime::NoTenant> {+ ambient: Result<+ crate::core_host::core::runtime::tenant::Tenant,+ crate::core_host::core::runtime::tenant::NoTenant,+ >,+) -> Result<+ crate::core_host::core::runtime::tenant::Tenant,+ crate::core_host::core::runtime::tenant::NoTenant,+> {match profile_id {Some(profile) if !profile.trim().is_empty() => {- Ok(crate::core_host::core::runtime::Tenant {+ Ok(crate::core_host::core::runtime::tenant::Tenant {profile: Some(profile.to_owned()),agent: None,})diff --git a/crates/openhuman-rpc/src/server/socketio_tests.rs b/crates/openhuman-rpc/src/server/socketio_tests.rsindex 50c2c80cda..5202d3c319 100644--- a/crates/openhuman-rpc/src/server/socketio_tests.rs+++ b/crates/openhuman-rpc/src/server/socketio_tests.rs@@ -5,7 +5,7 @@ use super::{#[test]fn plan_review_replay_uses_the_joining_sockets_profile() {- let ambient = crate::core_host::core::runtime::Tenant {+ let ambient = crate::core_host::core::runtime::tenant::Tenant {profile: Some("ambient-profile".into()),agent: None,};