DeepSeek Harness Plugin: dsh-knot

Introduction

DeepSeek Harness (DSH) extends its capabilities through a plugin mechanism, but its native functionality makes it difficult to directly interact with external agents or remote instances. This plugin provides DSH with a direct-connection bridge, linking local DSH instances to Paseo agents, Hermes, OpenClaw, and remote DSH instances, while offering a unified operational entry point within the DSH Web interface.

What Is This

dsh-knot is a DSH client plugin maintained by Weaxs. It establishes connections to agents or DSH instances running on other machines via local or encrypted channels (SSH, Tailscale, etc.). It features a built-in Web UI for managing sessions, approvals, and sharing, and provides read-only MCP session sharing capabilities without requiring a cloud relay.

Core Features

Direct Paseo Connection

Paseo manages agent processes and model provider compatibility. The plugin discovers available providers through the Paseo daemon and supports agent types such as Hermes and OpenClaw.

Remote DSH

Connect to native DSH instances running on the same host or within a private network using the dsh web RPC API.

Built-in Web UI

Registers a “Remote Agents” sidebar entry in dsh web, supporting:
- One-click approve or cancel
- View connection status
- Open session conversations
- View reasoning traces and tool activity
- Manage local read-only MCP sharing

Read-Only MCP Sharing

Exposes allowed local DSH sessions in read-only mode on a dedicated authenticated listener.

Connection Diagnostics

Provides the knot_doctor command to check endpoint reachability and protocol health.

Installation & Activation

Install from npm

In DSH, navigate to Plugins → Add plugin → npm, and select @weaxs/dsh-knot.

Install from a local checkout

git clone https://github.com/Weaxs/dsh-knot.git
cd dsh-knot
npm ci
npm run build

After installation, add the absolute path of the repository above via Plugins → Add plugin, and restart DSH.

Typical Usage

  1. Open Remote Agents from the left sidebar in dsh web.
  2. Click + Add Agent.
  3. Select Paseo or Remote DSH, and enter the daemon or gateway address.
  4. For Paseo, enter the working directory and daemon password (if required), click Load providers, and select a provider. The directory must exist at the location where the provider runs.
  5. Save the connection. Configuration is stored at $DSH_KNOT_STATE_DIR/agents.json (if set), otherwise at $DSH_HOME/knot/agents.json (default: ~/.dsh/knot/agents.json). File permissions are 0600.

Paseo Configuration

Run the Paseo daemon on the same host using ws://127.0.0.1:6767/ws. Remote daemons require an authenticated WSS address or a verified encrypted private network. Install and authenticate providers in Paseo before loading the list in Knot.

Hermes: Enable the built-in Hermes provider in Paseo. OpenClaw: Add a custom ACP provider that executes the official openclaw acp command. Remote gateway: Add --url and --token-file to the provider command.

Declarative Configuration

- id: knot
  name: "@weaxs/dsh-knot"
  config:
    agents:
      - id: hermes-via-paseo
        kind: paseo
        transport: local
        paseoProvider: hermes
        dshCwd: /home/agent/work
      - id: dsh-remote
        kind: dsh
        transport: direct
        host: https://dsh-host.example-tailnet.ts.net
        tokenEnv: DSH_GATEWAY_TOKEN

Paseo configuration accepts a provider ID, optional model overrides, and a daemon password (token or tokenEnv, defaulting to DSH_KNOT_PASEO_PASSWORD). Provider-specific credentials and launch settings are configured within Paseo itself.

Diagnostics

Click Test all connections in the Web UI, or run the following in DSH:

Use knot_doctor to check every configured agent.

Use Cases & Notes

Ideal for developers who need to uniformly manage local and remote agents, operate on remote sessions and approvals from the DSH Web interface. The plugin runs with the current DSH process permissions; review the source code and license before installing. Legacy configurations for direct connections to Hermes, OpenClaw, and ACP will be skipped and discarded on save. It is recommended to recreate those connections via Paseo.

Summary

dsh-knot enables DSH to interact directly with Paseo agents and remote DSH instances, providing a unified Web interface for viewing sessions, approving tasks, and sharing local sessions — all without a cloud relay. The plugin requires Node >= 22.13 and DSH >= 0.2.2-rc.4 < 0.3.0.

References

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye