DeepSeek Harness 插件

dsh-webui-market-plugin-plus

In-harness community plugin market for the dsh web GUI — fork of @sanqi-normal/dsh-webui-market-plugin. Browse awesome-dsh-plugin.com, install/uninstall with a global never-lost progress indicator(英文原文)

跳到安装方式

来源信息

GitHub 仓库
condaThinker/dsh-webui-market-plugin-plus
最近更新
2026年8月15日
分类
插件市场与管理
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/condaThinker/dsh-webui-market-plugin-plus
插件名:dsh-webui-market-plugin-plus
作者:condaThinker

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-webui-market-plugin-plus

> Fork / 分叉说明(不是原创) — 本项目是社区插件 > @sanqi-normal/dsh-webui-market-plugin > 的一个 fork(分支),基于其 MIT 代码二次开发,原作者为 Sanqi-normal。 > 本仓库的维护者并非原作者;请把原作者应有的致谢与 credit 归于 > @Sanqi-normal/dsh-webui-market-plugin。 > > Attribution / Credit: This is a fork — not an original project. Derived > from the MIT-licensed plugin > @Sanqi-normal/dsh-webui-market-plugin > by Sanqi-normal (the original author). This fork's maintainer is not the > original author; please attribute the original work to the upstream repo above.

在 dsh web GUI 内部的社区插件市场 —— @sanqi-normal/dsh-webui-market-plugin 的 fork,重点改进了安装体验。

An in-harness community plugin market for the dsh web GUI — a fork of @sanqi-normal/dsh-webui-market-plugin that focuses on a never-lost install experience and plugin enable/disable management.

相比原版的改进 What's different

1. 后台安装进度永久可见,切换项目不再丢失

你从市场点“安装”后,即使立刻离开插件市场、切到别的项目/会话/设置页,也不会再“弹窗消失、不知道后台还在不在跑”。插件注册了一个全应用级别的进度浮条shell.overlay),像 Google Play 下载 App 一样固定在右下角:

  • 显示安装中 / 完成 / 失败状态、插件名、已耗时;
  • 随时可见,不必回到插件市场就能看到进度
  • 点它可展开/收起,浮条上就有“终止任务”按钮;
  • 安装状态的轮询被提升到模块级(src/client/op-bus.ts),与任何组件挂载无关,页面刷新 / 标签切换后也会自动恢复进行中的任务。

2. 可终止安装

确认与运行中的任务在浮层和全局进度浮条上都有明确的 “终止任务” 按钮,点击后立刻停止 pnpm 子进程并标记“已终止”。

3. 需要重启时会明确提示

安装成功后如果没有走免重启热挂载,会弹出一个明显的“重启 Web 服务后生效”横幅(全局可见),不再让你猜。

4. 插件启用 / 停用管理(全新功能)

已安装插件的卡片上新增 启用 / 停用 切换按钮,通过编辑 profile 的 dsh.profile.bundles 层实现(停用只去掉配置层、保留依赖;立即生效;启用会尝试热挂载,否则提示重启)。卡片状态区分 已启用 / 已停用

安装 Install

# npm registry(如已发布)
dsh plugin --profile web add dsh-webui-market-plugin-plus

# 或从本地 fork 目录(link,开发)
dsh plugin --profile web add /path/to/dsh-webui-market-plugin-plus

安装后重启 web 服务生效(热挂载成功的除外):

pnpm dsh web

本地构建 Build

仓库自带 src/ 源码 + 构建(host 用 tsc、client 用 tsdown 打 __ModuleLoader__ bundle)。

npm install               # 安装构建工具链
npm run typecheck         # host + client 类型检查
npm run build             # 生成 lib/host.js + lib/client.js
npm test                  # node --test tests/*.test.mjs

使用 Usage

打开 设置(Settings)→ 插件(Plugins)→ 插件市场(Plugin Market)

  • 目录按分类分组,支持搜索与“已安装”过滤、按最热/最新排序;每个卡片显示 GitHub Star、安装/卸载、更新检测;
  • 已安装插件的卡片显示 已启用 / 已停用 状态,并可一键 启用 / 停用
  • 安装/更新/卸载以弹窗确认,任务后台执行,全局进度浮条随时可见、可终止;
  • 安装后若需重启会有明确提示;简单插件装好后会自动热挂载(免重启)。

工作原理 How it works

持久化 bundle(dsh.bundle.patchcordis.patch.yml),由 dsh plugin add 的 reconcile 自动加入 profile 的 dsh.profile.bundles 层:

  • Host 半src/host.tslib/host.js):注册 /api/dsh-market 路由,提供 list / probe / installed / install / uninstall / update / op / kill,以及新增的 toggleActive(启用/停用)
  • Client 半src/client/*lib/client.js):通过 exports["./client"] + dsh.client 被 web 前端加载,注册到 settings.plugins.tab(市场面板)与 shell.overlay(全局进度浮条)两个 slot。

安全与限制 Safety and limitations

沿袭原版:来源白名单、试装验证(trial boot)、同源校验、离线目录快照、安装前自动快照。toggleActive(启用/停用)为同源 POST 写操作,与 install/uninstall 同样受同源保护。

License

MIT. Forked from Sanqi-normal/dsh-webui-market-plugin (also MIT).