Routes every download across seven transports (node, python, curl, wget, aria2c, PowerShell, BITS) plus mirror variants, picks the fastest route against a baseline measured at setup, and exposes download, download_status and download_baseline tools.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Elgwia-dsh/dsh-download-router
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 · 简体中文
DeepSeek Harness adapter: exposes the multi-route download scheduler from download-router as three tools.
The engine is not here — this package only registers tools, translates arguments, spawns the CLI and reads its result back. That keeps it thin, so upgrading DSH never means re-implementing the scheduler.
Tools
| Tool | Purpose |
|---|---|
download |
{ url, dest?, sha256?, timeoutMs?, mode?, special?, refreshBaseline? } |
download_status |
Current mode, proxy, backend availability, baselines, route table |
download_baseline |
Re-measure baselines (after switching networks or toggling the proxy) |
Install from the plugin market
In DSH → Settings → Plugin market → add this index:
https://raw.githubusercontent.com/Elgwia-dsh/dsh-download-router/main/market/index.json
Then install dsh-download-router from the Discover tab. The package manager pulls its dependency download-router from GitHub automatically.
Install
This package depends on download-router. Two options:
A. npm (once published)
npm i -g dsh-download-router
B. Side-by-side clone
plugins/
download-router/ # core
dsh-download-router/ # this package
CLI resolution order: DL_ROUTER_CLI env var → node_modules/download-router → sibling ../download-router.
Then add the package to your profile:
// profile package.json
"dependencies": { "dsh-download-router": "link:/path/to/dsh-download-router" },
"dsh": { "profile": { "bundles": ["...", "dsh-download-router"] } }
pnpm install
The first load needs a host restart (or disable → enable in the plugin panel).
Configuration
The bundled cordis.patch.yml contains generic defaults only; machine-specific paths (download directory, proxy core, subscription file) belong in the profile patch:
- id: download-router
name: 'dsh-download-router'
config:
destDir: '~/Downloads'
dataDir: '~/.download-router'
proxy:
url: 'http://127.0.0.1:7890'
exe: '/path/to/mihomo'
configDir: '~/.config/clash'
These values are written to a temporary JSON and handed to the CLI, so the core package's own config file is never touched.
Requirements
- Node >= 18
- At least one working backend (node built-in is enough)
python/curl/wget/aria2c/yt-dlp/gitare all optional
Known limits
- Under a reduced-privilege sandbox, curl / IWR / BITS stay unavailable (the system TLS stack cannot acquire credentials).
- Multi-connection sharding is off by default.
- Tool results are handed over through temporary files, so the data directory must be writable (the core falls back when it is not).
License
MIT
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38608
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37289
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 28947
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 10049
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6112
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4761
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.