januory/deepseek-harness-gateway--plugins-dsh-gateway-agent ↗★ 1
@januory/dsh-gateway-agent
DSH 客户机接入插件,通过出站连接桥接本机 DSH Web,允许远程门户进行完整操控。
AI 分析
核心用途是实现 DSH 的远程受控与网关接入,让用户可以通过外部门户远程管理和操作本地的 DSH 实例。适合需要跨设备、远程协作或集中管理 DSH 的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:januory/deepseek-harness-gateway#e13404883b7b22979d4bc1d71c92472d7c18e699&path:plugins/dsh-gateway-agent说明文档
阅读完整 README ↗Usage
- Ask the gateway administrator for a pairing code.
- Open the machine's dsh web UI and go to Settings → 网关接入 (Gateway access).
- Enter the gateway address (
wss:///agent) and the pairing code, then click 发起入网申请 (Request onboarding). - 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:
| Key | Description |
|---|---|
gatewayUrl | The gateway WebSocket endpoint, e.g. wss://gateway.example.com/agent. |
pairingCode | The pairing code issued by the gateway administrator. |
dshPort | The 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.