JunWan666/dsh-plugins 预览 preview

JunWan666/dsh-plugins

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

catalog 简介 / catalog descriptioncatalog description:给deepseek-harness开发的一些插件.

项目介绍Project Overview

dsh-plugins 是为 DeepSeek Harness Web GUI 提供的插件集合,当前含 dsh-auth,支持会话 Cookie 登录、主题化登录页、账号管理、登录保护开关与侧边栏用户菜单。需要给 dsh Web 界面加登录鉴权时,可用 dsh plugin 按子目录安装。注意需先安装 dsh 与 Node.js 22+,安装后重启并刷新页面。

dsh-plugins is a collection of plugins for the DeepSeek Harness Web GUI. Its current plugin, dsh-auth, provides session-cookie login, a themed login page, account management, a login-protection toggle, and a sidebar user menu. Use it when you need authentication for the dsh web interface; install it with dsh plugin using the repository subpath. Requires dsh and Node.js 22+; restart and refresh after installation.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:JunWan666/dsh-plugins#path:/dsh-auth

JunWan666/dsh-plugins 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

🐋 dsh-plugins

简体中文 | English

DeepSeek Harness(dsh)Web GUI 插件集

dsh GitHub stars License

Node.js PowerShell PRs Welcome GitHub issues

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  # 查看最终配置
💡 提示: 如果你之前用 npx @deepseek-ai/dsh web 启动过,会发现 npx 方式运行后终端仍然找不到 dsh 命令——这是正常的,因为 npx 的设计是一次性执行,不会将命令注册到 PATH。只有 npm install -g 全局安装才能让 dsh 成为系统命令。

插件列表

插件 安装命令 说明
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

上一个 Prev dsh-plugin-background 下一个 Next dock-git