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
style(session_store): reflow imports and test assertions
Steven Enamakela43f6ad65835
diff --git a/crates/openhuman-core/src/agent/session_store/mod.rs b/crates/openhuman-core/src/agent/session_store/mod.rsindex b10bf14b50..a7a57fa45d 100644--- a/crates/openhuman-core/src/agent/session_store/mod.rs+++ b/crates/openhuman-core/src/agent/session_store/mod.rs@@ -25,10 +25,10 @@ mod workspace;pub use rebound::{rebind_all, ReboundSessionStores};pub use workspace::{- artifact_blobs_for, attachment_stash_for, current_documents_for, default_turn_states_for,- ledger_for, provider_for_workspace, release_workspace_defaults, require_ledger,- status_store_for, stores_for, stores_or_ephemeral, turn_states_for, with_ledger,- with_ledger_async, WorkspaceSessionStores,+ artifact_blobs_for, attachment_stash_for, current_documents_for, default_turn_states_for, ledger_for,+ provider_for_workspace, release_workspace_defaults, require_ledger, status_store_for,+ stores_for, stores_or_ephemeral, turn_states_for, with_ledger, with_ledger_async,+ WorkspaceSessionStores,};static PROVIDER: LazyLock<RwLock<Option<Arc<dyn SessionStoreProvider>>>> =diff --git a/crates/openhuman-core/src/agent/session_store/workspace_tests.rs b/crates/openhuman-core/src/agent/session_store/workspace_tests.rsindex 84e0833f1c..a3dbc916bc 100644--- a/crates/openhuman-core/src/agent/session_store/workspace_tests.rs+++ b/crates/openhuman-core/src/agent/session_store/workspace_tests.rs@@ -118,16 +118,10 @@ fn releasing_defaults_lets_the_next_call_open_afresh() {let ws = scratch();let before = fallback_provider(ws.path());let cached = fallback_provider(ws.path());- assert!(- Arc::ptr_eq(&before, &cached),- "a repeat call reuses the provider"- );+ assert!(Arc::ptr_eq(&before, &cached), "a repeat call reuses the provider");release_workspace_defaults();let after = fallback_provider(ws.path());- assert!(- !Arc::ptr_eq(&before, &after),- "release drops the cached provider"- );+ assert!(!Arc::ptr_eq(&before, &after), "release drops the cached provider");}#[test]