rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Lindong-K/voice-input-plugin
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A browser-side speech-to-text plugin for the DeepSeek Harness chat interface: click the mic, speak, and the transcript lands in the message box — no more typing long messages.
Everything happens in your browser: microphone permission, recording, recognition, and writing into the input box. No server relay, no audio upload (unless you explicitly configure the optional Whisper endpoint).
continuous + interimResults) — long monologues keep
committing sentence by sentence, no 60s limit.MediaRecorder → chunked upload → transcription.| Option | Default | Meaning |
|---|---|---|
language |
zh-CN |
recognition language (en-US, yue-Hant-HK, …) |
inputMode |
toggle |
toggle = click to start/stop (desktop default); hold = hold-to-talk (touch/trackpad) |
autoSend |
false |
send automatically after listening stops (default off: review first) |
punctuation |
true |
smart punctuation: ? for questions, ! for exclamations, else 。 |
autoRestart |
true |
restart once when recognition ends unexpectedly |
whisperEndpoint |
(empty) | leave empty = browser built-in recognition (no audio leaves the browser); fill to enable local Whisper upload |
This is the Client half of a dynamic Cordis plugin. Define it with your harness
plugin tooling (plain JavaScript, React via React.createElement, no JSX), register the three
slots, and approve the client package when prompted.
// code.client = the contents of client.js
Slot usage (official catalog seats):
| Slot | Purpose |
|---|---|
conversation.input.right |
mic button (before the send button) |
conversation.composer.dock |
live interim preview strip |
settings.section |
"语音输入" settings page |
Requires a secure context (https or localhost, e.g. http://127.0.0.1:3080) and
Chrome/Edge (Web Speech API). On unsupported browsers the button is disabled and the settings page
shows a capability report.
whisperEndpoint does the plugin send 4-second audio chunks to that
endpoint (your own local service).为 DeepSeek Harness 聊天界面增加「点击说话 → 自动转文字」能力。全部在浏览器端完成: 麦克风权限、录音、识别、写入输入框;无服务端中转、不上传音频(除非显式配置增强档)。
continuous 连续听写,长段口述逐句落定,不受 60 秒限制;识别中不劫持键盘language(默认 zh-CN)、autoSend(说完即发,默认关)、punctuation(自动补标点,默认开)、
autoRestart(意外中断自动重连,默认开)、whisperEndpoint(增强档,默认空 = 纯浏览器识别)。
Chrome / Edge(webkitSpeechRecognition);需安全上下文(https 或 localhost)。
不支持时按钮置灰,设置页显示能力检测报告。
默认方案不录制、不保存、不上传音频;只有填写 whisperEndpoint 后才会把 4 秒一段的
录音发送到你指定的本地端点。
client.js — 插件 Client 半区源码(识别引擎 + 三个 Slot 组件 + 配置页)docs/语音输入插件·创造模式提示词.md — 项目原始提示词(设计规范)验证报告.md — 能力检测 + 手动测试清单CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-ai、deepseek-harness。