- JavaScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo/workflows | ||
| assets | ||
| docs | ||
| lib | ||
| locale | ||
| scripts | ||
| src | ||
| test | ||
| .gitignore | ||
| AGENTS.md | ||
| assets-manifest.json | ||
| CHANGELOG.md | ||
| cordis.patch.yml | ||
| icon.svg | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
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_notifyduring 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: Nbutton in the chat header with the same notes and controls in a dropdown.
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/resultmetadata.
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.
