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
docs(runtime): update builder docs to reference host boot
Steven Enamakel3ced6f01aefd
diff --git a/crates/openhuman-core/src/core/runtime/builder.rs b/crates/openhuman-core/src/core/runtime/builder.rsindex 684712673c..2ca7430def 100644--- a/crates/openhuman-core/src/core/runtime/builder.rs+++ b/crates/openhuman-core/src/core/runtime/builder.rs@@ -15,10 +15,9 @@//! [`CoreRuntime::start_services`], and serves until shutdown. A runtime//! with no transport calls `start_services` itself.//!-//! The server entry points in `openhuman-rpc` (`run_server`,-//! `run_server_embedded`, `run_server_embedded_with_ready`) are thin shims over-//! this builder, so the desktop shell, the standalone CLI, and any new embedder-//! share one path.+//! The host boot in `openhuman-rpc` (`host::{cli, desktop}`) and its+//! `run_server*` entry points build on this builder, so the desktop shell, the+//! standalone CLI, and any new embedder share one path.//! See the pluggable-core work (`core::runtime`) for how this fits with//! [`context`](crate::core::runtime::context) and `services`.@@ -205,8 +204,7 @@ impl CoreBuilder {/// "backend unavailable" error while agents, memory, tools and RPC keep/// working. Library hosts that build one runtime per process prefer this/// builder form; the desktop shell and CLI, which boot the core through- /// `run_server_embedded_with_ready` / `run_core_from_args`, install the- /// global.+ /// `openhuman_rpc::host`, install the global.pub fn backend_transport(mut self,transport: std::sync::Arc<dyn crate::backend::transport::BackendTransport>,diff --git a/crates/openhuman-rpc/src/server/cli.rs b/crates/openhuman-rpc/src/server/cli.rsindex 14719dfe0d..bc8f650d37 100644--- a/crates/openhuman-rpc/src/server/cli.rs+++ b/crates/openhuman-rpc/src/server/cli.rs@@ -5,16 +5,7 @@ use std::pin::Pin;use openhuman_tinyhumans::embed::{RuntimeBuilder, ServiceSet};-use crate::core_host::core::server_launcher::{install_server_launcher, ServeRequest};--/// Install this crate's server as the one the core CLI's `run` / `serve`-/// subcommands start. Call once, before-/// `run_core_from_args`; later calls are-/// no-ops.-pub fn install_cli_server() {- crate::http_host::ensure_registered();- install_server_launcher(launch);-}+use crate::core_host::core::server_launcher::ServeRequest;/// The [`ServerLauncher`](openhuman_tinyhumans::embed::seams::ServerLauncher)/// behind `run` / `serve`: the standalone server shims.