← Back to list

dsh-region

DeepSeek Harness Tools & Capabilities Low risk

Switches DSH's package download source between the npmmirror China mirror and the official npm registry on timeout or failure, with a Web UI to inspect and switch manually.

在下载超时或失败时,于 npmmirror 国内镜像与官方 npm 源之间自动切换下载源,并附带 Web UI 可手动查看与切换。

How to install

DeepSeek Harness dsh plugin add dsh-region

About

dsh-region 为 DeepSeek Harness(DSH)开发的下载源主备切换插件:**国内镜像为主、官方源为备、故障自动切换。** 已发布到 npm。 **为什么做这个插件?** 用 DSH 安装插件时,国外下载源速率很慢,经常卡顿、无法更新,甚至更新到一半就卡住。这个插件就是为解决这个问题而生:默认使用国内镜像为主,最快地下载和更新插件;国内镜像挂掉时自动切换为官方下载源;主源恢复后自动切回。 **第三方社区插件,与 DeepSeek 官方无关。** 功能特性 **自动故障切换** —— 每 5 分钟探测主源健康;主源超时(10 秒)或失败时自动切到官方源,主源恢复后自动切回。 **手动锁定** —— /region use main|backup 锁定任意一个源,/region use auto 回到自动模式。 **原生生效** —— 把当前生效源写入 profile 的 .npmrc,DSH 原生命令(如 dsh plugin add ...)也走该源。 **状态持久化** —— 模式和切换记录存于 ~/.dsh/region.json,重启不丢。 **零运行时依赖** —— 只用 Node 内置模块 + 全局 fetch。 安装 从源码安装(当前可用) bash git clone https://github.com/nononononofish/dsh-re…

Recommendation signals

55 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
55 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
3
mo. downloads
487
Last push
2026-08-21
Created
2026-08-20

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin

Related plugins

MCP Server
Score93

fastmcp

punkpeye/fastmcp

A TypeScript framework for building MCP servers.

☆ 3.3K ↓ 2.0M Tools & Capabilities ↗
MCP Server
Score91

mobile-mcp

mobile-next/mobile-mcp

Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)

☆ 6.8K ↓ 102.4K Tools & Capabilities ↗
MCP Server
Score88

davinci-resolve-mcp

samuelgursky/davinci-resolve-mcp

MCP server integration for DaVinci Resolve Studio

☆ 3.1K ↓ 72.0K Tools & Capabilities ↗
MCP Server
Score83

ssh-mcp

tufantunc/ssh-mcp

MCP server exposing SSH control for Linux servers via Model Context Protocol.

☆ 762 ↓ 42.0K Tools & Capabilities ↗