- Home
- Plugins
- Vision, Voice & Multimodal
- dsh-whale-live
dsh-whale-live
lh1314-china/dsh-whale-live
Left-sidebar live console for DeepSeek Harness: stream log, Bilibili danmaku, edge-tts speech, optional VTube Studio/OBS/livehime helpers and a memory inbox. Windows only.
Install
dsh plugin --profile web add github:lh1314-china/dsh-whale-liveREADME
dsh-whale-live
A left-sidebar live console for DeepSeek Harness (DSH): it turns a persona file pair into a readable "script", records every stream, reads Bilibili danmaku, speaks with edge-tts, and keeps a small inbox of memories for the model to hand-pick after the stream.
It is a local bridge, not a cloud service. Persona files, logs and the memory inbox never leave your machine. The only network calls are the Bilibili room API (read-only), edge-tts (Microsoft), and — optionally — your local VTube Studio plugin API.
What it does
| Piece | Behavior |
|---|---|
| Persona script | 意识.md + 人类观察日记.md; the panel and the model read them as the role to play |
| Stream log | Every session gets 场次/<id>/meta.json, 直播.jsonl, 会话.md |
| Danmaku | Polls the Bilibili room API (read-only, no sending) |
| Speech | edge-tts synthesizes a line, Windows MCI plays it; optional VTube Studio mouth sync |
| Memory inbox | After a stream the model proposes a few candidates; nothing enters long-term memory automatically |
| Panel | "本场 / 意识 / 观察日记 / 入忆候选" tabs, say box, avatar switch |
Requirements
- Windows (audio playback uses MCI/
winmm;os: ["win32"]). - DSH
>=0.2.1-rc.2 <0.4.0(tested on0.2.2-rc.1, desktop profile). The panel uses the sidebar/mainslot API. - Python 3.10+ with
edge-ttsfor speech. PointpythonPathat that interpreter. - Bilibili cookies (
sessdata,bili_jct,buvid3,dedeuserid) in a local JSON file forlisten. - Optional: a VTube Studio mouth driver directory containing
vts_speak.py/vts_client.py; without it speech still plays, just without lip-sync.
Install
- Install this package into a DSH profile through the Plugin Manager (or
npm i dsh-whale-liveand link it). - Edit the
whale-liverow in the profile'scordis.patch.yml:
- id: whale-live
name: dsh-whale-live
config:
roomId: 123456 # your Bilibili room id
roomName: 'My room'
dataDir: 'D:/WhaleLive' # empty = ~/.dsh/whale-live
credentialFile: 'D:/secret/bili.json'
pythonPath: 'C:/Python311/python.exe'
vtubeDir: '' # optional VTube Studio bridge
voice: zh-CN-XiaoyiNeural
rate: '+8%'
pitch: '+4Hz'
listenWaitSec: 45
- Restart DSH (or let the Plugin Manager apply it), then open 鲸鱼直播台 / Whale live desk in the left sidebar.
Data layout
<dataDir>/
意识.md consciousness / role script
人类观察日记.md per-day, per-viewer diary
入忆候选.jsonl memory candidates (pending / committed / rejected)
状态.json current session pointer
场次/<id>/meta.json per-stream counters
场次/<id>/直播.jsonl per-stream events
场次/<id>/会话.md human-readable transcript
音频/ edge-tts mp3 cache
Tools (model side)
whale_live—open,listen,note,close,read,status,propose/memory_list/commit/reject,avatar.whale_say— say / stop / status (edge-tts).
The model acts through these tools; the plugin never writes to DSH long-term memory on its own.
Compatibility notes
- Windows only in this release. The Host half itself is plain Node; only the speech helper (
runtime/say.py) andruntime/vts_reset.pyare Windows-specific. - DSH API: depends on
sidebar.panellist,main,localeandwebServerservices. A future DSH release outside the declared range may change them. - Bilibili: uses the unofficial
ajax/msgendpoint; it can change or rate-limit, and some rooms return empty. Read-only — the plugin never sends danmaku. - VTube Studio: optional. Without a mouth driver directory the plugin degrades to plain audio playback.
Compatibility range (explicit)
| Axis | Declared | Notes |
|---|---|---|
| OS | win32 only | os: ["win32"]; MCI playback and the app launch helpers are Windows APIs |
| DSH | >=0.2.1-rc.2 <0.4.0 | Verified on 0.2.2-rc.1 (desktop profile) |
| Node | >=20 | Uses global fetch, ESM top-level await |
| Python | 3.10+ with edge-tts | Required only for speech; omit pythonPath to run silent |
| Bilibili | cookie JSON | Uses the unofficial ajax/msg endpoint; read-only; may break or rate-limit |
| VTube Studio | optional | Set vtsPath or leave it empty to launch through Steam; vtubeDir enables mouth sync |
| OBS / 直播姬 | optional | Launch helpers only; the plugin never starts the stream |
Anything outside these ranges is unsupported. DSH slot/service APIs are the main breaking risk across minor releases.
Privacy
- No telemetry; no accounts; nothing is uploaded.
- Bilibili cookies stay in the file you point
credentialFileto. - Persona documents and stream logs stay under
dataDir. - The panel's HTTP API is bound to the same loopback origin and rejects cross-site requests.
License
MIT.
Related plugins
dsh-web-ui (dsh-tool-describe-image)
zhu1090093659/dsh-web-ui
modlens
liustack/modlens
ipollowork
devin-axis/ipollowork
dsh-image-gen
shanliuling/dsh-image-gen