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。

Package
@woyeshishen/dsh-lan-access
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Cordis peer range
^4.0.1
Version
1.0.4
License
Apache-2.0
Last updated
Aug 15, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:woyeshishen/dsh-lan-access

dsh-lan-access

npm version license

中文 | 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 accessRebind 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 polyfillInjects a tiny script into index.html so /api RPCs work on non-secure HTTP origins (the Web API is undefined there)
🔓 Remote privileged methodsSettings / credentials / agent presets work from the LAN too (allowRemotePrivileged, default on)
📦 Install once, keep workingStatic 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

License

Apache-2.0