ai-eks/dsh-auth-tunnel

为DeepSeek Harness Web GUI提供密码保护的Cloudflare Tunnel访问,支持快速和命名隧道模式。

Project Overview项目介绍

dsh-auth-tunnel is a native plugin built exclusively for DeepSeek Harness that exposes the DSH Web GUI via a password-protected Cloudflare Tunnel, with no changes required to the core deepseek-harness codebase. To install the plugin, you must first have the dsh CLI, pnpm, and cloudflared available on your system PATH, and generate a long, random shared password to store as a DSH credential. You can install the latest prerelease version directly from npm, or pull a compatible tagged source version from GitHub to match older DeepSeek Harness releases. Installing from source requires building the project locally before adding the path to DSH’s web profile.

After installation, the plugin automatically adds an auth tunnel entry to DSH’s quick mode and replaces the host-native directory picker with an in-app browser picker, which works better for remote access since native OS dialogs can’t be triggered from a remote browser. By default, the plugin runs in quick mode, which requires users to add the DSH_WEB_PASSWORD entry in ~/.dsh/.credentials.yaml. Once you start the DSH web profile, the tunnel launches automatically and outputs a random *.trycloudflare.com URL to your terminal, which you can open on any device and log in with the configured password. This plugin is ideal for users who need public or cross-device access to a locally hosted DeepSeek Harness instance.

This plugin is released under the open-source MIT license, which allows free use, modification, and redistribution without any cost or restrictions. It supports two tunnel operation modes: quick mode, which automatically provisions a random public Cloudflare URL, and token mode, which lets users use an existing Cloudflare Tunnel token. Any configuration change that would generate a new random URL must be done locally, and installing or upgrading the plugin requires a page reload for it to initialize correctly. Older DeepSeek Harness versions 0.1.1-rc.2 and earlier require users to pin a specific compatible version of the plugin to work correctly.

这是一个专为DeepSeek Harness开发的原生插件,核心功能是通过带密码保护的Cloudflare Tunnel暴露DeepSeek Harness的Web图形界面,无需修改DeepSeek Harness本身的源码。安装本插件需要提前将dsh CLI、pnpm添加到系统PATH中,同时配置好cloudflared,还要在DSH凭证中存储一个足够长的随机共享密码。可以通过npm安装最新的预发布版本,也可以从GitHub拉取对应兼容版本源码安装。

安装完成后插件会自动在Web配置界面添加认证隧道选项,替换原生的目录选择器为应用内浏览器选择器,默认开启快速模式。用户只需要在~/.dsh目录下的credentials.yaml中配置好DSH_WEB_PASSWORD,启动dsh web后就能自动创建隧道,终端会输出随机的trycloudflare.com网址,打开后输入密码即可访问。适合需要将本地部署的DeepSeek Harness暴露给公网、跨设备访问的用户。

本插件采用MIT许可证开源,免费供用户使用和修改。插件支持两种隧道模式,快速模式自动生成随机公共网址,令牌模式支持用户传入已有Cloudflare Tunnel令牌。需要注意的是,更改可能生成新随机网址的配置需要在本地完成,安装或升级插件后需要刷新页面才能正常加载,0.1.1-rc.2及更早版本的DeepSeek Harness需要锁定特定版本安装。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
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 dsh-auth-tunnel@0.1.7-rc.1

把 ai-eks/dsh-auth-tunnel 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Auth Tunnel

English | 中文

Expose the DeepSeek Harness Web GUI through a password-protected Cloudflare Tunnel without changing deepseek-harness itself.

Usage

Prerequisites

  • The dsh CLI and pnpm are available on PATH; the plugin command creates the Web profile when it is missing.
  • cloudflared available on PATH, or an absolute executable configured for the plugin.
  • A long, random shared password stored as a DSH credential.

Install

Install the latest published prerelease bundle from npm:

dsh plugin --profile web add dsh-auth-tunnel@next

Or install the current sources from Git:

dsh plugin --profile web add github:ai-eks/dsh-auth-tunnel

This source branch targets DeepSeek Harness 0.1.7-rc.2, using its volatile Config fields, configuration forms, and Plugins bundle page. Older Harness versions must pin a compatible package version, immutable tag, or revision:

dsh plugin --profile web add dsh-auth-tunnel@0.1.7-rc.1 # Harness 0.1.7-rc.1
dsh plugin --profile web add dsh-auth-tunnel@0.1.5-rc.1 # Harness 0.1.2-rc.1 / 0.1.3-alpha.2 / 0.1.5-rc.1
dsh plugin --profile web add dsh-auth-tunnel@0.1.1-rc.2.1 # Harness 0.1.1-rc.2
dsh plugin --profile web add 'github:ai-eks/dsh-auth-tunnel#v0.1.0-rc.8' # Harness rc.8
dsh plugin --profile web add 'github:ai-eks/dsh-auth-tunnel#b4baea7c47f5c245da789d3553d41938df89b311' # Harness rc.7
dsh plugin --profile web add 'github:ai-eks/dsh-auth-tunnel#v0.1.0-rc.6' # Harness rc.6

Git installs build the checked-out sources through prepare. pnpm 10 and later may first ask you to allow that build in the profile's pnpm-workspace.yaml; follow the path and exact package key printed by dsh and then rerun the command.

For a local checkout, build it before adding the path:

cd /path/to/dsh-auth-tunnel
pnpm install
dsh plugin --profile web add .

The bundle inserts and enables the auth-tunnel row in quick mode and replaces the Host-native directory picker with the in-app browser picker. No deepseek-harness source edit or extra profile row is required.

Quick mode

Quick mode is the default. Store the shared password in $DSH_HOME/.credentials.yaml ($DSH_HOME defaults to ~/.dsh):

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-plugin-notify 下一个 Next dsh-markdown-xyy →