Skip to content

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

refactor(orchestration): re-export task_store_for_workspace from running_subagents

Steven Enamakel0d65b919fa77
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
index e20dae163a..2721ec0cb5 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
@@ -77,5 +77,8 @@ pub use steering::steer;
pub(crate) use steering::steer_control;
#[cfg(test)]
pub(crate) use task_ledger::task_records;
-pub(crate) use task_ledger::{reconcile_orphaned_tasks_on_boot, task_record_for_task_in_workspace};
+pub(crate) use task_ledger::{
+ reconcile_orphaned_tasks_on_boot, task_record_for_task_in_workspace,
+ task_store_for_workspace,
+};
pub(crate) use wait::wait_in_workspace;
diff --git a/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs b/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
index c4117ad54d..20aba9e660 100644
--- a/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
@@ -241,7 +241,7 @@ fn subagent_control_dispatches(
let parent_session = parent_session.clone();
let task_parent_session = parent_session.clone();
let parent_thread_id = run_context.thread_id.clone();
- let task_store = crate::agent::orchestration::running_subagents::task_ledger::task_store_for_workspace(
+ let task_store = crate::agent::orchestration::running_subagents::task_store_for_workspace(
&parent.workspace_dir,
);
let wait_dispatch: RegisteredToolDispatch = Arc::new(