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
fix(connect): handle untracked catalog file in connect operation
Steven Enamakel64bf88aa8332
diff --git a/crates/openhuman-core/src/channels/controllers/ops/connect/catalog.rs b/crates/openhuman-core/src/channels/controllers/ops/connect/catalog.rsnew file mode 100644index 0000000000..ac5e1b644f--- /dev/null+++ b/crates/openhuman-core/src/channels/controllers/ops/connect/catalog.rs@@ -0,0 +1,19 @@+//! Read-only channel catalog lookups.++use crate::rpc::RpcOutcome;++use super::super::definitions::{all_channel_definitions, find_channel_definition, ChannelDefinition};++/// List all available channel definitions.+pub(super) async fn list_channels() -> Result<RpcOutcome<Vec<ChannelDefinition>>, String> {+ Ok(RpcOutcome::new(all_channel_definitions(), vec![]))+}++/// Describe a single channel by id.+pub(super) async fn describe_channel(+ channel_id: &str,+) -> Result<RpcOutcome<ChannelDefinition>, String> {+ let def = find_channel_definition(channel_id)+ .ok_or_else(|| format!("unknown channel: {channel_id}"))?;+ Ok(RpcOutcome::new(def, vec![]))+}