Jiachi5533/dsh-remote-gateway ↗★ 0

@jiachi/dsh-remote-gateway

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

パッケージ
@jiachi/dsh-remote-gateway
互換性
未検証
Harness ピア範囲
>=0.1.0-rc.2 <0.1.1 || >=0.1.1-rc.1 <0.2.0-0
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/08/28

インストール

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

ドキュメント

README 全文を読む ↗

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.