Skip to content

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

chore(orchestration): tidy module imports and drop trailing blank lines

Steven Enamakel75ff93e12751
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions.rs b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
index 4c794c1894..f2fe80babb 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_completions.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
@@ -23,14 +23,14 @@
use crate::core::runtime::DispatchCtx;
use std::collections::{HashMap, HashSet, VecDeque};
-mod thread_index;
mod store_adapter;
+mod thread_index;
+#[cfg(test)]
+pub(super) use store_adapter::test_store_overrides;
pub(super) use store_adapter::{
degrade_to_memory, entry_for, entry_for_ctx, new_router, open_driver_store, router_pool,
router_scope, router_scope_for,
};
-#[cfg(test)]
-pub(super) use store_adapter::test_store_overrides;
use thread_index::{key, note_thread_workspace};
pub(crate) use thread_index::{
note_session_thread, router_for_thread, thread_for_session, workspace_for_thread,
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions/store_adapter.rs b/crates/openhuman-core/src/agent/orchestration/background_completions/store_adapter.rs
index 5cc2ca577b..bc1a2eb4fa 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_completions/store_adapter.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_completions/store_adapter.rs
@@ -193,4 +193,3 @@ pub(crate) fn router_for_workspace_ctx(
pub(crate) fn router_for_workspace(workspace_dir: &Path) -> Arc<CompletionRouter> {
router_for_workspace_ctx(&DispatchCtx::ambient(), workspace_dir)
}
-
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index e89125de6a..20117495c1 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -61,10 +61,10 @@ use super::completion_notice::build_undelivered_notice;
use super::completion_owners;
use super::delivery_drain::{DrainFence, RECOVERY_BUSY_POLL};
mod delivery_events;
-pub(super) use delivery_events::{drain_schedule_in, Drain};
+use crate::core::runtime::CoreContext;
#[cfg(test)]
pub(super) use delivery_events::drain_schedule;
-use crate::core::runtime::CoreContext;
+pub(super) use delivery_events::{drain_schedule_in, Drain};
/// Coalesce completions landing within this window into one delivery turn.
const DEBOUNCE: Duration = Duration::from_secs(3);
diff --git a/crates/openhuman-core/src/agent/orchestration/delivery_events.rs b/crates/openhuman-core/src/agent/orchestration/delivery_events.rs
index 6dc26b0e7b..f80d0167d8 100644
--- a/crates/openhuman-core/src/agent/orchestration/delivery_events.rs
+++ b/crates/openhuman-core/src/agent/orchestration/delivery_events.rs
@@ -133,4 +133,3 @@ pub(super) fn drain_schedule_in(
})
.collect()
}
-