Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(agent): drop test-only re-exports from running_subagents

Steven Enamakel857d65c79b9f
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
index ad0b500a09..bba6d8c925 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
@@ -38,25 +38,12 @@ mod resolve;
mod roster;
mod task_ledger;
-#[cfg(test)]
-#[path = "running_subagents_tests.rs"]
-mod tests;
-
-#[cfg(test)]
-pub(crate) use cancel::cancel_by_task;
-#[cfg(test)]
-pub(crate) use cancel::prune;
-#[cfg(test)]
-pub(crate) use cancel::{caller_workspace_in, CallerWorkspace};
pub(crate) use cancel::{
cancel_all, cancel_by_session_in_workspace, cancel_by_task_with_workspace_reason,
cancel_for_thread, stop_for_thread, CancelledSubagent,
};
pub(crate) use registry::admit_spawn;
-#[cfg(test)]
-pub(crate) use registry::{
- register, register_with_parent_epoch, status_channel, RegistrationError,
-};
+pub(crate) use registry::RegistrationError;
pub(crate) use roster::active_subagents_context_block;
#[cfg(test)]
pub(crate) use task_ledger::task_records;