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: remove always-on listening and overlay references
Steven Enamakel0c5a84256cf1
diff --git a/crates/openhuman-core/src/desktop/README.md b/crates/openhuman-core/src/desktop/README.mdindex ccf903c86c..4c5789c94e 100644--- a/crates/openhuman-core/src/desktop/README.md+++ b/crates/openhuman-core/src/desktop/README.md@@ -1,7 +1,7 @@# desktopCore-side logic that exists to serve the desktop client: the app-state-snapshot the shell polls, the notification center, overlay attention bubbles,+snapshot the shell polls, the notification center,the model-health dashboard, the provider respond queue, and opt-in nativedesktop control. A headless or embedded host has little use for any of it,which is why these domains are grouped here and tagged `DomainGroup::Desktop`.@@ -25,7 +25,7 @@ Each one meets the frontend in one of two ways:v |+--------------------------+ +-------------------------------+| controllers (core/all.rs)| | in-process broadcast channels |- | app_state_* | | overlay::subscribe_attention |+ | app_state_* | | notifications::subscribe_| notification_* | | _events || dashboard_* | | notifications::subscribe_ || provider_surfaces_* | | core_notifications |@@ -34,7 +34,7 @@ Each one meets the frontend in one of two ways:| | publishv |peer domains (config, auth, DomainEvent bus -> notifications::bridge- local AI, service, keyring) any caller -> overlay::publish_attention+ local AI, service, keyring)```Request and response flows (the app-state snapshot, the notification list,@@ -44,8 +44,7 @@ process-global `tokio::sync::broadcast` channels that the Socket.IO server in[`crates/openhuman-rpc`](../../../openhuman-rpc/) subscribes to and forwards. Notifications get ontotheir channel through `NotificationBridgeSubscriber` (`notifications::bridge`),which translates selected `DomainEvent`s; it is registered at startup from-[`core/runtime/subscribers.rs`](../core/runtime/subscribers.rs). Overlay attention events are published-directly by any caller.+[`core/runtime/subscribers.rs`](../core/runtime/subscribers.rs).### Desktop control@@ -81,7 +80,6 @@ action budget still apply. The agent-facing instructions are in| `control/` | Opt-in native desktop control: enablement and status (`ops.rs`), pending-action decisions (`confirmation.rs`), the `desktop_*` agent tools (`tools.rs`), and internal-only controllers (`schemas.rs`). `modules` feature only. Agent guidance in `WORKFLOW.md`. || [`dashboard/`](dashboard/README.md) | Read-only per-model health table for Settings, built from `model_registry` and the `dashboard.model_health` thresholds. Also the `dashboard_model_health` agent tool. || [`notifications/`](notifications/README.md) | Two pipelines: the event bridge that turns `DomainEvent`s into `CoreNotificationEvent`s, and the integration-notification store (SQLite) with background triage and per-provider settings. |-| [`overlay/`](overlay/README.md) | One broadcast channel for short attention messages shown in the notch or overlay window. No RPC, no persistence. || [`provider_surfaces/`](provider_surfaces/README.md) | An early scaffold: a normalized `ProviderEvent` model and an in-memory respond queue (soft cap 500) over embedded provider webviews. |## Key types and entry points@@ -92,8 +90,6 @@ action budget still apply. The agent-facing instructions are in- `notifications::register_notification_bridge_subscriber(config)` and`notifications::publish_core_notification` / `subscribe_core_notifications`([`notifications/bus.rs`](./notifications/bus.rs)) are the push path for the notification center.-- `overlay::publish_attention(OverlayAttentionEvent)` returns how many- subscribers received the event (zero means it was dropped).- `control::status`, `control::set_enabled`, and `control::probe`([`control/ops.rs`](./control/ops.rs)) back the Connections page.- `DesktopTool` and `DesktopToolKind` ([`control/tools.rs`](./control/tools.rs)) are the desktopdiff --git a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs b/crates/openhuman-core/src/security/credentials/ops/gated_services.rsindex 56d8725c2a..a33179e6b3 100644--- a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs+++ b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs@@ -65,8 +65,7 @@ pub async fn start_credential_gated_services(// panic in one service is logged on join and never aborts the others.// Unit tests must not launch the real login-gated background services: they- // include detached, long-lived continuous audio capture that outlives the- // test that spawned it and interleaves with the+ // include detached listeners that outlive the test that spawned them and interleave with the// shared process state (HOME / active_user.toml) of the parallel `cargo// test` run. Once startup became concurrent (#3490) that interleaving made// the session-isolation tests order-dependent. `cfg!(test)` is compiled outdiff --git a/crates/openhuman-core/src/voice/README.md b/crates/openhuman-core/src/voice/README.mdindex a8c0c3ff83..bf25f13fa1 100644--- a/crates/openhuman-core/src/voice/README.md+++ b/crates/openhuman-core/src/voice/README.md@@ -122,16 +122,6 @@ under a newer one. `global_server` registers the singleton that the`voice.server_*` RPCs observe; `run_standalone` (used by the CLI) builds anisolated, unregistered `VoiceServer` on purpose.-### Always-on listening--[`always_on/`](./always_on/) keeps the microphone open and uses VAD to cut the stream into-utterances, so no hotkey is needed (see [always_on/README.md](always_on/README.md)).-It is opt-in through `config.voice_server.always_on_enabled` and pauses while-the screen is locked (macOS only; other platforms have no lock signal yet).-Each utterance is transcribed through the factory, checked against the wake-word, and either handled by a local intent fast path or published to the agent-through `dictation_listener::publish_transcription`.-### Broadcast channels and events[`dictation_listener.rs`](./dictation_listener.rs) owns two process-global `tokio::sync::broadcast`@@ -243,7 +233,6 @@ per tick would multiply request count for text the client discards.| [`streaming.rs`](./streaming.rs) | `/ws/dictation` handler (`handle_dictation_ws`). Compiled only with both `voice` and `http-server`. || [`reply_speech.rs`](./reply_speech.rs) | Agent reply synthesis through the backend speech endpoint (`synthesize_reply`, `ReplySpeechOptions`). || [`server.rs`](./server.rs), [`server/`](./server/) | The `VoiceServer` dictation runtime: hotkey loop, recording lifecycle, gates, delivery, global singleton. [README](server/README.md). |-| [`always_on.rs`](./always_on.rs), [`always_on/`](./always_on/) | VAD-driven continuous listening, screen-lock pause, wake word and intent routing. [README](always_on/README.md). || [`audio_capture.rs`](./audio_capture.rs) | Microphone recording to 16 kHz mono WAV (`start_recording`, `RecordingHandle`, `RecordingResult`, `list_input_devices`) with peak RMS and the host microphone-permission policy. The `cpal` stream is `tinyvoice::capture`. || [`dictation_listener.rs`](./dictation_listener.rs) | The two broadcast channels and host event-forwarding lifecycle over TinyVoice's native listener. || [`bus.rs`](./bus.rs) | `publish_ptt_transcript_committed`. |@@ -269,9 +258,6 @@ per tick would multiply request count for text the client discards.(`ops.rs`) are the business operations behind the core RPCs.- `VoiceServer` ([`server/runtime.rs`](./server/runtime.rs)) with `global_server`, `try_global_server`,`start_if_enabled` and `run_standalone` ([`server/singleton.rs`](./server/singleton.rs)).-- `always_on::start_if_enabled` / `always_on::stop` start and stop continuous- listening; the config controller calls `start_if_enabled` again after- voice-server settings are saved.- `synthesize_reply` ([`reply_speech.rs`](./reply_speech.rs)) and `transcribe_cloud`([`cloud_transcribe.rs`](./cloud_transcribe.rs)) are the direct hosted-backend entry points.- `handle_live_voice_ws` ([`live/ws.rs`](./live/ws.rs)) and `handle_dictation_ws`@@ -314,8 +300,8 @@ error from the stub.There is no `store.rs`. Settings live in the shared TOML `Config` and arewritten through the config domain: `config.local_ai.{stt,tts}_provider`,`config.local_ai.{stt_model_id,tts_voice_id}`, top-level-`config.{stt,tts}_provider`, `config.voice_server.*` (`stt_engine`,-`always_on_enabled`, `wake_word`, hotkey, gates), `config.voice_providers` (the+`config.{stt,tts}_provider`, `config.voice_server.*` (STT engine,+hotkey, and recording gates), `config.voice_providers` (theregistry, typed in `config/schema/voice_providers.rs`) and `[voice_live]`. Thedictation server keeps only in-memory state (state machine, transcriptioncount, rolling recent-transcript buffer) behind a `OnceCell` singleton.@@ -356,9 +342,8 @@ Callers outside this folder include `core/all.rs` (controller and CLIregistration), `web_chat/run_task.rs` (reply speech, PTT events),`channels/host/adapters.rs` (channel STT and reply synthesis),`security/credentials/ops/gated_services.rs` (starts and stops the dictation-server, listener and always-on mode when gating credentials change),-`config/schemas/controllers/voice.rs`, `desktop/overlay/`,-`inference/host_runtime/service/speech.rs` and `crates/openhuman-app/src/lib.rs` (asserts+server and listener when gating credentials change),+`config/schemas/controllers/voice.rs`, `inference/host_runtime/service/speech.rs` and `crates/openhuman-app/src/lib.rs` (asserts`VOICE_COMPILED_IN`).## Gotchas@@ -366,7 +351,7 @@ server, listener and always-on mode when gating credentials change),- The desktop product enables `voice` explicitly; contributor defaults leaveit off. `pub mod voice` always compiles as a facade. With the feature off, [`stub.rs`](./stub.rs) replaces the real modules and mirrorsthe surface other code depends on (`server`, `dictation_listener`,- `always_on`, `streaming`, `live::ws`, `reply_speech`, `cloud_transcribe`,+ `streaming`, `live::ws`, `reply_speech`, `cloud_transcribe`,`cli`, `create_stt_provider`, `effective_stt_provider`, `SttProvider`,`publish_ptt_transcript_committed`) with no-op or disabled-error bodies.Signature drift is caught by the disabled build