dshbase

插件目录 / Developer / dsh-voice-kit

dsh-voice-kit

未验证 aaaadrop

✓ 持续维护 2 位贡献者 基于 9 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-19最近推送
跨平台平台

功能简介

Developer 类别的 DeepSeek Harness 插件。

我们的评价
未验证 — 尚未实测

Developer 类别的 DeepSeek Harness 插件。 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-voice-kit 🎙️

Voice input and read-aloud for the DeepSeek Harness web GUI.

中文说明

Status: v0.4.0, published on npmpnpm typecheck passes, 239 unit
tests pass, pnpm build emits the ecosystem-standard closure-factory bundle
(host half + browser half). Verified inside a real DSH Desktop profile.
Install: dsh plugin add dsh-voice-kit.

Features

  • 🎤 Voice input — mic button in the composer's left rail; records and
    transcribes host-side, appending the text to the draft (never clobbering
    what you already typed). Two backends: the browser Web Speech API
    (Chrome/Edge) or a host-side OpenAI-compatible service (e.g. SiliconFlow
    SenseVoice). Esc cancels; stop anytime.
  • 🔊 Read aloud (three engines) — a per-message button at each assistant
    message tail:
    • Microsoft neural voices (free; 晓晓/云希/云健/云扬…), synthesized
      host-side via msedge-tts and cached; connects through the system proxy
      tunnel automatically on censored networks.
    • Cloud neural voices (SiliconFlow CosyVoice2 and any OpenAI-compatible
      audio/speech; direct from mainland China, no proxy needed) — reuses the
      same credential you already set up for speech recognition.
    • System voices — fully offline fallback; works everywhere.
    • Markdown and emoji are stripped before speaking; long replies are
      streamed in sentence-boundary chunks — the first chunk speaks within
      ~1s and later chunks download while it plays; only one voice at a time;
      the playing message is scrolled into view with an on-screen bubble showing
      what is being read; click again to stop instantly.
  • ⚙️ Settings — a first-level section: voice engine (three choices), one-tap
    cloud preset, voice, rate, pitch, recognition language, an engine
    reachability probe (see at a glance whether Edge is reachable), and key status
    (shows only "saved / not set", never the value).

Quick Start (5 minutes)

1. Install

# from npm (recommended)
dsh plugin add dsh-voice-kit

# or from a local checkout
dsh plugin --profile desktop add link:/path/to/dsh-voice-kit

Restart DSH Desktop and refresh the web GUI.

2. Hear read-aloud (pick an engine)

Open Settings → Voice → Read aloud:

  • Works instantly — "System voice" → press 🔊 and you hear audio
    (offline; dated quality).
  • Free and natural — "Microsoft neural". The page shows
    "❌ Edge unreachable / ✅ Edge reachable". If unreachable, turn on your
    proxy (the plugin routes through the system proxy automatically) and press 🔊.
  • No proxy, close to Doubao quality — "Cloud neural" → tap the
    "SiliconFlow CosyVoice2" preset → if you already configured a speech
    recognition key, just press "Play test"; otherwise enter the key once
    (TTS reuses the same one).

💡 Cloud TTS and recognition share one credential: configure voice input
first and read-aloud needs nothing more.

3. Speak with voice input

Open the 🎤 in the composer:

  • If it says "configure a recognition service", go to Settings → Voice →
    Voice input
    , choose "host-side transcription", and enter the SiliconFlow
    base URL + key.
  • Press 🎤 to talk, press again (or Esc) to stop; the transcript is
    appended to the draft.
  • Use "Microphone self-check" first to confirm permission / device / format.

4. Troubleshooting

Problem Fix
No audio Check the engine is reachable; Microsoft needs a proxy, cloud needs a key, system always works
Long text starts slowly Optimized to ~1s to first audio; update to 0.4.0 if slower
Key shows "saved" but no effect Key lives host-side; restart and press "Play test" again
No transcript on voice input Confirm host-side recognition is configured

Install

# from npm (after publish)
dsh plugin add dsh-voice-kit

# or from a local checkout (development)
dsh plugin --profile desktop add link:/path/to/dsh-voice-kit

Restart the harness, refresh the web GUI.

Development

pnpm install
pnpm typecheck   # tsc --noEmit
pnpm test        # vitest (markdown stripping / chunking / concurrent prefetch)
pnpm build       # tsdown → lib/index.js (host) + lib/client.js (browser)

Build pipeline is the ecosystem-standard closure-factory bundle
(window.__ModuleLoader__.load) driven by shared/tsdown.client.ts
(adapted from the official DeepSeek Harness packages/client/tsdown.client.ts,
MIT; libExternal option from the dsh-web-ui family bucket, Apache-2.0).

License

MIT. The bundled shared/tsdown.client.ts adapts official DSH build tooling
(MIT) plus the dsh-web-ui libExternal option (Apache-2.0); see the file header.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-voice-kit」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:aaaadrop/dsh-voice-kit

Headless(CLI)profile:

dsh plugin --profile headless add github:aaaadrop/dsh-voice-kit

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →