treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:king-bcolor/dsh-ncm-plugin
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文文档:README.zh-CN.md
A DeepSeek Harness plugin that wraps the ncm-cli NetEase Cloud Music command-line tool as model-callable tools.
dsh-ncm-plugin exposes NetEase Cloud Music CLI capabilities to DSH agents: account status, playlists, songs, lyrics, playable URLs, daily recommendations, play records, search, and playlist management/cleanup — all through structured, JSON-backed tools.
See docs/用例目录/README.md for the full command/use-case/parameter catalog (Chinese).
dsh CLI installed (npx @deepseek-ai/dsh web).ncm CLI is required. The plugin auto-downloads the
platform release binary into $DSH_HOME/bin on first tool run, or when you
click Install/update ncm in the UI. Download order: ghfast.top →
gh-proxy.com → GitHub official, so mainland-China networks use mirrors
first. Playwright driver downloads use npmmirror.com by default.Install into the web profile so the browser UI is available:
dsh plugin --profile web add github:king-bcolor/dsh-ncm-plugin
# This package has no prepare/build step, so no pnpm build permission is needed.
For headless/agent-only use, install into a headless profile the same way.
git clone https://github.com/king-bcolor/dsh-ncm-plugin.git
cd dsh-ncm-plugin
dsh plugin --profile web add .
Start the browser UI:
dsh web
The first tool call downloads ncm automatically; you can also open Settings → NetEase Cloud Music and click Install/update ncm, then Log in to NetEase Cloud Music. Open Settings → NetEase Cloud Music. The panel exposes every ncm tool as a form: account status, playlist browse/manage, tidy, search, song/lyric/URL, recommendations, and records. Results are shown as readable text with a raw JSON toggle.
You can still ask the agent in the same web session:
# example prompts
Use ncm_me to check my NetEase Cloud Music login.
Search NetEase Cloud Music for the song "晴天" and show the first 5 results.
# profile cordis.patch.yml or plugin row config
- id: ncm
name: dsh-ncm-plugin
config:
ncmBin: ncm
ncmInstallDir: $DSH_HOME/bin
configDir: $DSH_HOME/ncm-config
autoInstall: true
ncmDownloadBaseUrl: https://ghfast.top/https://github.com/Davied-H/ncm-cli/releases/latest/download
playwrightDownloadHost: https://npmmirror.com/mirrors/playwright
timeoutMs: 30000
confirmWrites: true
TDD is mandatory for this project. The workspace is plain ESM JavaScript with
node:test; there is no build step:
npm test # red first, then implement until green
Local checkout quick start (no system ncm required):
./setup.sh
./start.sh
This creates a writable .dsh-home, bootstraps ncm into
.dsh-home/bin, installs the plugin into the web profile, and starts the UI.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: cli。