Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(profiles): import DocumentStoreExt for legacy lease migration

Steven Enamakelf88a453f251f
diff --git a/crates/openhuman-core/src/profiles/storage_schema.rs b/crates/openhuman-core/src/profiles/storage_schema.rs
index d7587f81fc..9036938cfb 100644
--- a/crates/openhuman-core/src/profiles/storage_schema.rs
+++ b/crates/openhuman-core/src/profiles/storage_schema.rs
@@ -119,7 +119,7 @@ fn lease_v2(old: &Value) -> Option<Value> {
///
/// A storage error; the records not yet moved stay for the next open.
pub async fn migrate_legacy_leases(scoped: &ScopedStorage) -> Result<usize> {
- use tinystoragedrivers::{Capability, Key, Precondition, Query};
+ use tinystoragedrivers::{Capability, DocumentStoreExt, Key, Precondition, Query};
let docs = scoped.documents();
if !docs
.capabilities()