A TTS plugin for DeepSeek Harness 🐳 (Kokoro, Piper, Phonon, API)
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dsh dfbc96c3f8
All checks were successful
CI / check (push) Successful in 21s
docs: point install at the public Forgejo package
2026-11-26 06:13:41 +00:00
.forgejo/workflows chore(release): v0.1.1 2026-11-26 06:11:01 +00:00
assets feat: tool-talk noise panel with mascot collapse handle (#32) 2026-11-04 21:04:54 +01:00
docs feat: no-mascot top-bar noise display style (#38) 2026-11-14 14:28:36 +01:00
lib chore(release): v0.1.1 2026-11-26 06:11:01 +00:00
locale feat: scaffold the plugin package and settings tab (#1, #2) 2026-10-25 17:36:15 +00:00
scripts chore(release): v0.1.1 2026-11-26 06:11:01 +00:00
src feat: simplify settings and add cache clear 2026-11-15 01:54:03 +00:00
test feat: simplify settings and add cache clear 2026-11-15 01:54:03 +00:00
.gitignore docs: split private knowledge into AGENTS.d map 2026-11-24 16:50:24 +00:00
AGENTS.md docs: split private knowledge into AGENTS.d map 2026-11-24 16:50:24 +00:00
assets-manifest.json feat: add pinned-upstream asset fallback and mirror manifest (#18) 2026-11-06 10:46:11 +00:00
CHANGELOG.md chore(release): v0.1.1 2026-11-26 06:11:01 +00:00
cordis.patch.yml feat: scaffold the plugin package and settings tab (#1, #2) 2026-10-25 17:36:15 +00:00
icon.svg feat: scaffold the plugin package and settings tab (#1, #2) 2026-10-25 17:36:15 +00:00
LICENSE Initial commit 2026-10-25 13:59:25 +00:00
package-lock.json chore(release): v0.1.1 2026-11-26 06:11:01 +00:00
package.json chore(release): v0.1.1 2026-11-26 06:11:01 +00:00
README.md docs: point install at the public Forgejo package 2026-11-26 06:13:41 +00:00

dsh-whale-noises

900+ voices. Local. In your browser. Plus Tool-Talk notifications.

A voice plugin for DeepSeek Harness: it reads completed replies aloud and lets the agent notify you while a longer turn is running or when it is done. Every voice is synthesized in your browser with WebAssembly — no cloud TTS, no API keys, no server inference.

Why it exists

  • 900+ voices across three local engines. 904 LibriTTS speakers, 28 Piper voices (multilingual + GLaDOS), and 24 Phonon characters.
  • Runs in the browser. ONNX Runtime Web / WASM, cached locally with OPFS or the Cache API. Your text never leaves the machine.
  • Tool-Talk. The agent can call wn_notify during and after longer turns: you hear a short update and the same note waits in the Noise Panel.
  • No hidden downloads. Pick a voice, see the size, download it explicitly.
  • One panel, two looks. Read-aloud, voice choice, replay, and agent notifications live in the Noise Panel: either the whale-girl panel in the lower-right corner, or — for a mascot-free Harness — a compact Noises: N button in the chat header with the same notes and controls in a dropdown.

Noise Panel

Install

# public Forgejo package (v0.1.1)
dsh plugin --profile web add --registry https://git.pvlb.dev/api/packages/dsh-plugins/npm/ dsh-whale-noises

# development from this checkout
dsh plugin --profile web add /path/to/dsh-whale-noises
node scripts/dev-link-dsh.mjs

Restart dsh web once for the host half (wn_notify) and reload the page. Open Settings → Whale Noises, pick a voice, and click Download / preview. Audio needs one user gesture per page according to the browser's autoplay policy.

New users start with LibriTTS 000 and Tool-Talk enabled. The 78.6 MB model is downloaded only when you ask for it.

Engines

Engine Voices First load Notes
LibriTTS-R (default) 904 ~79 MB one shared model; voices 000–903; ONNX speaker indices
Piper 28 ~63 MB + ~28 MB runtime multilingual catalogue, GLaDOS EN/DE; offline after download
Phonon 31m 24 ~70 MB q8, English, character voices; single-threaded WASM

All engines fetch pinned upstream assets and fall back to the project's public Forgejo assets-v1 release if the original host is unavailable. See ADR 0001.

Tool-Talk and the Noise Panel

wn_notify(text) is a small host-side messaging tool (text only — no inference, no model bytes, no network on the host). It:

  • derives the source workspace/session server-side,
  • sanitises code and URLs into spoken placeholders,
  • rate-limits per session, and
  • stores a persistent note through tool/result metadata.

The browser picks the note up from the session feed, speaks it, and records it in the Noise Panel. The plugin also watches ask_user_question and approval/asked: when the agent asks you something or needs approval, the question/approval is spoken and added to the panel automatically, so you notice it while looking at another screen. Notes survive reloads; missed notes are recovered as unread without replaying old audio. Each note has replay, delete and open session actions.

The composer control has three states when Tool-Talk is on — Read / Tool / Silent; turning Tool-Talk off removes wn_notify from DSH and leaves Read / Off. The panel stays useful for voice selection and now-playing.

Display styles (Settings → Whale Noises → Noises display): the whale-girl panel is the default; Top-bar button replaces it with Noises: N / Noises: N ❗ in the chat header. Clicking opens the note log, per-chat voice picker, replay/delete/open-session and playback controls. The whale-girl position setting only applies to the panel style.

Prefer a different workflow? Pick a voice per chat from the display's VOICE row; favourites are managed in settings. There is no workspace-wide voice mapping — the chat is the unit.

Privacy

  • Models and voice embeddings are fetched by the browser and cached locally.
  • Local engines never send text to a server.
  • No API key is supported or stored; the cloud adapter is not part of this release.
  • The host adds one text-only tool and a small control endpoint for Tool-Talk. It never synthesizes or proxies speech.

Development

npm install
npm run build      # src/ -> lib/client.js (esbuild + loader wrapper)
npm run check      # build + syntax + unit tests + pack dry-run

lib/client.js is generated — edit src/, never the bundle. See AGENTS.md for the working agreement and docs/dev-plan.md for the plan of record.

Requires Node ≥ 22.6 and a DSH 0.2.1-rc.x web profile.

Verified on: Chrome and Firefox (Arch Linux desktop), Chrome on Android. Safari/iOS are untested — community reports welcome in the issue tracker.

Licence

Apache-2.0 — see LICENSE. Not affiliated with DeepSeek. Model and voice licences are listed per engine in docs/research/tts-engines.md.