dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Chrono-rigger/dsh-voice-enhance
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Voice dictation and prompt enhancement for DeepSeek Harness (dsh) — two controls added to the message composer.
Hold Alt to dictate. Press and hold Alt, speak, release. The recording is transcribed on the Host and then cleaned up — typos, homophones, missing characters, punctuation and sentence breaks — and the result is inserted at the cursor. The cleanup is deliberately minimal: it never rewrites, expands, summarises or asks a question, and anything uncertain is left exactly as it came out. A dictated sentence that happens to sound like an instruction is treated as text to be copied, not as a request to follow.
✨ Enhance prompt. The sparkle button at the left of the composer, immediately before the model selector, rewrites the current draft into a brief an assistant can act on without asking follow-up questions: it supplies the background and goal, splits the request into separately checkable task points, states acceptance per point, and fixes the scope, constraints and deliverable format. The result replaces the draft, with an Undo control to get the original back.
Restore draft. Enhancing replaces the whole draft, so only enhancement records draft history; dictation just fixes homophones and punctuation without rewriting what you said, so it never enters the history. Restore either with the "Restore draft" button on the status pill, or by pressing R while the focus is not in a text field (inside the composer, R keeps typing the letter). The history is kept per Session in browser storage, survives a reload and holds up to 12 drafts; a restore is itself undoable, so the text currently in the box is never lost. The pill also keeps the restore affordance visible once a draft is stored — dictating again will not hide it.
A status pill appears below the composer card while either control is working: elapsed seconds, a "send on release" switch, an Insert button when a transcript could not be placed, and an Undo button after an enhancement.
| Key / control | Behaviour |
|---|---|
Alt (press and hold) |
Start recording |
release Alt |
Stop, transcribe, correct, insert |
Alt + any other key |
Treated as a shortcut (Alt+Tab is caught by the OS); the capture is discarded |
Esc while recording |
Cancel |
| ✨ button | Enhance the draft |
Ctrl+. |
Restore the previous draft |
dsh-experimental-voice-input-bundle), which must be enabled and its SenseVoice model prepared. Without it the plugin reports that the speech service is unavailable.llm service. Correction always uses the composition's default model route; prompt enhancement follows the model picked on the plugin page (default: the current route, freely selectable from every installed model). No API key is configured or read by this plugin.127.0.0.1, plus OS permission).dsh plugin --profile <profile> add github:Chrono-rigger/dsh-voice-enhance
Or from the Web UI: Settings → Plugins, then install the bundle by package name or from a local directory.
promptTools/refine with mode: "correct" for a transcript, mode: "enhance" for a draft; the enhance request may carry an enhanceRoute picked on the plugin page.dsh-voice-enhance.autoSend), the custom keys (dsh-voice-enhance.keys) and the enhancement model route (dsh-voice-enhance.enhanceRoute). Recordings are discarded after transcription; no audio is written to disk.promptTools/refine with mode: "correct" for a transcript, mode: "enhance" for a draft.--dsw-alias-*), so light and dark themes need no separate artwork.MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。