DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-lan

m

dsh-lan

Discovered★ 5

DeepSeek Harness (dsh) LAN plugin: a single overlay binds the dsh web to the LAN, and injects a `crypto.randomUUID` polyfill via index tap to fix the startup crash in non-secure contexts.

dsh-lan

让 DeepSeek Harness 的 Web UI 可以在局域网访问的插件 + overlay。

警告

dsh web 没有认证层。绑定 0.0.0.0 会把远程代码执行能力暴露给整个局域网——只在你完全信任的网络中使用。

使用

# 1. 一次性:把插件装进 web profile
dsh plugin --profile web add <本项目路径>

# 2. 启动(从源码目录运行则为 pnpm dsh web ...)
dsh web --patch <本项目路径>/cordis.yml

局域网设备打开启动行打印的 (LAN: http://...) 地址即可;多网卡机器请用真实局域网 IP 加端口(如 http://192.168.x.x:3080)。用域名/别名访问需编辑 cordis.yml 里注释掉的 trustedHosts 示例。

卸载:dsh plugin --profile web remove dsh-lan

原理

  • cordis.yml 是 dsh 的 patch overlay:把 webserver 行的绑定地址覆盖为 0.0.0.0(CLI 的 --host 0.0.0.0 被刻意拒绝,overlay 是官方组合接缝)。绑定后宿主自动把本机 LAN IPv4 加进 /api 信任栅栏,其他 Host 一律 403。
  • index.mjs 是 host 插件:浏览器只在安全上下文(HTTPS/localhost)暴露 crypto.randomUUID,局域网纯 HTTP 页面没有它会导致客户端 RPC 启动即崩。插件通过 webServer.tapIndex() 向 <head> 最前面注入一段 polyfill 脚本(基于任何上下文都可用的 crypto.getRandomValues)。

已知边界

  • 设置、凭据、agent 预设编辑、"在操作系统中打开"被上游刻意钉在回环客户端,LAN 下控制台出现 settings.describe / credentials.describe 的 403 属预期,界面会自动降级。
  • 目录选择器浏览的是运行 dsh 的那台机器的文件系统。

Comments

Loading…

Similar plugins

dsh-lan-uuid-fix

by Zenjibad

dsh bundle: polyfill crypto.randomUUID on insecure origins so the DeepSeek Harness Web UI works over plain-HTTP LAN

Manifest valid

★ 0

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-lan-uuid-fix

by zergtant

DeepSeek Harness (dsh) 远程访问插件:提供 TLS、登录认证、会话保护和 HTTP/WebSocket 透明反代,支持局域网及 FRP ,cloudflare隧道等远程访问。

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 13, 2026

dsh plugin --profile web add dsh-remote-access

by MrMu666

为DeepSeek harness开启局域网访问及移动端页面的插件,移动端界面适配

UI & ExperienceManifest valid

★ 10

JavaScript

Sep 18, 2026

dsh plugin --profile web add github:MrMu666/dsh-LAN

by woyeshishen

DeepSeek Harness static Cordis plugin: bind the Web GUI to 0.0.0.0 for LAN access + crypto.randomUUID polyfill for non-secure HTTP origins.

Manifest valid

★ 0

Apache-2.0

PowerShell

Aug 15, 2026

dsh plugin --profile web add @woyeshishen/dsh-lan-access

by Li-Mingshuang

Fix the DeepSeek Harness Web GUI over plain HTTP on a LAN: injects a crypto.randomUUID polyfill (getRandomValues-backed) before dsh bundle code runs

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Sep 5, 2026

dsh plugin --profile web add dsh-secure-context-fix

by rice-awa

把 DeepSeek Harness 的 Web GUI 安全地开放到局域网或公网,自带密码鉴权,支持可选的TLS。Securely expose DeepSeek Harness's Web GUI to your local network or the public internet, with built-in password authentication and TLS support

Security & AuditManifest valid

★ 8

↓ 602/wk

MIT

TypeScript

Oct 30, 2026

dsh plugin --profile web add @riceawa/dsh-lan-gateway