DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Music — DSH Plugin for DeepSeek Harness
← Plugins
M

dsh-music

Music

Music player card plugin: renders ```dsh-music fences as an interactive player in DeepSeek Harness conversations. Supports NetEase Cloud Music / QQ Music backends (search, playback, and lyrics), glassmorphism floating lyrics, bubble interaction effects, and multiple themes (glass / neon / paper / va

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:jh-Evil/dsh-music#bf40dafcec7b337afce807c9b6d134f08332f291
READMECompatibilityVersions

Description

Music player card plugin: renders ```dsh-music fences as an interactive player in DeepSeek Harness conversations. Supports NetEase Cloud Music / QQ Music backends (search, playback, and lyrics), glassmorphism floating lyrics, bubble interaction effects, and multiple themes (glass / neon / paper / vapor / custom).

Compatibility and provenance

Music is published as dsh-music and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/12/2026

Versions

0.1.0stable
9/12/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/12/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in ui-customization.

Remote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Client Ui Git Graph@linxin666/dsh-client-ui-git-graphExternal dsh web GUI plugin: a blank-session git branch selector + Git graph, with real host-side git operations and guards, as a dsh profile bundlePet@linxin666/dsh-petMulti-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score

README

dsh-music 🎧

DeepSeek Harness(DSH) 的音乐播放器卡片插件:模型在回复里输出一个 dsh-music 围栏,对话流里就地渲染一张可交互的播放器卡片——网易云 / QQ 音乐双后端、玻璃拟态悬浮歌词、节拍气泡特效、多主题。

采用与 dsh-genui 相同的部署形态:Node 宿主半区(教模型围栏语法 + 注册 music skill + 提供搜索/直链/歌词代理路由)+ 浏览器半区(DOM channel 观察 ```dsh-music 围栏并挂载卡片,零 React 依赖)。不装插件的会话永远不发围栏,一切如常。

功能

  • 双后端:网易云(搜索 / 播放直链 / 歌词 / 翻译歌词)、QQ 音乐(搜索 / 歌词 / 封面)
    • 网易云免费歌曲可直接播放(默认请求 320kbps)
    • QQ 音乐免登录环境多数歌曲拿不到直链(腾讯要求请求签名)——卡片会自动跨后端到网易云找同名同歌手曲目播放,并在状态栏注明;两个后端都失败时标"不可播"并自动跳下一曲
  • 主题:glass 玻璃拟态(封面氛围光 + 毛玻璃)| neon 霓虹发光| paper 纸感| vapor 蒸汽波,以及自定义主题对象(accent / bg / text / radius / bubbles / coverBlur)
  • 歌词:bubble 悬浮玻璃歌词气泡(当前句 + 下一句,随播放浮动换行)| bar 内嵌三行滚动歌词栏(带翻译)| none
  • 气泡特效:播放中气泡随节拍从唱片边缘升起(WebAudio 实时频谱驱动;跨域媒体频谱不可用时自动降级为模拟节拍)、点击卡片任意处气泡迸发、唱片随播放旋转 + 节拍脉冲;遵循 prefers-reduced-motion
  • 播放器:搜索、播放队列(插播 / 追加)、循环 / 单曲 / 随机、音量、进度拖拽、本地喜欢收藏、电台模式(播完自动搜相似歌加队)、系统 MediaSession(锁屏 / 媒体键控制)、状态持久化(刷新恢复队列与偏好,直链过期自动重新解析)
  • AI 推荐:状态栏「AI 推荐」按钮把当前曲目通过会话回传给模型,模型回复一个新的 dsh-music 围栏(需要宿主提供 sessions 服务,否则按钮不出现)

安装

# 本地开发(链接安装)
dsh plugin --profile web add link:/path/to/dsh-music

# 已发布到 npm 后
dsh plugin --profile web add dsh-music

装完重启 DSH web 界面即可。零运行时依赖,Node ≥ 20。

使用

对模型说:

  • 「放一首周杰伦的晴天」→ 玻璃卡片 + 悬浮歌词,自动搜索解析播放
  • 「来点深夜 lo-fi,蒸汽波主题」→ {"theme":"vapor","keyword":"深夜 lo-fi"}
  • 「建一个粤语经典歌单,纸感主题,歌词用内嵌模式」→ playlist 围栏 + lyricMode:"bar"
  • 「自定义主题,粉色强调色」→ {"theme":{"accent":"#f9a8d4","bg":"#3b0764"}}

围栏示例(模型自动生成,也可手写测试):

{"theme":"glass","backend":"netease","keyword":"周杰伦 晴天","autoplay":true,"lyricMode":"bubble"}
{"title":"深夜电台","theme":{"accent":"#f0abfc","bg":"#2b1055"},"playlist":[
  {"title":"晴天","artist":"周杰伦"},
  {"title":"Lemon","artist":"米津玄師"}
]}

完整字段规范见 SKILL.md。

可选配置(环境变量)

变量作用
DSH_MUSIC_NETEASE_COOKIE网易云 Cookie:提高 VIP 歌曲/高码率直链成功率(默认 appver=2.9.7 匿名)
DSH_MUSIC_QQ_COOKIEQQ 音乐 Cookie:填用户自己的 Cookie 后,QQ 侧免费歌曲有机会直接拿到直链

所有音乐请求经宿主 Node 侧代理(同源 /plugins/dsh-music/api/*),浏览器无跨域问题;插件不收集任何凭据,Cookie 仅随请求发往对应音乐站点。

本地预览(不需要 DSH)

node dev/gen-fixture.mjs   # 生成测试音频/封面/歌词 fixtures
node dev/server.mjs        # http://127.0.0.1:4531/preview.html?spec=glass

?spec=glass|neon|paper|vapor|custom 切主题;搜索词带 demo 前缀走本地 fixtures(确定性预览),否则走真实音乐接口(失败自动兜底 fixtures)。

架构

index.js               宿主半区:systemPrompt 区段 + music skill + /plugins/dsh-music/api 路由
src/backends/*.mjs     网易云 / QQ 音乐公开接口适配(搜索 / 直链 / 歌词)
client.js              浏览器半区:DOM channel 围栏渲染器 + 播放器卡片 + 主题 + 气泡粒子引擎
SKILL.md               music skill:围栏字段规范与模型行为准则
cordis.patch.yml       bundle 插入声明(dsh plugin add 时并入 profile)
dev/                   预览服务器与 fixtures

关键机制:

  • 围栏 → 卡片:MutationObserver 观察会话 DOM,发现 language-dsh-music 代码块(或 label+pre 结构兜底)且 JSON 解析完整后,把围栏表面替换为卡片;流式阶段先显示"装载中"骨架,15 秒未完成自动还原代码块;宿主重渲染后自动重挂载,播放不中断(音频为全局单例)。
  • LOCAL-FIRST:搜索 / 切歌 / 换主题全部在卡片内经插件自身 HTTP 路由完成,零模型往返;只有「AI 推荐」会向会话回传一条 [music-action] 消息。
  • 多卡片共享:同一会话多张卡片是同一播放状态的控制器(对齐 dsh-genui panel-store 模型)。

已知边界

  • QQ 音乐免登录直链受腾讯签名限制,仅搜索 / 歌词 / 封面保证可用(插件会自动降级到网易云播放)。
  • 网易云 VIP / 下架歌曲无直链,同样走跨后端降级或标"不可播"。
  • 浏览器自动播放策略:首次 autoplay 可能需要用户点一次播放按钮(卡片会提示)。
  • 仅供个人学习使用,音乐版权归各平台所有。