woyeshishen/dsh-lan-access ↗★ 0
@woyeshishen/dsh-lan-access
为 DeepSeek Harness 提供局域网访问能力:绑定 0.0.0.0 并注入 crypto.randomUUID polyfill,使纯 HTTP 局域网源下 GUI 与 /api 正常工作,不改动任何原始代码。 适合需从局域网其他机器访问 DSH Web GUI 的用户,纯 HTTP 源下需该 polyfill。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:woyeshishen/dsh-lan-accessdsh-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 lib/
npm run check # type-check only
npm run check:legacy # cordis.patch.yml structure sanity check