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
refactor(flows): update connection type usage
Steven Enamakel57285ab42f58
diff --git a/crates/openhuman-core/src/flows/builder_tools_connection_reads.rs b/crates/openhuman-core/src/flows/builder_tools_connection_reads.rsindex 6df3f861dc..b1f6233676 100644--- a/crates/openhuman-core/src/flows/builder_tools_connection_reads.rs+++ b/crates/openhuman-core/src/flows/builder_tools_connection_reads.rs@@ -36,7 +36,7 @@ impl crate::integrations::composio::builder_tools::FlowConnectionProvider}/// Render a non-secret connection summary for the agent-facing picker.-pub(crate) fn flow_connection_to_json(c: &tinyflows_catalog::types::FlowConnection) -> Value {+pub(crate) fn flow_connection_to_json(c: &crate::flows::ops::FlowConnection) -> Value {serde_json::json!({"connection_ref": c.connection_ref,"kind": c.kind,diff --git a/crates/openhuman-core/src/flows/ops/connections.rs b/crates/openhuman-core/src/flows/ops/connections.rsindex 903ead2e34..2f7849693c 100644--- a/crates/openhuman-core/src/flows/ops/connections.rs+++ b/crates/openhuman-core/src/flows/ops/connections.rs@@ -1,4 +1,27 @@use super::*;+use serde::{Deserialize, Serialize};++/// Secret-free OpenHuman picker projection for Composio accounts and named+/// HTTP credentials. This is the product RPC shape; secrets remain in their+/// domain stores and are injected only by CapsHost during execution.+#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]+pub struct FlowConnection {+ /// Value placed on a workflow node's `connection_ref`.+ pub connection_ref: String,+ /// Source kind: `composio` or `http`.+ pub kind: String,+ /// Human-readable label.+ pub display: String,+ /// Composio toolkit slug, when applicable.+ #[serde(default, skip_serializing_if = "Option::is_none")]+ pub toolkit: Option<String>,+ /// HTTP credential scheme, when applicable.+ #[serde(default, skip_serializing_if = "Option::is_none")]+ pub scheme: Option<String>,+ /// Non-secret platform identity associated with a Composio connection.+ #[serde(default, skip_serializing_if = "Option::is_none")]+ pub platform_user_id: Option<String>,+}/// Lists the connection sources a flow node's `connection_ref` can attach to:/// Composio connected accounts (`kind = "composio"`) and stored HTTP