xiekai886/dsh-MusicPlayer
这是一个可以让你边对话边听歌的 DeepSeek Harness 插件:折叠/展开两种可自由拖动的悬浮窗口形态,利用 Meting API 等解析源接入网易云音乐,支持歌单导入和按歌名或歌手搜索单曲导入。Chat and listen at the same time.
Project Overview项目介绍
This is a native floating music player plugin built exclusively for the DeepSeek Harness (DSH) web profile. To install the plugin, you need DSH CLI and pnpm installed on your system, and you can run the command dsh plugin --profile web add github:xiekai886/dsh-MusicPlayer to install it remotely, or add a local file path for local development. After installation, you just need to restart your DSH web instance, and the small music player card will appear in the lower right corner of your browser page. It supports drag and drop to reposition the card, and remembers your preferred position across restarts.
This plugin is designed for DSH users who want to listen to music while chatting with the agent, working on development tasks, or just browsing conversations. You can interact with the player in two ways: manual control through the UI, or control via natural language commands through the DSH agent. For manual control, you can click the card to expand it, search for songs by title or artist, import a full playlist by link or ID, and adjust volume or playback mode directly. If you prefer no manual interaction, you can just type natural language requests like “play Jay Chou’s Qing Tian” or “lower the volume to 30%” in the chat, and the agent will call the plugin’s music tool to execute your request automatically.
The plugin is released under the open source MIT license, and has zero external front-end dependencies, with all icons inlined as SVG and the UI written in DSH’s native module format. By default, it uses anonymous parsing that can only play full versions of free NetEase Cloud Music songs, and only 30-second previews for VIP or restricted tracks. If you want to unlock full playback for restricted tracks, you can add your NetEase Cloud login cookie as an environment variable, or deploy a self-hosted cloud proxy to avoid rate limits. All configuration data is stored only locally on your machine, and is never sent to any third-party servers.
这是一款专为DeepSeek Harness(DSH)开发的原生音乐播放器插件,仅支持DSH Web端运行。它提供可拖动、可折叠收起的毛玻璃风格悬浮播放器窗口,通过多层解析源接入网易云音乐,支持导入歌单、按歌名或歌手搜索添加单曲,还提供agent可调用的音乐控制工具。用户可通过DSH CLI直接添加GitHub仓库或本地源码路径,重启DSH Web服务后插件即可生效,播放器会显示在页面右下角。
这款插件面向希望在和DSH agent对话开发或闲聊的同时听歌的用户,典型使用流程非常灵活。你既可以手动点击展开播放器,手动搜索歌曲、导入歌单、调整播放参数,也可以直接在对话中用自然语言发指令,让agent调用工具完成切歌、调音量、导入歌单等操作,无需手动操作界面。播放器位置拖动后会自动记忆,下次打开仍保留你习惯的摆放位置。
本插件采用MIT许可证开源,前端无外部依赖,仅需要DSH CLI和pnpm即可安装。默认匿名解析仅能播放免费完整歌曲和受限歌曲30秒试听,可配置网易云登录cookie或自建云端代理解锁VIP全曲播放,相关配置信息仅保存在本地环境变量,不会上传第三方。音频内容仅作学习交流使用,受版权限制部分歌曲可能无法正常播放。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-MusicPlayer(xiekai886/dsh-MusicPlayer)
仓库:https://github.com/xiekai886/dsh-MusicPlayer
本站详情页:https://www.yhbd.top/plugins/xiekai886-dsh-musicplayer/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-08-16 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:xiekai886/dsh-MusicPlayer
把 xiekai886/dsh-MusicPlayer 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-MusicPlayer 🎵
这是一个可以让你边对话边听歌的 DeepSeek Harness 插件,具有折叠和展开两种可自由拖动的悬浮窗口形态,利用 Meting API 等解析源接入网易云音乐,支持网易云歌单导入和按歌名或歌手搜索单曲导入。
An animated floating music player plugin for DeepSeek Harness Web with a collapsible/expandable draggable frosted-glass card, deep NetEase Cloud Music integration (playlist import by link/ID, search by title/artist), a multi-layer audio source resolver (Meting → outer/url) that works around browser CORS and anti-leeching for maximum playable coverage, and an agent-facing music tool — queue, skip, pause, and control volume right from the chat. Zero external front-end dependencies.
Features
- 悬浮播放器:右下角深色毛玻璃小卡片,可拖动记忆位置,展开/收起带物理曲线动画;播放/暂停、上下首、可点进度条、音量、列表循环/单曲循环/随机、播放列表
- 网易云音乐接入:一键导入/切换歌单(粘贴链接或 id)、搜索单曲(搜索 + 加入);host 端代理搜索/歌单/音频流,绕过浏览器跨域与防盗链,支持解析 Meting 同源地址(能播 VIP 试听/下架类歌曲)
- 默认曲库可配置:通过环境变量
DSH_MUSIC_PLAYLIST指定歌单 id,启动时自动加载为内置曲库(未配置则播放列表为空,可在播放器内手动导入) - agent 音乐工具:对模型说"放首歌 / 把我的歌单放进去"即可——
music工具支持播放指定歌曲(本地无匹配自动搜网易云)、导入歌单、搜索、切歌、暂停、调音量、切模式、恢复/隐藏默认歌单、查看/添加/移除队列 - 状态同步:浏览器播放器与 host 状态机通过 REST 同步(
/dsh-music/state轮询 +/dsh-music/command控制),无持久化,每次启动全新加载默认曲库 - 零外部前端依赖:播放器为手写
__ModuleLoader__格式,内联 SVG 图标,不依赖 CDN
Install
需要 DSH CLI 与 pnpm:
dsh plugin --profile web add "github:你的用户名/dsh-music"
# 重启 dsh web(dsh --profile web)后生效,页面右下角出现 🎵 播放器
源码本地开发调试也可以:
dsh plugin --profile web add "file:/path/to/dsh-music"
配置默认歌单
播放器启动时自动加载的内置曲库来自网易云歌单,通过环境变量配置:
# 例如把默认曲库设为歌单 13060319975
set DSH_MUSIC_PLAYLIST=13060319975
dsh --profile web
未设置时播放列表为空,可打开播放器 🔍 手动导入歌单。
可选:登录态解锁全曲(含 VIP)
默认匿名解析下,网易云对免费歌曲返回全曲、对受限/VIP 歌曲只返回 30 秒试听。若希望受限歌曲也能播放完整音频,可配置你自己的网易云登录 cookie(含 MUSIC_U):
# 从浏览器网易云登录态中复制 MUSIC_U=...(和必要 cookie)拼成 Cookie 串
set DSH_MUSIC_COOKIE=MUSIC_U=xxxx;__csrf=xxxx
dsh --profile web
配置后插件将通过官方 weapi 协议携带该登录态解析播放地址(有对应权益的歌曲返回完整音频)。Cookie 仅保存在本机环境变量中,不会上传到任何第三方。未配置时自动回退匿名解析。
⚠️ 注意:匿名解析依赖第三方 Meting 服务,受限歌曲可能失效;若需稳定播放 VIP 全曲,推荐搭配自建云端代理(见下)。
可选:云端代理解锁 VIP 全曲(推荐)
本地 weapi 受网易云频率风控影响,且需要本机保留 Cookie。更稳的方式是部署一个自建云端代理(服务器上持有 VIP 登录态,走官方 eapi 协议,不受匿名风控影响),插件通过环境变量指向它:
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
bowenliang123/dsh-context
cocofhu/anime-find
dingyi222666/dsh-session-notification
guo6x/dsh-pilot
TOBYCAI/dsh-sessions-manager
Nono-neko/dsh-browser