Skip to content

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

refactor(agent): split parallel spawn staging into its own module

Steven Enamakel37a70bf03b74
diff --git a/crates/openhuman-core/src/agent/orchestration/spawn_parallel.rs b/crates/openhuman-core/src/agent/orchestration/spawn_parallel.rs
index 0e3fed7bf9..97aa694ad8 100644
--- a/crates/openhuman-core/src/agent/orchestration/spawn_parallel.rs
+++ b/crates/openhuman-core/src/agent/orchestration/spawn_parallel.rs
@@ -39,7 +39,7 @@ pub(crate) use types::ParallelAgentTask;
#[cfg(test)]
pub(crate) use staging::{
prepare_spawn_parallel_tasks_from_defs, ParallelTaskRejectionKind,
- SpawnParallelTaskPreflight, WorkerDispatchMode,
+ SpawnParallelTaskPreflight,
};
#[cfg(test)]
pub(crate) use types::{ParallelAgentLineage, ParallelAgentResult, ParallelAgentStatus};
diff --git a/crates/openhuman-core/src/agent/orchestration/spawn_parallel/staging.rs b/crates/openhuman-core/src/agent/orchestration/spawn_parallel/staging.rs
index e5beb964d4..235628e19a 100644
--- a/crates/openhuman-core/src/agent/orchestration/spawn_parallel/staging.rs
+++ b/crates/openhuman-core/src/agent/orchestration/spawn_parallel/staging.rs
@@ -16,7 +16,7 @@ use std::path::PathBuf;
use std::cell::RefCell;
use tinyagents_graph::parallel::{parse_relative_claim_paths, ClaimConflict, ClaimPathError};
-pub(crate) use tinyagents_orchestration::parallel::WorkerDispatchMode;
+use tinyagents_orchestration::parallel::WorkerDispatchMode;
use tinyagents_orchestration::parallel::{
AdmissionPolicy, AdmissionVerdict, Plan, Preflight, Rejection, RejectionKind, Task,
};