DeepSeek Harness Plugin

skymecode/dsh-bgm

Stars ★ 5 Category Just for Fun Added 2026-08-23

Maps locally analyzed system audio to music-reactive conversation effects, rhythm-game judgements, score and combo feedback, and optional RGB spectrum bars in DSH Web.

Install

# from a prebuilt release tarball

dsh plugin --profile web add "https://github.com/skymecode/dsh-bgm/releases/latest/download/dsh-bgm.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:skymecode/dsh-bgm

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

中文 | English

dsh-bgm turns system audio into rhythm-game feedback for the official DSH Web UI. It captures the default output device independently of the music player, maps bass/onset to Deep Diving, maps mid/treble changes to the latest reasoning or tool row, and keeps final-answer text readable and still.

The wide-screen layout gains two optional 12-bar RGB spectrum banks in the empty gutters; the banks move as a continuous travelling wave that flows from the outer edges toward the conversation, with a beat crest merging inward on every downbeat. Stable activity text forms a continuous BPM-locked wave surface; predicted notes fly toward a judgement line and build Score, Accuracy and Combo. Score and PERFECT milestones trigger card-game rewards: a light pill card from 1,000–5,000 points, then a full card that tumbles in from the upper-left with a 3D flip, lands on the right and pops like the rank reveal. A completed answer can end with a transparent 3.2-second score roll, rank burst, note rain and staggered statistics reveal.

Install into the official DSH Web profile

Supports legacy DSH 0.1.0-rc.8 and 0.1.1-rc.1/rc.2, and is adapted for the latest 0.1.5-rc.2. The release tarball contains a universal macOS helper and a self-contained Windows x64 helper, so the install does not need a source build:

dsh plugin --profile web add https://github.com/skymecode/dsh-bgm/releases/latest/download/dsh-bgm.tgz
dsh web

Pinned release:

dsh plugin --profile web add https://github.com/skymecode/dsh-bgm/releases/download/v0.1.3/dsh-bgm.tgz

Remove it with:

dsh plugin --profile web remove dsh-bgm

Supported hosts:

  • macOS 14.2 or later, Apple Silicon and Intel. The first run requests system-audio recording permission.
  • Windows 10/11 x64. No separate .NET installation is required.
  • Linux currently has no loopback helper and reports an unsupported state without restart loops.

Privacy and performance

  • Raw PCM stays in the local native helper's memory and is never recorded, persisted or uploaded.
  • The browser receives only RMS, bass, mid, treble, onset and timestamps.
  • Streaming React text is never rebuilt into per-glyph mirrors.
  • The 24 atmosphere bars are persistent nodes updated only through GPU-composited transforms and opacity; the travelling wave adds no per-bar filters or layout reads.
  • Reduced-motion preferences disable the primary animations.

Development

git clone https://github.com/skymecode/dsh-bgm.git
cd dsh-bgm
pnpm install
pnpm run typecheck
pnpm run build
dsh plugin --profile web add link:.

CI builds Host and Client bundles, produces universal macOS and Windows x64 native helpers, inspects the packed artifact, and mounts it into clean official DSH 0.1.0-rc.8, 0.1.1-rc.2, and 0.1.5-rc.2 Web profiles. A v* tag assembles dsh-bgm.tgz, writes SHA256SUMS.txt, and publishes both through GitHub Releases.

License

MIT. See THIRD_PARTY_NOTICES.md for NAudio licensing.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.