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(notifications): require sync on document edit closures
Steven Enamakele3494305ed6b
diff --git a/crates/openhuman-core/src/desktop/notifications/store_documents.rs b/crates/openhuman-core/src/desktop/notifications/store_documents.rsindex f31eef78ca..b2bbb355be 100644--- a/crates/openhuman-core/src/desktop/notifications/store_documents.rs+++ b/crates/openhuman-core/src/desktop/notifications/store_documents.rs@@ -286,7 +286,7 @@ impl Docs {}/// Applies `edit` to notification `id`; `false` when it does not exist.- fn set(&self, id: &str, edit: impl Fn(&mut Value) + Send + 'static) -> Result<bool> {+ fn set(&self, id: &str, edit: impl Fn(&mut Value) + Send + Sync + 'static) -> Result<bool> {let id = id.to_string();self.0.run(|docs| async move {let changed = compare_and_swap(&docs, NOTIFICATIONS, &id, |doc| {