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
chore: files changed crates/openhuman-core/src/tools/impl/system/node_exec.rs,crates/openhuman-core/
Steven Enamakel75731d7909c8
diff --git a/crates/openhuman-core/src/tools/impl/system/node_exec.rs b/crates/openhuman-core/src/tools/impl/system/node_exec.rsindex cf7c3b4219..f1044863e6 100644--- a/crates/openhuman-core/src/tools/impl/system/node_exec.rs+++ b/crates/openhuman-core/src/tools/impl/system/node_exec.rs@@ -358,7 +358,7 @@ impl NodeExecTool {} else {// Surface exit code + both streams so the agent can diagnose// the failure instead of re-running it (#4095).- Ok(tinytools_std::command_output::command_failure(+ Ok(tinytools::command_failure(output.status.code(),&stdout,&stderr,@@ -544,8 +544,8 @@ impl NodeExecTool {))}} else {- tinytools_std::command_output::command_failure(- tinytools_std::command_output::sandbox_exit_code(result.exit_code),+ tinytools::command_failure(+ tinytools::sandbox_exit_code(result.exit_code),&result.stdout,&result.stderr,)@@ -590,7 +590,7 @@ fn pool_outcome_to_result(ToolResult::success(format!("{stdout}\n[stderr]\n{stderr}"))}} else {- tinytools_std::command_output::command_failure(outcome.exit_code, &stdout, &stderr)+ tinytools::command_failure(outcome.exit_code, &stdout, &stderr)}}diff --git a/crates/openhuman-core/src/tools/impl/system/npm_exec.rs b/crates/openhuman-core/src/tools/impl/system/npm_exec.rsindex 8146e69653..9aae24e92d 100644--- a/crates/openhuman-core/src/tools/impl/system/npm_exec.rs+++ b/crates/openhuman-core/src/tools/impl/system/npm_exec.rs@@ -350,7 +350,7 @@ impl NpmExecTool {} else {// Surface exit code + both streams so the agent can diagnose// the failure instead of re-running it (#4095).- Ok(tinytools_std::command_output::command_failure(+ Ok(tinytools::command_failure(output.status.code(),&stdout,&stderr,@@ -459,8 +459,8 @@ impl NpmExecTool {))}} else {- tinytools_std::command_output::command_failure(- tinytools_std::command_output::sandbox_exit_code(result.exit_code),+ tinytools::command_failure(+ tinytools::sandbox_exit_code(result.exit_code),&result.stdout,&result.stderr,)diff --git a/crates/openhuman-core/src/tools/impl/system/python_exec.rs b/crates/openhuman-core/src/tools/impl/system/python_exec.rsindex b8723253b4..6fbf1e71a6 100644--- a/crates/openhuman-core/src/tools/impl/system/python_exec.rs+++ b/crates/openhuman-core/src/tools/impl/system/python_exec.rs@@ -331,7 +331,7 @@ impl PythonExecTool {Ok(ToolResult::success(format!("{stdout}\n[stderr]\n{stderr}")))}} else {- Ok(tinytools_std::command_output::command_failure(+ Ok(tinytools::command_failure(output.status.code(),&stdout,&stderr,@@ -471,8 +471,8 @@ impl PythonExecTool {))}} else {- tinytools_std::command_output::command_failure(- tinytools_std::command_output::sandbox_exit_code(result.exit_code),+ tinytools::command_failure(+ tinytools::sandbox_exit_code(result.exit_code),&result.stdout,&result.stderr,)@@ -515,7 +515,7 @@ fn pool_outcome_to_result(ToolResult::success(format!("{stdout}\n[stderr]\n{stderr}"))}} else {- tinytools_std::command_output::command_failure(outcome.exit_code, &stdout, &stderr)+ tinytools::command_failure(outcome.exit_code, &stdout, &stderr)}}diff --git a/crates/openhuman-core/src/tools/impl/system/shell.rs b/crates/openhuman-core/src/tools/impl/system/shell.rsindex db72f20380..e816d97477 100644--- a/crates/openhuman-core/src/tools/impl/system/shell.rs+++ b/crates/openhuman-core/src/tools/impl/system/shell.rs@@ -471,7 +471,7 @@ impl ShellTool {// Surface the exit code AND both streams so the agent can// diagnose the failure (e.g. 127 missing dependency, 126// sandbox/permission wall) instead of looping on it (#4095).- tinytools_std::command_output::command_failure(output.status.code(), &stdout, &stderr)+ tinytools::command_failure(output.status.code(), &stdout, &stderr)}}Ok(Err(e)) => ToolResult::error(format!("Failed to execute command: {e}")),@@ -558,8 +558,8 @@ impl ShellTool {} else {// Same exit-code + both-streams surfacing as the native path// (#4095); the sandbox `-1` sentinel renders as a signal.- tinytools_std::command_output::command_failure(- tinytools_std::command_output::sandbox_exit_code(result.exit_code),+ tinytools::command_failure(+ tinytools::sandbox_exit_code(result.exit_code),&result.stdout,&result.stderr,)