Skip to content

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

refactor(agent_runs): re-export workflow run internals as pub(crate)

Steven Enamakel04932c3c1808
diff --git a/crates/openhuman-core/src/agent_runs/workflow_runs/mod.rs b/crates/openhuman-core/src/agent_runs/workflow_runs/mod.rs
index 563816194e..a51ace9c92 100644
--- a/crates/openhuman-core/src/agent_runs/workflow_runs/mod.rs
+++ b/crates/openhuman-core/src/agent_runs/workflow_runs/mod.rs
@@ -35,6 +35,15 @@ mod engine {
mod ops;
mod schemas;
+pub(crate) use engine::{resume_workflow_run, start_workflow_run, stop_workflow_run};
+pub(crate) use ops::{
+ PARALLEL_RESEARCH_ID, builtin_definitions, definition_by_id, get_run, list_definitions,
+ list_runs,
+};
+pub(crate) use schemas::{
+ all_controller_schemas as all_workflow_run_controller_schemas,
+ all_registered_controllers as all_workflow_run_registered_controllers,
+};
use engine::{resume_workflow_run, start_workflow_run, stop_workflow_run};
pub use ops::{
PARALLEL_RESEARCH_ID, builtin_definitions, definition_by_id, get_run, list_definitions,
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rs
index f8553ea8de..fa47bd4705 100644
--- a/crates/openhuman-core/src/core/all.rs
+++ b/crates/openhuman-core/src/core/all.rs
@@ -370,14 +370,14 @@ fn build_registered_controllers() -> Vec<GroupedController> {
push(
&mut controllers,
DomainGroup::Agent,
- crate::agent::all_agent_registered_controllers(),
+ crate::agent_runs::all_agent_registered_controllers(),
);
// Read-only agent run replay + status over the durable journal/status seams
// (agent_run_events / agent_run_status / agent_runs_active).
push(
&mut controllers,
DomainGroup::Agent,
- crate::agent::tinyagents::replay::all_agent_replay_registered_controllers(),
+ crate::agent_runs::replay::all_agent_replay_registered_controllers(),
);
// User-facing agent registry: defaults, enablement, custom agents, tool policy.
push(