Skip to content

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

docs(voice): remove streaming dictation WebSocket section

Steven Enamakel87bd335ef213
diff --git a/crates/openhuman-core/src/voice/README.md b/crates/openhuman-core/src/voice/README.md
index a8c0c3ff83..0e02d80bf6 100644
--- a/crates/openhuman-core/src/voice/README.md
+++ b/crates/openhuman-core/src/voice/README.md
@@ -218,16 +218,6 @@ turn of a hosted ElevenLabs session down the socket as `voice:harness`, and
one chat and the meet bot use, then streams the reply back as
`voice:harness:delta`, `voice:harness:done` or `voice:harness:error`.
-### Streaming dictation WebSocket
-
-[`streaming.rs`](./streaming.rs) handles `/ws/dictation` (mounted and authenticated by
-`crates/openhuman-rpc/src/server/http/dictation.rs`). The client sends PCM16
-16 kHz mono binary frames and a `{"type":"stop"}` text frame; the core
-accumulates the audio, encodes WAV through the `tinyvoice` module, and returns
-`{"type":"final","text","raw_text"}` or `{"type":"error"}`. The `partial` frame
-type is still in the protocol but is never sent, because a hosted round trip
-per tick would multiply request count for text the client discards.
-
## Layout
| Path | What it does |
@@ -240,7 +230,6 @@ per tick would multiply request count for text the client discards.
| [`cloud_transcribe.rs`](./cloud_transcribe.rs) | Auth adapter for hosted STT: resolves the backend credential and calls `tinyinference_voice::cloud` against `/openai/v1/audio/transcriptions`. |
| [`local_speech.rs`](./local_speech.rs) | Config adapter for Piper: resolves the binary and voice through the local runtime and calls `tinyinference-voice`. |
| [`postprocess.rs`](./postprocess.rs) | Config adapter for LLM transcript cleanup (`cleanup_transcription`). |
-| [`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). |
@@ -341,8 +330,8 @@ count, rolling recent-transcript buffer) behind a `OnceCell` singleton.
and requires a physical release before the next press can rearm it.
- `tinyliveagents` owns live provider wire protocols and `tinyagents-live` owns
live tool execution. The tool middleware is `agent::tinyagents::live_harness`.
-- `crates/openhuman-rpc` mounts and authenticates `/ws/dictation` and
- `/ws/live-voice` (bearer header or `?token=`, plus the origin allowlist) and
+- `crates/openhuman-rpc` mounts and authenticates `/ws/live-voice` (bearer
+ header or `?token=`, plus the origin allowlist) and
forwards the broadcast channels over Socket.IO. Do not add auth checks inside
the handlers here.
- Backend credentials come from