dsh-plugin-brief: Convert DeepSeek Harness Responses into Slides

Introduction

DeepSeek Harness (DSH) is a tool for agent development. After an agent completes a task, it typically outputs a large amount of technical text, such as file paths, code snippets, and complex instructions. For users who do not read code, this content makes it difficult to quickly grasp the core conclusions. dsh-plugin-brief aims to solve this problem by providing an alternative reading mode that transforms technical text into concise slides.

Plugin Overview

This is a DeepSeek Harness plugin with the ID brief. It is maintained by dangxinxing090-svg and licensed under the MIT License. It does not alter the agent’s original output logic but intercepts the rendering pipeline to provide a slide view for each reply.

Core Features

The plugin primarily offers the following features:

  1. Slide View: Converts each agent reply into slides. Prioritizes displaying conclusions, next steps, and questions awaiting user decisions.
  2. Local Rendering: By default, replies are rendered locally as slides without incurring API call costs.
  3. Plain Language Rewriting: Provides a “Simplify” button to rewrite current technical text into plain language.
  4. Retry Mechanism: Automatically retries the rewriting process if it fails, with a maximum of 3 attempts.
  5. Information Filtering: Hides internal details in the conversation stream, such as tool rows, system prompts, and collapsed reasoning processes, retaining only the Trajectory.
  6. History Preservation: Successful history translations are preserved, eliminating the need to call the model again when viewing them later.

Installation and Activation

Install the plugin using the following command:

dsh plugin --profile web add github:dangxinxing090-svg/dsh-plugin-brief

You need to restart dsh after installation for it to take effect. The package is currently not on npm and can only be installed via the GitHub repository.

If manual installation is required, follow these steps:

  1. Navigate to the configuration directory:
    cd ~/.dsh/profiles/web
  1. Install the package:
    pnpm add github:dangxinxing090-svg/dsh-plugin-brief
  1. Edit the cordis.patch.yml file to add the plugin configuration:
    - insert:
        - id: brief
          name: 'dsh-plugin-brief'
  1. Restart dsh.

Typical Usage

In the DSH interface, after installing the plugin, the reply area will appear as slide cards. Users can click the “Simplify” button to rewrite technical text into plain language, or click “Full Original” to view the raw Markdown.

When configuring the plugin row, you must include id: brief and name: 'dsh-plugin-brief'. If you need to completely remove the rewrite button, you can set disabled: true in the configuration.

To uninstall the plugin, use the following command:

dsh plugin --profile web remove dsh-plugin-brief

Use Cases and Notes

  • Use Cases: Suitable for scenarios where you need to report agent work results to non-technical personnel, or when you need to quickly scan work conclusions.
  • Configuration File: When editing cordis.patch.yml, do not modify cordis.yml (the latter is generated).
  • Cost & Performance: By default, reply costs are 0; the model is only called when “Simplify” is clicked. Only the report of the final step is translated, not the working process. Scrolling back does not trigger re-requests.
  • Permissions: The plugin runs with the permissions of the current dsh process. Please review the source code and license before installation.

Conclusion

By changing the default display method, this plugin lowers the barrier for non-technical users to read DSH output. For more details and source code, please refer to the GitHub Repository.

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

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

Xiaoye