Introduction

DeepSeek Harness (DSH) provides plugin extension capabilities. When an Agent needs to share generated documents, web pages, or plain text with external users, integrating a sharing service directly is a common requirement. The dsh-shareone-plugin plugin provides this capability, allowing the Agent to publish content to the ShareOne platform and obtain a directly accessible link.

What This Is

dsh-shareone-plugin is a ShareOne sharing plugin for DeepSeek Harness. It allows an Agent to publish local files or generated content as ShareOne share links, supporting subsequent comment interaction and link management.

  • Author: sudoprivacy
  • License: MIT
  • Target platform: ShareOne (default shareone.vip)

Core Features

The plugin mainly covers the following capabilities:

  • Publish content: Supports text, Markdown, web pages (HTML), PPT, PDF, and Word files.
  • Link management: Set access passwords, add watermarks, and customize short links.
  • Content updates: Update the content of existing TXT / Markdown / HTML links.
  • Comment collaboration: Read comments on TXT / Markdown / HTML pages and reply to comments.
  • Platform management: Manage all links centrally on the ShareOne platform after publishing.

Installation and Configuration

Installation

Install using the DSH command line:

dsh plugin --profile web add dsh-shareone-plugin
dsh --profile web

Configure API Key

Publishing content requires permission from ShareOne. There are two ways to configure it:

  1. Temporary Guest Key: If you do not already have an account, the Agent can call shareone_create_guest_key to generate a temporary key and save it to DSH key management.
  2. Existing account: Obtain the API Key directly from the ShareOne settings page and configure it in DSH key management with the key name SHAREONE_API_KEY.

Typical Usage

The plugin provides the following tool commands, which the Agent can call directly:

1. Publish Text or Web Page Content

Use shareone_publish_text to publish generated HTML, Markdown, or plain text.

  • Parameters: Supports filename, content, password, watermark, custom_slug, allow_comments, and title.
  • Update: If ref or share_id is passed, it updates the content of an existing TXT / Markdown / HTML link instead of creating a new link.

2. Publish Local Files

Use shareone_publish_file to publish local files.

  • Parameters: Supports settings such as file_path and filename.
  • Limitation: The plugin only reads local files explicitly passed to shareone_publish_file.
  • Update: TXT, MD, and HTML files can update existing links; PPT, PDF, and Word files are published as new document links.

Use shareone_update_settings to modify attributes of existing share links (such as password, watermark, short link, and comment toggle).

4. Handle Comments

  • Read: shareone_get_comments: Reads comments and a statistics summary from TXT / Markdown / HTML pages, returning comment details and location data.
  • Reply: shareone_reply_comment: Replies to a comment and can specify a status (such as resolved-agree or open-disagree).
  • Update status: shareone_update_comment_status: Updates comment status.

Notes

  • Retention rules: Regular share links are retained based on “last active time”. Links not accessed for 90 consecutive days may be purged; this rule applies to the Free plan.
  • Access scope: Published content is sent to shareone.vip by default.
  • Security: The plugin runs in the DSH process and only reads local files you explicitly pass to shareone_publish_file. Do not publish sensitive information.

Summary

dsh-shareone-plugin is a practical collaboration tool that allows DSH Agents to seamlessly integrate with ShareOne’s sharing and commenting capabilities. By configuring an API Key and calling the corresponding tool commands, you can automate the entire workflow from content generation to publishing and sharing.