DeepSeek Harness Plugin: dsh-default-overrides

Preface

The design philosophy of DeepSeek Harness (DSH) is “Everything is a Plugin.” Core presets (such as standard) provide general foundational capabilities, but in actual development, adjustments are often needed for specific environments (such as Shell channels, tool permissions, and personas). The dsh-default-overrides plugin allows you to override these default behaviors via configuration without modifying DSH installation files or preset source code.

Plugin Overview

  • Name: dsh-default-overrides
  • One-liner: Configurable overrides for DeepSeek Harness (DSH) standard presets: Shell (Bash/PowerShell) channels, disabled lines, personas, and Harness identity.
  • Category: Workflow
  • Maintainer: site-chenwei
  • License: MIT

Installation & Enablement

Installation does not alter existing behavior by default; simply add configuration as needed.

  1. Install the plugin. The following example uses the web profile:
    dsh plugin --profile web add dsh-default-overrides
You can also install it via the DSH Plugin Manager.
  1. Edit the configuration file for the target profile. Taking the web profile as an example:
    # File path: ~/.dsh/profiles/web/cordis.patch.yml
    - id: dsh-default-overrides
      config:
        # Add specific configuration items here

Core Functions

The plugin provides the following configuration capabilities:

1. Configure Shell Mode

Supports Bash and PowerShell, including persistent modes.
* Mode Selection:
* bash / pwsh: Creates a new Shell every time without retaining directories, variables, or functions.
* persistent-bash / persistent-pwsh: Retains state, suitable for continuous execution.
* Path Configuration:
* Windows: Explicitly fill in bashPath (e.g., Git Bash) or pwshPath.
* macOS / Linux: Usually uses system default paths.
* Limitations: On Windows, the Bash backend of this plugin does not accept Cygwin or WSL / Linux entry points.

2. Set Assistant Persona

Modify the system prompt via the persona field, and specify the active preset via personaPresets (default is standard).

3. Disable Tools

Disable specific tools within the standard preset via disabledTools (e.g., tool-web, tool-workflow).

4. Adjust Context & Compaction

  • autoCompaction: Disables native automatic compaction, allowing manual control over context management.
  • includeHarnessIdentity / surfaceContext: Hide framework identity prompts or Web surface level prompts.

Applicable Scenarios & Precautions

  • Applicable Scenarios: Workflows requiring a persistent Shell environment for development, fixed assistant personas, or precise control over context content.
  • Precautions:
    • Acceptance Status: Windows physical machine and ConPTY acceptance are not yet completed; PowerShell real process acceptance in this environment is also pending.
    • Default Behavior: Installation does not change existing behavior by default; manual configuration is required.
    • Plugin Limitations: The plugin does not restrict the installation version; compatibility with other DSH / Node versions needs actual verification.

Conclusion

This plugin resolves the conflict between the generality of DSH standard presets and the needs of specific workflows through configuration overrides. For more details and complete configuration examples, please refer to:
* Plugin Directory Page
* GitHub Repository

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

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

Xiaoye