rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:dddzzz123-dz/dsh-voice-input-plugin
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A Cordis plugin for DeepSeek Harness (DSH) that adds continuous voice dictation and optional cloud ASR to the DSH Web UI composer.
zh-CN / en-US).cordis / creator-mode session for installation.SpeechRecognition / webkitSpeechRecognitionnavigator.mediaDevices.getUserMediaAudioContext / webkitAudioContextFirefox and Safari do not currently support the Web Speech recognition API used here.
SiliconFlow mode additionally uses MediaRecorder and its
/v1/audio/transcriptions endpoint. Volcengine mode uses AudioContext to
encode 16 kHz mono PCM WAV, plus the DSH Host shell service and local Node.js
to call the official flash recognition endpoint.
The current production layout is split into a Host plugin and a browser client package:
host.mjs Host route and Volcengine proxy
pkg/package.json Local DSH client package manifest
pkg/lib/client.js Composer UI
pkg/lib/index.js Package entry
Copy this repository to a stable path.
Copy pkg/ to the Web profile package location:
<DSH_HOME>/profiles/web/node_modules/@local/dsh-voice-input
Add both halves to <DSH_HOME>/profiles/web/cordis.patch.yml:
- insert:
- id: voice-input-host
name: 'file:///absolute/path/to/dsh-voice-input-plugin/host.mjs'
- id: voice-input-client
name: '@local/dsh-voice-input'
Restart DSH Web and refresh the browser page.
On Windows, DSH's ACL sandbox requires TEMP and TMP to point outside the
workspace before DSH starts. For example, use D:\DSHTemp, not a .tmp
directory inside the active workspace. Otherwise cloud transcription can fail
before the proxy process starts.
Open a DSH creator-mode session, then:
Inspect the target slot:
cordis_inspect: what = client, name = conversation.input.right
Define the plugin with both source files:
cordis_define:
name: voice-input
purpose: Add continuous voice dictation to the DSH composer.
code:
host: <full code.host.js>
client: <full code.client.js>
Run the returned plugin/package:
cordis_run: <returned plugin/package id>
The creator-mode plugin is delivered to open DSH Web UI pages but is not the recommended persistent deployment. Refresh the Web UI if the button does not appear immediately.
中 / EN button to switch recognition language.Browser realtime, SiliconFlow, and Volcengine ASR.FunAudioLLM/SenseVoiceSmall and TeleAI/TeleSpeechASR.Doubao streaming ASR (volc.seedasr.sauc.duration, displayed price: CNY 4.5/hour)Doubao recording-file ASR (volc.bigasr.auc, displayed price: CNY 2.3/hour)Doubao recording-file ASR 2.0 (volc.seedasr.auc, displayed price: CNY 0.8/hour)Credentials are stored only in the current tab's sessionStorage. They are
never written into this repository or the plugin source. Volcengine credentials
cross the package-private local Host RPC only for one request and are supplied
to the proxy child process through its temporary environment. Use dedicated
credentials with spending limits and do not share them.
end event, but it cannot make one browser recognition session infinite.getUserMedia; if the browser denies that path, recognition may still work while the meter falls back to SpeechRecognition sound/speech events.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。