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
feat(agent): add workspace binding to host agent turns
Steven Enamakele8459e9291a6
diff --git a/crates/openhuman-core/src/agent/host_agents.rs b/crates/openhuman-core/src/agent/host_agents.rsindex 145df0956b..061ed661f6 100644--- a/crates/openhuman-core/src/agent/host_agents.rs+++ b/crates/openhuman-core/src/agent/host_agents.rs@@ -115,7 +115,7 @@ impl HostAgent {run_queue: None,cancellation,turn_deadline,- workspace: None,+ workspace: crate::agent::turn_host::WorkspaceBinding::Preserve,host_env: crate::agent::turn_env::HostTurnEnv {hooks: self.hooks.clone(),core: Some(Arc::downgrade(&self.context)),diff --git a/crates/openhuman-core/src/web_chat/turn_host.rs b/crates/openhuman-core/src/web_chat/turn_host.rsindex c82abd4219..b8ad859930 100644--- a/crates/openhuman-core/src/web_chat/turn_host.rs+++ b/crates/openhuman-core/src/web_chat/turn_host.rs@@ -262,7 +262,10 @@ impl WebHost {turn_deadline: request.deadline,// Also the turn's workspace, so attachment reads and// delegated sub-agents use the upload folder (#7714).- workspace: thread_dir.map(tinytools::WorkspaceDescriptor::new),+ workspace: thread_dir+ .map(tinytools::WorkspaceDescriptor::new)+ .map(crate::agent::turn_host::WorkspaceBinding::Set)+ .unwrap_or(crate::agent::turn_host::WorkspaceBinding::Clear),host_env: Default::default(),},));