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(core): update module-level doc comments for rpc_log and socketio
Steven Enamakel89e81b120364
diff --git a/crates/openhuman-core/src/core/rpc_log.rs b/crates/openhuman-core/src/core/rpc_log.rsindex d83660dd59..aeb3098edb 100644--- a/crates/openhuman-core/src/core/rpc_log.rs+++ b/crates/openhuman-core/src/core/rpc_log.rs@@ -1,8 +1,10 @@//! Request-id formatting and parameter redaction for RPC log lines.//!-//! Used by `core::dispatch`'s `[rpc:dispatch]` trace logs and by-//! `core::jsonrpc` when logging request/response summaries, so that neither-//! call site has to re-implement redaction. [`redact_params_for_log`] and+//! [`redact_params_for_log`] is what `core::dispatch` calls for its+//! `[rpc:dispatch] enter` trace line; [`format_request_id`],+//! [`summarize_rpc_result`] and [`redact_result_for_trace`] are the matching+//! helpers for transport-side request/response logging and currently have no+//! caller outside this module's tests. [`redact_params_for_log`] and//! [`redact_result_for_trace`] strip the same set of sensitive keys —//! `api_key`, `apikey`, `token`, `access_token`, `refresh_token`,//! `authorization`, `password`, `secret`, `client_secret` — from JSON objectsdiff --git a/crates/openhuman-core/src/core/socketio.rs b/crates/openhuman-core/src/core/socketio.rsindex b1faa06642..12e7579613 100644--- a/crates/openhuman-core/src/core/socketio.rs+++ b/crates/openhuman-core/src/core/socketio.rs@@ -1,12 +1,18 @@//! Socket.IO live-event bridge to the desktop shell.//!-//! `spawn_web_channel_bridge` subscribes to a handful of domain broadcast-//! channels — web-chat events, dictation hotkeys, overlay attention bubbles-//! (`crate::desktop::overlay::subscribe_attention_events`, see-//! `desktop/overlay/README.md`), core notifications, transcription results,-//! and shell companion state — and fans each one out to every connected-//! Socket.IO client, emitting both a colon- and an underscore-separated event-//! name for frontend compatibility. `COMPANION_STATE_BUS` is a broadcast+//! `spawn_web_channel_bridge` spawns one forwarding task per source. Domain+//! broadcast channels: web-chat events (`crate::web_chat`), dictation hotkeys+//! and transcription results (`crate::voice::dictation_listener`), overlay+//! attention bubbles (`crate::desktop::overlay::subscribe_attention_events`,+//! see `desktop/overlay/README.md`), core notifications+//! (`crate::desktop::notifications`), and shell companion state+//! (`COMPANION_STATE_BUS`). `DomainEvent`s read off `crate::core::bus::BUS`:+//! session expiry, MCP setup secret requests, memory sync and tree-build+//! progress, channel listener health, and active-workspace changes. Web-chat+//! events go to the initiating client's room and the `thread:<id>` room+//! (`emit_web_channel_event`); everything else is broadcast to every+//! connected client, most under both a colon- and an underscore-separated+//! event name for frontend compatibility. `COMPANION_STATE_BUS` is a broadcast//! channel dedicated to shell-originated companion lifecycle events: the//! companion implementation itself lives in the Tauri shell, but the native//! macOS notch WKWebView has no Tauri IPC bridge and connects to the