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(engine): widen visibility of run_engine_loop and init_phase_states
Steven Enamakel75d6615bd135
diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rsindex 63fa43ca07..b394aaa7ba 100644--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs@@ -222,7 +222,7 @@ pub async fn resume_workflow_run(config: &Config, id: &str) -> Result<WorkflowRu/// Separated from [`start_workflow_run`] so it can run on the spawned task with/// an owned [`Config`]. Errors are recorded on the run row (status `Failed`)/// rather than propagated — there is no caller to receive them.-pub(super) async fn run_engine_loop(config: &Config, run_id: &str, definition: WorkflowDefinition) {+pub(crate) async fn run_engine_loop(config: &Config, run_id: &str, definition: WorkflowDefinition) {let cancel = lookup_cancel_flag(run_id).unwrap_or_else(|| register_cancel_flag(run_id));let outcome = with_root_parent(config, "workflow_engine", "workflow", "workflow", async {diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/state.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/state.rsindex 1cb2f713a2..f8a79d247e 100644--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/state.rs+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/state.rs@@ -20,7 +20,7 @@ pub(super) const PHASE_FAILED: &str = "failed";/// Initialise `phase_states` to one `pending` entry per phase, preserving/// declaration order via an object keyed by phase name.-pub(super) fn init_phase_states(definition: &WorkflowDefinition) -> Value {+pub(crate) fn init_phase_states(definition: &WorkflowDefinition) -> Value {let mut map = serde_json::Map::new();for phase in &definition.phases {map.insert(