fuyao606/dsh-plugin-manager
fuyao606★ 3TypeScriptLast synced: 2026-08-20
DeepSeek Harness Web GUI plugin manager
README excerpt
dsh-plugin-manager 在 DeepSeek Harness(DSH)Web GUI 的「设置」面板里管理本机插件: 列出、启用、禁用、安装、卸载 web profile 的插件,无需命令行手动操作。 功能 - 列出 :读取 $DSH HOME/profiles/web/package.json ( dependencies + dsh.profile.bundles )与 node modules 里的实际版本,区分「用户插件」与「内置模块」。 - 启用 / 禁用 :切换插件在 dsh.profile.bundles 中的挂载(禁用保留安装,仅下次启动不再加载)。 - 安装 :输入 npm 包名,在 profile 目录跑 pnpm add ,并按安装状态自动对账 bundles。 - 卸载 :一键 pnpm remove ,并对账 bundles。 所有改动只落到 profile 的 package.json / node modules ,需 重启 dsh web 并硬刷新浏览器 后生效(host 半改动无法热加载)。 安装 方式一:从 GitHub(推荐,免构建脚本) 仓库已提交构建产物 lib/ ,直接装: 方式二:本地开发 方式三:npm(若已发布) 装完 重启 dsh web 并硬刷新浏览器 ,打开 设置 →「插件管理」 即可使用。 开发 仓库刻意提交了构建产物 lib/ (见 .gitignore 注释),改 src/ 后需 pnpm build 重新生成并提交,保证 GitHub 安装免构建脚本。 安全 - 路由走与 /api 网关一致的浏览器信任围栏(Host 回环 / trustedHosts + 同源),阻止恶意网页对本地 DSH 服务做 CSRF 安装/卸载。 - install 的包名规格做白名单校验,避免经 shell: true 调 pnpm 时被注入;仅支持 npm 包名( name / @scope/name ,可选 @version ), github: / file: 等规格需走命令行。 架构 - host 半 src/index.ts → lib/index.js : /plugin-manager/api JSON API(list / enable / disable / install / remove)。 - client 半 src/client/index.tsx → lib/client.js :注册 settings.section slot,渲染管理界面。 - 只依赖模块表提供的 react ; @deepseek-ai/ 服务面全部用结构化类型镜像,无值依赖。 快速开始 安装并打开管理器 仓库已提交 lib/ 构建产物,推荐直接从 GitHub 安装: 也可以固定到指定版本: 安装完…
View full README on GitHub →Category
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784