Britneycode/dsh-update-center
dsh(DeepSeek Harness)更新中心与插件市场:自托管 plugins.json 注册表(GitHub dsh-plugin 主题自动聚合 + npm 包名映射秒级安装),一键安装/更新/卸载/禁用插件与更新 dsh 本体。
Project Overview项目介绍
dsh-update-center is a local update-center plugin for DeepSeek Harness. It provides a plugin marketplace for browsing, searching, installing, uninstalling, and disabling plugins, and centrally updates dsh itself, npm/link plugins in profiles, and agent presets, with batch update and restart support. Use it to manage plugins and versions from the dsh web settings panel. It only modifies recognized repositories and dependencies, stops on uncommitted changes, and does not terminate a running dsh process.
dsh-update-center 是 DeepSeek Harness 的本地更新中心插件,提供插件市场浏览、搜索、安装、卸载、禁用,并统一管理 dsh 本体、profile 中 npm/link 插件及 agent preset 的更新,支持一键批量更新与重启。适合在 dsh web 设置页集中维护插件和版本时使用。注意:它只修改明确识别的仓库与依赖,遇未提交改动会停止更新,且不会自动结束运行中的 dsh 进程。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-update-center(Britneycode/dsh-update-center)
仓库:https://github.com/Britneycode/dsh-update-center
本站详情页:https://www.yhbd.top/plugins/britneycode-dsh-update-center/
本站登记:类型 collection · 归类 原生 DSH 插件 · 许可证 BSD-3-Clause · ⭐ 2 · 最近提交 2026-09-30 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-update-center
把 Britneycode/dsh-update-center 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-update-center
DeepSeek Harness 的本地更新中心:内置插件市场(浏览/搜索/一键安装/卸载/禁用),统一管理已装插件与 dsh 本体、profile 中的 npm/link 插件以及 agent preset 的更新。
安装
插件声明了 dsh.bundle(bundle patch 位于 cordis.patch.yml),构建产物随包分发,用官方 CLI 安装即可挂载为 profile 层。
推荐 npm 安装(秒级,无需构建):
dsh plugin --profile web add dsh-update-center
或从 GitHub 安装:
dsh plugin --profile web add github:Britneycode/dsh-update-center
本地开发时也可以 link 安装:
dsh plugin --profile web add link:<本插件目录>
安装后重启 dsh web,设置页会出现「更新中心」面板。不需要第三方注入器。
插件市场
- 注册表:本仓库根目录
plugins.json(raw 直链拉取,可独立于插件发版更新),初始内容为 GitHubtopic:dsh-plugin星标前 500 + 本插件,共 501 条。 - 增量扫描:后台每 12 小时扫描 GitHub
topic:dsh-plugin(星标前 500,排除 fork),与注册表按 owner/name 去重合并——重复条目仅刷新星标,新条目追加;掉出扫描窗口的老条目在 plugins.json 中保留(累计语义,上限 2000 防膨胀)。 - npm 包名映射:同一轮扫描会查询 npm 关键词搜索(
keywords:dsh-plugin,约 800+ 包),按 repository 地址与市场条目匹配——仓库一致才映射(天然防抢注);命中的条目显示 npm 标记并走 npm 秒级安装,未命中的走github:安装。 - 更新注册表:
npm run refresh:snapshot会以现有 plugins.json 为基底累计合并最新扫描结果并连同离线快照一起重写,提交推送后生效。 - 注册表自动刷新:仓库内置 GitHub Actions 定时任务(
.github/workflows/registry-refresh.yml)每天自动跑刷新脚本并在有变化时提交推送,也可在 Actions 页面手动触发。 - 离线兜底:磁盘缓存 → 随包快照(
data/registry-snapshot.json);常驻条目(data/extra-plugins.json)无条件并入,保证 0 星新插件始终可见。 - 清单自动刷新:缓存超过 24 小时会在打开面板时自动拉取最新;「刷新清单」按钮随时强制更新。
- 出网请求仅允许 https 且 host 白名单(raw.githubusercontent.com 额外限定为清单仓库路径,防 SSRF);安装目标只接受清单内条目,不接受任意包名。
- 安装优先走 npm 包(秒级),并做防抢注校验:npm 包的 repository 与清单 GitHub owner/repo 不一致时自动回退
github:owner/repo。 - 安装后校验包可解析且存在可运行入口(dsh 清单或 main 文件);校验失败自动回滚卸载,不会留下坏包。
- 非标准组合套装可作为“手动安装”条目收录:市场只展示项目安装说明,不会误走
pnpm add。dsh-routing-suite即按此方式提供。 - pnpm ≥10 拒绝或跳过构建脚本时,错误信息会带 pnpm-workspace.yaml 放行指引。
- 卸载 =
pnpm remove+ 移出dsh.profile.bundles,仅对 npm 安装的插件开放;link/preset 插件请直接编辑 profile。 - 禁用/启用 = 在 profile 的
cordis.patch.yml写入/移除受管的disabled: true条目(按插件自身 insert id 定位,带标记区块与备份),不删文件、可随时恢复,重启后生效。 - 市场条目与已安装列表互通元数据:已安装插件显示市场描述与 GitHub 链接,市场里已装的插件显示「可更新」徽标。
- 市场支持排序:星标最多(默认)/ 默认策展顺序 / 最近添加,可叠加搜索与分类筛选。
- 市场列表默认展示前 500 个筛选结果;结果更多时可在列表底部继续加载,每次增加 500 个。
一键全部更新
- 检查更新后,工具栏出现「全部更新」:把所有可更新插件(npm 版本落后 + link/preset 落后且无未提交改动)排成一个后台批量任务串行执行。
- 单个子任务失败不中断其余;结束后汇总「N 成功 / M 失败」,全部失败才标记任务失败。
- dsh 本体更新有独立的构建语义(完整更新/仅拉取),不并入批量。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
superdesigndev/treg
bruc3van/awesome-dsh-plugin
kingOfSoySauce/dsh-skin-market
bradeGithub/DSH-Plugins-Marketplace
awesome-dsh-plugin/dsh-find-plugin
hyqibot/A-share-Ai
Sanqi-normal/dsh-webui-market-plugin