AJUbest/dsh-plugin-optimization
这是一个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许可协议开源,做了安全限制,仅允许同主机回环地址访问,所有访问路径都做了安全校验,保障使用安全。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-optimization(AJUbest/dsh-plugin-optimization)
仓库:https://github.com/AJUbest/dsh-plugin-optimization
本站详情页:https://www.yhbd.top/plugins/ajubest-dsh-plugin-optimization/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-09-09 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 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.
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 addare 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
Install
dsh plugin --profile web add https://github.com/AJUbest/dsh-plugin-optimization.git
Requirements: Node.js and pnpm (
npm install -g pnpmorcorepack 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 viactx.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 pluginCLI; enable/disable editsdsh.profile.bundles(kept in sync with the plugin market) and cleans up legacycordis.patch.ymldisable 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 →
Small-tailqwq/dsh-deep-whale
d-dev0101/open-sea-skin
kingOfSoySauce/dsh-liang-skin
RevolutionLA/dsh-dream-skin
Fishquito7/dsh-skill-mcp-panel
01Virex/dsh-status-rotator
ymh0000123/dsh-theme-endfield
SLin-code/dsh-custom-skin