Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: remove stale overlay and always-on references

Steven Enamakeld35f44ab1dd8
diff --git a/crates/openhuman-core/src/desktop/mod.rs b/crates/openhuman-core/src/desktop/mod.rs
index 84d942ca06..3ff7d47bfd 100644
--- a/crates/openhuman-core/src/desktop/mod.rs
+++ b/crates/openhuman-core/src/desktop/mod.rs
@@ -7,7 +7,6 @@
//! - [`app_state`] — persisted desktop app state
//! - [`dashboard`] — dashboard aggregation surface
//! - [`notifications`] — user-facing notification delivery
-//! - [`overlay`] — the desktop overlay window surface
//! - [`provider_surfaces`] — per-provider UI surface descriptors
//!
//! OS accessibility (focus, permissions, paste and Globe listeners) executes
@@ -19,5 +18,4 @@ pub mod app_state;
pub mod control;
pub mod dashboard;
pub mod notifications;
-pub mod overlay;
pub mod provider_surfaces;
diff --git a/crates/openhuman-core/src/desktop/notifications/bus.rs b/crates/openhuman-core/src/desktop/notifications/bus.rs
index 95bb2d92c2..91031d62e5 100644
--- a/crates/openhuman-core/src/desktop/notifications/bus.rs
+++ b/crates/openhuman-core/src/desktop/notifications/bus.rs
@@ -1,6 +1,6 @@
//! Broadcast bus + DomainEvent subscriber for core notifications.
//!
-//! Mirrors the pattern used by [`overlay::bus`](crate::desktop::overlay::bus)
+//! Provides a broadcast channel for notification events.
//! — a single `tokio::sync::broadcast` channel wrapped in a `Lazy` static,
//! plus a [`EventHandler`] implementation that translates relevant
//! [`DomainEvent`] variants into [`CoreNotificationEvent`] payloads.
diff --git a/crates/openhuman-core/src/modules/README.md b/crates/openhuman-core/src/modules/README.md
index 44475bd32f..8de6bfa27c 100644
--- a/crates/openhuman-core/src/modules/README.md
+++ b/crates/openhuman-core/src/modules/README.md
@@ -435,7 +435,7 @@ loadable:
compiles without the gate; wallet, Web3, and x402 adapters use `wallet.rs`;
`tools/impl/document`, `tools/impl/presentation`,
`agent/multimodal.rs` and `attachments/` use `documents.rs`;
- `voice/always_on` and `voice/streaming.rs` use `voice.rs`;
+ `voice/server` and `voice/streaming.rs` use `voice.rs`;
`tools/impl/browser/` and `desktop/control/` use the TinyComputer files;
`integrations/composio/module_client.rs` uses [`connectors.rs`](./connectors.rs);
`search/tools.rs` and `search/bus.rs` use [`search/`](./search/); and
diff --git a/crates/openhuman-core/src/security/credentials/README.md b/crates/openhuman-core/src/security/credentials/README.md
index ce6312dd26..64b0ca01d8 100644
--- a/crates/openhuman-core/src/security/credentials/README.md
+++ b/crates/openhuman-core/src/security/credentials/README.md
@@ -109,7 +109,7 @@ across processes; the local file lock still serializes one host.
- `crate::platform::llm_gate`: signed-out override flipped on install/removal/expiry.
- `crate::memory::conversations`: purge pre-login threads, bind conversation persistence after activation.
- `crate::memory`: bind memory client to the active workspace after activation.
-- `crate::inference::host_runtime`, `crate::voice::{server,dictation_listener,always_on}`: credential-gated services started/stopped.
+- `crate::inference::host_runtime`, `crate::voice::{server,dictation_listener}`: credential-gated services started/stopped.
- [`jwt.rs`](./jwt.rs): JWT `exp` decode and `user_id_from_profile_payload`.
- `crate::core::all` (`ControllerFuture`, `RegisteredController`), `crate::core` (`ControllerSchema`/`FieldSchema`/`TypeSchema`), `crate::core::events::DomainEvent` + `tinybus::EventHandler`, `crate::rpc::RpcOutcome`: controller registry + RPC envelope + event bus.
diff --git a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
index 8f2e33c97a..56d8725c2a 100644
--- a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
+++ b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
@@ -51,8 +51,7 @@ pub async fn start_credential_gated_services(
// constraint is voice-server → standalone-dictation-listener (they contend
// for the single rdev global listener on macOS). Previously each was
// `.await`ed in series, so their cold-start costs SUMMED: the local-AI
- // bootstrap (Ollama/embeddings) + the Windows WASAPI microphone init
- // (a synchronous readiness handshake in `always_on::spawn_capture_thread`)
+ // bootstrap (Ollama/embeddings) + voice startup
// stacked into the ~10s stall users hit before hotkeys/commands were usable
// — worst on Windows (#3490). Worse,
// the hotkey/command registration (steps 2–3) sat
diff --git a/crates/openhuman-core/src/voice/audio_capture.rs b/crates/openhuman-core/src/voice/audio_capture.rs
index 708e1fc60f..86a266ef13 100644
--- a/crates/openhuman-core/src/voice/audio_capture.rs
+++ b/crates/openhuman-core/src/voice/audio_capture.rs
@@ -1,5 +1,5 @@
//! Host recording policy over module-owned native capture and audio preparation.
-use super::capture_lease::{CaptureLease, Kind};
+use super::capture_lease::CaptureLease;
use crate::config::Config;
/// Sample rate of the TinyVoice output contract (mono 16 kHz PCM).
pub(crate) const TARGET_SAMPLE_RATE: u32 = 16_000;