januory/deepseek-harness-gateway--plugins-dsh-gateway-agent1

@januory/dsh-gateway-agent

客户机接入插件:出站连接 deepseek-harness-gateway,桥接本机 dsh web 供门户完整操控。

AI 分析

核心用途是实现 DSH 的远程受控与网关接入,让用户可以通过外部门户远程管理和操作本地的 DSH 实例。适合需要跨设备、远程协作或集中管理 DSH 的用户。

パッケージ
@januory/dsh-gateway-agent
バージョン
0.1.3
最終更新
2026/09/06

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:januory/deepseek-harness-gateway#e13404883b7b22979d4bc1d71c92472d7c18e699&path:plugins/dsh-gateway-agent

ドキュメント

README 全文を読む ↗

Usage

  1. Ask the gateway administrator for a pairing code.
  2. Open the machine's dsh web UI and go to Settings → 网关接入 (Gateway access).
  3. Enter the gateway address (wss:///agent) and the pairing code, then click 发起入网申请 (Request onboarding).
  4. After the machine is approved at the gateway, the plugin reconnects automatically and keeps the tunnel alive — the machine is then operable from the gateway portal.

Configuration

The plugin persists its configuration as JSON at $DSH_HOME/dsh-gateway-agent/config.json:

KeyDescription
gatewayUrlThe gateway WebSocket endpoint, e.g. wss://gateway.example.com/agent.
pairingCodeThe pairing code issued by the gateway administrator.
dshPortThe local dsh web port to bridge (default 3080).

Values entered in the 网关接入 UI are saved here; the plugin auto-connects on boot when gatewayUrl is already set.