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
chore(core): remove direct dependency on openhuman-rpc
Steven Enamakel426c4e2375d9
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.tomlindex 11b8230afb..83d2c41f22 100644--- a/crates/openhuman-core/Cargo.toml+++ b/crates/openhuman-core/Cargo.toml@@ -1,7 +1,9 @@# The core package and its implementation live together under `crates/`:# domain modules live directly under `src/`, alongside backend API and runtime-# composition. Shared RPC contracts and clients belong to `openhuman-rpc`; the-# typed embedding facade belongs to `openhuman-embed`.+# composition, and the controller contract (`core::Outcome`, schemas, dispatch).+# The JSON-RPC protocol and server that expose it belong to `openhuman-rpc`,+# which depends on this crate; the typed embedding facade belongs to+# `openhuman-embed`.# This package is the LIBRARY only. The `openhuman-core` binary, the other# developer bins, and every root `tests/*.rs` / `examples/*.rs` target belong# to `crates/openhuman-cli`, which depends on `openhuman-tinyhumans` for the@@ -59,7 +61,6 @@ path = "src/lib.rs"crate-type = ["rlib"][dependencies]-openhuman-rpc.workspace = true# The TinyHumans SDK is deliberately NOT a dependency of the core. The core# reaches the hosted backend only through `api::transport::BackendTransport`;# the SDK-backed implementation is `crates/openhuman-tinyhumans`, which hosts@@ -453,7 +454,6 @@ axum = { version = "0.8", default-features = false, features = ["http1", "json",sentry = { version = "0.47.0", default-features = false, optional = true, features = ["backtrace", "contexts", "panic", "tracing", "debug-images", "httpdate"] }tokio-stream = { version = "0.1.18", default-features = false, features = ["sync"] }url = "2"-socketioxide = { version = "0.15", features = ["extensions"], optional = true }tempfile = "3"cpal = { version = "0.15", optional = true }enigo = { version = "0.3", optional = true }@@ -802,7 +802,7 @@ default = ["media", "skills", "flows", "mcp", "channels", "http-server", "schedu# `None`; and the three `ops` entry points always-on code calls return a# build-fact error, so a post-sync snapshot or a subconscious diff is logged and# skipped rather than silently reported as "nothing changed".-http-server = ["dep:axum", "dep:socketioxide"]+http-server = ["dep:axum"]# Local audio-device access: the `cpal` capture stack behind voice recording# and the accessibility microphone-permission probe. Default-ON. Slim /# headless builds opt out via `--no-default-features --features "<explicit listdiff --git a/crates/openhuman-core/src/lib.rs b/crates/openhuman-core/src/lib.rsindex cc64a79642..9fc563cf11 100644--- a/crates/openhuman-core/src/lib.rs+++ b/crates/openhuman-core/src/lib.rs@@ -24,10 +24,11 @@//! composition (`core::runtime`). See `README.md` and AGENTS.md ("Rust domain//! structure") for the preferred per-domain module shape.//!-//! `pub use openhuman_rpc as rpc;` re-exports the `openhuman-rpc` crate, so-//! `crate::rpc::{Outcome, StructuredRpcError, ...}` are the same types the-//! app and TUI decode responses with — there is no separate RPC contract-//! layer in this crate.+//! The controller contract lives in `core`: every domain operation returns+//! [`core::Outcome`], controllers are described by `core::ControllerSchema`,+//! and `core::invoke::invoke_method` dispatches them in-process. The JSON-RPC+//! protocol and server that expose them live in `openhuman-rpc`, which depends+//! on this crate.//!//! [`CoreBuilder`], [`CoreRuntime`], [`DomainSet`], [`ServiceSet`],//! [`TokenSource`] and [`HostKind`] are the embeddable composition API;@@ -76,7 +77,6 @@ pub mod memory;#[cfg(feature = "modules")]pub mod modules;pub mod platform;-pub use openhuman_rpc as rpc;pub mod runtime;pub mod sandbox;pub mod search;