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): add storage grant schemas
Steven Enamakel6dbf9f5ffad9
diff --git a/crates/openhuman-core/src/modules/storage_grant_schemas.rs b/crates/openhuman-core/src/modules/storage_grant_schemas.rsindex ab22df083f..ed10e446aa 100644--- a/crates/openhuman-core/src/modules/storage_grant_schemas.rs+++ b/crates/openhuman-core/src/modules/storage_grant_schemas.rs@@ -49,7 +49,7 @@ pub(crate) struct QueueGrant {pub backend: tinystoragedrivers::QueueConfig,}-const ROWS: [Row; 6] = [+const ROWS: &[Row] = &[Row {module: tinychannels::MODULE_ID,owner: "channels",@@ -86,6 +86,16 @@ const ROWS: [Row; 6] = [secrets: &[],queues: None,},+ // The inbound event queues keep their pipeline state in `teq.*`+ // collections and their work in the queues the configured manifest+ // declares (the shipped `queues.json` unless `[inbound] queues_path`).+ #[cfg(feature = "inbound-queues")]+ Row {+ module: tinyeventqueues::MODULE_ID,+ owner: tinyeventqueues_bus::storage::OWNER,+ secrets: &[],+ queues: Some(crate::inbound::queue_grant),+ },];/// The schema owner whose declarations hold `module_id`'s storage.@@ -163,6 +173,11 @@ pub(super) mod tinybox {pub(crate) const JAIL_INDEX_COLLECTION: &str = "tinybox_jail_index";}+#[cfg(feature = "inbound-queues")]+pub(super) mod tinyeventqueues {+ pub(crate) const MODULE_ID: &str = "tinyeventqueues";+}+pub(super) mod tinyjuice {pub(crate) const MODULE_ID: &str = "tinyjuice";/// The v1 CCR blob prefix the importer writes.diff --git a/crates/openhuman-core/src/storage/schema.rs b/crates/openhuman-core/src/storage/schema.rsindex 6bf375303e..ae11950bdd 100644--- a/crates/openhuman-core/src/storage/schema.rs+++ b/crates/openhuman-core/src/storage/schema.rs@@ -60,6 +60,8 @@ pub fn owner_schemas() -> Vec<Schema> {schemas.push(tinywallet_bus::storage::storage_schema());#[cfg(feature = "tinymemes")]schemas.push(tinymemes_bus::storage::storage_schema());+ #[cfg(feature = "inbound-queues")]+ schemas.push(tinyeventqueues_bus::storage::storage_schema());schemas}