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
refactor(agent): move background completion parent lifecycle into its own module
Steven Enamakelc5241ac9a8e5
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions.rs b/crates/openhuman-core/src/agent/orchestration/background_completions.rsindex 3e07cfecf9..af7810dc19 100644--- a/crates/openhuman-core/src/agent/orchestration/background_completions.rs+++ b/crates/openhuman-core/src/agent/orchestration/background_completions.rs@@ -23,8 +23,13 @@use crate::core::runtime::DispatchCtx;use std::collections::{HashMap, HashSet, VecDeque};+mod parent_lifecycle;mod store_adapter;mod thread_index;+pub(crate) use parent_lifecycle::{+ clear_all, discard_for_thread, discard_pending_for_thread, finish_stop_for_thread,+ mark_stopped_task_if_thread_stopped, resume_stopped_thread,+};pub(crate) use store_adapter::router_for_workspace_ctx;pub(super) use store_adapter::{degrade_to_memory, entry_for_ctx, open_driver_store, router_pool, router_scope_for,diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions_parent_lifecycle.rs b/crates/openhuman-core/src/agent/orchestration/background_completions/parent_lifecycle.rssimilarity index 99%rename from crates/openhuman-core/src/agent/orchestration/background_completions_parent_lifecycle.rsrename to crates/openhuman-core/src/agent/orchestration/background_completions/parent_lifecycle.rsindex 35fa6ac8bc..6e9bafca0b 100644--- a/crates/openhuman-core/src/agent/orchestration/background_completions_parent_lifecycle.rs+++ b/crates/openhuman-core/src/agent/orchestration/background_completions/parent_lifecycle.rs@@ -230,4 +230,3 @@ pub(crate) fn clear_all(ctx: &DispatchCtx, workspace_dir: &Path) -> usize {log::debug!("[background_completions] clear_all removed={removed}");removed}-