DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-pnpm-manager

e

dsh-pnpm-manager

Identified★ 1

Proxy and registry switch for DeepSeek Harness (DSH) pnpm - host plugin + Settings tab + standalone CLI. 用于 DeepSeek Harness 的 pnpm 代理与 registry 切换:宿主插件 + 设置页标签 + 独立 CLI。

Machine translated

English | 简体中文

npm pnpm DeepSeek Harness license: MIT CI

dsh-pnpm-manager

dsh-pnpm-manager banner

Control whether the pnpm used by DeepSeek Harness (DSH) goes through a proxy — and inspect / switch its registry and store — from either DSH's settings page or a standalone CLI.

pnpm 代理 settings card

Install

Use the bundled dsh CLI. Replace <profile> with your profile name (desktop for the app, web for dsh web, …).

# 1) git source (main channel)
dsh plugin --profile <profile> add "github:easyzoom/dsh-pnpm-manager#main"

# 2) npm (once published to npm)
dsh plugin --profile <profile> add dsh-pnpm-manager

# 3) local dev (a checkout of this repo)
dsh plugin --profile <profile> add /path/to/dsh-pnpm-manager

Notes:

  • The desktop profile is locked by the running app — close DeepSeek Harness before a CLI install, or install from the app's Plugins panel.
  • The git source works for a private repo too when your git credentials are set; a public repo needs no auth.
  • The npm command requires the package to be published (npm publish) first.

Why

Node and pnpm do not use the Windows system proxy, so pnpm connects to registry.npmjs.org and GitHub directly. Behind a firewall that is slow or fails with ECONNRESET. Pointing pnpm at a local proxy (e.g. Clash on 127.0.0.1:7897) makes dependency resolution several times faster — but if the proxy is down, installs fail. This tool makes that switch one click (or one command) away.

What it touches

Only the proxy, https-proxy and registry lines of ~/.npmrc. Every other setting is preserved. A backup (*.bak-<timestamp>) is written only when the content actually changes.

As a DSH plugin

package.json declares dsh.bundle.patch, and cordis.patch.yml inserts one host row. The row's Config (schemastery) is rendered by DSH as the plugin's settings form:

fieldvaluesmeaning
modeon / off / autoforce proxy on / force direct / enable only when the proxy port is reachable
proxyUrlURLproxy address (default http://127.0.0.1:7897)
noProxyhosts (comma-separated)hosts that bypass the proxy (noproxy; only while the proxy is on)
strictSsltrue / falsestrict TLS verification; disable it for SSL-intercepting proxies (e.g. Clash) → strict-ssl=false
registrykeep / npmjs / npmmirrorleave registry alone / official source / China mirror

Editing the form rewrites ~/.npmrc immediately (the loader re-applies the row).

Status: verified in live DSH (isolated web profile and the desktop app): the host routes return live data; the card renders on the plugin's page and as a pnpm 代理 tab under Settings → Built-in plugins, showing the mode status plus 开 / 关 / 自动 / 测试. Host routes are also unit-tested.

Client card (optional)

lib/client.js registers an editable form — mode, proxy URL, registry, no-proxy hosts, and strict-TLS — with a save confirmation (edit → 保存 → 确认保存) and a 测试连接 button, into both the plugin's page (plugins.bundle.config / family seat) and a Settings → Built-in plugins tab (settings.plugins.tab). Registration is guarded and waits for the seat to be declared, so an unavailable seat never breaks the Web boot.

CLI

node bin/dsh-pnpm-manager.mjs status [--json]
node bin/dsh-pnpm-manager.mjs doctor [--json]
node bin/dsh-pnpm-manager.mjs on | off | toggle | auto
node bin/dsh-pnpm-manager.mjs proxy http://127.0.0.1:7890   # or: proxy reset
node bin/dsh-pnpm-manager.mjs registry npmjs | npmmirror
node bin/dsh-pnpm-manager.mjs store
node bin/dsh-pnpm-manager.mjs test

Environment: PNPM_PROXY_URL, DSH_PROFILE_DIR, DSH_PNPM_CJS.

Layout

lib/index.js            host plugin (name / Config / apply + web routes)
lib/npmrc.js            shared .npmrc read/write helpers
lib/client.js           optional client card (__ModuleLoader__ bundle)
bin/dsh-pnpm-manager.mjs   standalone CLI
cordis.patch.yml        bundle patch (inserts the host row)

License

MIT

Comments

Loading…

Similar plugins

dsh-npm

by zhengjy01

NPM registry management for DeepSeek Harness

Manifest valid

★ 0

MIT

TypeScript

Sep 29, 2026

dsh plugin --profile web add dsh-npm

by lhf6623

DeepSeek Harness proxy config plugin: injects HTTP/SOCKS proxy into process.env so plugin installs (pnpm/git) use it

Development & InfrastructureManifest valid

★ 0

JavaScript

Aug 26, 2026

dsh plugin --profile web add dsh-proxy-config

by Fish-under-sea

自用 DSH(DeepSeek Harness)插件聚合包:一个 pnpm 工作区装齐 8 个插件(5 个自建 + 3 个上游补充版:AgentTeams / 思考强度 / 免费模型),子插件源码在 packages/ 下

Tools & CapabilitiesManifest valid

★ 5

↓ 479/wk

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add @fish-under-sea/dsh-fish

by frostming

Startup auto-updater for DeepSeek Harness (dsh): checks the npm registry once on boot and optionally installs newer versions.

Tools & CapabilitiesManifest valid

★ 3

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-auto-update

by feely0208

检查并更新第三方 DSH 插件:对比 npm 最新版本,一条命令精确升级(绕过 pnpm 新版本观察期)

Manifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add @deepwhale-cn/dsh-plugin-updater

by copylee711

DeepSeek Harness 代理插件:在设置中配置全局 HTTP(S) 代理,或为单个 LLM 提供商单独配置代理 / 直连

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 8

↓ 284/wk

MIT

TypeScript

Oct 7, 2026

dsh plugin --profile web add @copylee/dsh-proxy