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(agent): gate spawn depth test export
Steven Enamakel6754de840762
diff --git a/crates/openhuman-core/src/agent/harness/mod.rs b/crates/openhuman-core/src/agent/harness/mod.rsindex 4633b54830..d0569d9b74 100644--- a/crates/openhuman-core/src/agent/harness/mod.rs+++ b/crates/openhuman-core/src/agent/harness/mod.rs@@ -55,7 +55,9 @@ pub use fork_context::{with_parent_context, AgentContextPreparedSource, ParentExecutionContext,};pub use sandbox_context::{current_sandbox_mode, with_current_sandbox_mode};-pub(crate) use spawn_depth_context::{current_spawn_depth, with_spawn_depth, MAX_SPAWN_DEPTH};+#[cfg(test)]+pub(crate) use spawn_depth_context::current_spawn_depth;+pub(crate) use spawn_depth_context::{with_spawn_depth, MAX_SPAWN_DEPTH};pub use subagent_runner::{run_subagent, SubagentRunError, SubagentRunOptions};pub use task_recency_context::{current_task_recency_window, with_task_recency_window};diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.jsonindex c4afed4f53..d08052158c 100644--- a/scripts/ci/agent-runtime-boundary-baseline.json+++ b/scripts/ci/agent-runtime-boundary-baseline.json@@ -254,14 +254,21 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/harness/mod.rs",- "line": 58,- "text": "pub(crate) use spawn_depth_context::{current_spawn_depth, with_spawn_depth, MAX_SPAWN_DEPTH};",+ "line": 59,+ "text": "pub(crate) use spawn_depth_context::current_spawn_depth;","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/harness/mod.rs","line": 60,+ "text": "pub(crate) use spawn_depth_context::{with_spawn_depth, MAX_SPAWN_DEPTH};",+ "occurrence": 1+ },+ {+ "rule": "openhuman-task-local",+ "path": "crates/openhuman-core/src/agent/harness/mod.rs",+ "line": 62,"text": "pub use task_recency_context::{current_task_recency_window, with_task_recency_window};","occurrence": 1},