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
refactor(security): update storage dependency in document store
Steven Enamakel64de4fa7279a
diff --git a/crates/openhuman-core/src/security/approval/store_documents.rs b/crates/openhuman-core/src/security/approval/store_documents.rsindex b58c1b47af..a86306a589 100644--- a/crates/openhuman-core/src/security/approval/store_documents.rs+++ b/crates/openhuman-core/src/security/approval/store_documents.rs@@ -31,7 +31,7 @@ use serde_json::{json, Value};use crate::config::Config;use crate::storage::documents::compare_and_swap;use crate::storage::local;-use crate::storage::{block_on, DocumentStore, DocumentStoreExt, ScopedStorage, StorageError};+use crate::storage::{block_on, DocumentStore, DocumentStoreExt, Storage, StorageError};use tinystoragedrivers::{CollectionSpec, ErrorKind, Filter, Key, Precondition, Query, Sort, Versioned,};@@ -166,7 +166,7 @@ fn audit_error(error: Option<&str>) -> Option<String> {}impl Docs {- pub(super) fn new(scoped: &ScopedStorage) -> Self {+ pub(super) fn new(scoped: &Storage) -> Self {Self {docs: Arc::clone(scoped.documents()),}