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
fix(background_completions): widen degrade_to_memory visibility for tests
Steven Enamakeld278a45b2da5
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.rsindex bc1a2eb4fa..a4ff3fe009 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@@ -131,7 +131,7 @@ pub(super) fn entry_for(workspace_dir: &Path) -> Arc<Entry> {/// The owner migrates the store under the same lock as claims and transitions,/// so concurrent callers keep the same router, leases and parent markers./// `failed` is the router the caller just saw fail.-fn degrade_to_memory(+pub(super) fn degrade_to_memory(ctx: &DispatchCtx,workspace_dir: &Path,failed: &Arc<CompletionRouter>,@@ -189,6 +189,7 @@ pub(crate) fn router_for_workspace_ctx(entry_for_ctx(ctx, workspace_dir).router.clone()}+#[cfg(test)]#[cfg(test)]pub(crate) fn router_for_workspace(workspace_dir: &Path) -> Arc<CompletionRouter> {router_for_workspace_ctx(&DispatchCtx::ambient(), workspace_dir)