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
style(tinyflows): reformat caps manifest signatures
Steven Enamakel8b3957e999dd
diff --git a/crates/openhuman-core/src/modules/tinyflows.rs b/crates/openhuman-core/src/modules/tinyflows.rsindex e0cddd523a..50c20de3fb 100644--- a/crates/openhuman-core/src/modules/tinyflows.rs+++ b/crates/openhuman-core/src/modules/tinyflows.rs@@ -286,7 +286,8 @@ mod imp {.await.map_err(|error| error.to_string())?;if announces_caps_host- && let Err(error) = super::caps_manifest::announce_caps_host_v2(&connection).await+ && let Err(error) =+ super::caps_manifest::announce_caps_host_v2(&connection).await{let _ = connection.unserve(&object_path).await;return Err(error);diff --git a/crates/openhuman-core/src/modules/tinyflows_caps_manifest.rs b/crates/openhuman-core/src/modules/tinyflows_caps_manifest.rsindex f322059ac7..bd7a733f6f 100644--- a/crates/openhuman-core/src/modules/tinyflows_caps_manifest.rs+++ b/crates/openhuman-core/src/modules/tinyflows_caps_manifest.rs@@ -3,9 +3,7 @@use tinybus::{InterfaceName, InterfaceVersion, PeerManifest, Version};/// Whether `object` is a valid v2 CapsHost service object.-pub(super) fn is_caps_host_v2(- object: &impl tinybus::service::Interface,-) -> Result<bool, String> {+pub(super) fn is_caps_host_v2(object: &impl tinybus::service::Interface) -> Result<bool, String> {let interface = tinybus::service::Interface::name(object);if interface.as_str() != tinyflows_bus::runs::CAPS_INTERFACE {return Ok(false);@@ -20,9 +18,7 @@ pub(super) fn is_caps_host_v2(/// Add CapsHost v2 to the existing peer manifest without dropping its other/// identities, interfaces, or required contracts.-pub(super) async fn announce_caps_host_v2(- connection: &tinybus::Connection,-) -> Result<(), String> {+pub(super) async fn announce_caps_host_v2(connection: &tinybus::Connection) -> Result<(), String> {static MANIFEST_LOCK: tokio::sync::Mutex<()> = tokio::sync::Mutex::const_new(());let _lock = MANIFEST_LOCK.lock().await;let interface = InterfaceName::new(tinyflows_bus::runs::CAPS_INTERFACE)