Foreword

In development scenarios for DeepSeek Harness (DSH), agents often need to parse HTTP request headers for routing, authentication, or logging. Relying on external APIs for parsing or writing complex regex logic can increase system complexity and network overhead. Local parsing is a more efficient approach.

What Is This

dsh-headers is an HTTP request header parsing plugin developed by maintainer uckkk and released under the MIT license. It is a pure Node.js implementation with no dependency on external networks or third-party services, designed to provide lightweight header parsing for DSH sessions.

Core Features

  • HTTP request header parsing
  • Pure Node.js implementation
  • No network or external service required

Installation and Enablement

  1. Install the plugin:
   dsh plugin add github:uckkk/dsh-headers
  1. Add the configuration item to the profile’s package.json:
   {
     "dsh.profile.bundles": [
       "dsh-headers"
     ]
   }

Typical Usage

After installation, directly call the tools registered by this plugin in a DSH session.

Applicable Scenarios and Notes

This plugin is suitable for scenarios where HTTP request headers need to be parsed without internet access, or where minimal dependencies are preferred. Note that installation means running third-party code on your local machine, so please review the source code and license before use.

Brief Closing

dsh-headers provides localized HTTP header parsing capabilities. For more details, refer to its catalog page or source repository.