woyeshishen / dsh-lan-access

목록에 있음

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.

main도구 소스 보기

설치

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

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 2727fa7동기화 2026. 8. 18.

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

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.0 by this plugin's patch; edit cordis.patch.yml if you need a different posture.
  • --port still works (the patch keeps the !!js port expression).
  • By default privileged /api methods (settings/credentials/agent presets) are reachable from trusted LAN hosts (allowRemotePrivileged: true); set config: { allowRemotePrivileged: false } on the lan-access row 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

Apache-2.0

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

기여 가이드감지됨
문서감지됨

저장소 정보

언어
PowerShell
라이선스
Apache-2.0
마지막 업데이트
2026. 8. 15. 오후 10:24

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.