rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:likhonmain/voice-input
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A feature-rich, high-performance voice recording and transcription plugin for DeepSeek Harness (DSH). It places a clean microphone icon directly beside the model selector in your composer bar, allowing you to record, pause, listen back to your audio, and transcribe it into your message draft using any OpenAI-compatible API or multimodal model (such as gemini-3.8-flash-high).
%APPDATA%\dsh-desktop\voice-input-config.json) and synchronized with the browser, remaining preserved across restarts and port changes.MM:SS) with a visual recording indicator.Crashed Recording/ directory inside the project folder so your speech is never lost.client.js): Pure JavaScript component that mounts into the conversation.input.activity slot, managing recording, timers, playback, engine switching, and the settings modal.index.js): Fast Node.js service that hosts /api/voice-input/transcribe and /api/voice-input/config, managing disk persistence and forwarding audio to your OpenAI-compatible endpoint.input_audio (e.g. Gemini 3.8 / GPT-4o multimodal models) and traditional /v1/audio/transcriptions (Whisper endpoints).enable-desktop-mic.cjs): Automates patching the DeepSeek Harness Desktop Electron app on Windows to grant media/microphone access.AudioContext, MediaRecorder) and Node.js standard built-ins (fetch, Buffer, Blob, fs).When transcribing speech through multimodal LLMs (e.g. gemini-3.8-flash-high), the backend applies this transcription directive:
"You are an expert transcriber and translator. Translate or transcribe the exact meaning of the audio into clean English. Remove any spoken filler words, stutters, repetitions, and hesitation marks (like 'um', 'uh', 'you know'). Do NOT add any summaries, conversational responses, or formatting. Output ONLY the raw, clean translated text."
If you are using the DSH Desktop (Windows Electron desktop app), you might encounter:
Microphone access denied or unavailable: Permission denied
DeepSeek Harness Desktop is an Electron application. In its main process (out/main/index.js), it enforces a strict permission check:
function canGrantWindowPermission(permission, requestingUrl, isMainFrame) {
return (permission === "clipboard-sanitized-write" || permission === "notifications") && ...
}
Because the media (microphone) permission was omitted from this whitelist, Electron automatically denies all microphone requests before Windows even sees them. Consequently, DeepSeek Desktop never prompts for microphone access and does not show up in Windows Privacy Settings.
This repository provides an automated patch script: enable-desktop-mic.cjs.
node enable-desktop-mic.cjs
The script automatically creates a backup (app.asar.bak) and patches app.asar to include media in the permission check.
Win + I) → Privacy & security → Microphone.You can also use DeepSeek Harness directly through any web browser (Google Chrome, Microsoft Edge, Brave, Firefox):
http://127.0.0.1:43129 or similar)."127.0.0.1 wants to use your microphone: [Allow] [Block]"
Clone or copy this repository into your workspace or plugins directory:
git clone https://github.com/likhonmain/voice-input.git
Install the bundle using the Harness Plugin Manager or CLI:
dsh-voice-input from this folder path.Open Settings by clicking the ⚙ (gear) icon next to the microphone icon in the composer bar:
Click Save All Engines and start speaking!
MIT License. Feel free to use, modify, and distribute.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。