dsh-plugins

by junwan666

UI 增强github收录于 08-23

🐋 dsh-plugins 简体中文 English DeepSeek Harness(dsh)Web GUI 插件集

DeepSeek Harness (dsh) Web GUI plugin collection.

安装

dsh plugin --profile web add github:junwan666/dsh-plugins

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

为 DeepSeek Harness(dsh)Web GUI 开发的插件集合,每个插件位于独立子目录,均可通过 dsh plugin 一条命令安装。


前置要求

在使用本仓库的任何插件之前,你需要先安装 DeepSeek Harness(dsh)本身(完整源码与文档见官方仓库)。

1. 安装 Node.js

dsh 需要 Node.js 22+。下载安装:

https://nodejs.org/(推荐 LTS 版本)

安装后打开终端验证:

node --version   # 应输出 v22.x 或更高
npm --version    # 应输出 10.x 或更高

2. 安装 dsh(推荐方式 — 全局安装)

npm install -g @deepseek-ai/dsh

全局安装后,dsh 命令会注册到系统 PATH,终端中随时可用:

dsh --version                  # 查看版本
dsh web                        # 启动 Web GUI
dsh --profile web --dump-config  # 查看最终配置

插件列表

插件 安装命令 说明
dsh-auth dsh plugin --profile web add github:JunWan666/dsh-plugins#path:/dsh-auth 登录与鉴权:会话 Cookie、主题化登录页、账号管理(用户名/密码/头像)、登录保护开关、侧边栏用户菜单

截图预览

安装插件

所有插件都通过 dsh plugin 从本仓库安装,#path: 参数指定仓库内的插件子目录:

# 安装 dsh-auth
dsh plugin --profile web add github:JunWan666/dsh-plugins#path:/dsh-auth
# 如果 dsh web 正在运行,重启后刷新页面

每个插件是 bundle(自带 cordis.patch.yml),安装后 dsh plugin 自动将其加入 dsh.profile.bundles,无需手动编辑 patch 文件。运行 dsh --profile web --dump-config 可确认插件已进入最终配置。

各插件的用户配置、API 与安全说明详见对应子目录的 README。

开发

# 冒烟测试(不依赖 GUI)
node dsh-auth\scripts\smoke.mjs

# 端到端验证(需先启动隔离实例)
node dsh-auth\scripts\verify-e2e.mjs <port>

License

MIT

原始 README: https://github.com/JunWan666/dsh-plugins/blob/main/README.md ↗