插件目录 / UI & Skins / bites-the-dsh
bites-the-dsh
已验证 · 实测可装 CH4ACKO3
功能简介
Read-only, scriptable session playback for the DeepSeek Harness WebUI
可用 — 实测通过,早期项目
Read-only, scriptable session playback for the DeepSeek Harness WebUI 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
Bites the DSH
English | 简体中文
Read-only, scriptable session playback for the DeepSeek Harness WebUI.
https://github.com/user-attachments/assets/3c9dfdcf-a454-4750-9edf-76771ed5a9a6
The demo shows Bites the DSH together with dsh-turn-fold.
The plugin turns the native conversation into a replay view without opening a separate panel. A single native session-header control enters replay. While replay is active, the conversation is fully read-only: the native composer and session-changing interactions are blocked, while UI and scripts may move time without mutating the source session.
Current implementation
- Native session-header entry and compact playback controls.
- Pause, forward play, reverse play, event stepping, speed selection, adjustable idle-gap compression, and direct event/turn/time seeking.
- Optional simulated typing previews the next direct user message in the native read-only composer without touching its live draft.
- A per-session observable controller exposed as
ctx.sessionPlaybackfor time-only scripting. - Historical projection through DSH's native
ChatView; the source session and live head continue independently. - Historical timelines expose
playbackClock: { kind: 'historical', time: cursorTime }so projection consumers never treat an open historical turn as live wall-clock work. - Native composer, model, stop, branch, and assistant write actions are disabled during replay; viewing controls remain interactive.
- English and Chinese labels using DSH theme tokens, without a separate panel.
The current compatibility target is DSH 0.1.0-rc.8. Harmony selector drift fails the automated test instead of silently changing the wrong component.
Install
dsh plugin --profile web add @ch4acko3/bites-the-dsh
dsh harmony status --profile web
All four Bites the DSH patches should report bound. Reload the WebUI, open a
session, then use Replay session in the native session header.
Script control
Other DSH plugins can use the same per-session clock through the provided
Cordis service:
const playback = ctx.sessionPlayback
playback.enter(sessionId)
playback.seekTime(sessionId, Date.parse('2026-08-20T12:00:00Z'))
playback.play(sessionId, 1)
playback.pause(sessionId)
playback.exit(sessionId)
Time values such as the argument to seekTime use Unix epoch milliseconds,
matching JavaScript Date values and recorded event timestamps.
The service also supports event and turn seeking, reverse playback, rate and
idle-gap settings, subscriptions, and position reads. It deliberately exposes
no operation that mutates the source session.
Development
Requires Node.js ^22.22.3 || >=24.11.1 and pnpm 11.
pnpm install
pnpm check
CI/CD
Every push to main and every pull request runs pnpm check and verifies the
npm package contents. Pushing a v<package.json version> tag runs the same
checks, creates the matching GitHub Release, and publishes the public package
to npm through Trusted Publishing (OIDC), with automatic provenance and no npm
token stored in GitHub.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 bites-the-dsh」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:CH4ACKO3/bites-the-dsh Headless(CLI)profile:
dsh plugin --profile headless add github:CH4ACKO3/bites-the-dsh 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。