rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:LionGateOS/dsh-local-voice-dictation
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Created by LionGateOS
Author: Antonio Vidal antoniovidaljr@gmail.com
Local voice for DeepSeek Harness. Dictate with your microphone through local speech-to-text, then listen to finalized assistant responses through local Kokoro text-to-speech.
Independent community plugin; not an official DeepSeek project or upstream PR. Licensed under MIT.
Installation is currently manual. See INSTALL.md for the current setup procedure and requirements.
Local voice dictation for DeepSeek Harness web sessions — no cloud STT, no auto-send:
getUserMedia).POST /voice-proxy/transcribe (base64 JSON payload, capped at about
22 million base64 characters, approximately 16 MB of decoded audio).It never auto-sends messages. The transcript always lands in the draft; you review it and send it yourself.
Each finalized assistant response gets a speaker control.
The Speak flow uses local Kokoro text-to-speech:
Generating....POST /voice-proxy/speech.Stop speaking.The currently tested Kokoro endpoint is:
POST http://127.0.0.1:8768/v1/audio/speech
The assistant action is mounted using DeepSeek Harness's
conversation.chat.assistant-actions slot.
Dictate:
browser mic → same-origin /voice-proxy/transcribe → local engine (127.0.0.1) → transcript → composer draft
Speak:
assistant response → same-origin /voice-proxy/speech → local Kokoro TTS → WAV → browser playback
Two halves in one small package (~330 lines of JS):
| File | Role |
|---|---|
index.js |
Node half — registers the same-origin /voice-proxy/transcribe and /voice-proxy/speech routes |
client.js |
Browser half — Dictate button, mic capture, transcript insertion, and per-assistant-message Speak controls |
package.json |
Manifest: @local/voice-dictation, ESM, node main + ./client export |
The add-on is engine-agnostic: it works with any local engine that exposes
GET /health — a status check, andPOST /transcribe — a multipart audio upload returning JSON with a
text field and an optional language field.The current local LionGate Voice Engine (faster-whisper STT) is one
compatible local engine implementation; the prototype's proxy is pointed at
its /transcribe endpoint.
Mount the plugin in the DeepSeek Harness web browser roster:
packages/bundle/web-app/cordis.patch.yml
Add this browser plugin row:
- id: voice-dictation
name: '@local/voice-dictation'
Do not mount the plugin only inside an agent preset. Agent presets do not add the client plugin to the web browser boot graph.
Note: an earlier prototype packaged this as a full copied "Voice Mode" agent preset. That approach turned out to be unstable (default-preset drift, source living only in gitignored
node_modules) and is not recommended.
127.0.0.1If the engine is down, the proxy returns HTTP 502 with a clear error and the rest of Harness is unaffected — this behavior is code-backed, and a direct engine-down test is still on the roadmap (needs direct testing to be fully validated).
/voice-proxy/speechGenerating... state while speech is being preparedStop speaking immediately stops active playbackCLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。