Jiachi5533/dsh-remote-gateway ↗★ 0

@jiachi/dsh-remote-gateway

Source-filtered remote gateway for DeepSeek Harness behind an authenticated reverse proxy 适合需远程访问 DSH 的用户,必须配置反向代理与来源白名单。

Package
@jiachi/dsh-remote-gateway
Compatibility
Unverified
Harness peer range
>=0.1.0-rc.2 <0.1.1 || >=0.1.1-rc.1 <0.2.0-0
Version
0.2.0
License
MIT
Last updated
Aug 28, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Jiachi5533/dsh-remote-gateway

Configuration

OptionDefaultDescription
host0.0.0.0Gateway listen address.
port3080Gateway listen port. Use 0 only in tests.
allowedSources['127.0.0.1']Exact IPv4 or IPv6 source addresses allowed to connect.

IPv4-mapped addresses are canonicalized, and IPv6 loopback ::1 is treated as 127.0.0.1. The upstream host and port are obtained from DSH itself and cannot be redirected through plugin configuration. Startup fails if the internal DSH web server is not bound to 127.0.0.1.

Allowlisted monitoring systems can check GET /_dsh-remote-gateway/health. It returns 200 ok without contacting the DSH upstream, so it verifies the gateway process and source policy rather than DSH readiness.