MoonGlassKitty/dsh-tailscale-sync 预览 preview

MoonGlassKitty/dsh-tailscale-sync

Zero-config Tailscale sync for DeepSeek Harness (dsh-plugin)。零配置:在手机上继续电脑端 DeepSeek Harness 的工作。

Project Overview项目介绍

This repository is a native plugin built exclusively for DeepSeek Harness (DSH), designed to enable users to access their running DSH instance from a mobile device over an encrypted network. To use the plugin, you first need to install Tailscale on both your desktop and mobile device, log into the same Tailscale account, and confirm MagicDNS is enabled on your tailnet (it is enabled by default on newer Tailscale versions). The plugin can be installed directly via the DSH CLI with the command dsh plugin --profile web add github:MoonGlassKitty/dsh-tailscale-sync, which adds it to your DSH setup automatically.

After installation, the plugin automatically configures two core security settings for DSH. It locks DSH’s web service to 127.0.0.1:3080 so it is not exposed to the local area network, and it automatically detects your device’s *.ts.net MagicDNS domain to add it to the API trusted host allowlist. Once the plugin is installed, you will need to run a one-time command tailscale serve --bg 3080 on your desktop to start the HTTPS tunnel through Tailscale. If you get a prompt that Serve is not enabled on your tailnet, just follow the link provided to authorize it once.

This plugin works across all three major desktop platforms: Windows, macOS, and Linux, with the same command structure for all operating systems. It is released under the permissive MIT open source license, so it is free to use and modify. There are a few important limitations users should note: DSH’s source code has a security restriction that requires settings and API key management to only be done locally at http://127.0.0.1:3080, and this cannot be bypassed even with Tailscale. If your tailnet does not have MagicDNS enabled, you will need to manually add trusted hosts to the cordis.patch.yml configuration file.

这是专为 DeepSeek Harness (DSH) 开发的原生插件,核心功能是让用户能够通过 Tailscale 隧道在手机端继续访问同一台电脑上运行的 DSH 服务,无需修改原有配置即可开箱使用。插件安装后会自动将 DSH 的 Web 服务锁定到 127.0.0.1:3080,同时自动探测本机的 Tailscale MagicDNS *.ts.net 域名,给 API 访问添加可信域名围栏限制。

适合需要在外使用电脑端 DSH 服务、不想重复配置或同步数据到多设备的用户。完整使用流程分为四步:首先在电脑和手机安装 Tailscale 并登录同一个账号,确认 tailnet 已开启 MagicDNS(新版 Tailscale 默认开启该功能),然后通过 DSH 插件命令行安装本插件,接着运行一条命令开启 Tailscale HTTPS 隧道,最后在手机浏览器访问对应域名即可。

本插件依赖已安装并正常配置的 Tailscale 服务,支持 Windows、macOS、Linux 全平台,遵循 MIT 开源许可协议免费使用。需要注意,DSH 源码本身存在安全限制,设置和 API 密钥管理仍只能在本机 http://127.0.0.1:3080 操作,若未开启 MagicDNS,需手动在配置文件中填写可信主机列表。

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 github:MoonGlassKitty/dsh-tailscale-sync

把 MoonGlassKitty/dsh-tailscale-sync 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-tailscale-sync

dsh-tailscale-sync

在手机上继续电脑端 DeepSeek Harness 的工作 —— 装好 Tailscale、装好本插件,即可用,无需改任何配置。

本插件会自动:

  1. 把 harness 的 web 服务锁死在 127.0.0.1:3080(不暴露局域网);
  2. 自动探测本机的 *.ts.net 域名(tailscale status),并让 /api 信任围栏只放行这个域名。

安装

1. 装 Tailscale(一次性)

电脑和手机都安装 Tailscale 并登录同一个账号(确认 tailnet 已开 MagicDNS,新版默认开启)。

2. 装本插件

dsh plugin --profile web add github:MoonGlassKitty/dsh-tailscale-sync

3. 开 HTTPS 隧道(一次性,一条命令)

在电脑上运行:

tailscale serve --bg 3080

若提示 "Serve is not enabled on your tailnet",按提示点链接授权一次即可。

4. 手机访问

手机保持 Tailscale 连接,浏览器打开:

https://<你的机器名>.ts.net

(在电脑上运行 tailscale status 能看到你的 *.ts.net 完整域名。)

工作方式

手机浏览器 ──Tailscale HTTPS──▶ tailscale serve ──▶ 127.0.0.1:3080 (harness)
  • 手机和电脑看到的是同一个服务、同一份会话,不是"两处数据互相同步";
  • 端口只监听回环,普通局域网访问不到;
  • 流量走 Tailscale 的加密隧道 + 设备鉴权。

注意事项

  • 设置 / API key 管理仍只能在本机 http://127.0.0.1:3080 操作(harness 源码安全限制,Tailscale 也绕不过)。
  • 停用隧道:tailscale serve --https=443 off。
  • 若你的 tailnet 没开 MagicDNS(没有 *.ts.net 域名),本插件会自动退化为"仅本机可访问",此时需手动在 cordis.patch.yml 里填 trustedHosts。

跨平台

Windows / macOS / Linux 均可用。tailscale serve、dsh、本插件在三个平台上的命令一致。

← 上一个 Prev dsh-skin-appearance 下一个 Next dsh-session-handoff →