dsh-lan-access
Manifest validDeepSeek Harness static Cordis plugin: bind the Web GUI to 0.0.0.0 for LAN access + crypto.randomUUID polyfill for non-secure HTTP origins.
dsh-lan-access
中文 | English
Bind the DeepSeek Harness (DSH) Web GUI to 0.0.0.0 so other machines on the LAN can reach it — plus a crypto.randomUUID polyfill that makes the GUI fully work over plain-HTTP LAN origins — without modifying any shipped dsh code.
Features
| 🌐 LAN access | Rebind the Web GUI to 0.0.0.0 via an id-targeted config patch. No --host flag involved, so the built-in 0.0.0.0 guard never runs |
🛡️ crypto.randomUUID polyfill | Injects a tiny script into index.html so /api RPCs work on non-secure HTTP origins (the Web API is undefined there) |
| 🔓 Remote privileged methods | Settings / credentials / agent presets work from the LAN too (allowRemotePrivileged, default on) |
| 📦 Install once, keep working | Static bundle auto-mounts into the profile and loads at DSH startup, survives restarts |
Install
One-liner (recommended)
Windows (PowerShell)
irm https://raw.githubusercontent.com/woyeshishen/dsh-lan-access/main/scripts/install.ps1 | iex
macOS / Linux
bash <(curl -fsSL https://raw.githubusercontent.com/woyeshishen/dsh-lan-access/main/scripts/install.sh)
dsh plugin command
From npm
dsh plugin --profile web add @woyeshishen/dsh-lan-access
From GitHub
dsh plugin --profile web add github:woyeshishen/dsh-lan-access
After install, the plugin auto-mounts into the profile; restart DSH (or hot-reload) to activate.
Notes
- The bind host is pinned to
0.0.0.0by this plugin's patch; editcordis.patch.ymlif you need a different posture. --portstill works (the patch keeps the!!jsport expression).- By default privileged
/apimethods (settings/credentials/agent presets) are reachable from trusted LAN hosts (allowRemotePrivileged: true); setconfig: { allowRemotePrivileged: false }on thelan-accessrow to restore loopback-only for them. - Uninstall:
dsh plugin --profile web remove @woyeshishen/dsh-lan-access - This plugin intentionally exposes a remote-code-execution surface to the network — only use it on a trusted LAN.
Development
npm install
npm run build # tsc -> lib/
npm run check # type-check only
npm run check:legacy # cordis.patch.yml structure sanity check
License
Comments
Loading…
Similar plugins
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
★ 0
MIT
JavaScript
Sep 5, 2026
dsh plugin --profile web add dsh-secure-context-fixby Zenjibad
dsh bundle: polyfill crypto.randomUUID on insecure origins so the DeepSeek Harness Web UI works over plain-HTTP LAN
★ 0
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-lan-uuid-fixby SparkWeiyang
DSH bundle: expose the Web GUI on the LAN (bind 0.0.0.0) and add a deepseek/balance RPC (PC-side credential, never leaves the PC)
★ 0
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-lanby dawsondx
DeepSeek Harness (dsh) bundle: when `dsh web` is ready, print the full GUI URL and open it in your default browser. Cross-platform, zero runtime deps, fail-safe.
★ 3
↓ 54/wk
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add @dawsondx/dsh-web-openby 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
★ 7
↓ 260/wk
MIT
TypeScript
Sep 30, 2026
dsh plugin --profile web add @riceawa/dsh-lan-gatewayby BotonJ
Authenticated remote gateway for DeepSeek Harness: QR/HMAC pairing, cookie sessions, mDNS, fork_session tool. Zero-dep plugin.
★ 5
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-remote-link