Skip to content

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

fix(openhuman-tinyhumans): update Cargo.toml and hosted module

Steven Enamakel967ccf30b06b
diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.toml
index 0001244c63..ba81bcd91f 100644
--- a/crates/openhuman-tinyhumans/Cargo.toml
+++ b/crates/openhuman-tinyhumans/Cargo.toml
@@ -32,7 +32,7 @@ flows = ["openhuman-embed/flows"]
skills = ["openhuman-embed/skills"]
mcp = ["openhuman-embed/mcp"]
crash-reporting = ["openhuman-embed/crash-reporting"]
-channels = ["openhuman-embed/channels"]
+channels = ["openhuman-embed/channels", "dep:tinychannels-bus"]
sandbox-landlock = ["openhuman-embed/sandbox-landlock"]
sandbox-bubblewrap = ["openhuman-embed/sandbox-bubblewrap"]
whatsapp-web = ["openhuman-embed/whatsapp-web"]
@@ -58,6 +58,10 @@ tinytools-jev = { path = "../../vendor/tinyagents/vendor/tinytools/crates/tinyto
# transport-free and this crate owns the wire, the credential and the deadline.
# Consumed by pinned revision, as that crate's README asks.
tinyjevclient = { git = "https://github.com/tinyhumansai/tinyjevclient", rev = "84b3983c7e1e14f7515658ceafabb6c4e7967c94", optional = true }
+# The channel controller contract (result types, credential-provider keys)
+# for the managed Telegram/Discord link flows in `hosted::channel_link`. Same
+# vendored path as the core's, so the types unify. Sync and I/O-free.
+tinychannels-bus = { path = "../../vendor/tinychannels/crates/tinychannels-bus", optional = true }
anyhow = "1"
async-trait = "0.1"
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
diff --git a/crates/openhuman-tinyhumans/src/hosted/mod.rs b/crates/openhuman-tinyhumans/src/hosted/mod.rs
index 08bbff3875..bab647a7f7 100644
--- a/crates/openhuman-tinyhumans/src/hosted/mod.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/mod.rs
@@ -26,7 +26,8 @@ pub(crate) mod test_support;
use openhuman_core::core::all::{ControllerExtension, DomainGroup};
/// Namespace descriptions the core's `namespace_description` serves for the
-/// hosted RPC surface.
+/// namespaces only the hosted surface uses. Shared namespaces (`auth`,
+/// `channels`, `webhooks`) are described by the core.
pub const NAMESPACES: &[(&str, &str)] = &[
(
"billing",
@@ -52,6 +53,9 @@ pub fn extension() -> ControllerExtension {
controllers.extend(billing::all_billing_registered_controllers());
controllers.extend(announcements::all_announcements_registered_controllers());
controllers.extend(team::all_team_registered_controllers());
+ controllers.extend(webhooks::all_webhooks_registered_controllers());
+ controllers.extend(channel_link::all_channel_link_registered_controllers());
+ controllers.extend(oauth::all_oauth_registered_controllers());
ControllerExtension {
group: DomainGroup::Hosted,
controllers,