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 进程。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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

npm version

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 直链拉取,可独立于插件发版更新),初始内容为 GitHub topic: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 →

← 上一个 Prev dsh-openrouter-providers 下一个 Next dsh-inline-media-viewer-plugin →