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(storage): update storage trait usage in document stores
Steven Enamakel3f51641e62fb
diff --git a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/store_documents.rs b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/store_documents.rsindex 108aa4e33d..574aa0cec7 100644--- a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/store_documents.rs+++ b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/store_documents.rs@@ -182,7 +182,7 @@ pub(super) struct Docs(Repo);impl Docs {#[cfg(test)]- pub(super) fn over(scoped: &crate::storage::ScopedStorage) -> Self {+ pub(super) fn over(scoped: &crate::storage::Storage) -> Self {Self(Repo::over(scoped, DOMAIN, collections))}diff --git a/crates/openhuman-core/src/artifacts/store_documents.rs b/crates/openhuman-core/src/artifacts/store_documents.rsindex b4b97dda29..da14024913 100644--- a/crates/openhuman-core/src/artifacts/store_documents.rs+++ b/crates/openhuman-core/src/artifacts/store_documents.rs@@ -82,7 +82,7 @@ pub(super) struct Docs(Repo);impl Docs {#[cfg(test)]- pub(super) fn over(scoped: &crate::storage::ScopedStorage) -> Self {+ pub(super) fn over(scoped: &crate::storage::Storage) -> Self {Self(Repo::over(scoped, DOMAIN, collections))}diff --git a/crates/openhuman-core/src/desktop/notifications/store_documents.rs b/crates/openhuman-core/src/desktop/notifications/store_documents.rsindex 59b3eb2d92..b6c3d6fd98 100644--- a/crates/openhuman-core/src/desktop/notifications/store_documents.rs+++ b/crates/openhuman-core/src/desktop/notifications/store_documents.rs@@ -283,7 +283,7 @@ pub(super) struct Docs(Repo, String);impl Docs {#[cfg(test)]- pub(super) fn over(scoped: &crate::storage::ScopedStorage) -> Self {+ pub(super) fn over(scoped: &crate::storage::Storage) -> Self {Self(Repo::over(scoped, DOMAIN, collections), String::new())}diff --git a/crates/openhuman-core/src/integrations/task_sources/store_documents.rs b/crates/openhuman-core/src/integrations/task_sources/store_documents.rsindex df4e6c1e3f..c904972c86 100644--- a/crates/openhuman-core/src/integrations/task_sources/store_documents.rs+++ b/crates/openhuman-core/src/integrations/task_sources/store_documents.rs@@ -159,7 +159,7 @@ pub(super) struct Docs(Repo);impl Docs {#[cfg(test)]- pub(super) fn over(scoped: &crate::storage::ScopedStorage) -> Self {+ pub(super) fn over(scoped: &crate::storage::Storage) -> Self {Self(Repo::over(scoped, DOMAIN, collections))}diff --git a/crates/openhuman-core/src/platform/cost/tracker_documents.rs b/crates/openhuman-core/src/platform/cost/tracker_documents.rsindex 7f3434220a..6c0cdf6b68 100644--- a/crates/openhuman-core/src/platform/cost/tracker_documents.rs+++ b/crates/openhuman-core/src/platform/cost/tracker_documents.rs@@ -66,7 +66,7 @@ pub(super) struct CostDocs(Repo);impl CostDocs {#[cfg(test)]- pub(super) fn over(scoped: &crate::storage::ScopedStorage) -> Self {+ pub(super) fn over(scoped: &crate::storage::Storage) -> Self {Self(Repo::over(scoped, DOMAIN, collections))}diff --git a/crates/openhuman-core/src/security/devices/store_documents.rs b/crates/openhuman-core/src/security/devices/store_documents.rsindex 4c3a0500cb..7dd277068f 100644--- a/crates/openhuman-core/src/security/devices/store_documents.rs+++ b/crates/openhuman-core/src/security/devices/store_documents.rs@@ -82,7 +82,7 @@ pub(super) struct Docs(Repo);impl Docs {#[cfg(test)]- pub(super) fn over(scoped: &crate::storage::ScopedStorage) -> Self {+ pub(super) fn over(scoped: &crate::storage::Storage) -> Self {Self(Repo::over(scoped, DOMAIN, collections))}