Skip to content

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

chore(deps): replace openhuman-session with openhuman-tinyhumans

Steven Enamakel7bdbda0f0372
diff --git a/Cargo.lock b/Cargo.lock
index 5bf37247c0..e4dab52168 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4240,29 +4240,14 @@ dependencies = [
"url",
]
-[[package]]
-name = "openhuman-session"
-version = "0.63.29"
-dependencies = [
- "async-trait",
- "axum",
- "chrono",
- "log",
- "reqwest",
- "serde",
- "serde_json",
- "thiserror 2.0.20",
- "tinyhumans-sdk",
- "tokio",
- "url",
-]
-
[[package]]
name = "openhuman-tinyhumans"
version = "0.63.29"
dependencies = [
"anyhow",
"async-trait",
+ "axum",
+ "chrono",
"log",
"openhuman",
"openhuman-embed",
@@ -4273,6 +4258,7 @@ dependencies = [
"thiserror 2.0.20",
"tinyhumans-sdk",
"tokio",
+ "url",
"wiremock",
]
@@ -4289,7 +4275,7 @@ dependencies = [
"log",
"openhuman",
"openhuman-rpc",
- "openhuman-session",
+ "openhuman-tinyhumans",
"ratatui",
"sentry",
"serde_json",
diff --git a/crates/openhuman-tui/src/runner.rs b/crates/openhuman-tui/src/runner.rs
index 546ec80ad1..23547e7043 100644
--- a/crates/openhuman-tui/src/runner.rs
+++ b/crates/openhuman-tui/src/runner.rs
@@ -166,12 +166,19 @@ async fn async_main(
prefer_existing: bool,
options: super::app::LaunchOptions,
) -> anyhow::Result<()> {
+ // The core reaches the hosted backend (login, billing, integrations) only
+ // through the transport `openhuman-tinyhumans` installs; bind it to the
+ // runtime explicitly rather than relying on the process global.
+ let backend_transport =
+ openhuman_tinyhumans::install(openhuman_tinyhumans::InstallOptions::default())?;
+
// In-process core: full domains (channel.web_chat needs DomainGroup::Channels,
- // so harness() is not enough), no transport, no background services.
+ // so harness() is not enough), no RPC transport, no background services.
let runtime = Arc::new(
CoreBuilder::new(HostKind::detect_standalone())
.domains(DomainSet::full())
.services(ServiceSet::none())
+ .backend_transport(backend_transport)
.build()
.await?,
);