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
feat(storage_grants): add storage grant module
Steven Enamakel2a0f6a1b11a4
diff --git a/crates/openhuman-core/src/modules/storage_grants.rs b/crates/openhuman-core/src/modules/storage_grants.rsindex dcbdb4b62c..79172f9467 100644--- a/crates/openhuman-core/src/modules/storage_grants.rs+++ b/crates/openhuman-core/src/modules/storage_grants.rs@@ -237,7 +237,7 @@ fn writes(grant: &StorageGrant) -> Result<(), Denied> {fn documents(grant: &StorageGrant, selector: &str, request: &Value) -> Result<Plan, Denied> {match selector {- "Get" | "Query" | "Count" | "Search" | "WatchOpen" => {+ "Get" | "Query" | "Count" | "Search" => {let collection = text(request, "collection")?;grant.collection(collection)?;Ok(forward(collection))@@ -281,7 +281,11 @@ fn documents(grant: &StorageGrant, selector: &str, request: &Value) -> Result<Plfilter: ReplyFilter::GrantedCollections,})}- "WatchClose" | "Capabilities" => Ok(forward("")),+ // Watches are projected to bus signals, which this host does not+ // route per module yet; opening one would leave a native watch task+ // with nobody to tell, so it is refused instead of half-served.+ "WatchOpen" | "WatchClose" => Err(Denied::Unsupported),+ "Capabilities" => Ok(forward("")),_ => Err(Denied::Malformed),}}