AJUbest/dsh-plugin-optimization 预览 preview

AJUbest/dsh-plugin-optimization

Plugin插件 Native原生 ⭐ 5 MIT UI & Themes界面与主题

这是一个DSH插件管理插件,可在web界面区分DSH自带插件与自定义插件,并且能够收纳用户之前的自定义插件进行管理。

Project Overview项目介绍

This repository is a native plugin manager built exclusively for DeepSeek Harness (DSH), with an official DSH bundle manifest. It modifies the original Plugins entry under DSH Settings, splitting it into two separate sections: Built-in for official DSH plugins and Custom for third-party user plugins. It adds visual management for the entire plugin lifecycle, automatic dependency detection and one-click repair for common plugin startup issues, auto-classification of plugins into 8 color-coded categories, and a bilingual UI that matches DSH's current locale instantly without page reload. To install the plugin manager, you run the listed installation command in your terminal after installing required dependencies.

The typical workflow for users starts after restarting the DSH gateway. You can access the Plugin Manager from the new entry under Settings → Plugins. You can import plugins from three supported sources: a public Git repository URL, a local folder path on your machine, or an npm package name, and the tool will automatically download and register the plugin to the custom partition. You can also open any plugin directory or the entire custom/built-in partition directly in your local file manager with a single click. All common plugin operations like register, enable, disable, and delete are handled directly through the UI, no manual command line work needed for daily management.

Before you install the plugin manager, you need to have Node.js and pnpm installed on your system. If you do not have pnpm, you can install it globally via npm install -g pnpm or enable it via corepack with corepack enable pnpm. After installation, you need to restart the DSH gateway to activate the plugin manager. For a fresh first install, the project documentation recommends restarting the gateway twice to make sure the one-time auto-tidy migration of old plugins completes fully. The project is released under the open-source MIT license, and it includes security restrictions that only allow requests from same-host and loopback origins, with all access paths checked for containment to prevent unauthorized access.

这是一款专门为DeepSeek Harness(DSH)开发的原生插件管理器,它将原设置页的「插件」入口拆分为「内置/自定义」两个独立清晰分区,提供可视化的第三方插件全生命周期管理、依赖缺失自动检测与一键修复、插件自动分类整理功能,还自带能即时跟随DSH系统语言切换的双语界面,安装完成后即可开箱即用。

用户可以通过该插件提供的可视化界面,直接完成插件的导入、注册、启用、禁用、删除全生命周期操作,支持导入Git仓库链接、本地文件夹路径、npm包名三种来源,还能一键在文件管理器中打开任意插件或分区目录。它还会自动把旧方式安装的插件迁移到自定义分区,适合所有使用DSH自定义插件的开发者和普通用户。

安装该插件需要你的环境预先安装Node.js和pnpm,你可以通过命令dsh plugin --profile web add https://github.com/AJUbest/dsh-plugin-optimization.git完成在线安装,安装后需要重启DSH网关,全新安装建议重启两次,以确保自动整理迁移功能完全生效。该项目采用MIT许可协议开源,做了安全限制,仅允许同主机回环地址访问,所有访问路径都做了安全校验,保障使用安全。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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 https://github.com/AJUbest/dsh-plugin-optimization.git

把 AJUbest/dsh-plugin-optimization 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

🐋 dsh-plugin-optimization

Plugin Manager for DeepSeek Harness · DSH 插件管理器

Splits Settings → Plugins into Built-in / Custom partitions, with visual management, dependency auto-check & one-click repair, auto classification, auto-tidy and a bilingual UI that follows the DSH language instantly.

English 中文


Features

  • Custom / Built-in partitions — third-party plugins live in ~/.dsh/custom-plugins/, clearly separated from the official @deepseek-ai/* packages (which stay read-only).
  • Browse folders — open the custom / built-in partition or any plugin directory in your file manager with one click.
  • Import — paste a git URL / local folder path / npm package name; it is downloaded into the custom partition and registered automatically.
  • Register / Enable / Disable / Delete — full lifecycle management.
  • Auto-tidy (migration) — plugins previously installed via dsh plugin add are moved into the custom partition automatically after boot (one-time).
  • 8-category auto classification — color tags (MCP / Skill / Hook / Workflow / Model / UI / System / Security).
  • Dependency check & one-click repair — detect missing / broken links / version conflicts (the usual cause of "plugin failed to start") and repair them with one click.
  • Bilingual UI — follows the DSH locale instantly, no page refresh (even the settings tab label switches).

Screenshot

Plugin Manager

Install

dsh plugin --profile web add https://github.com/AJUbest/dsh-plugin-optimization.git

Requirements: Node.js and pnpm (npm install -g pnpm or corepack enable pnpm).

Restart the gateway, then open Settings → Plugins → Plugin Manager.

Tip: restart twice after a fresh install so the auto-tidy fully applies.

How it works

  • Host side (lib/index.js, Node built-ins only) registers JSON APIs via ctx.webServer.register: /plugins/dsh-plugin-optimization/api/{state,open,import,register,toggle,remove,migrate,deps/scan,deps/fix,...}
  • Register / remove / migrate reuse the official dsh plugin CLI; enable/disable edits dsh.profile.bundles (kept in sync with the plugin market) and cleans up legacy cordis.patch.yml disable blocks.
  • Dependency check resolves against plugin dir → partition node_modules → profile → dsh install, matching real module resolution.
  • Security: same-host / loopback origins only; every path is containment-checked.

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-forge 下一个 Next dsh-markdown-ide →