Preface

DeepSeek Harness (DSH) uses a plugin-based architecture, and extended capabilities rely on community plugins. When building agents, you often encounter scenarios where you need to reject a user request while still providing alternative suggestions or specification notes. The dsh-refusal plugin provides the ability to handle such scenarios.

Plugin Positioning

This plugin is maintained by uckkk and aims to solve the problem of standardizing request refusals. It returns structured methods and suggestions by scenario, helping agents maintain a proper interaction experience while refusing.

Core Features

  • Proper refusal
  • Scenario-based structured methods and suggestions

Installation and Enablement

  1. Ensure the environment has DeepSeek Harness and its dependencies installed.
  2. Run the installation command:
dsh plugin add github:uckkk/dsh-refusal
  1. After installation, call the tools registered by this plugin in your session.

Typical Usage

After installation, you can directly call the tools registered by this plugin in your session.

Applicable Scenarios and Notes

  • Technical Implementation: The plugin is a pure Node implementation with no network dependencies.
  • Dependency Requirements: The following dependency versions are required:
    • @deepseek-ai/cordis: ^4.0.1
    • @deepseek-ai/dsh-tools: >=0.1.0-rc.6
  • Security Recommendations: The plugin runs with the current DSH process permissions. It is recommended to review the source code and license (MIT) before installation.

Summary

dsh-refusal provides agents with a standardized way to handle request refusals. For more details, visit the plugin catalog or GitHub repository.