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 分析

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

パッケージ
dsh-gateway-protocol
バージョン
0.1.0
最終更新
2026/09/06

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.