DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-voice-mini

C

dsh-voice-mini

Manifest valid

Voice-feedback plugin for DeepSeek Harness: speak tool, verbalizer, per-session voices, chimes, monitoring, native pet. zh/en i18n.

UI (client)hasBundlePatch

dsh-voice-mini

A voice-feedback plugin for DeepSeek Harness (DSH) Desktop. The assistant speaks — in its own voice — about outcomes, decision points, and heads-ups, so you can follow along by ear instead of watching the screen.

中文文档

What it does

  • speak tool — the model decides, on its own, what to say aloud (a short line in its own voice, never a read-out of its written reply).
  • readReplies — narrate assistant messages verbatim (mutually exclusive with speak).
  • Verbalizer — after a turn, a lightweight LLM rewrites the reply into one spoken line with emotional framing ("好消息,测试全过了"); falls back to a template on failure. Streaming: spoken sentence-by-sentence as the LLM generates.
  • Status broadcasts — short spoken notices for approval/asked, ask_user_question, turn/start, turn/end, todo/write, with specific phrases for abnormal ends (aborted / blocked / error / max-tokens / interrupted).
  • Per-session voices — each session gets a distinct-but-subtle voice (FNV-1a hash → palette index + ±6% rate jitter), so you can tell conversations apart by ear without picking voices by hand.
  • Chimes — a system-notification-style earcon (the macOS Glass sound, or synthesized ding/ping/soft/none) rings once per burst, before speech content only. Quiet mode = chime-only, no speech.
  • Three presets — 即时 / 默认 / 少量 — bundle the granular toggles into one gear; any single field still overrides.
  • i18n — full zh / en switch for all UI text, spoken phrases, and the verbalizer prompt; auto-detected from the browser locale, overridable from the panel.
  • Monitoring panel — token / latency / system stats with SVG sparklines and per-kind breakdown.
  • Native floating pet (macOS) — a Swift NSPanel widget that hovers across all Spaces, reads live state from the plugin's loopback-gated /pet/* routes, and expands on hover to show the current utterance + pending attention.

Architecture

                          ┌── edge-tts   (default · cloud · zh+en, great)
model ── speak tool ──    ├── kokoro     (local 82M · English only)
                  ├─ synth ┤── say      (macOS offline · Tingting zh)
assistant msg ─ readReplies ┘  └── fake  (wiring tests)
                          │
approval/question/turn/todo events ──┴─► speech queue (single worker) ─► ① chime ② speech
                                   │
session-header SVG icon ──► centered settings modal ─┤
                                   └─► /voice-mini/*  (host routes) + runtime.json (origin+token)
native pet window pet/ ──► /voice-mini/pet/* ──

Who speaks: the assistant vs. a template (core design)

The same event can be handled two ways, kept deliberately separate:

Who composes the lineNatureUsed for
Assistant voice (default)the model itself, via speak in-band, full contexthumanized: "the thing you'd say to the person you're working for"results, progress, milestones
Template broadcasthost fixed stringmechanical but reliableblocking: approval pending, new question
Verbatim read (opt-in, default off)host reads the reply text aloudscriptwhen you'd rather hear than read

Principle: what has the model in the loop (results, progress) → let the model speak; what doesn't (approval, question) → use the template — the model is waiting on you then, and a mechanical alert fits better.

Three anti-double-speak rules (all tested): model already spoke this turn → the "turn done" template stays silent; model stayed silent → template backs it up; verbatim read on → the reply is the speech and the persona tells the model not to also call speak.

Communication presets

PresetSpeech rateWhat it announces
即时 Instant+18%every step: start / done / progress / tools
默认 Default0one line after delivering a result; alerts on blockers
少量 Quiet−5%, −30 volonly approvals/questions; assistant stays silent (chime-only)

TTS backends

idSourceChineseNotes
edge (default)Microsoft neural voices, cloud✅ excellentfree; rate works, volume applied at playback (afplay -v)
kokoroKokoro-82M, local❌ EN onlychild-process isolation sidesteps onnxruntime's abort-trap on Node 26
saymacOS say✅ (Tingting)offline
fake——wiring tests

Install (DSH Desktop)

  1. Build: npm run build (tsc → lib/, then esbuild bundles lib/client.js).
  2. Build the pet (macOS, optional):
    DEVELOPER_DIR=/Library/Developer/CommandLineTools swift build --package-path pet -c release
    
  3. Link into a DSH profile via package.json (link: dependency + bundle entry pointing at ./cordis.patch.yml), then restart DSH Desktop.

The bundle layer (cordis.patch.yml) ships neutral defaults; per-profile overrides go in the profile's own cordis.patch.yml (address this row by id).

Configuration

Key fields (all overridable from the settings modal or POST /voice-mini/config):

FieldDefaultPurpose
presetdefaultinstant / default / quiet
backendedgeedge / kokoro / say / fake
voiceModeper-sessionper-session auto-assign or fixed
voicePalette[]custom voice pool; empty = engine default (8 zh 4F4M + 2 en)
readRepliesfalsenarrate messages verbatim
chimeEnabled / chimeSpeech / chimeStatustrue / glass / softearcon system
statusSpeechtruequiet preset: chime-only (false) vs. spoken (true)
phraseTurnEnd""custom completion phrase; {title} = workspace dir name; empty = locale default
localezhzh / en — switches UI, spoken phrases, verbalizer prompt
summarizeResult / summarizeProvider / summarizeModeltrue / "" / ""verbalizer pass (empty provider = auto-detect first adapter; empty model = stays on the template phrase until you pick one in the panel)

Routes

MethodPathPurpose
GET/voice-mini/statelive snapshot (config + queue + recent + locale)
GET/POST/voice-mini/configread / patch config (whitelist + coerce)
POST/voice-mini/session-toggleenable/disable voice for a session
POST/voice-mini/testsynthesize + play a test line
GET/voice-mini/providers · /modelsLLM adapter + model enumeration
GET/voice-mini/metricscall ring buffer + system stats
GET/voice-mini/audio/*chime files
GET/voice-mini/pet/*native pet (loopback + bearer token gated)

Tests

npm test            # smoke: deferred injection, routes, pet auth
npm run test:summarize   # 8 verbalizer paths
npm run test:presets     # 6 preset-resolution cases
npm run test:agency      # 4 "who speaks" rules
npm run test:voices      # per-session determinism + spread
npm run test:i18n        # 21 cases: dict parity + locale switch of spoken phrases
npm run test:pet         # real plugin routes + real native binary

License

MIT — see LICENSE.

Comments

Loading…

Similar plugins

dsh-voice

by 3274375092

Voice input plugin for DeepSeek Harness: mic → local/browser speech recognition → text submitted as a normal chat message. Input-only and preset-agnostic.

Vision & MultimodalTerminal & ClientsManifest valid

★ 8

↓ 250/wk

MIT

TypeScript

Aug 21, 2026

dsh plugin --profile web add @nn12138/dsh-voice

by zemanzhang809

A speech-to-text (voice input) plugin for DeepSeek Harness.

Development & InfrastructureManifest valid

★ 1

MIT

TypeScript

Sep 18, 2026

dsh plugin --profile web add dsh-stt-plugin

by mohith-das

Minimal, English-only voice input plugin for DeepSeek Harness Web UI — a mic button in the composer using the browser's native SpeechRecognition API. Zero dependencies, no subprocess, no tracking.

Manifest valid

★ 0

MIT

JavaScript

Sep 1, 2026

dsh plugin --profile web add dsh-voice-input-en

by zhuiyueya

Voice for DeepSeek Harness(dsh) — speech-to-text input + read-aloud TTS for text-only DeepSeek, zero API key.

Manifest valid

★ 4

↓ 457/wk

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-voice

by SuCriss

Voice control for DeepSeek Harness web: speech-to-text into the composer and spoken playback of assistant replies, zero dependencies

Vision & MultimodalTools & CapabilitiesManifest valid

★ 0

↓ 75/wk

MIT

JavaScript

Sep 1, 2026

dsh plugin --profile web add dsh-voice-control

by GooDAnDReaDY

Voice input for DeepSeek Harness: dictation and voice messages with multi-provider STT fallback chains

Vision & MultimodalTools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 8

↓ 2.3k/wk

MIT

JavaScript

Sep 25, 2026

dsh plugin --profile web add @goodandready/dsh-voice