loker66fan/dsh-market-github

DeepSeek Harness 插件商城:启动页入口 + GitHub topic:dsh-plugin 实时搜索、一键安装/重启 · 插件市场内嵌于 Harness,支持实时 GitHub 搜索

Project Overview项目介绍

This is a native plugin built exclusively for the DeepSeek Harness (DSH) web GUI that adds a fully functional in-app plugin marketplace to DSH. The core functionality includes real-time search of GitHub repositories tagged with the dsh-plugin topic, as well as one-click management of DSH plugins including install, enable, disable, update, and uninstall. To install the plugin itself, you can run the DSH CLI command dsh plugin --profile web add github:loker66fan/dsh-market-github directly. It also provides an agent-accessible tool set that lets the DSH agent search and install plugins without opening the UI manually.

It is designed for all DSH web GUI users who want a convenient way to discover and manage DSH plugins without having to manually run CLI commands every time. First-time users who have not created any previous session will see the plugin market entry directly on the startup onboarding page. The entry only appears once, and once you complete or skip it, it will not pop up again on subsequent launches. Existing users can access the plugin market any time via the settings menu under the plugins tab. Once you find a plugin you want, you can install it directly from the search results with just one click.

This plugin is released under the open source MIT license. The GitHub search functionality is subject to GitHub API rate limits: unauthenticated requests are limited to 10 requests per minute, so adding a GITHUB_TOKEN to your DSH host environment will increase your allowed rate limit. All GitHub-sourced plugins are checked for a valid DSH manifest before installation, and plugins without a valid manifest are blocked by default, though you can manually skip this check if you trust the plugin. Hot reload after installation only works for simple plugins without a web client, so plugins with a client component will require a DSH restart.

这是一款专为 DeepSeek Harness(DSH)网页版 GUI 开发的原生插件商城插件。它在 DSH 内部提供了一个可交互的插件市场,支持实时搜索 GitHub 上标记了 topic:dsh-plugin 的仓库,提供插件一键安装、启用停用、更新卸载以及一键重启 DSH 的功能。它可以通过 DSH 内置的插件命令安装,支持从 GitHub 源、本地开发路径等多种方式安装。

它面向想要便捷发现和安装 DSH 插件的用户,省去手动敲命令行安装插件的麻烦。首次启动 DSH 且尚无会话的用户会在启动引导页看到插件商城入口,完成或跳过该步骤后会自动记录,不会重复弹出。已有会话的用户也可以随时通过「设置→插件→插件市场」路径打开商城面板,搜索浏览插件后即可一键安装管理。

本项目基于 MIT 许可证开源,搜索功能受 GitHub API 限速,未授权访问每分钟最多 10 次请求,配置 GITHUB_TOKEN 可提升配额。插件安装前会自动校验 DSH 清单,无有效清单的插件默认拒绝安装,可手动跳过安全检查。热挂载仅支持结构简单且无 Web 客户端的插件,带客户端的插件安装后需要重启生效。

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-market-github

把 loker66fan/dsh-market-github 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-market-github

参考项目(MIT):@sanqi-normal/dsh-webui-market-plugin 与 @condaThinker/dsh-webui-market-plugin-plus,致谢见文末。

在 dsh web GUI 内部的插件商城:启动页引导入口 + GitHub topic:dsh-plugin 实时搜索 + 一键安装/启用停用/一键重启。

An in-harness plugin market for the dsh web GUI: startup-page onboarding entry + real-time GitHub topic:dsh-plugin search + one-click install, enable/disable, and restart.

功能 Features

  • 启动页入口:首次运行(尚无会话)时,onboarding 引导多出「插件商城」步骤(只出现一次——完成/跳过即被记住,之后刷新或重启不再弹);也可随时从 设置 → 插件 → 插件市场 打开。
  • GitHub 实时搜索:host 端代理 api.github.com/search/repositories,搜索框防抖 350ms 实时请求,每页 50 条 + 上一页/下一页翻页;自动过滤 fork、归档、私有仓库。空查询返回最热插件,支持按 Star / 最近更新排序;卡片显示 topics、语言、许可证、更新时间;搜索配额(GH remaining/limit)可见,配 GITHUB_TOKEN 可提高。
  • 一键安装:安装/更新/卸载走后台任务,全应用右下角进度浮条常驻(切页面不丢),可终止、可最小化;已发布 npm 的插件优先走 registry tarball 安装(registry 校验与仓库一致防抢注,否则回退 GitHub 源);纯 host 插件装好后热挂载免重启(校验 fiber 真实激活才报成功)。
  • 可靠网络:自动识别设备代理(环境变量 → 系统代理 → Clash/mihomo/v2rayN 常见端口探测),无需手动配置;GitHub 源走 codeload tarball 直链(绕开易卡的 git 协议);清单校验在 raw.githubusercontent 被封时自动回退 GitHub contents API / jsDelivr / ghproxy。
  • 安装安全把关:GitHub 源先读其 package.json 的 dsh 清单——声明 dsh.client 的 web 插件直接安装;仅声明 dsh.bundle 的走临时环境试装启动验证(真实 profile 不受影响);读不到清单则拒绝(可勾选「跳过安全检查」)。pnpm 构建放行按精确键(裸包名 + 包名@tarball地址)写入,scoped 包名加引号防 YAML 解析失败。
  • 纯客户端插件支持:只有 dsh.client 没有 dsh.bundle 的插件(如主题/UI 插件)安装后自动写入合成配置行,重启即加载;卸载时同步移除。
  • 启用 / 停用:编辑 profile 的 dsh.profile.bundles 层;停用立即生效(保留依赖、只去配置层),启用尝试热挂载。
  • 一键重启:安装/停用后需要重启时,横幅自带「立即重启」按钮(同源 + 直连 loopback 双重校验,detached 拉起同一命令),重启完成后页面自动刷新。
  • 更新检测:GitHub 源比对锁文件 commit 与 HEAD,npm 源比对 registry 版本;一键更新。
  • 模型可用:注册 market_search / market_install / market_installed / market_update 工具,agent 可直接搜索并安装插件。

安装 Install

从 GitHub 安装(推荐——本仓库提交了预构建的 lib/,无需任何安装期构建授权):

dsh plugin --profile web add github:loker66fan/dsh-market-github

npm(尚未发布 / 计划中):发布前 dsh plugin --profile web add dsh-market-github 会以 404 失败,请先用上面的 GitHub 源;发布到 npm 后此命令即可直接使用:

# 计划发布到 npm / planned npm publish(当前 404)
dsh plugin --profile web add dsh-market-github

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-pet-StatusLight 下一个 Next dsh-memory-gate →