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): include tiny_artifacts schema in owner schemas
Steven Enamakel56c3ce795b33
diff --git a/crates/openhuman-core/src/storage/schema.rs b/crates/openhuman-core/src/storage/schema.rsindex 6bf375303e..15f7588beb 100644--- a/crates/openhuman-core/src/storage/schema.rs+++ b/crates/openhuman-core/src/storage/schema.rs@@ -34,6 +34,7 @@ pub fn owner_schemas() -> Vec<Schema> {crate::desktop::notifications::storage_schema(),crate::integrations::task_sources::storage_schema(),crate::artifacts::storage_schema(),+ tiny_artifacts::storage_schema(),crate::platform::cost::storage_schema(),crate::config::schema::config_storage_schema(),crate::profiles::storage_schema(),diff --git a/crates/openhuman-core/src/storage/schema_tests.rs b/crates/openhuman-core/src/storage/schema_tests.rsindex 0389689caa..ec1481df4a 100644--- a/crates/openhuman-core/src/storage/schema_tests.rs+++ b/crates/openhuman-core/src/storage/schema_tests.rs@@ -35,3 +35,27 @@ fn module_items_are_the_owners_module_scoped_declarations() {assert!(mcp.streams.iter().any(|name| name == "mcp.audit"));assert!(module_items("no-such-owner").collections.is_empty());}++#[test]+fn tiny_artifacts_blob_namespace_is_in_the_composed_owner_schema() {+ let registry = registry().expect("the owners compose");+ assert!(registry.owners().any(|owner| owner == "artifacts"));++ let schema = owner_schemas()+ .into_iter()+ .find(|schema| schema.owner.as_str() == "artifacts" && schema.items.iter().any(|item| {+ matches!(+ item,+ Item::Blobs {+ prefix,+ scope: ScopeClass::Tenant,+ } if prefix == "artifacts/files/"+ )+ }))+ .expect("TinyArtifacts declares its tenant blob prefix alongside host artifact data");+ assert!(schema.items.iter().any(|item| matches!(+ item,+ Item::Blobs { prefix, scope: ScopeClass::Tenant }+ if prefix == "artifacts/files/"+ )));+}