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
Merge main into PR 7753
Steven Enamakel1c803d02a2af
diff --cc crates/openhuman-core/src/sandbox/shell_exec.rsindex 483f8444e1,226a4e3b98..554b4172d6--- a/crates/openhuman-core/src/sandbox/shell_exec.rs+++ b/crates/openhuman-core/src/sandbox/shell_exec.rs@@@ -108,18 -108,9 +108,18 @@@ pub(crate) async fn run(config: &Configtimeout_ms = run.timeout.as_millis() as u64,"[sandbox:shell] starting native shell through TinyBox");- crate::core::runtime::spawn_scoped(async move { run_owned(&config, run).await })- .await- .map_err(|_| anyhow::anyhow!("TinyBox shell worker did not finish"))?+ // A cancelled turn drops this wait mid-command. The worker then cancels+ // the command (`_caller` closes `abandoned`) and holds the turn's+ // cleanup open until TinyBox has stopped it, so an awaited turn+ // cancellation is acknowledged only after the command is gone.+ let hold = tinytools_std::timeout::ProcessCleanup::hold();+ let (_caller, abandoned) = tokio::sync::oneshot::channel::<std::convert::Infallible>();- tokio::spawn(async move {++ crate::core::runtime::spawn_scoped(async move {+ let _hold = hold;+ run_owned(&config, run, abandoned).await+ })+ .await+ .map_err(|_| anyhow::anyhow!("TinyBox shell worker did not finish"))?}#[cfg(not(feature = "modules"))]{