DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-npm-mirror

d

dsh-npm-mirror

Manifest valid

Manage and prioritize npm registries from the DSH Add Plugin menu

UI (client)hasBundlePatch

npm 镜像

在 DSH 的添加插件菜单管理 npm 仓库。

DSH 0.2.2-rc.3 打开「插件」→「添加插件」右侧箭头→「npm 镜像」。保存后的镜像顺序用于当前 profile 的插件安装和更新。

dsh plugin --profile web add @dsh-plugin/dsh-loader@2.0.0-dev.43799314028
dsh plugin --profile web add @dsh-plugin/dsh-npm-mirror
操作说明
修改与添加编辑已有仓库,或输入新仓库的名称和 HTTP(S) URL。
调整顺序拖动项目把手或使用上下箭头。首项写入宿主的 registry,其余依次写入 fallbackRegistries。
配置认证展开对应镜像的「仓库配置」,选择 Bearer 令牌或用户名和密码(Basic)。
绑定 scope在「仓库配置」填写目标 scope,例如 @example。保存后,pnpm 安装和卸载插件时会从该镜像解析这个 scope 下的包。
保存使用原生配置编辑器更新 profile,并保留插件管理器的其他配置。网络错误和未找到包等情况按宿主规则尝试下一仓库。
安装弹窗DSH 会记住上次使用的仓库。要使用新首选,展开原生安装弹窗的仓库选项并选择对应地址。

插件从当前宿主读取现有配置。默认 profile 显示 npm 官方仓库和 npmmirror。移除本插件后,已保存的宿主配置继续生效。

凭证保存在当前 profile 的 .npmrc,按仓库主机和路径匹配。Bearer 令牌以原文保存,Basic 凭证以 Base64 编码保存。弹窗只显示保存状态。要清除此面板保存的凭证,选择「使用现有 npm / pnpm 配置」并保存。修改仓库地址后需要重新填写凭证,移除镜像也会清除对应的凭证。

scope 映射写入当前 profile 的 pnpm-workspace.yaml 的 registries。每个镜像可填写一个 scope,同一个 scope 只能绑定一个镜像。清空字段或移除镜像时,面板会删除仍指向原地址的映射。若已有相同 scope 和地址,填写并保存后可在面板中管理该映射。若同一个 scope 已手动绑定其他地址,保存时会提示冲突。

如果首选地址同时是 pnpm 配置的自定义默认仓库,DSH 0.2.2-rc.3 会沿用该仓库的单源安装规则。要让多个仓库参与回退,可由本插件独立管理插件安装顺序,并保留 pnpm 的默认官方源。

pnpm install --frozen-lockfile
pnpm typecheck
pnpm build
pnpm test

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 oxlyn

Card-style plugin manager in Settings: enable/disable each plugin through the profile patch layer, install-source details, npm update check with one-click update, uninstall, search, and load-error bad

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 3

↓ 716/wk

MIT

TypeScript

Nov 8, 2026

dsh plugin --profile web add dsh-plugin-mgr

by ZhijiangTang

Template repository for creating DSH plugins (npm bundle + scaffold script)

Manifest valid

★ 0

MIT

Shell

Aug 15, 2026

dsh plugin --profile web add dsh-plugin-template

by feely0208

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

Manifest valid

★ 0

MIT

JavaScript

Nov 5, 2026

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

by jeremytenjo

Option+A npm script palette for DeepSeek Harness: search package.json scripts and run one in a new terminal.

Manifest valid

★ 0

MIT

JavaScript

Oct 25, 2026

dsh plugin --profile web add dsh-plugin-npm-scripts

by dshplugin-app

Discover and compare DeepSeek Harness plugins directly inside DSH.

Manifest valid

★ 0

MIT

TypeScript

Aug 17, 2026

dsh plugin --profile web add dshplugin-registry