Skip to content

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

refactor(storage): extract lease document helpers

Steven Enamakeld13b37855a73
diff --git a/crates/openhuman-core/src/storage/lease_documents.rs b/crates/openhuman-core/src/storage/lease_documents.rs
index a152768b98..b2e705210d 100644
--- a/crates/openhuman-core/src/storage/lease_documents.rs
+++ b/crates/openhuman-core/src/storage/lease_documents.rs
@@ -345,6 +345,10 @@ impl LeaseStore for DocumentLeases {
self.declare().await?;
Ok(self.read(key).await?.map(|(_, record)| record))
}
+
+ fn record_scope(&self) -> Option<Scope> {
+ self.scope.clone()
+ }
}
#[cfg(test)]