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: update stale module paths in doc comments
Steven Enamakel4f7ca81931b2
diff --git a/crates/openhuman-core/src/cron/scheduler_gate/gate_tests.rs b/crates/openhuman-core/src/cron/scheduler_gate/gate_tests.rsindex 62964f4f43..0c593e55ca 100644--- a/crates/openhuman-core/src/cron/scheduler_gate/gate_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler_gate/gate_tests.rs@@ -73,14 +73,14 @@ async fn second_waiter_blocks_until_first_drops() {}// `SignedOutTestGuard` lives at module scope (above) so cross-module-// tests (e.g. `core::jsonrpc::server::tests::shutdown_token_*`) can use it+// tests (e.g. `openhuman_rpc::server::shims::tests::shutdown_token_*`) can use it// too. The local re-import keeps the existing tests below readable// without fully-qualified paths.use super::SignedOutTestGuard;/// Bail out if a cross-module test in the same lib-test binary has/// already promoted [`STATE`] to `Some` via `init_global` (notably-/// `core::jsonrpc::server::tests::shutdown_token_*`, which boots the embedded+/// `openhuman_rpc::server::shims::tests::shutdown_token_*`, which boots the embedded/// server). `STATE` is an `OnceLock` with no reset, so these/// `*_when_gate_uninit` regression tests are inherently order-sensitive/// — they only have meaning when `STATE.is_none()`. Skipping whendiff --git a/crates/openhuman-core/src/integrations/client/errors.rs b/crates/openhuman-core/src/integrations/client/errors.rsindex ace25116b4..d2d84cc1df 100644--- a/crates/openhuman-core/src/integrations/client/errors.rs+++ b/crates/openhuman-core/src/integrations/client/errors.rs@@ -82,7 +82,7 @@ pub(crate) fn extract_error_detail(body: &str, max_bytes: usize) -> String {/// 1. Build a `SESSION_EXPIRED:`-prefixed message so it (a) classifies as/// [`crate::core::observability::ExpectedErrorKind::SessionExpired`] and/// stays demoted from Sentry, and (b) is recognised by-/// `core::jsonrpc::classify::is_session_expired_error` *if* it ever propagates up to+/// `core::session_expiry::is_session_expired_error` *if* it ever propagates up to/// the RPC boundary./// 2. **Publish `DomainEvent::SessionExpired` directly.** The autonomous agent/// tool path converts tool errors into a `role:tool` result string fed backdiff --git a/crates/openhuman-core/src/memory/tree/tree/rpc/ingest.rs b/crates/openhuman-core/src/memory/tree/tree/rpc/ingest.rsindex 07060e1b7e..9650477f58 100644--- a/crates/openhuman-core/src/memory/tree/tree/rpc/ingest.rs+++ b/crates/openhuman-core/src/memory/tree/tree/rpc/ingest.rs@@ -26,7 +26,7 @@ pub use crate::memory::tree::tree::canonicalize_types::*;////// The transport layer demotes these to a warn-level capture — still recorded/// for triage, because a spike genuinely means a producer regressed, but not-/// an error event. See `core::jsonrpc::rpc_handler`.+/// an error event. See `openhuman_rpc::server::rpc_handler`.////// Anchored on the exact `invalid <kind> payload: ` prefix rather than a/// loose `"invalid"` substring so unrelated failures keep paging.diff --git a/crates/openhuman-core/src/security/credentials/ops_credential_tests.rs b/crates/openhuman-core/src/security/credentials/ops_credential_tests.rsindex a0a309d640..d09752a1bf 100644--- a/crates/openhuman-core/src/security/credentials/ops_credential_tests.rs+++ b/crates/openhuman-core/src/security/credentials/ops_credential_tests.rs@@ -558,7 +558,7 @@ async fn clear_credential_without_a_kind_removes_everything() {// ── authed routes keep the SESSION_EXPIRED sentinel ───────────/// #5307 — a lapsed session on an authed backend route must stay classifiable-/// as session expiry: the dispatcher (`core::jsonrpc::invoke_method`) keys+/// as session expiry: the dispatcher (`core::invoke::invoke_method`) keys/// both the Sentry skip and the `DomainEvent::SessionExpired` publish off the/// `SESSION_EXPIRED:` sentinel `flatten_authed_error` produces.#[tokio::test]@@ -596,7 +596,7 @@ async fn auth_create_channel_link_token_401_stays_classifiable_as_session_expiry/// session expiry (matrix 1.2.3).////// The sibling test above pins the 401 -> `SESSION_EXPIRED:` mapping, and-/// `core::jsonrpc::invoke_method` keys a `DomainEvent::SessionExpired` publish+/// `core::invoke::invoke_method` keys a `DomainEvent::SessionExpired` publish/// off that sentinel — which signs the user out. If a 409 fell into the same/// bucket, discovering that someone else had already linked your Telegram/// account would log you out of OpenHuman, and the real reason for the failurediff --git a/crates/openhuman-core/src/voice/stub.rs b/crates/openhuman-core/src/voice/stub.rsindex b680827814..cb2b515b68 100644--- a/crates/openhuman-core/src/voice/stub.rs+++ b/crates/openhuman-core/src/voice/stub.rs@@ -192,7 +192,7 @@ pub mod always_on {// streaming::handle_dictation_ws (provided by the real voice host adapter)// ----------------------------------------------------------------------------// axum-only, and its sole caller (`core::jsonrpc::http::dictation::dictation_ws_handler`) is+// axum-only, and its sole caller (`openhuman_rpc::server::http::dictation::dictation_ws_handler`) is// gated the same way, so the stub's dictation-WS surface is exclusive to the// `http-server` feature too (#5048): voice-OFF + http-server-OFF needs no// `voice::streaming` at all.