januory/deepseek-harness-gateway--packages-protocol1

dsh-gateway-protocol

Shared wire protocol for deepseek-harness-gateway (plain JS + JSDoc, zero build so the dsh plugin can import it directly).

AI Analysis

核心用途是为 DSH 网关服务提供基础的通信协议支持。主要适合开发人员或需要手动搭建、调试 DSH 远程网关接入服务的用户。

Package
dsh-gateway-protocol
Version
0.1.0
Last updated
Sep 6, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

Usage

  1. Start the gateway (pnpm --filter @januory/dsh-gateway-server dev) and, optionally, build the portal (pnpm --filter dsh-gateway-web build) so it is served at the gateway root.
  2. Issue a pairing code to onboard:
    DSH_GATEWAY_PAIRING_CODES="" pnpm --filter @januory/dsh-gateway-server dev
    
  3. On the customer machine, install the agent plugin (see Installation), then open the dsh Settings → 网关接入 section, enter the gateway address (wss://, path not required) and the pairing code, and click 发起入网申请.
  4. Approve the machine at the gateway, assign it to a user, and open it from the portal — reads and interactions are relayed to that machine's dsh WebUI in real time.