dsh-localsend: LAN File Transfer and Sharing Plugin

Introduction

In the DeepSeek Harness (DSH) plugin ecosystem, directly handling local file distribution typically relies on external tools or manual operations. The dsh-localsend plugin integrates the LocalSend protocol, a temporary HTTP server, and SMB sharing mechanisms, enabling agents to directly push files, generate download links, and automate distribution to specified directories within the same local network.

Core Features

This plugin provides the following core capabilities:

  • LocalSend Transmission: Send files or automatically packaged folders via the LocalSend v2 protocol.
  • Browser Download Links: Generate temporary HTTP download links that allow recipients to download files using a browser without installing any software.
  • SMB Targeted Directory Push: Automatically push to specified directories on target machines via SMB sharing.
  • Device Scanning: Scan the local network and list LocalSend devices.
  • Plugin Distribution: Package DSH plugins into zip files for distribution.
  • Configuration Management: Provides GUI configuration cards supporting settings for aliases, ports, and timeouts, as well as target machine profiles to simplify SMB pushing.

Installation and Dependencies

Please ensure that Node.js >= 22.19 is installed on your system before proceeding with the installation.

Use the officially recommended installation command:

dsh plugin --profile web add git+https://github.com/huangfuren/dsh-localsend.git#v0.5.0

After installation, restart DSH. Corresponding configuration cards will appear under “Settings → Plugin Configuration”.

Usage

The plugin includes the following tools:

  1. localsend_list_devices: Scans the local network and lists LocalSend devices.
  2. localsend_send_files: Sends files or folders via the LocalSend protocol.
  3. localsend_share: Generates temporary LAN HTTP download links with password protection support.
  4. localsend_send_plugin: Packages DSH plugins into zip files for distribution.
  5. localsend_smb_push: Automatically pushes to specified directories on target machines via SMB sharing.

Important Notes

  • Network Environment: Local network transmission only; scanning does not go beyond the local active subnet.
  • Receiver Requirements: In LocalSend mode, receivers need LocalSend installed or just a browser; in SMB mode, receivers need sharing enabled in advance with write permissions granted.
  • Security Agreement: Credentials in SMB profiles are stored in plaintext in the local DSH settings file. Please do not enable this on shared accounts or multi-user machines.
  • Version Compatibility: Compatible with DeepSeek Harness 0.1.x and 0.2.0-rc.1.

Summary

dsh-localsend provides a complete set of solutions ranging from simple link sharing to complex SMB automatic pushing. Its zero-dependency and out-of-the-box nature reduces integration difficulty.

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

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

Xiaoye