DeepSeek Harness Plugin: Jetformat Local Document Processing

Introduction

When developing agents with DeepSeek Harness, processing documents (such as Word, Excel, and PDF) often relies on external services. While uploading files to a server is convenient, it carries privacy leakage risks and is not suitable for sensitive documents. Local processing is a safer option.

Plugin Overview

jetformat/dsh-plugin is a DeepSeek Harness plugin maintained by jetformat. It invokes the Jetformat CLI locally to convert Office documents to PDF, extract text, validate files, and provide PDF information viewing, merging, extraction, and rendering. This plugin is a client-type plugin.

Core Features

The plugin registers the following tools, all executed through the local jetformat binary:

  1. jetformat_to_pdf: Converts Word, Excel, or PowerPoint files to PDF, automatically selecting the format based on the file extension.
  2. jetformat_text: Extracts textual content from documents (no OCR).
  3. jetformat_validate: Validates a file.
  4. jetformat_pdf: Provides PDF information viewing, merging, extraction, and rendering.

Installation and Enablement

Before use, install and log in to the Jetformat CLI, then add the plugin.

  1. Install and log in to the CLI:
npm install -g jetformat
jetformat login
  1. Add the plugin:
dsh plugin --profile web add @jetformat/dsh-plugin

Typical Usage

At runtime, the plugin does not upload files to a server; it invokes the locally installed jetformat binary to process them. The CLI communicates with jetformat.com for login, billing for paid commands, and anonymous usage data reporting (this can be disabled with jetformat telemetry off).

Notes and Use Cases

  1. Network dependency: The CLI requires access to jetformat.com for authentication and billing; the plugin itself does not involve file uploads.
  2. Compatibility: Tested for compatibility with DeepSeek Harness (@deepseek-ai/dsh) 0.1.5-rc.3.
  3. Permissions and execution: The plugin runs with the permissions of the DSH process; ensure the local environment is configured correctly.
  4. Proprietary component: The Jetformat CLI is proprietary software, while the plugin itself is licensed under MIT.

Summary

For developers who need to process Office and PDF documents securely locally, this is a straightforward integration option.

  • Directory: https://www.skillhub.cn/plugins/jetformat/dsh-plugin
  • Repository: https://github.com/jetformat/dsh-plugin
羽毛球分组比赛记分
小程序二维码

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

Xiaoye