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 scope move function signatures
Steven Enamakel827d36e3a29a
diff --git a/crates/openhuman-core/src/storage/scope_move.rs b/crates/openhuman-core/src/storage/scope_move.rsindex c6fb585392..4dbd2c2ad6 100644--- a/crates/openhuman-core/src/storage/scope_move.rs+++ b/crates/openhuman-core/src/storage/scope_move.rs@@ -18,9 +18,11 @@ use std::collections::HashSet;use std::sync::Arc;use sha2::Digest;-use tinystoragedrivers_types::{CollectionSpec, ErrorKind, WriteOptions};+use tinystoragedrivers_types::{Capability, CollectionSpec, ErrorKind, WriteOptions};-use crate::storage::{DocumentStore, DocumentStoreExt, Precondition, Scope, StorageBackend};+use crate::storage::{+ DocumentStore, DocumentStoreExt, Precondition, Scope, StorageBackend, StorageError,+};use super::scope::{scope_for_agent, scope_for_profile, tenant_scope};/// The ids a hashed v1 scope can be matched against.@@ -318,9 +320,9 @@ pub async fn run_from_source(#[deprecated(note = "use an explicit read-only legacy scope inventory")]pub async fn run(_backend: &Arc<dyn StorageBackend>,-) -> Result<MoveReport, tinystoragedrivers::StorageError> {- Err(tinystoragedrivers::StorageError::unsupported(- tinystoragedrivers::Capability::ScopeEnumeration,+) -> Result<MoveReport, StorageError> {+ Err(StorageError::unsupported(+ Capability::CollectionEnumeration,"v2 backends do not enumerate legacy scopes; supply an explicit legacy database inventory",))}