Skip to content

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

fix(storage): adapt connector collections to new spec type

Steven Enamakel50b264a01b9f
diff --git a/crates/openhuman-core/src/storage/schema.rs b/crates/openhuman-core/src/storage/schema.rs
index ce7e221eee..352615ab8c 100644
--- a/crates/openhuman-core/src/storage/schema.rs
+++ b/crates/openhuman-core/src/storage/schema.rs
@@ -55,7 +55,11 @@ fn declared_collections() -> Vec<CollectionSpec> {
.into_iter()
.map(CollectionSpec::new),
);
- collections.extend(tinyconnectors_bus::storage::collections());
+ collections.extend(
+ tinyconnectors_bus::storage::collections()
+ .into_iter()
+ .map(|collection| CollectionSpec::new(collection.name)),
+ );
collections.extend(
tinybox_bus::storage::collections()
.into_iter()
@@ -98,7 +102,12 @@ pub fn module_collections(owner: &str) -> Vec<CollectionSpec> {
);
}
"connectors" => {
- return module_owned_collections(tinyconnectors_bus::storage::collections());
+ return module_owned_collections(
+ tinyconnectors_bus::storage::collections()
+ .into_iter()
+ .map(|collection| CollectionSpec::new(collection.name))
+ .collect(),
+ );
}
"box" => {
return module_owned_collections(
diff --git a/vendor/tinybox b/vendor/tinybox
index 47aab891f6..914316c6d0 160000
--- a/vendor/tinybox
+++ b/vendor/tinybox
@@ -1 +1 @@
-Subproject commit 47aab891f6a95db6a0ac4411a70ced22973f93d0
+Subproject commit 914316c6d0f95d8a70e6721d5a60916ea673285d
diff --git a/vendor/tinychannels b/vendor/tinychannels
index 5ba62e2baa..a6af7d15ba 160000
--- a/vendor/tinychannels
+++ b/vendor/tinychannels
@@ -1 +1 @@
-Subproject commit 5ba62e2baa3a5e7f40a0468d4c87879e8224b4aa
+Subproject commit a6af7d15bad70d9a4fbb7c28c45515756460750a