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
fix(saas): register the native agent.run_turn handler so relayed turns reach the agent
Steven Enamakel4a8272ce53fe
diff --git a/crates/openhuman-core/src/core/runtime/saas.rs b/crates/openhuman-core/src/core/runtime/saas.rsindex dd0f4fe04b..1092f3bc4d 100644--- a/crates/openhuman-core/src/core/runtime/saas.rs+++ b/crates/openhuman-core/src/core/runtime/saas.rs@@ -289,6 +289,14 @@ pub async fn build(// Whoever initialised first won; refuse to serve users from a registry// that holds anything but the built-ins.verify_builtin_definitions(crate::agent::harness::AgentDefinitionRegistry::global())?;+ // A relayed platform message (`channel_relay_inbound`) runs through the+ // channel dispatch pipeline, which asks the native bus for an+ // `agent.run_turn`. The `Agent` family stays off in SaaS (no agent RPCs+ // on any surface), so its subscriber plan never registers that handler;+ // register it alone. The request carries the caller's own turn parts, and+ // the handler runs in the caller's (profile's) scope.+ crate::agent::bus::register_agent_handlers();+ log::debug!("[saas] registered the native agent.run_turn handler for relayed channel turns");let host = Arc::new(crate::user_agents::AgentHost::new(config,runtime.context().clone(),