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
refactor(voice): remove standalone dictation server surface
Steven Enamakel1ac1e7d3e2c8
diff --git a/crates/openhuman-core/src/voice/mod.rs b/crates/openhuman-core/src/voice/mod.rsindex 81de2c1208..3fb167b5d0 100644--- a/crates/openhuman-core/src/voice/mod.rs+++ b/crates/openhuman-core/src/voice/mod.rs@@ -1,8 +1,7 @@//! Voice domain — hosted speech-to-text and text-to-speech (local piper / hosted).//!//! Provides RPC endpoints under the `openhuman.voice_*` namespace for-//! transcription, synthesis, proactive availability checking, and a-//! standalone voice dictation server (hotkey → record → transcribe → insert).+//! transcription, synthesis, and proactive availability checking.//!//! Reusable inference mechanics live in `tinyinference-voice`; this module//! binds them to OpenHuman configuration, authentication, providers, RPC,@@ -14,8 +13,7 @@//! implementation (the submodules below)//! is gated behind the default-ON `voice` Cargo feature. When the feature is//! off, [`stub`] takes its place and exposes the same public surface that-//! other-gated callers depend on (`server`, `dictation_listener`,-//! `create_stt_provider`,+//! other-gated callers depend on (`create_stt_provider`,//! `effective_stt_provider`, `publish_ptt_transcript_committed`) with//! no-op / disabled-error bodies. Keeping the two surfaces in lockstep is//! enforced by the disabled-build check@@ -28,19 +26,11 @@pub mod compile_status;pub use compile_status::VOICE_COMPILED_IN;-#[cfg(feature = "voice")]-pub mod audio_capture;#[cfg(feature = "voice")]pub mod bus;#[cfg(feature = "voice")]-pub(crate) mod capture_lease;-#[cfg(feature = "voice")]pub use bus::publish_ptt_transcript_committed;#[cfg(feature = "voice")]-pub(crate) mod cli;-#[cfg(feature = "voice")]-pub mod dictation_listener;-#[cfg(feature = "voice")]pub mod factory;#[cfg(feature = "voice")]pub mod live;@@ -51,8 +41,6 @@ pub mod realtime_harness;#[cfg(feature = "voice")]mod schemas;#[cfg(feature = "voice")]-pub mod server;-#[cfg(feature = "voice")]mod types;#[cfg(feature = "voice")]diff --git a/crates/openhuman-core/src/voice/stub.rs b/crates/openhuman-core/src/voice/stub.rsindex f129dea2cc..23aa5c3cf0 100644--- a/crates/openhuman-core/src/voice/stub.rs+++ b/crates/openhuman-core/src/voice/stub.rs@@ -129,7 +129,6 @@ pub mod server {}// ----------------------------------------------------------------------------// dictation_listener::{start_if_enabled, stop, subscribe_*}// ---------------------------------------------------------------------------pub mod dictation_listener {