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): expose is_marked_deleted to background completions
Steven Enamakel175c56e77ffd
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions.rs b/crates/openhuman-core/src/agent/orchestration/background_completions.rsindex af7810dc19..7e0c30012d 100644--- a/crates/openhuman-core/src/agent/orchestration/background_completions.rs+++ b/crates/openhuman-core/src/agent/orchestration/background_completions.rs@@ -26,6 +26,7 @@ use std::collections::{HashMap, HashSet, VecDeque};mod parent_lifecycle;mod store_adapter;mod thread_index;+pub(super) use parent_lifecycle::is_marked_deleted;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,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.rsindex 6e9bafca0b..6a0fb586bf 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@@ -55,7 +55,7 @@ fn deleted_marker_id(thread_id: &str) -> String {format!("\u{1}host-thread-deleted:{thread_id}")}-fn is_marked_deleted(entry: &Entry, thread_id: &str) -> bool {+pub(super) fn is_marked_deleted(entry: &Entry, thread_id: &str) -> bool {entry.store.get(&deleted_marker_id(thread_id)).is_some()}