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
chore(orchestration): adjust imports and visibility for tenant access
Steven Enamakelf683ade2eb8d
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rsindex 6582025a5b..e063bddc10 100644--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs@@ -27,7 +27,7 @@//! appends to the thread's transcript. It persists its reply before announcing//! `chat_done`, so a reconnect cannot lose a completed delegated result.-use std::collections::{HashMap, HashSet};+use std::collections::HashSet;use std::future::Future;use std::path::{Path, PathBuf};use std::sync::{Arc, Mutex, OnceLock};@@ -48,6 +48,7 @@ use super::busy_guard::is_busy;#[cfg(test)]use super::busy_guard::{busy, clear_busy_for_thread, TurnBusy};use super::completion_owners;+use crate::core::runtime::tenant;use crate::core::runtime::CoreContext;/// Coalesce completions landing within this window into one delivery turn.diff --git a/crates/openhuman-core/src/agent/orchestration/busy_guard.rs b/crates/openhuman-core/src/agent/orchestration/busy_guard.rsindex b5f35bd42c..aa391dc2dc 100644--- a/crates/openhuman-core/src/agent/orchestration/busy_guard.rs+++ b/crates/openhuman-core/src/agent/orchestration/busy_guard.rs@@ -35,7 +35,7 @@ pub(super) fn session_of<'k>(key: &'k str, me: &Tenant) -> Option<&'k str> {/// The turn loop takes it in scope (the bus subscriber runs off-task and cannot/// tell whose session it is); the key is fixed, so a cancelled turn clears it.pub(crate) struct TurnBusy {- key: String,+ pub(super) key: String,id: u64,}