dshbase

插件目录 / Developer / deepseek-herness-login

deepseek-herness-login

未验证 javaxiaov

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-15最近推送
跨平台平台

功能简介

dsh-login-plugin

我们的评价
未验证 — 尚未实测

dsh-login-plugin 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

DeepSeek Harness 登录门禁插件 (auth-gate)

简体中文 · English


简体中文

一个为 DeepSeek Harness Web 界面提供登录门禁 + 账号管理的插件 bundle。

预览

登录页面

功能

  • 登录门禁:未登录时全屏登录页覆盖整个应用,无法操作任何功能。
  • 账号设置:系统设置里新增「账号设置」页面,可修改账号名和密码。
  • 退出登录:设置页头部和账号设置页均有红色「退出登录」按钮,点击后立即切回登录页(只退出账号,不影响应用)。
  • 多语言:跟随 DeepSeek Harness 界面语言自动切换(设置 → 外观 → 语言),支持中文与 English。
  • 安全存储:密码以加盐 scrypt 哈希持久化到本地文件,绝不保存明文。
  • 持久化:账号、密码修改重启应用后依然保留(默认账号 admin / 密码 admin123)。

安装

本插件作为 DeepSeek Harness 用户 profile 的 bundle 安装:

  1. dsh-login-gate 目录(本仓库内容)放入 profile 的 bundles 目录,例如:
    ~/.dsh/profiles/web/bundles/auth-gate/

  2. 在 profile 的 package.json 中添加 bundle 引用:

    {
      "dsh": {
        "profile": {
          "bundles": [
            "@dsh-login-gate/auth-gate"
          ]
        }
      },
      "dependencies": {
        "@dsh-login-gate/auth-gate": "link:./bundles/auth-gate"
      }
    }
    
  3. 在 profile 目录执行 pnpm install 建立链接。

  4. 重启 DeepSeek Harness 应用。

结构

dsh/
  index.js           Host 端:HTTP 路由(登录/状态/退出/改密)
  account-store.js   Host 端:scrypt 哈希 + 本地持久化存储
  client.js          浏览器端:登录遮罩 + 账号设置页(lazy-CJS bundle)
cordis.patch.yml     插件装载配置
package.json         包声明(dsh.bundle / dsh.client)

数据文件

账号数据保存在 <profile 目录>/login-gate-accounts.json

{
  "username": "admin",
  "password": "scrypt$16384$8$1$<salt>$<hash>",
  "sessionToken": null
}

接口

方法 路径 说明
GET /login-gate/status?token=... 校验会话
POST /login-gate/login 登录,返回 token
POST /login-gate/logout 退出登录,清空会话
POST /login-gate/update 修改账号名/密码(需当前密码)

许可证

MIT


English

A plugin bundle that adds a login gate and account management to the DeepSeek Harness web UI.

Preview

Login page

Features

  • Login gate: a full-screen login page covers the whole app until you sign in; nothing is operable without a session.
  • Account settings: a new "Account Settings" page in the system settings for changing the username and password.
  • Log out: red "Log out" buttons in the settings header and on the account settings page; clicking returns to the login page immediately (logs the account out only, never the app).
  • Multi-language: follows the DeepSeek Harness UI language automatically (Settings → Appearance → Language), supporting Chinese and English.
  • Secure storage: the password is persisted locally as a salted scrypt hash — plaintext is never stored.
  • Persistent: account and password changes survive app restarts (default account admin / password admin123).

Installation

Install the plugin as a bundle in your DeepSeek Harness user profile:

  1. Put the dsh-login-gate directory (this repository's contents) into the profile's bundles directory, e.g.:
    ~/.dsh/profiles/web/bundles/auth-gate/

  2. Add the bundle reference to the profile's package.json:

    {
      "dsh": {
        "profile": {
          "bundles": [
            "@dsh-login-gate/auth-gate"
          ]
        }
      },
      "dependencies": {
        "@dsh-login-gate/auth-gate": "link:./bundles/auth-gate"
      }
    }
    
  3. Run pnpm install in the profile directory to create the link.

  4. Restart the DeepSeek Harness app.

Structure

dsh/
  index.js           Host side: HTTP routes (login/status/logout/update)
  account-store.js   Host side: scrypt hashing + local persistent storage
  client.js          Browser side: login gate + account settings page (lazy-CJS bundle)
cordis.patch.yml     Plugin mounting config
package.json         Package declaration (dsh.bundle / dsh.client)

Data file

Account data is stored in <profile directory>/login-gate-accounts.json:

{
  "username": "admin",
  "password": "scrypt$16384$8$1$<salt>$<hash>",
  "sessionToken": null
}

API

Method Path Description
GET /login-gate/status?token=... Validate a session
POST /login-gate/login Sign in, returns a token
POST /login-gate/logout Log out, clears the session
POST /login-gate/update Change username/password (requires the current password)

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 deepseek-herness-login」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:javaxiaov/deepseek-herness-login

Headless(CLI)profile:

dsh plugin --profile headless add github:javaxiaov/deepseek-herness-login

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-27 · 标记 webonly
备注:验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →