Skip to content

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

refactor(openhuman-rpc): update session store and enricher paths

Steven Enamakel064216544381
diff --git a/crates/openhuman-rpc/src/host.rs b/crates/openhuman-rpc/src/host.rs
index f442a6c0ab..70b71145d0 100644
--- a/crates/openhuman-rpc/src/host.rs
+++ b/crates/openhuman-rpc/src/host.rs
@@ -338,7 +338,7 @@ pub async fn tui() -> anyhow::Result<openhuman_tinyhumans::embed::Runtime> {
/// rewrite a legacy managed config.
#[cfg(feature = "session-store")]
async fn session_store_for_boot(
-) -> anyhow::Result<std::sync::Arc<dyn openhuman_tinyhumans::embed::SessionStoreProvider>> {
+) -> anyhow::Result<std::sync::Arc<dyn tinyagents_session::port::SessionStoreProvider>> {
openhuman_tinyhumans::register_hooks();
crate::session_store::provider_for_host().await
}
diff --git a/crates/openhuman-rpc/src/host_tests.rs b/crates/openhuman-rpc/src/host_tests.rs
index 812b1fbdab..2f0e76d37b 100644
--- a/crates/openhuman-rpc/src/host_tests.rs
+++ b/crates/openhuman-rpc/src/host_tests.rs
@@ -196,7 +196,7 @@ async fn boot_session_store_keeps_a_legacy_managed_config_managed() {
("OPENHUMAN_STORAGE_URL", "".into()),
]);
openhuman_tinyhumans::__host::config_enrichers::unregister_enricher(
- openhuman_tinyhumans::client::ENRICHER_ID,
+ openhuman_tinyhumans::client::enricher::ENRICHER_ID,
);
let previous = crate::core_host::agent::session_store::installed();
diff --git a/crates/openhuman-rpc/src/server/mod.rs b/crates/openhuman-rpc/src/server/mod.rs
index 5067cfaf67..cb3a3e2074 100644
--- a/crates/openhuman-rpc/src/server/mod.rs
+++ b/crates/openhuman-rpc/src/server/mod.rs
@@ -25,7 +25,7 @@ mod serve;
pub(crate) mod shims;
mod socketio;
#[cfg(test)]
-mod testing;
+pub(crate) mod testing;
pub use http::{build_core_http_router, rpc_handler};
pub use serve::{serve, EmbeddedReadySignal};