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

@januory/dsh-gateway-agent

DSH 客户机接入插件,通过出站连接桥接本机 DSH Web,允许远程门户进行完整操控。

AI 分析

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

包名
@januory/dsh-gateway-agent
版本
0.1.3
最近更新
2026年9月6日

安装

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

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.